Documentation ¶
Index ¶
- Constants
- Variables
- type ATOM
- type Byte
- type COLORREF
- type Cardinal
- type Char
- type DWORD
- type HBITMAP
- type HBRUSH
- type HCURSOR
- type HDC
- type HFONT
- type HGDIOBJ
- type HGLOBAL
- type HICON
- type HINST
- type HKEY
- type HMENU
- type HMODULE
- type HMONITOR
- type HPALETTE
- type HPEN
- type HRGN
- type HRSRC
- type HResult
- type HWND
- type IObjectArray
- type Integer
- type LPARAM
- type LPCWSTR
- type LRESULT
- type PFNLVCOMPARE
- type PFNTVCOMPARE
- type SIZE_T
- type Single
- type TActionListState
- type TAddMode
- type TAlign
- type TAlignInfo
- type TAlignSet
- type TAlignment
- type TAnchorKind
- type TAnchorSideReference
- type TAnchors
- type TAntialiasingMode
- type TAtom
- type TAttributeType
- type TAutoCompleteOption
- type TAutoCompleteOptions
- type TBalloonFlags
- type TBevelCut
- type TBevelEdge
- type TBevelEdges
- type TBevelKind
- type TBevelShape
- type TBevelStyle
- type TBiDiMode
- type TBitBtnKind
- type TBitmapHandleType
- type TBorderIcon
- type TBorderIcons
- type TBorderStyle
- type TBrushStyle
- type TButtonLayout
- type TButtonState
- type TButtonStyle
- type TCTabControlOption
- type TCTabControlOptions
- type TCalDayOfWeek
- type TCanvasOrientation
- type TCanvasState
- type TCanvasStates
- type TCheckBoxState
- type TChildControlResizeStyle
- type TClass
- type TCloseAction
- type TColor
- type TColorBoxStyle
- type TColorDepth
- type TColorDialogOption
- type TColorDialogOptions
- type TColumnLayout
- type TComboBoxExStyle
- type TComboBoxExStyleEx
- type TComboBoxExStyles
- type TComboBoxStyle
- type TCompressionLevel
- type TConsistentAttribute
- type TConsistentAttributes
- type TConstraintSize
- type TControlCellAlign
- type TControlCellAligns
- type TControlChildrenLayout
- type TControlState
- type TControlStyle
- type TControlStyleType
- type TCoolBandMaximize
- type TCursor
- type TCursorInfo
- type TCustomData
- type TCustomDrawStage
- type TCustomDrawState
- type TCustomDrawTarget
- type TDTCalAlignment
- type TDTDateFormat
- type TDTDateMode
- type TDWordFiller
- type TDateTimeKind
- type TDefaultMonitor
- type TDisplayCode
- type TDragKind
- type TDragMode
- type TDragState
- type TDrawImageMode
- type TDrawingStyle
- type TEdgeBorder
- type TEdgeBorders
- type TEdgeStyle
- type TEditCharCase
- type TEllipsisPosition
- type TFNWndEnumProc
- type TFillMode
- type TFillStyle
- type TFindOption
- type TFindOptions
- type TFlowStyle
- type TFontCharset
- type TFontDialogOption
- type TFontDialogOptions
- type TFontPitch
- type TFontQuality
- type TFontStyle
- type TFontStyles
- type TFormBorderStyle
- type TFormStyle
- type TGIFAnimationLoop
- type TGIFDithering
- type TGIFVersion
- type TGUID
- type TGaugeKind
- type TGlyphShowMode
- type TGradientDirection
- type TGridCoord
- type TGridDrawState
- type TGridDrawingStyle
- type TGridOption
- type TGridOptions
- type TGridRect
- type TGridScrollDirection
- type THeaderSectionStyle
- type THeaderStyle
- type THelpEventData
- type TIconArrangement
- type TImageAlignment
- type TImageType
- type TItemChange
- type TItemFind
- type TItemRequests
- type TItemState
- type TItemStates
- type TJPEGPerformance
- type TJPEGPixelFormat
- type TJPEGQualityRange
- type TJPEGScale
- type TLabelPosition
- type TLeftRight
- type TLibResouce
- type TLinkAlignment
- type TListArrangement
- type TListBoxOption
- type TListBoxOptions
- type TListBoxStyle
- type TListHotTrackStyle
- type TListHotTrackStyles
- type TLoadResource
- type TLoadResources
- type TMenuAutoFlag
- type TMenuBreak
- type TMenuItemAutoFlag
- type TMessage
- type TModalResult
- type TMouseActivate
- type TMouseButton
- type TMsg
- type TMsgDlgBtn
- type TMsgDlgButtons
- type TMsgDlgType
- type TMultiSelectStyle
- type TMultiSelectStyles
- type TNodeAttachMode
- type TNodeState
- type TNumGlyphs
- type TNumberingStyle
- type TOpenOption
- type TOpenOptionEx
- type TOpenOptions
- type TOpenOptionsEx
- type TOwnerDrawState
- type TOwnerDrawStateType
- type TPageMeasureUnits
- type TPageSetupDialogOption
- type TPageSetupDialogOptions
- type TPageType
- type TPenMode
- type TPenStyle
- type TPixelFormat
- type TPoint
- type TPopupAlignment
- type TPosition
- type TPositionToolTip
- type TPrintDialogOption
- type TPrintDialogOptions
- type TPrintRange
- type TPrinterCapabilities
- type TPrinterCapability
- type TPrinterKind
- type TPrinterOrientation
- type TPrinterState
- type TPrinterType
- type TProgressBarOrientation
- type TProgressBarState
- type TProgressBarStyle
- type TReadyState
- type TRect
- func (r TRect) CenterPoint() (ret TPoint)
- func (r TRect) Contains(aR TRect) bool
- func (r *TRect) Empty()
- func (r TRect) Height() int32
- func (r *TRect) Inflate(dx, dy int32)
- func (r TRect) IntersectsWith(aR TRect) bool
- func (r TRect) IsEmpty() bool
- func (r TRect) PtInRect(P TPoint) bool
- func (r *TRect) Scale(val float64)
- func (r *TRect) Scale2(val int)
- func (r *TRect) SetHeight(val int32)
- func (r *TRect) SetSize(w, h int32)
- func (r *TRect) SetWidth(val int32)
- func (r TRect) Size() TSize
- func (r TRect) Width() int32
- type TResType
- type TScrollBarInc
- type TScrollBarKind
- type TScrollBarStyle
- type TScrollStyle
- type TSearchDirection
- type TSearchType
- type TSearchTypes
- type TSectionTrackState
- type TSeekOrigin
- type TSelectDirExtOpt
- type TSelectDirExtOpts
- type TSelectDirOpt
- type TSelectDirOpts
- type TSet
- type TShapeType
- type TShiftState
- type TShortCut
- type TShowInTaskbar
- type TSize
- type TSmallPoint
- type TSortDirection
- type TSortType
- type TSpacingSize
- type TStaticBorderStyle
- type TStatusPanelBevel
- type TStatusPanelStyle
- type TStringEncoding
- type TStringsOption
- type TStringsOptions
- type TSysLinkType
- type TSysLocale
- type TTBCustomDrawFlags
- type TTBDrawingStyle
- type TTBGradientDrawingOption
- type TTBGradientDrawingOptions
- type TTabOrder
- type TTabPosition
- type TTabStyle
- type TTaskBarProgressState
- type TTaskDialogCommonButton
- type TTaskDialogCommonButtons
- type TTaskDialogFlag
- type TTaskDialogFlags
- type TTaskDialogIcon
- type TTextFormat
- type TTextFormats
- type TTextLayout
- type TThumbButtonState
- type TThumbButtonStates
- type TThumbTabProperties
- type TThumbTabProperty
- type TTickMark
- type TTickStyle
- type TToolButtonStyle
- type TTrackBarOrientation
- type TTrackButton
- type TTransparentMode
- type TTreeViewExpandSignType
- type TTreeViewOption
- type TTreeViewOptions
- type TUDBtnType
- type TUDOrientation
- type TVerticalAlignment
- type TViewStyle
- type TWMKey
- type TWindowState
- type TWndClass
- type TXID
- type UINT
- type WPARAM
- type Word
Constants ¶
const ( IdOK = 1 IdCancel = 2 IdAbort = 3 IdRetry = 4 IdIgnore = 5 IdYes = 6 IdNo = 7 IdClose = 8 IdHelp = 9 IdTryAgain = 10 IdContinue = 11 MrNone = 0 MrOk = IdOK MrCancel = IdCancel MrAbort = IdAbort MrRetry = IdRetry MrIgnore = IdIgnore MrYes = IdYes MrNo = IdNo MrClose = IdClose MrHelp = IdHelp MrTryAgain = IdTryAgain MrContinue = IdContinue MrAll = MrContinue + 1 MrNoToAll = MrAll + 1 MrYesToAll = MrNoToAll + 1 )
const ( CF_TEXT = 1 CF_BITMAP = 2 CF_METAFILEPICT = 3 CF_SYLK = 4 CF_DIF = 5 CF_TIFF = 6 CF_OEMTEXT = 7 CF_DIB = 8 CF_PALETTE = 9 CF_PENDATA = 10 CF_RIFF = 11 CF_WAVE = 12 CF_UNICODETEXT = 13 CF_ENHMETAFILE = 14 CF_HDROP = 15 CF_LOCALE = 0x10 CF_MAX = 18 /* if WINVER >= 0x0500 */ )
Predefined Clipboard Formats
const ( AlNone = iota + 0 AlTop AlBottom AlLeft AlRight AlClient AlCustom )
const ( BsNone = iota + 0 BsSingle BsSizeable BsDialog BsToolWindow BsSizeToolWin )
const ( FsNormal = iota + 0 FsMDIChild FsMDIForm FsStayOnTop // lcl FsSplash FsSystemStayOnTop )
const ( PoDesigned = iota + 0 // use bounds from the designer (read from stream) PoDefault // LCL decision (normally window manager decides) PoDefaultPosOnly // designed size and LCL position PoDefaultSizeOnly // designed position and LCL size PoScreenCenter // center form on screen (depends on DefaultMonitor) PoDesktopCenter // center form on desktop (total of all screens) PoMainFormCenter // center form on main form (depends on DefaultMonitor) PoOwnerFormCenter // center form on owner form (depends on DefaultMonitor) PoWorkAreaCenter // center form on working area (depends on DefaultMonitor) )
const ( CrHigh = TCursor(0) CrDefault = TCursor(0) CrNone = TCursor(-1) CrArrow = TCursor(-2) CrCross = TCursor(-3) CrIBeam = TCursor(-4) CrSize = TCursor(-22) CrSizeNESW = TCursor(-6) // diagonal north east - south west CrSizeNS = TCursor(-7) CrSizeNWSE = TCursor(-8) CrSizeWE = TCursor(-9) CrSizeNW = TCursor(-23) CrSizeN = TCursor(-24) CrSizeNE = TCursor(-25) CrSizeW = TCursor(-26) CrSizeE = TCursor(-27) CrSizeSW = TCursor(-28) CrSizeS = TCursor(-29) CrSizeSE = TCursor(-30) CrUpArrow = TCursor(-10) CrHourGlass = TCursor(-11) CrDrag = TCursor(-12) CrNoDrop = TCursor(-13) CrHSplit = TCursor(-14) CrVSplit = TCursor(-15) CrMultiDrag = TCursor(-16) CrSQLWait = TCursor(-17) CrNo = TCursor(-18) CrAppStart = TCursor(-19) CrHelp = TCursor(-20) CrHandPoint = TCursor(-21) CrSizeAll = TCursor(-22) CrLow = -30 )
const ( SoBeginning = iota + 0 SoCurrent SoEnd )
const ( PfDevice = iota + 0 Pf1bit Pf4bit Pf8bit Pf15bit Pf16bit Pf24bit Pf32bit PfCustom )
const ( TaLeftJustify = iota + 0 TaRightJustify TaCenter )
const ( BdLeftToRight = iota + 0 BdRightToLeft BdRightToLeftNoAlign BdRightToLeftReadingOnly )
const ( TaAlignTop = iota + 0 TaAlignBottom TaVerticalCenter )
const ( BsPushButton = iota + 0 BsCommandLink BsSplitButton )
const ( CsDropDown = iota + 0 // like an TEdit plus a button to drop down the list, default CsSimple // like an TEdit plus a TListBox CsDropDownList // like TLabel plus a button to drop down the list CsOwnerDrawFixed // like csDropDownList, but custom drawn CsOwnerDrawVariable // like csDropDownList, but custom drawn and with each item can have another height CsOwnerDrawEditableFixed // like csOwnerDrawFixed, but with TEdit CsOwnerDrawEditableVariable // like csOwnerDrawVariable, but with TEdit )
const ( WsNormal = iota + 0 WsMinimized WsMaximized // LCL WsFullScreen )
const ( TlTop = iota + 0 TlCenter TlBottom )
const ( EpNone = iota + 0 EpPathEllipsis EpEndEllipsis EpWordEllipsis )
const ( LbStandard = iota + 0 LbOwnerDrawFixed LbOwnerDrawVariable LbVirtual )
const ( MaAutomatic = iota + 0 MaManual MaParent )
const ( PaLeft = iota + 0 PaRight PaCenter )
const ( TbRightButton = iota + 0 TbLeftButton )
const ( PbHorizontal = iota + 0 PbVertical // lcl PbRightToLeft PbTopDown )
const ( PbstNormal = iota + 0 PbstMarquee )
const ( PbsNormal = iota + 0 PbsError PbsPaused )
const ( BlGlyphLeft = iota + 0 BlGlyphRight BlGlyphTop BlGlyphBottom )
const ( BsUp = iota + 0 // button is up BsDisabled // button disabled (grayed) BsDown // button is down BsExclusive // button is the only down in his group // lcl BsHot // button is under mouse )
const ( BsAutoDetect = iota + 0 BsWin31 BsNew )
const ( FsBold = iota + 0 FsItalic FsUnderline FsStrikeOut )
const ( SsNone = iota + 0 SsHorizontal SsVertical SsBoth // lcl SsAutoHorizontal SsAutoVertical SsAutoBoth )
const ( StNone = iota + 0 StData StText StBoth )
const ( MsControlSelect = iota + 0 MsShiftSelect MsVisibleOnly MsSiblingOnly )
const ( ArAlignBottom = iota + 0 ArAlignLeft ArAlignRight ArAlignTop ArDefault ArSnapToGrid )
const ( VsIcon = iota + 0 VsSmallIcon VsList VsReport )
const ( IsNone = iota + 0 IsCut IsDropHilited IsFocused IsSelected IsActivating )
const ( CtText = iota + 0 CtImage CtState )
const ( IfData = iota + 0 IfPartialString IfExactString IfNearest )
const ( SdLeft = iota + 0 SdRight SdAbove SdBelow SdAll )
const ( HtHandPoint = iota + 0 HtUnderlineCold HtUnderlineHot )
const ( IrText = iota + 0 IrImage IrParam IrState IrIndent )
const ( BsSolid = iota + 0 BsClear BsHorizontal BsVertical BsFDiagonal BsBDiagonal BsCross BsDiagCross // lcl BsImage BsPattern )
const ( PsSolid = iota + 0 PsDash PsDot PsDashDot PsDashDotDot PsinsideFrame PsPattern PsClear )
const ( BtNext = iota + 0 BtPrev )
const ( TpTop = iota + 0 TpBottom TpLeft TpRight )
const ( TsTabs = iota + 0 TsButtons TsFlatButtons )
const ( FpDefault = iota + 0 FpVariable FpFixed )
const ( PmBlack = iota + 0 PmWhite PmNop PmNot PmCopy PmNotCopy PmMergePenNot PmMaskPenNot PmMergeNotPen PmMaskNotPen PmMerge PmNotMerge PmMask PmNotMask PmXor PmNotXor )
const ( TrHorizontal = iota + 0 TrVertical )
const ( UdHorizontal = iota + 0 UdVertical )
const ( FqDefault = iota + 0 FqDraft FqProof FqNonAntialiased FqAntialiased FqClearType FqClearTypeNatural )
const ( CaNone = iota + 0 CaHide CaFree CaMinimize )
const ( BfNone = iota + 0 BfInfo BfWarning BfError )
const ( MtWarning = iota + 0 MtError MtInformation MtConfirmation MtCustom )
const ( MbYes = iota + 0 MbNo MbOK MbCancel MbAbort MbRetry MbIgnore MbAll MbNoToAll MbYesToAll MbHelp MbClose )
const ( SltURL = iota + 0 SltID )
const ( PsText = iota + 0 PsOwnerDraw )
const ( PbNone = iota + 0 PbLowered PbRaised )
const ( JpBestQuality = iota + 0 JpBestSpeed )
const ( JsFullSize = iota + 0 JsHalf JsQuarter JsEighth )
const ( GvUnknown = iota + 0 Gv87a Gv89a )
const ( GlDisabled = iota + 0 GlEnabled GlContinously )
const ( GdDisabled = iota + 0 GdEnabled GdAuto )
const ( NsCut = iota + 0 // = Node.Cut NsDropHilite // = Node.DropTarget NsFocused // = Node.Focused NsSelected // = Node.Selected NsMultiSelected // = Node.MultiSelected NsExpanded // = Node.Expanded NsHasChildren // = Node.HasChildren NsDeleting // = Node.Deleting, set on Destroy NsVisible // = Node.Visible NsBound // bound to a tree, e.g. has Parent or is top lvl node )
const ( NaAdd = iota + 0 // add as last sibling of Destination NaAddFirst // add as first sibling of Destination NaAddChild // add as last child of Destination NaAddChildFirst // add as first child of Destination NaInsert // insert in front of Destination NaInsertBehind // insert behind Destination )
const ( TaAddFirst = iota + 0 TaAdd TaInsert )
const ( AsNormal = iota + 0 AsSuspended AsSuspendedEnabled )
const ( GdHorizontal = iota + 0 GdVertical )
const ( DSFocus = iota + 0 DSSelected DSNormal DSTransparent )
const ( ItImage = iota + 0 ItMask )
const ( RtBitmap = iota + 0 RtCursor RtIcon )
const ( LrDefaultColor = iota + 0 LrDefaultSize LrFromFile LrMap3DColors LrTransparent LrMonoChrome )
const ( CdDefault = iota + 0 CdDeviceDependent Cd4Bit Cd8Bit Cd16Bit Cd24Bit Cd32Bit )
const ( CbUnchecked = iota + 0 CbChecked CbGrayed )
const ( DsNormal = iota + 0 DsGradient )
const ( TbsButton = iota + 0 // button (can be clicked) TbsCheck // check item (click to toggle state, can be grouped) TbsDropDown // button with dropdown button to show a popup menu TbsSeparator // space holder TbsDivider // space holder with line TbsButtonDrop // button with arrow (not separated from each other) )
const ( GdoHotTrack = iota + 0 GdoGradient )
const ( CdFullOpen = iota + 0 CdPreventFullOpen CdShowHelp CdSolidColor CdAnyColor )
const ( BiSystemMenu = iota + 0 BiMinimize BiMaximize BiHelp )
const ( FdAnsiOnly = iota + 0 FdTrueTypeOnly FdEffects FdFixedPitchOnly FdForceFontExist FdNoFaceSel FdNoOEMFonts FdNoSimulations FdNoSizeSel FdNoStyleSel FdNoVectorFonts FdShowHelp FdWysiwyg FdLimitSize FdScalableOnly FdApplyButton )
const ( OfReadOnly = iota + 0 OfOverwritePrompt // if selected file exists shows a message, that file // will be overwritten OfHideReadOnly // hide read only file OfNoChangeDir // do not change current directory OfShowHelp // show a help button OfNoValidate OfAllowMultiSelect // allow multiselection OfExtensionDifferent OfPathMustExist // shows an error message if selected path does not exist OfFileMustExist // shows an error message if selected file does not exist OfCreatePrompt OfNoReadOnlyReturn // do not return filenames that are readonly OfNoTestFileCreate OfNoNetworkButton OfNoLongNames OfOldStyleDialog OfNoDereferenceLinks // do not resolve links while dialog is shown (only on Windows, see OFN_NODEREFERENCELINKS) OfNoResolveLinks // do not resolve links after Execute OfEnableIncludeNotify OfEnableSizing // dialog can be resized, e.g. via the mouse OfDontAddToRecent // do not add the path to the history list OfForceShowHidden // show hidden files OfViewDetail // details are OS and interface dependent OfAutoPreview // details are OS and interface dependent )
const ( PrAllPages = iota + 0 PrSelection PrPageNums // lcl PrCurrentPage )
const ( PoPrintToFile = iota + 0 PoPageNums PoSelection PoWarning PoHelp PoDisablePrintToFile //lcl PoBeforeBeginDoc )
const ( PsoDefaultMinMargins = iota + 0 PsoDisableMargins PsoDisableOrientation PsoDisablePagePainting PsoDisablePaper PsoDisablePrinter PsoMargins PsoMinMargins PsoShowHelp PsoWarning PsoNoNetworkButton )
const ( PkDotMatrix = iota + 0 PkHPPCL )
const ( PtEnvelope = iota + 0 PtPaper )
const ( PmDefault = iota + 0 PmMillimeters PmInches )
const ( SoStrictDelimiter = iota + 0 SoWriteBOM SoTrailingLineBreak SoUseLocale )
const ( SsShift = iota + 0 SsAlt SsCtrl SsLeft SsRight SsMiddle SsDouble // Extra additions SsMeta SsSuper SsHyper SsAltGr SsCaps SsNum SsScroll SsTriple SsQuad SsExtra1 SsExtra2 )
const ( MbLeft = iota + 0 MbRight MbMiddle )
const ( FsSurface = iota + 0 FsBorder )
const ( FmAlternate = iota + 0 FmWinding )
const ( CsHandleValid = iota + 0 CsFontValid CsPenValid CsBrushValid //lcl CsRegionValid )
const ( CoLeftToRight = iota + 0 CoRightToLeft )
const ( TfBottom = iota + 0 TfCalcRect TfCenter TfEditControl TfEndEllipsis TfPathEllipsis TfExpandTabs TfExternalLeading TfLeft TfModifyString TfNoClip TfNoPrefix TfRight TfRtlReading TfSingleLine TfTop TfVerticalCenter TfWordBreak TfHidePrefix TfNoFullWidthCharBreak TfPrefixOnly TfTabStop TfWordEllipsis TfComposited )
const ( BvNone = iota + 0 BvLowered BvRaised BvSpace )
const ( BeLeft = iota + 0 BeTop BeRight BeBottom )
const ( BkNone = iota + 0 BkTile BkSoft BkFlat )
const ( TmBottomRight = iota + 0 TmTopLeft TmBoth )
const ( TsNone = iota + 0 TsAuto TsManual )
const ( PtNone = iota + 0 PtTop PtLeft PtBottom PtRight )
const ( DtkDate = iota + 0 DtkTime // lcl DtkDateTime )
const ( DmComboBox = iota + 0 DmUpDown // lcl DmNone )
const ( DfShort = iota + 0 DfLong )
const ( DtaLeft = iota + 0 DtaRight // lcl DtaDefault )
const ( DowMonday = iota + 0 DowTuesday DowWednesday DowThursday DowFriday DowSaturday DowSunday DowLocaleDefault )
const ( StWholeWord = iota + 0 StMatchCase )
const ( NsNone = iota + 0 NsBullte )
const ( AtSelected = iota + 0 AtDefaultText )
const ( CaBold = iota + 0 CaColor CaFace CaItalic CaSize CaStrikeOut CaUnderline CaProtected )
const ( IaTop = iota + 0 IaLeft )
const ( HsGradient = iota + 0 HsImage HsThemed )
const ( IiaLeft = iota + 0 // IaTop有冲突,所以增加一个i IiaRight IiaTop IiaBottom IiaCenter )
const ( AkTop = iota + 0 AkLeft AkRight AkBottom )
const ( OdSelected = iota + 0 OdGrayed OdDisabled OdChecked OdFocused OdDefault OdHotLight OdInactive OdNoAccel OdNoFocusRect OdReserved1 OdReserved2 OdComboBoxEdit OdBackgroundPainted // item background already painted )
const ( BkCustom = iota + 0 BkOK BkCancel BkHelp BkYes BkNo BkClose BkAbort BkRetry BkIgnore BkAll BkNoToAll BkYesToAll )
const ( SbHorizontal = iota + 0 SbVertical )
const ( SsRegular = iota + 0 SsFlat SsHotTrack )
const ( StRectangle = iota + 0 StSquare StRoundRect StRoundSquare StEllipse StCircle StSquaredDiamond StDiamond StTriangle StTriangleLeft StTriangleRight StTriangleDown StStar StStarDown )
const ( BsLowered = iota + 0 BsRaised )
const ( BsBox = iota + 0 BsFrame BsTopLine BsBottomLine BsLeftLine BsRightLine BsSpacer )
const ( GkText = iota + 0 GkHorizontalBar GkVerticalBar GkPie GkNeedle GkHalfPie )
const ( DtControl = iota + 0 DtItem DtSubItem )
const ( CdPrePaint = iota + 0 CdPostPaint CdPreErase CdPostErase )
const ( CdsSelected = iota + 0 CdsGrayed CdsDisabled CdsChecked CdsFocused CdsDefault CdsHot CdsMarked CdsIndeterminate )
const ( TbNoEdges = iota + 0 TbHiliteHotTrack TbNoOffset TbNoMark TbNoEtchedEffect )
const ( DrBounds = iota + 0 DrIcon DrLabel DrSelectBounds )
const ( SdAllowCreate = iota + 0 SdPerformCreate SdPrompt )
const ( SdNewFolder = iota + 0 SdShowEdit SdNewUI SdShowFiles SdValidateDir )
const ( FrDown = iota + 0 FrFindNext FrHideMatchCase FrHideWholeWord FrHideUpDown FrMatchCase FrDisableMatchCase FrDisableUpDown FrDisableWholeWord FrReplace FrReplaceAll FrWholeWord FrShowHelp // LCL FrEntireScope FrHideEntireScope FrPromptOnReplace FrHidePromptOnReplace FrButtonsAtBottom )
const ( DmManual = iota + 0 DmAutomatic )
const ( DsDragEnter = iota + 0 DsDragLeave DsDragMove )
const ( DkDrag = iota + 0 DkDock )
const ( EcNormal = iota + 0 EcUpperCase EcLowerCase )
const ( EbLeft = iota + 0 EbTop EbRight EbBottom )
const ( EsNone = iota + 0 EsRaised EsLowered )
const ( GdsClassic = iota + 0 GdsThemed GdsGradient )
const ( GoFixedVertLine = iota + 0 GoFixedHorzLine GoVertLine GoHorzLine GoRangeSelect GoDrawFocusSelected GoRowSizing GoColSizing GoRowMoving GoColMoving GoEditing GoAutoAddRows GoTabs GoRowSelect GoAlwaysShowEditor GoThumbTracking // Additional Options GoColSpanning // Enable cellextent calcs GoRelaxedRowSelect // User can see focused cell on goRowSelect GoDblClickAutoSize // dblclicking columns borders (on hdrs) resize col. GoSmoothScroll // Switch scrolling mode (pixel scroll is by default) GoFixedRowNumbering // Ya GoScrollKeepVisible // keeps focused cell visible while scrolling GoHeaderHotTracking // Header cells change look when mouse is over them GoHeaderPushedLook // Header cells looks pushed when clicked GoSelectionActive // Setting grid.Selection moves also cell cursor GoFixedColSizing // Allow to resize fixed columns GoDontScrollPartCell // clicking partially visible cells will not scroll GoCellHints // show individual cell hints GoTruncCellHints // show cell hints if cell text is too long GoCellEllipsis // show "..." if cell text is too long GoAutoAddRowsSkipContentCheck //BB Also add a row (if AutoAddRows in Options) if last row is empty GoRowHighlight // Highlight the current Row )
const ( GdSelected = iota + 0 GdFocused GdFixed GdHot GdPushed GdRowHighlight )
const ( //SdLeft = iota + 0 //SdRight SdUp = iota + SdRight SdDown )
const ( HsText = iota + 0 HsOwnerDraw )
const ( LpAbove = iota + 0 LpBelow LpLeft LpRight )
const ( FsLeftRightTopBottom = iota + 0 FsRightLeftTopBottom FsLeftRightBottomTop FsRightLeftBottomTop FsTopBottomLeftRight FsBottomTopLeftRight FsTopBottomRightLeft FsBottomTopRightLeft )
const ( BmNone = iota + 0 BmClick BmDblClick )
const ( MbNone = iota + 0 MbBreak MbBarBreak )
const ( TsTrackBegin = iota + 0 TsTrackMove TsTrackEnd )
const ( CsLButtonDown = iota + 0 CsClicked CsPalette CsReadingState CsFocusing CsCreating // not used, exists for Delphi compatibility CsPaintCopy CsCustomPaint CsDestroyingHandle CsDocking CsVisibleSetInLoading )
const ( CsAcceptsControls = iota + 0 // can have children in the designer CsCaptureMouse // auto capture mouse when clicked CsDesignInteractive // wants mouse events in design mode CsClickEvents // handles mouse events CsFramed // not implemented, has 3d frame CsSetCaption // if Name=Caption, changing the Name changes the Caption CsOpaque // the control paints its area completely CsDoubleClicks // understands mouse double clicks CsTripleClicks // understands mouse triple clicks CsQuadClicks // understands mouse quad clicks CsFixedWidth // cannot change its width CsFixedHeight // cannot change its height (for example combobox) CsNoDesignVisible // is invisible in the designer CsReplicatable // PaintTo works CsNoStdEvents // standard events such as mouse, key, and click events are ignored. CsDisplayDragImage // display images from dragimagelist during drag operation over control CsReflector // not implemented, the controls respond to size, focus and dlg messages - it can be used as ActiveX control under Windows CsActionClient // Action is set CsMenuEvents // not implemented CsNoFocus // control will not take focus when clicked with mouse. CsNeedsBorderPaint // not implemented CsParentBackground // tells WinXP to paint the theme background of parent on controls background CsDesignNoSmoothResize // when resizing control in the designer do not SetBounds while dragging CsDesignFixedBounds // can not be moved nor resized in designer CsHasDefaultAction // implements useful ExecuteDefaultAction CsHasCancelAction // implements useful ExecuteCancelAction CsNoDesignSelectable // can not be selected at design time CsOwnedChildrenNotSelectable // child controls owned by this control are NOT selectable in the designer CsAutoSize0x0 // if the preferred size is 0x0 then control is shrinked ot 0x0 CsAutoSizeKeepChildLeft // when AutoSize=true do not move children horizontally CsAutoSizeKeepChildTop // when AutoSize=true do not move children vertically CsRequiresKeyboardInput // If the device has no physical keyboard then show the virtual keyboard when this control gets focus (therefore available only to TWinControl descendents) )
const ( MaDefault = iota + 0 MaActivate MaActivateAndEat MaNoActivate MaNoActivateAndEat )
const ( None = iota + 0 Indeterminate Normal Error Paused )
const ( Enabled = iota + 0 DismissOnClick NoBackground Hidden NonInteractive )
const ( AppThumbAlways = iota + 0 AppThumbWhenActive AppPeekAlways AppPeekWhenActive CustomizedPreview )
const ( BmDIB = iota + 0 BmDDB )
const ( PsNoDefine = iota + 0 PsReady PsPrinting PsStopped )
const ( PoPortrait = iota + 0 PoLandscape PoReverseLandscape PoReversePortrait )
const ( PcCopies = iota + 0 PcOrientation PcCollation )
const ( PtLocal = iota + 0 PtNetWork )
const ( RsUninitialized = iota + 0 RsLoading RsLoaded RsInterActive RsComplete )
const ( SeUnknown = iota + 0 SeANSI SeUnicode SeUTF8 )
const ( StDefault = iota + 0 // use default rules for showing taskbar item StAlways // always show taskbar item for the form StNever // never show taskbar item for the form )
const ( TcbOk = iota + 0 TcbYes TcbNo TcbCancel TcbRetry TcbClose )
const ( TfEnableHyperlinks = iota + 0 TfUseHiconMain TfAllowDialogCancellation TfUseCommandLinks TfUseCommandLinksNoIcon TfExpandedByDefault TfVerificationFlagChecked TfShowProgressBar TfShowMarqueeProgressBar TfCallbackTimer TfPositionRelativeToWindow TfRtlLayout TfNoDefaultRadioButton TfCanBeMinimized )
const ( TdiNone = iota + 0 TdiWarning TdiError TdiInformation TdiShield TdiQuestion // Lazarus所有 )
const ( CsExDropDown = iota + 0 CsExSimple CsExDropDownList )
const ( CsExCaseSensitive = iota + 0 CsExNoEditImage CsExNoEditImageIndent CsExNoSizeLimit CsExPathWordBreak )
const ( AcoAutoSuggest = iota + 0 AcoAutoAppend AcoSearch AcoFilterPrefixes AcoUseTab AcoUpDownKeyDropsList AcoRtlReading )
const ( DmDesktop = iota + 0 DmPrimary DmMainForm DmActiveForm )
const ( TmAuto = iota + 0 TmFixed )
const ( DimNormal = iota + 0 DimCenter DimStretch )
const ( AmDontCare = iota + 0 // default antialiasing AmOn // enabled AmOff // disabled )
const ( SdAscending = iota + 0 SdDescending )
const ( TvestTheme = iota + 0 // use themed sign TvestPlusMinus // use +/- sign TvestArrow // use blank arrow TvestArrowFill // use filled arrow )
const ( TvoAllowMultiselect = iota + 0 TvoAutoExpand TvoAutoInsertMark TvoAutoItemHeight TvoHideSelection TvoHotTrack TvoKeepCollapsedNodes TvoReadOnly TvoRightClickSelect TvoRowSelect TvoShowButtons TvoShowLines TvoShowRoot TvoShowSeparators TvoToolTips TvoNoDoubleClickExpand TvoThemedDraw )
const ( GsmAlways = iota + 0 // always show GsmNever // never show GsmApplication // depends on application settings GsmSystem // depends on system settings )
const ( NboShowCloseButtons = iota + 0 NboMultiLine NboHidePageListPopup NboKeyboardTabSwitch NboShowAddTabButton NboDoChangeOnSetIndex )
const ( AsrTop = iota + 0 AsrBottom AsrCenter )
const ( CcaFill = iota + 0 CcaLeftTop CcaRightBottom CcaCenter )
const ( CrsAnchorAligning = iota + 0 // (like Delphi) CrsScaleChilds // scale children equally, keep space between children fixed CrsHomogenousChildResize // enlarge children equally (i.e. by the same amount of pixel) CrsHomogenousSpaceResize // enlarge space between children equally )
const ( CclNone = iota + 0 CclLeftToRightThenTopToBottom // if BiDiMode <> bdLeftToRight then it becomes RightToLeft CclTopToBottomThenLeftToRight )
const ( ClHorizontalThenVertical = iota + 0 ClVerticalThenHorizontal )
const (
LboDrawFocusRect = iota + 0 // draw focus rect in case of owner drawing
)
const (
OfExNoPlacesBar = iota + 0
)
const (
SbsNone = iota + 0
)
Variables ¶
var ( // Unicode Apple logo char AppleLogoChar = string([]byte{0xEF, 0xA3, 0xBF}) )
Functions ¶
This section is empty.
Types ¶
type PFNLVCOMPARE ¶
type PFNLVCOMPARE uintptr
type PFNTVCOMPARE ¶
type PFNTVCOMPARE uintptr
type TActionListState ¶
type TActionListState int32
TActionListState = (asNormal, asSuspended, asSuspendedEnabled);
type TAlign ¶
type TAlign int32
TAlign = (alNone, alTop, alBottom, alLeft, alRight, alClient, alCustom);
type TAlignInfo ¶ added in v1.2.10
type TAnchorKind ¶
type TAnchorKind int32
vcl TAnchorKind = (akLeft, akTop, akRight, akBottom); lcl TAnchorKind = (akTop, akLeft, akRight, akBottom);
type TAnchorSideReference ¶
type TAnchorSideReference int32
type TAntialiasingMode ¶
type TAntialiasingMode int32
type TAutoCompleteOption ¶ added in v1.2.8
type TAutoCompleteOption int32
type TAutoCompleteOptions ¶ added in v1.2.8
type TAutoCompleteOptions = TSet
set of TAutoCompleteOption;
type TBalloonFlags ¶
type TBalloonFlags int32
type TBevelShape ¶
type TBevelShape int32
TBevelShape = (bsBox, bsFrame, bsTopLine, bsBottomLine, bsLeftLine, bsRightLine, bsSpacer);
type TBiDiMode ¶
type TBiDiMode int32
TBiDiMode = (bdLeftToRight, bdRightToLeft, bdRightToLeftNoAlign, bdRightToLeftReadingOnly);
type TBitBtnKind ¶
type TBitBtnKind int32
TBitBtnKind = (bkCustom, bkOK, bkCancel, bkHelp, bkYes, bkNo, bkClose,
bkAbort, bkRetry, bkIgnore, bkAll);
type TBorderIcon ¶
type TBorderIcon int32
TBorderIcon = (biSystemMenu, biMinimize, biMaximize, biHelp);
type TBorderStyle ¶
type TBorderStyle int32
TFormBorderStyle = (bsNone, bsSingle, bsSizeable, bsDialog, bsToolWindow, bsSizeToolWin); TBorderStyle = bsNone..bsSingle;
type TBrushStyle ¶
type TBrushStyle int32
TBrushStyle = (bsSolid, bsClear, bsHorizontal, bsVertical,
bsFDiagonal, bsBDiagonal, bsCross, bsDiagCross);
type TButtonLayout ¶
type TButtonLayout int32
TButtonLayout = (blGlyphLeft, blGlyphRight, blGlyphTop, blGlyphBottom);
type TButtonStyle ¶
type TButtonStyle int32
TButtonStyle = (bsPushButton, bsCommandLink, bsSplitButton);
type TCTabControlOptions ¶
type TCTabControlOptions = TSet
type TCalDayOfWeek ¶
type TCalDayOfWeek int32
{ Calendar common control support } TCalDayOfWeek = (dowMonday, dowTuesday, dowWednesday, dowThursday,
dowFriday, dowSaturday, dowSunday, dowLocaleDefault);
type TCanvasOrientation ¶
type TCanvasOrientation int32
TCanvasOrientation = (coLeftToRight, coRightToLeft);
type TCanvasStates ¶
type TCanvasStates int32
TCanvasStates = (csHandleValid, csFontValid, csPenValid, csBrushValid);
type TCheckBoxState ¶
type TCheckBoxState int32
TCheckBoxState = (cbUnchecked, cbChecked, cbGrayed);
type TChildControlResizeStyle ¶
type TChildControlResizeStyle int32
type TColorBoxStyle ¶
type TColorBoxStyle int32
type TColorDepth ¶
type TColorDepth int32
TColorDepth = (cdDefault, cdDeviceDependent, cd4Bit, cd8Bit, cd16Bit, cd24Bit, cd32Bit);
type TColorDialogOption ¶
type TColorDialogOption int32
TColorDialogOption = (cdFullOpen, cdPreventFullOpen, cdShowHelp, cdSolidColor, cdAnyColor);
type TColorDialogOptions ¶
type TColorDialogOptions = TSet
type TColumnLayout ¶
type TColumnLayout int32
type TComboBoxExStyle ¶ added in v1.2.8
type TComboBoxExStyle int32
type TComboBoxExStyleEx ¶ added in v1.2.8
type TComboBoxExStyleEx int32
type TComboBoxStyle ¶
type TComboBoxStyle int32
type TConsistentAttribute ¶
type TConsistentAttribute int32
TConsistentAttribute = (caBold, caColor, caFace, caItalic,
caSize, caStrikeOut, caUnderline, caProtected);
type TConsistentAttributes ¶
type TConsistentAttributes = TSet
TConsistentAttributes = set of TConsistentAttribute;
type TControlCellAlign ¶
type TControlCellAlign int32
type TControlCellAligns ¶
type TControlCellAligns = TSet
type TControlChildrenLayout ¶
type TControlChildrenLayout int32
type TControlState ¶ added in v1.1.21
type TControlState = TSet
TControlState = set of (csLButtonDown, csClicked, csPalette,
csReadingState, csAlignmentNeeded, csFocusing, csCreating, csPaintCopy, csCustomPaint, csDestroyingHandle, csDocking, csDesignerHide, csPanning, csRecreating, csAligning, csGlassPaint, csPrintClient);
type TControlStyle ¶ added in v1.1.21
type TControlStyle = TSet
type TControlStyleType ¶
type TControlStyleType int32
type TCoolBandMaximize ¶ added in v1.1.19
type TCoolBandMaximize int32
type TCursorInfo ¶ added in v1.1.18
TCursorInfo
type TCustomData ¶ added in v1.1.21
type TCustomData = uintptr
type TCustomDrawStage ¶
type TCustomDrawStage int32
TCustomDrawStage = (cdPrePaint, cdPostPaint, cdPreErase, cdPostErase);
type TCustomDrawState ¶
type TCustomDrawState = TSet
type TCustomDrawTarget ¶
type TCustomDrawTarget int32
TCustomDrawTarget = (dtControl, dtItem, dtSubItem);
type TDWordFiller ¶
type TDWordFiller struct {
Filler [4]uint8
}
type TDefaultMonitor ¶ added in v1.2.9
type TDefaultMonitor int32
type TDisplayCode ¶
type TDisplayCode int32
TDisplayCode = (drBounds, drIcon, drLabel, drSelectBounds);
type TDragState ¶
type TDragState int32
type TDrawImageMode ¶ added in v1.2.10
type TDrawImageMode int32
TDrawImageMode = (dimNormal, dimCenter, dimStretch);
type TDrawingStyle ¶
type TDrawingStyle int32
TDrawingStyle = (dsFocus, dsSelected, dsNormal, dsTransparent);
type TEdgeBorder ¶ added in v1.1.19
type TEdgeBorder int32
type TEdgeStyle ¶ added in v1.1.19
type TEdgeStyle int32
type TEllipsisPosition ¶
type TEllipsisPosition int32
TEllipsisPosition = (epNone, epPathEllipsis, epEndEllipsis, epWordEllipsis);
type TFNWndEnumProc ¶ added in v1.2.4
type TFNWndEnumProc = uintptr
type TFlowStyle ¶ added in v1.1.19
type TFlowStyle int32
type TFontCharset ¶
type TFontCharset = uint8
type TFontDialogOption ¶
type TFontDialogOption int32
TFontDialogOption = (fdAnsiOnly, fdTrueTypeOnly, fdEffects,
fdFixedPitchOnly, fdForceFontExist, fdNoFaceSel, fdNoOEMFonts, fdNoSimulations, fdNoSizeSel, fdNoStyleSel, fdNoVectorFonts, fdShowHelp, fdWysiwyg, fdLimitSize, fdScalableOnly, fdApplyButton);
type TFontDialogOptions ¶
type TFontDialogOptions = TSet
TFontDialogOptions = set of TFontDialogOption;
type TFontQuality ¶
type TFontQuality int32
TFontQuality = (fqDefault, fqDraft, fqProof, fqNonAntialiased, fqAntialiased,
fqClearType, fqClearTypeNatural);
type TFormBorderStyle ¶
type TFormBorderStyle TBorderStyle
type TFormStyle ¶
type TFormStyle int32
vcl TFormStyle = (fsNormal, fsMDIChild, fsMDIForm, fsStayOnTop); lcl TFormStyle = (fsNormal, fsMDIChild, fsMDIForm, fsStayOnTop, fsSplash, fsSystemStayOnTop);
type TGIFAnimationLoop ¶
type TGIFAnimationLoop int32
Animation loop behaviour TGIFAnimationLoop = (
glDisabled, // Never loop glEnabled, // Loop is specified in GIF glContinously // Loop continously regardless of GIF );
type TGIFDithering ¶
type TGIFDithering int32
Auto dithering of GIF output to Netscape 216 color palette TGIFDithering = (
gdDisabled, // Never dither gdEnabled, // Always dither gdAuto // Dither if Desktop DC supports <= 256 colors. );
type TGUID ¶ added in v1.1.23
func (TGUID) FromString ¶ added in v1.2.8
type TGaugeKind ¶
type TGaugeKind int32
TGaugeKind = (gkText, gkHorizontalBar, gkVerticalBar, gkPie, gkNeedle, gkHalfPie);
type TGlyphShowMode ¶
type TGlyphShowMode int32
type TGradientDirection ¶
type TGradientDirection int32
TGradientDirection = (gdHorizontal, gdVertical);
type TGridCoord ¶ added in v1.1.19
type TGridDrawState ¶ added in v1.1.19
type TGridDrawState = TSet
type TGridDrawingStyle ¶ added in v1.1.19
type TGridDrawingStyle int32
type TGridOptions ¶ added in v1.1.19
type TGridOptions = TSet
Delphi set of TGridOption, Lazarus set of TGridOptionLz
type TGridScrollDirection ¶ added in v1.1.19
type TGridScrollDirection = uint32
type THeaderSectionStyle ¶ added in v1.1.19
type THeaderSectionStyle int32
type THelpEventData ¶
type THelpEventData = uintptr
type TImageAlignment ¶
type TImageAlignment int32
TImageAlignment = (iaLeft, iaRight, iaTop, iaBottom, iaCenter);
type TItemFind ¶
type TItemFind int32
TItemFind = (ifData, ifPartialString, ifExactString, ifNearest);
type TItemRequests ¶
type TItemRequests int32
TItemRequests = (irText, irImage, irParam, irState, irIndent);
type TItemState ¶
type TItemState int32
TItemState = (isNone, isCut, isDropHilited, isFocused, isSelected, isActivating);
type TJPEGPerformance ¶
type TJPEGPerformance int32
TJPEGPerformance = (jpBestQuality, jpBestSpeed);
type TJPEGQualityRange ¶
type TJPEGQualityRange = uint32
TJPEGQualityRange = 1..100; // 100 = best quality, 25 = pretty awful
type TLabelPosition ¶ added in v1.1.19
type TLabelPosition int32
type TLeftRight ¶
type TLeftRight int32
TLeftRight = TAlignment.taLeftJustify..TAlignment.taRightJustify;
type TLinkAlignment ¶
type TLinkAlignment TAlignment
type TListArrangement ¶
type TListArrangement int32
TListArrangement = (arAlignBottom, arAlignLeft, arAlignRight, arAlignTop, arDefault, arSnapToGrid);
type TListBoxOption ¶
type TListBoxOption int32
type TListBoxOptions ¶
type TListBoxOptions = TSet
type TListBoxStyle ¶
type TListBoxStyle int32
TListBoxStyle = (lbStandard, lbOwnerDrawFixed, lbOwnerDrawVariable, lbVirtual);
type TListHotTrackStyle ¶
type TListHotTrackStyle int32
TListHotTrackStyle = (htHandPoint, htUnderlineCold, htUnderlineHot);
type TListHotTrackStyles ¶
type TListHotTrackStyles = TSet
TListHotTrackStyles = set of TListHotTrackStyle;
type TLoadResource ¶
type TLoadResource int32
TLoadResource = (lrDefaultColor, lrDefaultSize, lrFromFile, lrMap3DColors, lrTransparent, lrMonoChrome);
type TMenuBreak ¶ added in v1.1.19
type TMenuBreak int32
type TMenuItemAutoFlag ¶
type TMenuItemAutoFlag int32
TMenuItemAutoFlag = (maAutomatic, maManual, maParent);
type TMessage ¶ added in v1.2.0
type TMessage struct { Msg Cardinal WParam WPARAM LParam LPARAM Result LRESULT // contains filtered or unexported fields }
消息值参见 types/messages包
type TModalResult ¶
type TModalResult = int32
type TMouseActivate ¶ added in v1.1.21
type TMouseActivate int32
type TMouseButton ¶
type TMouseButton int32
vcl TMouseButton = (mbLeft, mbRight, mbMiddle); lcl TMouseButton = (mbLeft, mbRight, mbMiddle, mbExtra1, mbExtra2);
type TMsgDlgBtn ¶
type TMsgDlgBtn int32
TMsgDlgBtn = (mbYes, mbNo, mbOK, mbCancel, mbAbort, mbRetry, mbIgnore,
mbAll, mbNoToAll, mbYesToAll, mbHelp, mbClose);
type TMsgDlgType ¶
type TMsgDlgType int32
TMsgDlgType = (mtWarning, mtError, mtInformation, mtConfirmation, mtCustom);
type TMultiSelectStyle ¶
type TMultiSelectStyle = TSet
type TMultiSelectStyles ¶
type TMultiSelectStyles int32
TMultiSelectStyles = (msControlSelect, msShiftSelect, msVisibleOnly, msSiblingOnly);
type TNodeAttachMode ¶
type TNodeAttachMode int32
type TNodeState ¶
type TNodeState int32
type TOpenOption ¶
type TOpenOption int32
{ TOpenDialog } TOpenOption = (ofReadOnly, ofOverwritePrompt, ofHideReadOnly,
ofNoChangeDir, ofShowHelp, ofNoValidate, ofAllowMultiSelect, ofExtensionDifferent, ofPathMustExist, ofFileMustExist, ofCreatePrompt, ofShareAware, ofNoReadOnlyReturn, ofNoTestFileCreate, ofNoNetworkButton, ofNoLongNames, ofOldStyleDialog, ofNoDereferenceLinks, ofEnableIncludeNotify, ofEnableSizing, ofDontAddToRecent, ofForceShowHidden);
type TOwnerDrawState ¶
type TOwnerDrawState = TSet
TOwnerDrawState = set of (odSelected, odGrayed, odDisabled, odChecked,
odFocused, odDefault, odHotLight, odInactive, odNoAccel, odNoFocusRect, odReserved1, odReserved2, odComboBoxEdit);
type TOwnerDrawStateType ¶
type TOwnerDrawStateType int32
type TPageMeasureUnits ¶
type TPageMeasureUnits int32
TPageMeasureUnits = (pmDefault, pmMillimeters, pmInches);
type TPageSetupDialogOption ¶
type TPageSetupDialogOption int32
TPageSetupDialogOption = (psoDefaultMinMargins, psoDisableMargins,
psoDisableOrientation, psoDisablePagePainting, psoDisablePaper, psoDisablePrinter, psoMargins, psoMinMargins, psoShowHelp, psoWarning, psoNoNetworkButton);
type TPageSetupDialogOptions ¶
type TPageSetupDialogOptions = TSet
TPageSetupDialogOptions = set of TPageSetupDialogOption;
type TPenMode ¶
type TPenMode int32
TPenMode = (pmBlack, pmWhite, pmNop, pmNot, pmCopy, pmNotCopy,
pmMergePenNot, pmMaskPenNot, pmMergeNotPen, pmMaskNotPen, pmMerge, pmNotMerge, pmMask, pmNotMask, pmXor, pmNotXor);
type TPixelFormat ¶
type TPixelFormat int32
TPixelFormat = (pfDevice, pf1bit, pf4bit, pf8bit, pf15bit, pf16bit, pf24bit, pf32bit, pfCustom);
type TPosition ¶
type TPosition int32
TPosition = (poDesigned, poDefault, poDefaultPosOnly, poDefaultSizeOnly, poScreenCenter, poDesktopCenter, poMainFormCenter, poOwnerFormCenter);
type TPositionToolTip ¶
type TPositionToolTip int32
TPositionToolTip = (ptNone, ptTop, ptLeft, ptBottom, ptRight);
type TPrintDialogOption ¶
type TPrintDialogOption int32
TPrintDialogOption = (poPrintToFile, poPageNums, poSelection, poWarning,
poHelp, poDisablePrintToFile);
type TPrintDialogOptions ¶
type TPrintDialogOptions = TSet
TPrintDialogOptions = set of TPrintDialogOption;
type TPrintRange ¶
type TPrintRange int32
{ TPrintDialog } TPrintRange = (prAllPages, prSelection, prPageNums);
type TPrinterCapabilities ¶ added in v1.1.23
type TPrinterCapabilities = TSet
Set of TPrinterCapability
type TPrinterCapability ¶ added in v1.1.23
type TPrinterCapability int32
TPrinterCapability = (pcCopies, pcOrientation, pcCollation);
type TPrinterOrientation ¶ added in v1.1.23
type TPrinterOrientation int32
TPrinterOrientation = (poPortrait, poLandscape);
type TPrinterState ¶ added in v1.1.23
type TPrinterState int32
TPrinterState = (psNoHandle, psHandleIC, psHandleDC);
type TPrinterType ¶
type TPrinterType int32
type TProgressBarOrientation ¶
type TProgressBarOrientation int32
TProgressBarOrientation = (pbHorizontal, pbVertical, pbRightToLeft, pbTopDown);
type TProgressBarState ¶
type TProgressBarState int32
TProgressBarState = (pbsNormal, pbsError, pbsPaused);
type TProgressBarStyle ¶
type TProgressBarStyle int32
TProgressBarStyle = (pbstNormal, pbstMarquee);
type TReadyState ¶ added in v1.2.1
type TReadyState int32
type TRect ¶
type TRect struct {
Left, Top, Right, Bottom int32
}
func (TRect) CenterPoint ¶
func (TRect) IntersectsWith ¶
type TScrollBarStyle ¶
type TScrollBarStyle int32
TScrollBarStyle = (ssRegular, ssFlat, ssHotTrack);
type TScrollStyle ¶
type TScrollStyle int32
TScrollStyle = (ssNone, ssHorizontal, ssVertical, ssBoth);
type TSearchDirection ¶
type TSearchDirection int32
TSearchDirection = (sdLeft, sdRight, sdAbove, sdBelow, sdAll);
type TSearchTypes ¶
type TSearchTypes = TSet
type TSectionTrackState ¶ added in v1.1.19
type TSectionTrackState int32
type TSelectDirExtOpt ¶
type TSelectDirExtOpt int32
TSelectDirExtOpt = (sdNewFolder, sdShowEdit, sdShowShares, sdNewUI, sdShowFiles, sdValidateDir);
type TSelectDirOpt ¶
type TSelectDirOpt int32
TSelectDirOpt = (sdAllowCreate, sdPerformCreate, sdPrompt);
type TSet ¶ added in v1.2.10
type TSet uint32
Pascal集合类型 set of xxx
type TShapeType ¶
type TShapeType int32
type TShiftState ¶
type TShiftState = TSet
type TShowInTaskbar ¶ added in v1.2.4
type TShowInTaskbar int32
type TSmallPoint ¶ added in v1.1.21
func (TSmallPoint) IsEqual ¶ added in v1.2.8
func (s TSmallPoint) IsEqual(val TSmallPoint) bool
type TSortDirection ¶
type TSortDirection int32
type TSpacingSize ¶
type TSpacingSize int32
type TStaticBorderStyle ¶
type TStaticBorderStyle int32
TStaticBorderStyle = (sbsNone, sbsSingle, sbsSunken);
type TStatusPanelBevel ¶
type TStatusPanelBevel int32
TStatusPanelBevel = (pbNone, pbLowered, pbRaised);
type TStringEncoding ¶ added in v1.2.2
type TStringEncoding int32
type TStringsOption ¶
type TStringsOption = uint32
TStringsOption = (soStrictDelimiter, soWriteBOM, soTrailingLineBreak, soUseLocale);
type TSysLocale ¶ added in v1.1.21
type TTBCustomDrawFlags ¶
type TTBCustomDrawFlags = TSet
TTBCustomDrawFlags = set of (tbNoEdges, tbHiliteHotTrack, tbNoOffset, tbNoMark, tbNoEtchedEffect);
type TTBGradientDrawingOption ¶
type TTBGradientDrawingOption int32
TTBGradientDrawingOption = (gdoHotTrack, gdoGradient)
type TTBGradientDrawingOptions ¶
type TTBGradientDrawingOptions = TSet
TTBGradientDrawingOptions = set of (gdoHotTrack, gdoGradient);
type TTaskBarProgressState ¶ added in v1.1.23
type TTaskBarProgressState int32
type TTaskDialogCommonButton ¶ added in v1.2.4
type TTaskDialogCommonButton int32
type TTaskDialogCommonButtons ¶ added in v1.2.4
type TTaskDialogCommonButtons = TSet
Set of TTaskDialogCommonButton
type TTaskDialogFlag ¶ added in v1.2.4
type TTaskDialogFlag int32
type TTaskDialogIcon ¶ added in v1.2.4
type TTaskDialogIcon int32
TTaskDialogIcon = Low(Integer)..High(Integer);
type TTextFormats ¶
type TTextFormats int32
// Note: tfComposited only supported by ThemeServices.DrawText TTextFormats = (tfBottom, tfCalcRect, tfCenter, tfEditControl, tfEndEllipsis,
tfPathEllipsis, tfExpandTabs, tfExternalLeading, tfLeft, tfModifyString, tfNoClip, tfNoPrefix, tfRight, tfRtlReading, tfSingleLine, tfTop, tfVerticalCenter, tfWordBreak, tfHidePrefix, tfNoFullWidthCharBreak, tfPrefixOnly, tfTabStop, tfWordEllipsis, tfComposited);
type TThumbButtonState ¶ added in v1.1.23
type TThumbButtonState int32
TThumbButtonState = (Enabled, DismissOnClick, NoBackground, Hidden, NonInteractive);
type TThumbButtonStates ¶ added in v1.1.23
type TThumbButtonStates = TSet
TThumbButtonStates = set of TThumbButtonState;
type TThumbTabProperties ¶ added in v1.1.23
type TThumbTabProperties = TSet
TThumbTabProperties = set of TThumbTabProperty;
type TThumbTabProperty ¶ added in v1.1.23
type TThumbTabProperty int32
TThumbTabProperty = (AppThumbAlways, AppThumbWhenActive, AppPeekAlways, AppPeekWhenActive, CustomizedPreview);
type TToolButtonStyle ¶
type TToolButtonStyle int32
type TTrackBarOrientation ¶
type TTrackBarOrientation int32
TTrackBarOrientation = (trHorizontal, trVertical);
type TTransparentMode ¶ added in v1.2.10
type TTransparentMode int32
TTransparentMode = (tmAuto, tmFixed);
type TTreeViewExpandSignType ¶
type TTreeViewExpandSignType int32
type TTreeViewOption ¶
type TTreeViewOption int32
type TTreeViewOptions ¶
type TTreeViewOptions = TSet
type TVerticalAlignment ¶
type TVerticalAlignment int32
TVerticalAlignment = (taAlignTop, taAlignBottom, taVerticalCenter);
type TWMKey ¶
type TWMKey struct { Msg uint32 MsgFiller TDWordFiller CharCode [2]uint16 // 第二个元素未使用 // CharCode: Word; // Unused: Word; CharCodeUnusedFiller TDWordFiller KeyData uint32 KeyDataFiller TDWordFiller Result uintptr }
TWMKey