Documentation
¶
Index ¶
- Constants
- Variables
- type ACCESS_MASK
- type ATOM
- type AnsiChar
- type BOOL
- type Boolean
- type Byte
- type COLORREF
- type Cardinal
- type Char
- type Currency
- type DWORD
- type DWORD_PTR
- type Float32
- type Float64
- type HANDLE
- type HBITMAP
- type HBRUSH
- type HCURSOR
- type HDC
- type HDWP
- type HFONT
- type HFont
- type HGDIOBJ
- type HGLOBAL
- type HICON
- type HIMAGELIST
- type HINST
- type HKEY
- type HMENU
- type HMODULE
- type HMONITOR
- type HOOK
- type HPALETTE
- type HPEN
- type HRESULT
- type HRGN
- type HRSRC
- type HWND
- type ICONINFO
- type IObjectArray
- type IdButton
- type Int
- type Int8
- type Int16
- type Int32
- type Int64
- type Integer
- type LPARAM
- type LPCWSTR
- type LRESULT
- type LResult
- type LogFontA
- type LongBool
- type LongInt
- type LongPtr
- type LongWord
- type NativeUInt
- type PATFlatTheme
- type PByte
- type PChar
- type PControlBorderSpacingDefault
- type PFNLVCOMPARE
- type PFNTVCOMPARE
- type PFontData
- type PFontParams
- type PPaperRect
- type PParaMetric
- type PParaNumbering
- type PParaRange
- type PPrintParams
- type PRectOffsets
- type PRegDataInfo
- type PRegKeyInfo
- type PTabStop
- type PTabStopList
- type PThemedElementDetails
- type Paint
- type Pointer
- type PtrInt
- type PtrUInt
- type QWord
- type REGSAM
- type RNGFnCombineMode
- type SIZE_T
- type Single
- type SizeInt
- type SmallInt
- type String
- type TATButtonOverlayPosition
- type TATFlatTheme
- type TATGaugeKind
- type TActionListState
- type TAddMode
- type TAlign
- type TAlignInfo
- type TAlignSet
- type TAlignment
- type TAnchorKind
- type TAnchorSideReference
- type TAnchors
- type TAntialiasingMode
- type TApplicationDoubleBuffered
- type TApplicationExceptionDlg
- type TApplicationFlag
- type TApplicationFlags
- type TApplicationNavigationOption
- type TApplicationNavigationOptions
- type TApplicationShowGlyphs
- type TApplicationType
- type TArrowShape
- type TAtom
- type TAttributeType
- type TAutoAdvance
- type TAutoCompleteOption
- type TAutoCompleteOptions
- type TAutoScrollInterval
- type TBalloonFlags
- type TBevelCut
- type TBevelEdge
- type TBevelEdges
- type TBevelKind
- type TBevelShape
- type TBevelStyle
- type TBevelWidth
- type TBiDiMode
- type TBitBtnKind
- type TBitmapHandleType
- type TBorderIcon
- type TBorderIcons
- type TBorderStyle
- type TBorderWidth
- type TBrushPattern
- type TBrushStyle
- type TButtonImage
- type TButtonLayout
- type TButtonState
- type TButtonStyle
- type TCTabControlCapabilities
- type TCTabControlCapability
- type TCTabControlOption
- type TCTabControlOptions
- type TCalDayOfWeek
- type TCalendarPart
- type TCalendarView
- type TCanvasOrientation
- type TCanvasState
- type TCanvasStates
- type TCaptureMouseButtons
- type TCefEventHandle
- type TCefMenuAccelerator
- type TCellHintPriority
- type TCellProcessType
- type TChangeReason
- type TCheckBoxState
- type TCheckImageKind
- type TCheckState
- type TCheckType
- type TChildControlResizeStyle
- type TClass
- type TClipboardFormat
- type TClipboardType
- type TCloseAction
- type TCollectionItemClass
- type TColor
- type TColorBoxStyle
- type TColorDepth
- type TColorDialogOption
- type TColorDialogOptions
- type TColorRef
- type TColumnButtonStyle
- type TColumnLayout
- type TComboBoxAutoCompleteText
- type TComboBoxAutoCompleteTextOption
- type TComboBoxExStyle
- type TComboBoxExStyleEx
- type TComboBoxExStyles
- type TComboBoxStyle
- type TComponentState
- type TComponentStates
- type TComponentStyle
- type TComponentStyles
- type TConsistentAttribute
- type TConsistentAttributes
- type TConstraintSize
- type TControlAtPosFlag
- type TControlAtPosFlags
- type TControlAutoSizePhase
- type TControlAutoSizePhases
- type TControlBorderSpacingDefault
- type TControlCellAlign
- type TControlCellAligns
- type TControlChildrenLayout
- type TControlRoleForForm
- type TControlRolesForForm
- type TControlState
- type TControlStateType
- type TControlStyle
- type TControlStyleType
- type TCoolBandMaximize
- type TCopyMode
- type TCreateParams
- type TCriticalSection
- type TCursor
- type TCursorInfo
- type TCustomData
- type TCustomDrawStage
- type TCustomDrawState
- type TCustomDrawStateFlag
- type TCustomDrawTarget
- type TDTCalAlignment
- type TDTDateFormat
- type TDTDateMode
- type TDWordFiller
- type TDate
- type TDateDisplayOrder
- type TDateTime
- type TDateTimeKind
- type TDateTimePart
- type TDateTimeParts
- type TDateTimePickerOption
- type TDateTimePickerOptions
- type TDefaultColorType
- type TDefaultMonitor
- type TDirection
- type TDisplayCode
- type TDisplayOption
- type TDisplayOptions
- type TDisplaySetting
- type TDisplaySettings
- type TDockOrientation
- type TDockZoneClass
- type TDragKind
- type TDragMode
- type TDragOperation
- type TDragOperations
- type TDragState
- type TDrawImageMode
- type TDrawingStyle
- type TDropMode
- type TDuplicates
- type TEchoMode
- type TEdgeBorder
- type TEdgeBorders
- type TEdgeStyle
- type TEditCharCase
- type TEditStyle
- type TEllipsisPosition
- type TEmulatedTextHintStatus
- type TEventLogTypes
- type TEventType
- type TEventTypes
- type TFNWndEnumProc
- type TFPBrushStyle
- type TFPColor
- type TFPCustomImageClass
- type TFPDrawingMode
- type TFPImgProgressStage
- type TFPJPEGCompressionQuality
- type TFPObservedOperation
- type TFPPenEndCap
- type TFPPenJoinStyle
- type TFPPenMode
- type TFPPenStyle
- type TFPPenStyleSet
- type TFPResourceHandle
- type TFarProc
- type TFillMode
- type TFillStyle
- type TFindItemKind
- type TFindOption
- type TFindOptions
- type TFlowStyle
- type TFontCharSet
- type TFontCharset
- type TFontData
- type TFontDataName
- type TFontDialogOption
- type TFontDialogOptions
- type TFontParams
- type TFontPitch
- type TFontQuality
- type TFontSignature
- type TFontSignaturePtr
- type TFontStyle
- type TFontStyles
- type TFontStylesBase
- type TFormBorderStyle
- type TFormState
- type TFormStateType
- type TFormStyle
- type TGUID
- type TGaugeKind
- type TGlyphShowMode
- type TGrabStyle
- type TGradientDirection
- type TGraphicClass
- type TGraphicsBevelCut
- type TGraphicsColor
- type TGraphicsDrawEffect
- type TGraphicsFillStyle
- type TGridCoord
- type TGridCursorState
- type TGridDrawState
- type TGridDrawStates
- type TGridDrawingStyle
- type TGridOption
- type TGridOption2
- type TGridOptions
- type TGridOptions2
- type TGridRect
- type TGridSaveOptions
- type TGridZone
- type TGridZoneSet
- type THandle
- type THeaderPaintElement
- type THeaderPaintElements
- type THeaderSectionClass
- type THeaderSectionState
- type THeaderSectionStyle
- type THeaderState
- type THeaderStates
- type THeaderStyle
- type THelpContext
- type THelpEventData
- type THelpType
- type THitPosition
- type THitPositions
- type THitTest
- type THitTests
- type TIconArrangement
- type TImageAlignment
- type TImageIndex
- type TImageOrientation
- type TImageType
- type TIniFileOption
- type TIniFileOptions
- type TItemChange
- type TItemEraseAction
- type TItemFind
- type TItemRequests
- type TItemState
- type TItemStates
- type TJPEGPerformance
- type TJPEGPixelFormat
- type TJPEGQualityRange
- type TJPEGScale
- type TKeyOption
- type TKeyOptions
- type TLCLHandle
- type TLCLTextMetric
- type TLMKey
- type TLMessage
- type TLabelPosition
- type TLayoutAdjustmentPolicy
- type TLazAccessibilityRole
- type TLazDockHeaderPart
- type TLeftRight
- type TLibResource
- type TLibType
- type TLinkAlignment
- type TListArrangement
- type TListAssignOp
- type TListBoxOption
- type TListBoxOptions
- type TListBoxStyle
- type TListHotTrackStyle
- type TListHotTrackStyles
- type TListItemClass
- type TListItemState
- type TListItemStates
- type TListItemsFlag
- type TListItemsFlags
- type TListItemsSortType
- type TLoadResource
- type TLoadResources
- type TLogGradientStop
- type TLogRadialGradient
- type TMaskEditValidationErrorMode
- type TMenuBreak
- type TMessage
- type TMissingNameValueSeparatorAction
- type TMissingNameValueSeparatorActions
- type TModalResult
- type TMonitorDefaultTo
- type TMonthDisplay
- type TMouseActivate
- type TMouseButton
- type TMouseWheelOption
- type TMsg
- type TMsgDlgBtn
- type TMsgDlgButtons
- type TMsgDlgType
- type TMultiSelectStyle
- type TMultiSelectStyles
- type TNewTextMetric
- type TNewTextMetricEx
- type TNewTextMetricExPtr
- type TNodeAttachMode
- type TNodeState
- type TNodeStates
- type TNumGlyphs
- type TNumberingStyle
- type TObjectDynArray
- type TOpenGLControlOption
- type TOpenGLControlOptions
- type TOpenOption
- type TOpenOptionEx
- type TOpenOptions
- type TOpenOptionsEx
- type TOperation
- type TOverlay
- type TOwnerDrawState
- type TOwnerDrawStateType
- type TPageMeasureUnits
- type TPageSetupDialogOption
- type TPageSetupDialogOptions
- type TPageType
- type TPanelBevel
- type TPanelPart
- type TPanelParts
- type TPaperRect
- type TParaAlignment
- type TParaMetric
- type TParaModifyMask
- type TParaModifyMaskEnum
- type TParaNumStyle
- type TParaNumbering
- type TParaRange
- type TPenEndCap
- type TPenJoinStyle
- type TPenMode
- type TPenStyle
- type TPixelFormat
- type TPoint
- type TPopupAlignment
- type TPopupMode
- type TPosition
- type TPositionToolTip
- type TPredefinedClipboardFormat
- type TPrefixOption
- type TPrintDialogOption
- type TPrintDialogOptions
- type TPrintParams
- type TPrintRange
- type TPrinterCapabilities
- type TPrinterCapability
- type TPrinterKind
- type TPrinterOrientation
- type TPrinterState
- type TPrinterType
- type TProgressBarOrientation
- type TProgressBarState
- type TProgressBarStyle
- type TRangeSelectMode
- type TRawImage
- type TRawImageQueryFlag
- type TRawImageQueryFlags
- 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 TRectOffsets
- type TRegDataInfo
- type TRegDataType
- type TRegKeyInfo
- type TResItem
- type TResType
- type TResizeStyle
- type TResourceType
- type TSaveOptions
- type TScaledImageListResolution
- type TScrollBarInc
- type TScrollBarKind
- type TScrollBarStyle
- type TScrollCode
- type TScrollStyle
- type TSearchDirection
- type TSearchOption
- type TSearchOptions
- type TSearchType
- type TSearchTypes
- type TSectionTrackState
- type TSectionValuesOption
- type TSectionValuesOptions
- type TSeekOrigin
- type TSelectDirOpt
- type TSelectDirOpts
- type TSet
- type TShapeType
- type TShiftState
- type TShiftStateEnum
- type TShortCut
- type TShowInTaskBar
- type TSize
- type TSizeConstraintsOption
- type TSizeConstraintsOptions
- type TSmallPoint
- type TSmartAutoFitType
- type TSortDirection
- type TSortIndicator
- type TSortOrder
- type TSortType
- type TSpacingSize
- type TStaticBorderStyle
- type TStatusPanelBevel
- type TStatusPanelClass
- type TStatusPanelStyle
- type TStreamOwnership
- type TStringArray
- type TStringDynArray
- type TStringEncoding
- type TStringsOption
- type TStringsOptions
- type TStringsSortStyle
- type TStringsSortStyles
- type TSysLinkType
- type TSysLocale
- type TTBGradientDrawingOption
- type TTBGradientDrawingOptions
- type TTabAlignment
- type TTabOrder
- type TTabPosition
- type TTabStop
- type TTabStopList
- type TTabStyle
- type TTaskBarBehavior
- type TTaskBarProgressState
- type TTaskDialogCommonButton
- type TTaskDialogCommonButtons
- type TTaskDialogFlag
- type TTaskDialogFlags
- type TTaskDialogIcon
- type TTextFormat
- type TTextFormats
- type TTextLayout
- type TTextLineBreakStyle
- type TTextModifyMask
- type TTextModifyMaskEnum
- type TTextStyle
- type TThemeOption
- type TThemedButton
- type TThemedClock
- type TThemedComboBox
- type TThemedEdit
- type TThemedElement
- type TThemedElementDetails
- type TThemedExplorerBar
- type TThemedHeader
- type TThemedListView
- type TThemedMenu
- type TThemedPage
- type TThemedProgress
- type TThemedRebar
- type TThemedScrollBar
- type TThemedSpin
- type TThemedStartPanel
- type TThemedStatus
- type TThemedTab
- type TThemedTaskBand
- type TThemedTaskBar
- type TThemedToolBar
- type TThemedToolTip
- type TThemedTrackBar
- type TThemedTrayNotify
- type TThemedTreeview
- type TThemedWindow
- type TThreadID
- type TTickMark
- type TTickStyle
- type TTime
- type TTimeDisplay
- type TTimeFormat
- type TTitleStyle
- type TToolButtonStyle
- type TTrackBarOrientation
- type TTrackBarScalePos
- type TTrackButton
- type TTransparentMode
- type TTreeNodeChangeReason
- type TTreeNodeClass
- type TTreeViewExpandSignType
- type TTreeViewInsertMarkType
- type TTreeViewOption
- type TTreeViewOptions
- type TUDAlignButton
- type TUDBtnType
- type TUDOrientation
- type TUTF8Char
- type TUpDownDirection
- type TVSTTextSourceType
- type TVSTTextType
- type TVScriptPos
- type TVTAnimationOption
- type TVTAnimationOptions
- type TVTAutoOption
- type TVTAutoOptions
- type TVTBias
- type TVTButtonFillMode
- type TVTButtonStyle
- type TVTCellContentMarginType
- type TVTCellPaintMode
- type TVTColumnOption
- type TVTColumnOptions
- type TVTConstraintPercent
- type TVTDragImageKind
- type TVTDragMoveRestriction
- type TVTDragType
- type TVTDrawSelectionMode
- type TVTDropMarkMode
- type TVTExportMode
- type TVTExportType
- type TVTHeaderColumnLayout
- type TVTHeaderHitPosition
- type TVTHeaderHitPositions
- type TVTHeaderOption
- type TVTHeaderOptions
- type TVTHeaderStyle
- type TVTHintKind
- type TVTHintMode
- type TVTImageInfoIndex
- type TVTImageKind
- type TVTIncrementalSearch
- type TVTInternalPaintOption
- type TVTInternalPaintOptions
- type TVTLineMode
- type TVTLineStyle
- type TVTMiscOption
- type TVTMiscOptions
- type TVTNodeAlignment
- type TVTNodeAttachMode
- type TVTOperationKind
- type TVTOperationKinds
- type TVTPaintOption
- type TVTPaintOptions
- type TVTScrollBarStyle
- type TVTScrollIncrement
- type TVTSearchDirection
- type TVTSearchStart
- type TVTSelectionOption
- type TVTSelectionOptions
- type TVTStringOption
- type TVTStringOptions
- type TVTTooltipLineBreakStyle
- type TVTTransparency
- type TVTUpdateState
- type TVerticalAlignment
- type TViewStyle
- type TVirtualNodeInitState
- type TVirtualNodeInitStates
- type TVirtualNodeState
- type TVirtualNodeStates
- type TVirtualTreeColumnStyle
- type TVirtualTreeState
- type TVirtualTreeStates
- type TVleSortCol
- type TWMKey
- type TWVWindowFeatures
- type TWinControlClass
- type TWindowState
- type TWndClass
- type TWrapAfter
- type TXId
- type TagBitmapInfo
- type TagBitmapInfoHeader
- type TagEnumLogFontA
- type TagEnumLogFontAPtr
- type TagEnumLogFontExA
- type TagEnumLogFontExAPtr
- type TagLogBrush
- type TagLogPalette
- type TagLogPen
- type TagMonitorInfo
- type TagPaintStruct
- type TagPaletteEntry
- type TagRGBQuad
- type TagScrollInfo
- type TagTextMetricA
- type TagTriVertex
- type UINT
- type UInt
- type UInt8
- type UInt16
- type UInt32
- type UInt64
- type UIntptr
- type ULONG_PTR
- type WPARAM
- type WindowPos
- 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 )
MessageBox 或 MessageDlg 的返回值 MessageBox or MessageDlg return value
const ( CF_BITMAP = 2 CF_DIB = 8 CF_PALETTE = 9 CF_ENHMETAFILE = 14 CF_METAFILEPICT = 3 CF_OEMTEXT = 7 CF_TEXT = 1 CF_UNICODETEXT = 13 CF_DIF = 5 CF_DSPBITMAP = 130 CF_DSPENHMETAFILE = 142 CF_DSPMETAFILEPICT = 131 CF_DSPTEXT = 129 CF_GDIOBJFIRST = 768 CF_GDIOBJLAST = 1023 CF_HDROP = 15 CF_LOCALE = 16 CF_OWNERDISPLAY = 128 CF_PENDATA = 10 CF_PRIVATEFIRST = 512 CF_PRIVATELAST = 767 CF_RIFF = 11 CF_SYLK = 4 CF_WAVE = 12 CF_TIFF = 6 // custom CF_PICTURE = 700 CF_HTML = 701 CF_COMPONENT = 702 )
预定义的剪贴板格式 Predefined Clipboard Formats
const ( MA_Shift = "SHIFT" MA_Shift_Code TCefMenuAccelerator = 0x10 // 16 MA_Ctrl = "CTRL" MA_Ctrl_Code TCefMenuAccelerator = 0x11 // 17 MA_Alt = "ALT" MA_Alt_Code TCefMenuAccelerator = 0x12 // 18 )
const ( CEF_PREFERENCES_SAVED = 0x000A00 CEF_DOONCLOSE = 0x000A01 CEF_STARTDRAGGING = 0x000A02 CEF_AFTERCREATED = 0x000A03 CEF_PENDINGRESIZE = 0x000A04 CEF_PUMPHAVEWORK = 0x000A05 CEF_DESTROY = 0x000A06 CEF_DOONBEFORECLOSE = 0x000A07 CEF_PENDINGINVALIDATE = 0x000A08 CEF_IMERANGECHANGED = 0x000A09 CEF_SENTINEL_START = 0x000A0A CEF_SENTINEL_DOCLOSE = 0x000A0B CEF_BEFORECLOSE = 0x000A0C )
功能和消息常量
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 = TCursor(-30) )
鼠标光标定义 mouse cursor definition.
const ( IdButtonBase IdButton = 0 IdButtonOk = IdButtonBase + 1 IdButtonCancel = IdButtonBase + 2 IdButtonHelp = IdButtonBase + 3 IdButtonYes = IdButtonBase + 4 IdButtonNo = IdButtonBase + 5 IdButtonClose = IdButtonBase + 6 IdButtonAbort = IdButtonBase + 7 IdButtonRetry = IdButtonBase + 8 IdButtonIgnore = IdButtonBase + 9 IdButtonAll = IdButtonBase + 10 IdButtonYesToAll = IdButtonBase + 11 IdButtonNoToAll = IdButtonBase + 12 IdButtonOpen = IdButtonBase + 13 IdButtonSave = IdButtonBase + 14 IdButtonShield = IdButtonBase + 15 IdButtonContinue = IdButtonBase + 16 IdButtonTryAgain = IdButtonBase + 17 )
Variables ¶
var ( // Unicode Apple logo char AppleLogoChar = string([]byte{0xEF, 0xA3, 0xBF}) )
Functions ¶
This section is empty.
Types ¶
type ACCESS_MASK ¶
type ACCESS_MASK = DWORD
type HIMAGELIST ¶
type HIMAGELIST = HANDLE
type LogFontA ¶
type LogFontA struct {
LfHeight LongInt
LfWidth LongInt
LfEscapement LongInt // angle, in tenths of degrees of each line of text
LfOrientation LongInt // angle, in tenths of degrees of each character's base line
LfWeight LongInt
LfItalic byte
LfUnderline byte
LfStrikeOut byte
LfCharSet byte
LfOutPrecision byte
LfClipPrecision byte
LfQuality byte
LfPitchAndFamily byte
LfFaceName []AnsiChar // len = 32
}
type NativeUInt ¶
type NativeUInt = uint32
type PATFlatTheme ¶
type PATFlatTheme struct {
FontName uintptr // string
FontSize uintptr // Integer
FontStyles uintptr // TFontStyles
ColorFont uintptr // TColor
ColorFontDisabled uintptr // TColor
ColorFontListbox uintptr // TColor
ColorFontListboxSel uintptr // TColor
ColorFontOverlay uintptr // TColor
ColorBgPassive uintptr // TColor
ColorBgOver uintptr // TColor
ColorBgChecked uintptr // TColor
ColorBgDisabled uintptr // TColor
ColorBgListbox uintptr // TColor
ColorBgListboxSel uintptr // TColor
ColorBgListboxHottrack uintptr // TColor
ColorBgOverlay uintptr // TColor
ColorArrows uintptr // TColor
ColorArrowsOver uintptr // TColor
ColorSeparators uintptr // TColor
ColorBorderPassive uintptr // TColor
ColorBorderOver uintptr // TColor
ColorBorderFocused uintptr // TColor
EnableColorBgOver uintptr // Boolean
MouseoverBorderWidth uintptr // Integer
PressedBorderWidth uintptr // Integer
PressedCaptionShiftY uintptr // Integer
PressedCaptionShiftX uintptr // Integer
BoldBorderWidth uintptr // Integer
ChoiceBorderWidth uintptr // Integer
ArrowSize uintptr // Integer
GapForAutoSize uintptr // Integer
TextOverlayPosition uintptr // TATButtonOverlayPosition
SeparatorOffset uintptr // Integer
XMarkWidth uintptr // Integer
XMarkOffsetLeft uintptr // Integer
XMarkOffsetRight uintptr // Integer
XMarkLineWidth uintptr // Integer
ScalePercents uintptr // Integer
ScaleFontPercents uintptr // Integer
}
PATFlatTheme = ^TATFlatTheme
type PControlBorderSpacingDefault ¶
type PControlBorderSpacingDefault struct {
Left uintptr // int32
Top uintptr // int32
Right uintptr // int32
Bottom uintptr // int32
Around uintptr // int32
}
PControlBorderSpacingDefault = ^TControlBorderSpacingDefault
type PFNLVCOMPARE ¶
type PFNLVCOMPARE = uintptr
type PFNTVCOMPARE ¶
type PFNTVCOMPARE = uintptr
type PFontData ¶
type PFontData struct {
Handle uintptr //HFont
Height uintptr //Integer
Pitch uintptr //TFontPitch
Style uintptr //TFontStylesBase
CharSet uintptr //TFontCharSet
Quality uintptr //TFontQuality
Name uintptr //TFontDataName
Orientation uintptr //Integer
}
PFontData = ^TFontData
type PFontParams ¶
type PFontParams struct {
Name uintptr // string
Size uintptr // int32
Color uintptr // TColor
Style uintptr // TFontStyles
HasBkClr uintptr // bool
BkColor uintptr // TColor
VScriptPos uintptr // TVScriptPos
}
PFontParams = ^TFontParams
type PPaperRect ¶
PPaperRect = ^TPaperRect
type PParaMetric ¶
type PParaMetric struct {
FirstLine uintptr // float64 // in points
TailIndent uintptr // float64 // in points
HeadIndent uintptr // float64 // in points
SpaceBefore uintptr // float64 // in points
SpaceAfter uintptr // float64 // in points
LineSpacing uintptr // float64 // multiplier - matching CSS line-height by percentage/em note, that normal LineSpacing is 1.2, not 1.0
}
PParaMetric = ^TParaMetric
type PParaNumbering ¶
type PParaNumbering struct {
Style uintptr // TParaNumStyle
Indent uintptr // float64
CustomChar uintptr // string
NumberStart uintptr // int32 // used for pnNumber only
SepChar uintptr // string
ForceNewNum uintptr // bool // if true and Style is pnNumber, NumberStart is used for the new numbering
}
PParaNumbering = ^TParaNumbering
type PParaRange ¶
type PParaRange struct {
Start uintptr // int32 // the first character in the paragraph
LengthNoBr uintptr // int32 // the length of the paragraph, excluding the line break character
Length uintptr // int32 // the length of the paragrpah, including the line break, if present the last line in the control doesn't contain a line break character, thus length = lengthNoBr
}
PParaRange = ^TParaRange
type PPrintParams ¶
type PPrintParams struct {
JobTitle uintptr // string // print job title to be shown in system printing manager
Margins uintptr // TRectOffsets // margins in points
SelStart uintptr // int32
SelLength uintptr // int32
}
PPrintParams = ^TPrintParams
type PRectOffsets ¶
type PRectOffsets struct {
Left uintptr // float64
Top uintptr // float64
Right uintptr // float64
Bottom uintptr // float64
}
PRectOffsets = ^TRectOffsets
type PRegDataInfo ¶
PRegDataInfo = ^TRegDataInfo
type PRegKeyInfo ¶
type PRegKeyInfo struct {
NumSubKeys uintptr // int32
MaxSubKeyLen uintptr // int32
NumValues uintptr // int32
MaxValueLen uintptr // int32
MaxDataLen uintptr // int32
FileTime uintptr // TDateTime float64
}
PRegKeyInfo = ^TRegKeyInfo
type PTabStopList ¶
PTabStopList = ^TTabStopList
type PThemedElementDetails ¶
type PThemedElementDetails struct {
Element uintptr // TThemedElement
Part uintptr // int32
State uintptr // int32
}
PThemedElementDetails = ^TThemedElementDetails
type REGSAM ¶
type REGSAM = ACCESS_MASK
type RNGFnCombineMode ¶
type RNGFnCombineMode = int32
CombineRgn Mode flags
const ( RGN_AND RNGFnCombineMode = iota + 1 RGN_OR RGN_XOR RGN_DIFF RGN_COPY )
type TATButtonOverlayPosition ¶
type TATButtonOverlayPosition = int32
TATButtonOverlayPosition ENUM
const ( BopLeftTop TATButtonOverlayPosition = iota BopRightTop BopLeftBottom BopRightBottom )
type TATFlatTheme ¶
type TATFlatTheme struct {
FontName string
FontSize Integer
FontStyles TFontStyles
ColorFont TColor
ColorFontDisabled TColor
ColorFontListbox TColor
ColorFontListboxSel TColor
ColorFontOverlay TColor
ColorBgPassive TColor
ColorBgOver TColor
ColorBgChecked TColor
ColorBgDisabled TColor
ColorBgListbox TColor
ColorBgListboxSel TColor
ColorBgListboxHottrack TColor
ColorBgOverlay TColor
ColorArrows TColor
ColorArrowsOver TColor
ColorSeparators TColor
ColorBorderPassive TColor
ColorBorderOver TColor
ColorBorderFocused TColor
EnableColorBgOver Boolean
MouseoverBorderWidth Integer
PressedBorderWidth Integer
PressedCaptionShiftY Integer
PressedCaptionShiftX Integer
BoldBorderWidth Integer
ChoiceBorderWidth Integer
ArrowSize Integer
GapForAutoSize Integer
TextOverlayPosition TATButtonOverlayPosition
SeparatorOffset Integer
XMarkWidth Integer
XMarkOffsetLeft Integer
XMarkOffsetRight Integer
XMarkLineWidth Integer
ScalePercents Integer
ScaleFontPercents Integer
}
TATFlatTheme Theme
func (*TATFlatTheme) DoScale ¶
func (m *TATFlatTheme) DoScale(AValue Integer) Integer
func (*TATFlatTheme) DoScaleFont ¶
func (m *TATFlatTheme) DoScaleFont(AValue Integer) Integer
type TActionListState ¶
type TActionListState = int32
TActionListState ENUM
const ( AsNormal TActionListState = iota AsSuspended AsSuspendedEnabled )
type TAlignInfo ¶
type TAlignment ¶
type TAlignment = int32
TAlignment ENUM
const ( TaLeftJustify TAlignment = iota TaRightJustify TaCenter )
type TAnchorKind ¶
type TAnchorKind = int32
TAnchorKind ENUM
const ( AkTop TAnchorKind = iota AkLeft AkRight AkBottom )
type TAnchorSideReference ¶
type TAnchorSideReference = int32
TAnchorSideReference ENUM
const ( AsrTop TAnchorSideReference = iota AsrBottom AsrCenter )
type TAntialiasingMode ¶
type TAntialiasingMode = int32
TAntialiasingMode ENUM
const ( AmDontCare TAntialiasingMode = iota // default antialiasing AmOn // enabled AmOff // disabled )
type TApplicationDoubleBuffered ¶
type TApplicationDoubleBuffered = int32
TApplicationDoubleBuffered ENUM what Forms.DoubleBuffered with ParentDoubleBuffered=True will gain when created
const ( AdbDefault TApplicationDoubleBuffered = iota // widgetset dependent (LCLWin32: True unless in remote desktop connection; other WSs: False) AdbFalse // False AdbTrue // True )
type TApplicationExceptionDlg ¶
type TApplicationExceptionDlg = int32
TApplicationExceptionDlg ENUM
const ( AedOkCancelDialog TApplicationExceptionDlg = iota // Exception handler window will be a dialog with Ok/Cancel buttons AedOkMessageBox // Exception handler window will be a simple message box )
type TApplicationFlag ¶
type TApplicationFlag = int32
TApplicationFlag ENUM
const ( AppWaiting TApplicationFlag = iota AppIdleEndSent AppNoExceptionMessages AppActive // application has focus AppDestroying AppDoNotCallAsyncQueue AppInitialized // initialization of application was done )
type TApplicationNavigationOption ¶
type TApplicationNavigationOption = int32
TApplicationNavigationOption ENUM
const ( AnoTabToSelectNext TApplicationNavigationOption = iota AnoReturnForDefaultControl AnoEscapeForCancelControl AnoF1ForHelp AnoArrowToSelectNextInParent )
type TApplicationNavigationOptions ¶
type TApplicationNavigationOptions = TSet
TApplicationNavigationOptions SET TApplicationNavigationOption
type TApplicationShowGlyphs ¶
type TApplicationShowGlyphs = int32
TApplicationShowGlyphs ENUM
const ( SbgAlways TApplicationShowGlyphs = iota // show them always (default) SbgNever // show them never SbgSystem // show them depending on OS )
type TApplicationType ¶
type TApplicationType = int32
TApplicationType ENUM
const ( AtDefault TApplicationType = iota // The widgetset will attempt to auto-detect the device type AtDesktop // For common desktops and notebooks AtPDA // For smartphones and other devices with touch screen and a small screen AtKeyPadDevice // Devices without any pointing device, such as keypad feature phones or kiosk machines AtTablet // Similar to a PDA/Smartphone, but with a large screen AtTV // The device is a television AtMobileEmulator // For desktop platforms. It will create a main windows of 240x320 and place all forms there to immitate a mobile platform )
type TArrowShape ¶
type TArrowShape = int32
TArrowShape ENUM
const ( AsClassicSmaller TArrowShape = iota AsClassicLarger AsModernSmaller AsModernLarger AsYetAnotherShape AsTheme )
type TAttributeType ¶
type TAttributeType = int32
TAttributeType ENUM
const ( AtSelected TAttributeType = iota AtDefaultText )
type TAutoAdvance ¶
type TAutoAdvance = int32
TAutoAdvance ENUM
const ( AaNone TAutoAdvance = iota AaDown AaRight AaLeft AaRightDown AaLeftDown AaRightUp AaLeftUp )
type TAutoCompleteOption ¶
type TAutoCompleteOption = int32
TAutoCompleteOption ENUM
const ( AcoAutoSuggest TAutoCompleteOption = iota AcoAutoAppend AcoSearch AcoFilterPrefixes AcoUseTab AcoUpDownKeyDropsList AcoRtlReading )
type TAutoCompleteOptions ¶
type TAutoCompleteOptions = TSet
TAutoCompleteOptions SET: TAutoCompleteOption
type TAutoScrollInterval ¶
type TAutoScrollInterval = int32
TAutoScrollInterval ENUM
Limits the speed interval which can be used for auto scrolling (milliseconds). 1..1000
type TBalloonFlags ¶
type TBalloonFlags = int32
TBalloonFlags ENUM
const ( BfNone TBalloonFlags = iota BfInfo BfWarning BfError )
type TBevelEdge ¶
type TBevelEdge = int32
ENUM
const ( BeLeft TBevelEdge = iota BeTop BeRight BeBottom )
type TBevelKind ¶
type TBevelKind = int32
TBevelKind ENUM
const ( BkNone TBevelKind = iota BkTile BkSoft BkFlat )
type TBevelShape ¶
type TBevelShape = int32
TBevelShape ENUM
const ( BsBox TBevelShape = iota BsFrame BsTopLine BsBottomLine BsLeftLine BsRightLine BsSpacer )
type TBevelStyle ¶
type TBevelStyle = int32
TBevelStyle = (bsLowered, bsRaised);
const ( BsLowered TBevelStyle = iota BsRaised )
type TBitBtnKind ¶
type TBitBtnKind = int32
TBitBtnKind ENUM
const ( BkCustom TBitBtnKind = iota BkOK BkCancel BkHelp BkYes BkNo BkClose BkAbort BkRetry BkIgnore BkAll BkNoToAll BkYesToAll )
type TBitmapHandleType ¶
type TBitmapHandleType = int32
TBitmapHandleType ENUM
const ( BmDIB TBitmapHandleType = iota BmDDB )
type TBorderIcon ¶
type TBorderIcon = int32
TBorderIcon ENUM
const ( BiSystemMenu TBorderIcon = iota BiMinimize BiMaximize BiHelp )
type TBorderStyle ¶
type TBorderStyle = int32
TBorderStyle ENUM
const ( BsNone TBorderStyle = iota BsSingle BsSizeable BsDialog BsToolWindow BsSizeToolWin )
type TBrushPattern ¶
type TBrushPattern [32]uint32
TBrushPattern
array[0..PatternBitCount-1] of TPenPattern PatternBitCount = sizeof(longword) * 8;
type TBrushStyle ¶
type TBrushStyle = int32
TBrushStyle ENUM
const ( BsSolid TBrushStyle = iota BsClear BsHorizontal BsVertical BsFDiagonal BsBDiagonal BsCross BsDiagCross BsImage BsPattern )
type TButtonLayout ¶
type TButtonLayout = int32
TButtonLayout ENUM
const ( BlGlyphLeft TButtonLayout = iota BlGlyphRight BlGlyphTop BlGlyphBottom )
type TButtonState ¶
type TButtonState = int32
TButtonState ENUM
const ( BsUp TButtonState = iota // button is up BsDisabled // button disabled (grayed) BsDown // button is down BsExclusive // button is the only down in his group BsHot // button is under mouse )
type TButtonStyle ¶
type TButtonStyle = int32
TButtonStyle ENUM
const ( BsAutoDetect TButtonStyle = iota BsWin31 BsNew )
type TCTabControlCapabilities ¶
type TCTabControlCapabilities = TSet
TCTabControlCapabilities SET TCTabControlCapability
type TCTabControlCapability ¶
type TCTabControlCapability = int32
TCTabControlCapability ENUM
const ( NbcShowCloseButtons TCTabControlCapability = iota NbcMultiLine NbcPageListPopup NbcShowAddTabButton NbcTabsSizeable )
type TCTabControlOption ¶
type TCTabControlOption = int32
TCTabControlOption ENUM
const ( NboShowCloseButtons TCTabControlOption = iota NboMultiLine NboHidePageListPopup NboKeyboardTabSwitch NboShowAddTabButton NboDoChangeOnSetIndex )
type TCTabControlOptions ¶
type TCTabControlOptions = TSet
TCTabControlOptions SET: TCTabControlOption
type TCalDayOfWeek ¶
type TCalDayOfWeek = int32
TCalDayOfWeek ENUM
const ( DowMonday TCalDayOfWeek = iota DowTuesday DowWednesday DowThursday DowFriday DowSaturday DowSunday DowLocaleDefault )
type TCalendarPart ¶
type TCalendarPart = int32
TCalendarPart ENUM
const ( CpNoWhere TCalendarPart = iota // somewhere CpDate // date part CpWeekNumber // week number CpTitle // somewhere in the title CpTitleBtn // button in the title CpTitleMonth // month value in the title CpTitleYear // year value in the title )
type TCalendarView ¶
type TCalendarView = int32
TCalendarView ENUM
In Windows since Vista native calendar control has four possible views. In other widgetsets, as well as in older windows, calendar can only have standard "month view" - grid with days representing a month.
const ( CvMonth TCalendarView = iota // grid with days in one month CvYear // grid with months in one year CvDecade // grid with years from one decade CvCentury // grid with decades of one century )
type TCanvasOrientation ¶
type TCanvasOrientation = int32
TCanvasOrientation ENUM
const ( CoLeftToRight TCanvasOrientation = iota CoRightToLeft )
type TCanvasStates ¶
type TCanvasStates = int32
TCanvasStates ENUM
const ( CsHandleValid TCanvasStates = iota CsFontValid CsPenValid CsBrushValid CsRegionValid )
type TCefEventHandle ¶
type TCefEventHandle = uintptr
TCefEventHandle
/include/internal/cef_types_linux.h (cef_event_handle_t)
type TCefMenuAccelerator ¶
type TCefMenuAccelerator = Int32
type TCellHintPriority ¶
type TCellHintPriority = int32
TCellHintPriority ENUM
const ( ChpAll TCellHintPriority = iota ChpAllNoDefault ChpTruncOnly )
type TCellProcessType ¶
type TCellProcessType = int32
TCellProcessType ENUM
const ( CpCopy TCellProcessType = iota CpPaste )
type TChangeReason ¶
type TChangeReason = int32
TChangeReason ENUM
const ( CrIgnore TChangeReason = iota // used as placeholder CrAccumulated // used for delayed changes CrChildAdded // one or more child nodes have been added CrChildDeleted // one or more child nodes have been deleted CrNodeAdded // a node has been added CrNodeCopied // a node has been duplicated CrNodeMoved // a node has been moved to a new place )
type TCheckBoxState ¶
type TCheckBoxState = int32
TCheckBoxState ENUM
const ( CbUnchecked TCheckBoxState = iota CbChecked CbGrayed )
type TCheckImageKind ¶
type TCheckImageKind = int32
TCheckImageKind ENUM
const ( CkLightCheck TCheckImageKind = iota // gray cross CkDarkCheck // black cross CkLightTick // gray tick mark CkDarkTick // black tick mark CkFlat // flat images (no 3D border) CkXP // Windows XP style CkCustom // application defined check images CkSystemFlat // Flat system defined check images. CkSystemDefault // Uses the system check images, theme aware. )
type TCheckState ¶
type TCheckState = int32
TCheckState ENUM The check states include both, transient and fluent (temporary) states. The only temporary state defined so far is the pressed state.
const ( CsUncheckedNormal TCheckState = iota // unchecked and not pressed CsUncheckedPressed // unchecked and pressed CsCheckedNormal // checked and not pressed CsCheckedPressed // checked and pressed CsMixedNormal // 3-state check box and not pressed CsMixedPressed // 3-state check box and pressed )
type TCheckType ¶
type TCheckType = int32
TCheckType ENUM
const ( CtNone TCheckType = iota CtTriStateCheckBox CtCheckBox CtRadioButton CtButton )
type TChildControlResizeStyle ¶
type TChildControlResizeStyle = int32
TChildControlResizeStyle ENUM
const ( CrsAnchorAligning TChildControlResizeStyle = iota // (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 )
type TClipboardFormat ¶
type TClipboardFormat = uintptr
type TClipboardType ¶
type TClipboardType = int32
TClipboardType ENUM
const ( CtPrimarySelection TClipboardType = iota CtSecondarySelection CtClipboard )
type TCloseAction ¶
type TCloseAction = int32
TCloseAction ENUM
const ( CaNone TCloseAction = iota CaHide CaFree CaMinimize )
type TCollectionItemClass ¶
type TCollectionItemClass = uintptr
type TColorBoxStyle ¶
type TColorBoxStyle = TComboBoxStyle
type TColorDepth ¶
type TColorDepth = int32
TColorDepth ENUM
const ( CdDefault TColorDepth = iota CdDeviceDependent Cd4Bit Cd8Bit Cd16Bit Cd24Bit Cd32Bit )
type TColorDialogOption ¶
type TColorDialogOption = int32
ENUM
const ( CdFullOpen TColorDialogOption = iota CdPreventFullOpen CdShowHelp CdSolidColor CdAnyColor )
type TColumnButtonStyle ¶
type TColumnButtonStyle = int32
TColumnButtonStyle ENUM
const ( CbsAuto TColumnButtonStyle = iota CbsEllipsis CbsNone CbsPickList CbsCheckboxColumn CbsButton CbsButtonColumn )
type TColumnLayout ¶
type TColumnLayout = int32
TColumnLayout ENUM
const ( ClHorizontalThenVertical TColumnLayout = iota ClVerticalThenHorizontal )
type TComboBoxAutoCompleteText ¶
type TComboBoxAutoCompleteText = TSet
TComboBoxAutoCompleteText SET TComboBoxAutoCompleteTextOption
type TComboBoxAutoCompleteTextOption ¶
type TComboBoxAutoCompleteTextOption = int32
TComboBoxAutoCompleteTextOption ENUM
const ( CbactEnabled TComboBoxAutoCompleteTextOption = iota //Enable Auto-Completion Feature CbactEndOfLineComplete //Perform Auto-Complete only when cursor is at end of line CbactRetainPrefixCase //Retains the case of characters user has typed if is cbactEndOfLineComplete CbactSearchCaseSensitive //Search Text with CaseSensitivity CbactSearchAscending //Search Text from top of the list )
type TComboBoxExStyle ¶
type TComboBoxExStyle = int32
TComboBoxExStyle ENUM
const ( CsExDropDown TComboBoxExStyle = iota CsExSimple CsExDropDownList )
type TComboBoxExStyleEx ¶
type TComboBoxExStyleEx = int32
TComboBoxExStyleEx ENUM
const ( CsExCaseSensitive TComboBoxExStyleEx = iota CsExNoEditImage CsExNoEditImageIndent CsExNoSizeLimit CsExPathWordBreak )
type TComboBoxStyle ¶
type TComboBoxStyle = int32
TComboBoxStyle ENUM
const ( CsDropDown TComboBoxStyle = iota // 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 )
type TComponentState ¶
type TComponentState = int32
TComponentState ENUM
const ( CsLoading TComponentState = iota CsReading CsWriting CsDestroying CsDesigning CsAncestor CsUpdating CsFixups CsFreeNotification CsInline CsDesignInstance )
type TComponentStyle ¶
type TComponentStyle = int32
TComponentStyle ENUM
const ( CsInheritable TComponentStyle = iota CsCheckPropAvail CsSubComponent CsTransient )
type TConsistentAttribute ¶
type TConsistentAttribute = int32
TConsistentAttribute ENUM
const ( CaBold TConsistentAttribute = iota CaColor CaFace CaItalic CaSize CaStrikeOut CaUnderline CaProtected )
type TConsistentAttributes ¶
type TConsistentAttributes = TSet
TConsistentAttributes SET: TConsistentAttribute
type TControlAtPosFlag ¶
type TControlAtPosFlag = int32
TControlAtPosFlag ENUM
const ( CapfAllowDisabled TControlAtPosFlag = iota // include controls with Enabled=false CapfAllowWinControls // include TWinControls CapfOnlyClientAreas // use the client areas, not the whole child area CapfRecursive // search recursively in grand childrens CapfHasScrollOffset // do not add the scroll offset to Pos (already included) CapfOnlyWinControls // include only TWinControls (ignore TControls) )
type TControlAutoSizePhase ¶
type TControlAutoSizePhase = int32
TControlAutoSizePhase ENUM
const ( CaspNone TControlAutoSizePhase = iota CaspChangingProperties CaspCreatingHandles // create/destroy handles CaspComputingBounds CaspRealizingBounds CaspShowing // make handles visible )
type TControlAutoSizePhases ¶
type TControlAutoSizePhases = TSet
TControlAutoSizePhases SET TControlAutoSizePhase
type TControlBorderSpacingDefault ¶
type TControlBorderSpacingDefault struct {
Left int32
Top int32
Right int32
Bottom int32
Around int32
}
TControlBorderSpacingDefault record
type TControlCellAlign ¶
type TControlCellAlign = int32
TControlCellAlign ENUM
const ( CcaFill TControlCellAlign = iota CcaLeftTop CcaRightBottom CcaCenter )
type TControlChildrenLayout ¶
type TControlChildrenLayout = int32
TControlChildrenLayout ENUM
const ( CclNone TControlChildrenLayout = iota CclLeftToRightThenTopToBottom // if BiDiMode <> bdLeftToRight then it becomes RightToLeft CclTopToBottomThenLeftToRight )
type TControlRoleForForm ¶
type TControlRoleForForm = int32
TControlRoleForForm ENUM
const ( CrffDefault TControlRoleForForm = iota // this control is notified when user presses Return CrffCancel // this control is notified when user presses Escape )
type TControlRolesForForm ¶
type TControlRolesForForm = TSet
TControlRolesForForm SET TControlRoleForForm
type TControlStateType ¶
type TControlStateType = int32
TControlStateType ENUM
const ( CsLButtonDown TControlStateType = iota CsClicked CsPalette CsReadingState CsFocusing CsCreating // not used, exists for Delphi compatibility CsPaintCopy CsCustomPaint CsDestroyingHandle CsDocking CsVisibleSetInLoading )
type TControlStyleType ¶
type TControlStyleType = int32
TControlStyleType ENUM
const ( CsAcceptsControls TControlStyleType = iota // 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) )
type TCoolBandMaximize ¶
type TCoolBandMaximize = int32
TCoolBandMaximize ENUM
const ( BmNone TCoolBandMaximize = iota BmClick BmDblClick )
type TCreateParams ¶
type TCreateParams struct {
Caption LPCWSTR
Style uint32
ExStyle uint32
X int32
Y int32
Width int32
Height int32
WndParent HWND
Param uintptr
WindowClass TWndClass
WinClassName [64]int8
}
TCreateParams
Moved from Controls to avoid circles Since it is part of the interface now
type TCursorInfo ¶
TCursorInfo
type TCustomData ¶
type TCustomData = uintptr
type TCustomDrawStage ¶
type TCustomDrawStage = int32
TCustomDrawStage ENUM
const ( CdPrePaint TCustomDrawStage = iota CdPostPaint CdPreErase CdPostErase )
type TCustomDrawStateFlag ¶
type TCustomDrawStateFlag = int32
TCustomDrawStateFlag ENUM
const ( CdsSelected TCustomDrawStateFlag = iota CdsGrayed CdsDisabled CdsChecked CdsFocused CdsDefault CdsHot CdsMarked CdsIndeterminate )
type TCustomDrawTarget ¶
type TCustomDrawTarget = int32
TCustomDrawTarget ENUM
const ( DtControl TCustomDrawTarget = iota DtItem DtSubItem )
type TDTCalAlignment ¶
type TDTCalAlignment = int32
TDTCalAlignment ENUM
const ( DtaLeft TDTCalAlignment = iota DtaRight DtaDefault )
type TDTDateFormat ¶
type TDTDateFormat = int32
TDTDateFormat ENUM
const ( DfShort TDTDateFormat = iota DfLong )
type TDTDateMode ¶
type TDTDateMode = int32
TDTDateMode ENUM
const ( DmComboBox TDTDateMode = iota DmUpDown DmNone )
type TDWordFiller ¶
type TDWordFiller struct {
Filler [4]uint8
}
type TDateDisplayOrder ¶
type TDateDisplayOrder = int32
TDateDisplayOrder ENUM
const ( DdoDMY TDateDisplayOrder = iota DdoMDY DdoYMD DdoTryDefault )
type TDateTimeKind ¶
type TDateTimeKind = int32
TDateTimeKind ENUM
const ( DtkDate TDateTimeKind = iota DtkTime DtkDateTime )
type TDateTimePart ¶
type TDateTimePart = int32
TDateTimePart ENUM
const ( DtpDay TDateTimePart = iota DtpMonth DtpYear DtpHour DtpMinute DtpSecond DtpMiliSec DtpAMPM )
type TDateTimePickerOption ¶
type TDateTimePickerOption = int32
TDateTimePickerOption ENUM
const ( DtpoDoChangeOnSetDateTime TDateTimePickerOption = iota DtpoEnabledIfUnchecked DtpoAutoCheck DtpoFlatButton )
type TDateTimePickerOptions ¶
type TDateTimePickerOptions = TSet
TDateTimePickerOptions SET: TDateTimePickerOption
type TDefaultColorType ¶
type TDefaultColorType = int32
TDefaultColorType ENUM
const ( DctBrush TDefaultColorType = iota DctFont )
type TDefaultMonitor ¶
type TDefaultMonitor = int32
TDefaultMonitor ENUM
const ( DmDesktop TDefaultMonitor = iota DmPrimary DmMainForm DmActiveForm )
type TDirection ¶
type TDirection = int32
TDirection ENUM
const ( FromBeginning TDirection = iota FromEnd )
type TDisplayCode ¶
type TDisplayCode = int32
TDisplayCode ENUM
const ( DrBounds TDisplayCode = iota DrIcon DrLabel DrSelectBounds )
type TDisplayOption ¶
type TDisplayOption = int32
TDisplayOption ENUM
const ( DoColumnTitles TDisplayOption = iota DoAutoColResize DoKeyColFixed )
type TDisplaySetting ¶
type TDisplaySetting = int32
TDisplaySetting ENUM
const ( DsShowHeadings TDisplaySetting = iota DsShowDayNames DsNoMonthChange DsShowWeekNumbers DsStartMonday )
type TDockOrientation ¶
type TDockOrientation = int32
TDockOrientation ENUM
const ( DoNoOrient TDockOrientation = iota // zone contains a TControl and no child zones. DoHorizontal // zone's children are stacked top-to-bottom. DoVertical // zone's children are arranged left-to-right. DoPages // zone's children are pages arranged left-to-right. )
type TDockZoneClass ¶
type TDockZoneClass = uintptr
type TDragOperation ¶
type TDragOperation = int32
TDragOperation ENUM
operations basically allowed during drag'n drop
const ( DoCopy TDragOperation = iota DoMove DoLink )
type TDragState ¶
type TDragState = int32
TDragState ENUM
const ( DsDragEnter TDragState = iota DsDragLeave DsDragMove )
type TDrawImageMode ¶
type TDrawImageMode = int32
TDrawImageMode ENUM
const ( DimNormal TDrawImageMode = iota DimCenter DimStretch )
type TDrawingStyle ¶
type TDrawingStyle = int32
TDrawingStyle ENUM
const ( DSFocus TDrawingStyle = iota DSSelected DSNormal DSTransparent )
type TDuplicates ¶
type TDuplicates = int32
TDuplicates ENUM
const ( DupIgnore TDuplicates = iota DupAccept DupError )
type TEdgeBorder ¶
type TEdgeBorder = int32
TEdgeBorder ENUM
const ( EbLeft TEdgeBorder = iota EbTop EbRight EbBottom )
type TEdgeStyle ¶
type TEdgeStyle = int32
TEdgeStyle ENUM
const ( EsNone TEdgeStyle = iota EsRaised EsLowered )
type TEditCharCase ¶
type TEditCharCase = int32
TEditCharCase ENUM
const ( EcNormal TEditCharCase = iota EcUpperCase EcLowerCase )
type TEditStyle ¶
type TEditStyle = int32
TEditStyle ENUM
const ( EsSimple TEditStyle = iota EsEllipsis EsPickList )
type TEllipsisPosition ¶
type TEllipsisPosition = int32
TEllipsisPosition ENUM
const ( EpNone TEllipsisPosition = iota EpPathEllipsis EpEndEllipsis EpWordEllipsis )
type TEmulatedTextHintStatus ¶
type TEmulatedTextHintStatus = int32
TEmulatedTextHintStatus ENUM
const ( ThsHidden TEmulatedTextHintStatus = iota ThsShowing ThsChanging )
type TEventType ¶
type TEventType = int32
TEventType ENUM
const ( EtCustom TEventType = iota EtInfo EtWarning EtError EtDebug )
type TFNWndEnumProc ¶
type TFNWndEnumProc = uintptr
type TFPCustomImageClass ¶
type TFPCustomImageClass = uintptr
type TFPDrawingMode ¶
type TFPDrawingMode = int32
TFPDrawingMode ENUM
const ( DmOpaque TFPDrawingMode = iota DmAlphaBlend DmCustom )
type TFPImgProgressStage ¶
type TFPImgProgressStage = int32
TFPImgProgressStage ENUM
const ( PsStarting TFPImgProgressStage = iota PsRunning PsEnding )
type TFPJPEGCompressionQuality ¶
type TFPJPEGCompressionQuality = uint8
TFPJPEGCompressionQuality = 1..100;
type TFPObservedOperation ¶
type TFPObservedOperation = int32
TFPObservedOperation ENUM
const ( OoChange TFPObservedOperation = iota OoFree OoAddItem OoDeleteItem OoCustom )
type TFPPenEndCap ¶
type TFPPenEndCap = int32
TFPPenEndCap ENUM
const ( PecRound TFPPenEndCap = iota PecSquare PecFlat )
type TFPPenJoinStyle ¶
type TFPPenJoinStyle = int32
TFPPenJoinStyle ENUM
const ( PjsRound TFPPenJoinStyle = iota PjsBevel PjsMiter )
type TFPResourceHandle ¶
type TFPResourceHandle = PtrUInt
type TFillStyle ¶
type TFillStyle = int32
TFillStyle ENUM
const ( FsSurface TFillStyle = iota FsBorder )
type TFindItemKind ¶
type TFindItemKind = int32
TFindItemKind ENUM
const ( FkCommand TFindItemKind = iota FkHandle FkShortCut )
type TFindOption ¶
type TFindOption = int32
TFindOption ENUM
const ( FrDown TFindOption = iota FrFindNext FrHideMatchCase FrHideWholeWord FrHideUpDown FrMatchCase FrDisableMatchCase FrDisableUpDown FrDisableWholeWord FrReplace FrReplaceAll FrWholeWord FrShowHelp FrEntireScope FrHideEntireScope FrPromptOnReplace FrHidePromptOnReplace FrButtonsAtBottom )
type TFlowStyle ¶
type TFlowStyle = int32
TFlowStyle ENUM
const ( FsLeftRightTopBottom TFlowStyle = iota FsRightLeftTopBottom FsLeftRightBottomTop FsRightLeftBottomTop FsTopBottomLeftRight FsBottomTopLeftRight FsTopBottomRightLeft FsBottomTopRightLeft )
type TFontCharSet ¶
type TFontCharSet = byte
type TFontCharset ¶
type TFontCharset = uint8
type TFontData ¶
type TFontData struct {
Handle HFont
Height Integer
Pitch TFontPitch
Style TFontStylesBase
CharSet TFontCharSet
Quality TFontQuality
Name TFontDataName
Orientation Integer
}
TFontData record
type TFontDataName ¶
type TFontDataName = string
type TFontDialogOption ¶
type TFontDialogOption = int32
TFontDialogOption ENUM
const ( FdAnsiOnly TFontDialogOption = iota FdTrueTypeOnly FdEffects FdFixedPitchOnly FdForceFontExist FdNoFaceSel FdNoOEMFonts FdNoSimulations FdNoSizeSel FdNoStyleSel FdNoVectorFonts FdShowHelp FdWysiwyg FdLimitSize FdScalableOnly FdApplyButton )
type TFontParams ¶
type TFontParams struct {
Name string
Size int32
Color TColor
Style TFontStyles
HasBkClr bool
BkColor TColor
VScriptPos TVScriptPos
}
TFontParams record
type TFontPitch ¶
type TFontPitch = int32
TFontPitch ENUM
const ( FpDefault TFontPitch = iota FpVariable FpFixed )
type TFontQuality ¶
type TFontQuality = int32
TFontQuality ENUM
const ( FqDefault TFontQuality = iota FqDraft FqProof FqNonAntialiased FqAntialiased FqClearType FqClearTypeNatural )
type TFontSignature ¶
type TFontSignaturePtr ¶
type TFontStyle ¶
type TFontStyle = int32
TFontStyle ENUM
const ( FsBold TFontStyle = iota FsItalic FsUnderline FsStrikeOut )
type TFormStateType ¶
type TFormStateType = int32
TFormStateType ENUM
const ( FsCreating TFormStateType = iota // initializing (form streaming) FsVisible // form should be shown FsShowing // form handling WM_SHOWWINDOW message FsModal // form is modal FsCreatedMDIChild // todo: not mplemented FsBorderStyleChanged // border style is changed before window handle creation FsFormStyleChanged // form style is changed before window handle creation FsFirstShow // form is shown for the first time FsDisableAutoSize // disable autosize )
type TFormStyle ¶
type TFormStyle = int32
TFormStyle ENUM
const ( FsNormal TFormStyle = iota FsMDIChild FsMDIForm FsStayOnTop FsSplash FsSystemStayOnTop )
type TGUID ¶
func (TGUID) FromString ¶
type TGaugeKind ¶
type TGaugeKind = int32
TGaugeKind ENUM
const ( GkText TGaugeKind = iota GkHorizontalBar GkVerticalBar GkPie GkNeedle GkHalfPie )
type TGlyphShowMode ¶
type TGlyphShowMode = int32
TGlyphShowMode ENUM
const ( GsmAlways TGlyphShowMode = iota // always show GsmNever // never show GsmApplication // depends on application settings GsmSystem // depends on system settings )
type TGrabStyle ¶
type TGrabStyle = int32
TGrabStyle ENUM
const ( GsSimple TGrabStyle = iota GsDouble GsHorLines GsVerLines GsGripper GsButton )
type TGradientDirection ¶
type TGradientDirection = int32
TGradientDirection ENUM
const ( GdHorizontal TGradientDirection = iota GdVertical )
type TGraphicClass ¶
type TGraphicClass = uintptr
type TGraphicsColor ¶
type TGraphicsColor = int32
type TGraphicsDrawEffect ¶
type TGraphicsDrawEffect = int32
TGraphicsDrawEffect ENUM
const ( GdeNormal TGraphicsDrawEffect = iota // no effect GdeDisabled // grayed image GdeHighlighted // a bit highlighted image GdeShadowed // a bit shadowed image Gde1Bit // 1 Bit image (for non-XP windows buttons) )
type TGraphicsFillStyle ¶
type TGraphicsFillStyle = int32
TGraphicsFillStyle ENUM
const ( GfsSurface TGraphicsFillStyle = iota // fill till the color (it fills all except this color) GfsBorder // fill this color (it fills only connected pixels of this color) )
type TGridCoord ¶
type TGridCursorState ¶
type TGridCursorState = int32
TGridCursorState ENUM
const ( GcsDefault TGridCursorState = iota GcsColWidthChanging GcsRowHeightChanging GcsDragging )
type TGridDrawStates ¶
type TGridDrawStates = int32
TGridDrawStates ENUM
const ( GdSelected TGridDrawStates = iota GdFocused GdFixed GdHot GdPushed GdRowHighlight )
type TGridDrawingStyle ¶
type TGridDrawingStyle = int32
TGridDrawingStyle ENUM
const ( GdsClassic TGridDrawingStyle = iota GdsThemed GdsGradient )
type TGridOption ¶
type TGridOption = int32
TGridOption ENUM
const ( GoFixedVertLine TGridOption = iota 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 )
type TGridOption2 ¶
type TGridOption2 = int32
TGridOption2 ENUM
const ( GoScrollToLastCol TGridOption2 = iota // allow scrolling to last column (so that last column can be leftcol) GoScrollToLastRow // allow scrolling to last row (so that last row can be toprow) )
type TGridSaveOptions ¶
type TGridSaveOptions = int32
TGridSaveOptions ENUM
const ( SoDesign TGridSaveOptions = iota // Save grid structure (col/row count and Options) SoAttributes // Save grid attributes (Font,Brush,TextStyle) SoContent // Save Grid Content (Text in StringGrid) SoPosition // Save Grid cursor and selection position )
type THeaderPaintElement ¶
type THeaderPaintElement = int32
THeaderPaintElement ENUM
These elements are used both to query the application, which of them it wants to draw itself and to tell it during painting, which elements must be drawn during the advanced custom draw events.
const ( HpeBackground THeaderPaintElement = iota HpeDropMark HpeHeaderGlyph HpeSortGlyph HpeText )
type THeaderPaintElements ¶
type THeaderPaintElements = TSet
THeaderPaintElements SET: THeaderPaintElement
type THeaderSectionClass ¶
type THeaderSectionClass = uintptr
type THeaderSectionState ¶
type THeaderSectionState = int32
THeaderSectionState ENUM
const ( HsNormal THeaderSectionState = iota HsHot HsPressed )
type THeaderSectionStyle ¶
type THeaderSectionStyle = int32
THeaderSectionStyle ENUM
const ( HsText THeaderSectionStyle = iota HsOwnerDraw )
type THeaderState ¶
type THeaderState = int32
THeaderState ENUM
const ( HsAutoSizing THeaderState = iota // auto size chain is in progess, do not trigger again on WM_SIZE HsDragging // header dragging is in progress (only if enabled) HsDragPending // left button is down, user might want to start dragging a column HsLoading // The header currently loads from stream, so updates are not necessary. HsColumnWidthTracking // column resizing is in progress HsColumnWidthTrackPending // left button is down, user might want to start resize a column HsHeightTracking // height resizing is in progress HsHeightTrackPending // left button is down, user might want to start changing height HsResizing // multi column resizing in progress HsScaling // the header is scaled after a change of FixedAreaConstraints or client size HsNeedScaling // the header needs to be scaled )
type THeaderStyle ¶
type THeaderStyle = int32
THeaderStyle ENUM
const ( HsGradient THeaderStyle = iota HsImage HsThemed )
type THelpEventData ¶
type THelpEventData = uintptr
type THitPosition ¶
type THitPosition = int32
THitPosition ENUM These flags are returned by the hit test method.
const ( HiAbove THitPosition = iota // above the client area (if relative) or the absolute tree area HiBelow // below the client area (if relative) or the absolute tree area HiNowhere // no node is involved (possible only if the tree is not as tall as the client area) HiOnItem // on the bitmaps/buttons or label associated with an item HiOnItemButton // on the button associated with an item HiOnItemButtonExact // exactly on the button associated with an item HiOnItemCheckbox // on the checkbox if enabled HiOnItemIndent // in the indentation area in front of a node HiOnItemLabel // on the normal text area associated with an item HiOnItemLeft // in the area to the left of a node's text area (e.g. when right aligned or centered) HiOnItemRight // in the area to the right of a node's text area (e.g. if left aligned or centered) HiOnNormalIcon // on the "normal" image HiOnStateIcon // on the state image HiToLeft // to the left of the client area (if relative) or the absolute tree area HiToRight // to the right of the client area (if relative) or the absolute tree area HiUpperSplitter // in the upper splitter area of a node HiLowerSplitter // in the lower splitter area of a node )
type TIconArrangement ¶
type TIconArrangement = int32
TIconArrangement ENUM
const ( IaTop TIconArrangement = iota IaLeft )
type TImageAlignment ¶
type TImageAlignment = int32
TImageAlignment ENUM
const ( IiaLeft TImageAlignment = iota IiaRight IiaTop IiaBottom IiaCenter )
IaTop有冲突,所以增加一个i
type TImageIndex ¶
type TImageIndex = Integer
type TImageOrientation ¶
type TImageOrientation = int32
TImageOrientation ENUM
const ( IoHorizontal TImageOrientation = iota IoVertical )
type TImageType ¶
type TImageType = int32
TImageType ENUM
const ( ItImage TImageType = iota ItMask )
type TIniFileOption ¶
type TIniFileOption = int32
TIniFileOption ENUM
const ( IfoStripComments TIniFileOption = iota // Strip comments when reading file IfoStripInvalid // Strip invalid lines when reading file. IfoEscapeLineFeeds // Escape linefeeds when reading file. IfoCaseSensitive // Use Case sensitive section/key names IfoStripQuotes // Strip quotes when reading string values. IfoFormatSettingsActive // Use format settings when writing date/float etc. IfoWriteStringBoolean // Write booleans as string )
type TItemChange ¶
type TItemChange = int32
TItemChange ENUM
const ( CtText TItemChange = iota CtImage CtState )
type TItemEraseAction ¶
type TItemEraseAction = int32
TItemEraseAction ENUM Used to describe the action to do when using the OnBeforeItemErase event.
const ( EaColor TItemEraseAction = iota // Use the provided color to erase the background instead the one of the tree. EaDefault // The tree should erase the item's background (bitmap or solid). EaNone // Do nothing. Let the application paint the background. )
type TItemRequests ¶
type TItemRequests = int32
TItemRequests ENUM
const ( IrText TItemRequests = iota IrImage IrParam IrState IrIndent )
type TItemState ¶
type TItemState = int32
TItemState ENUM
const ( IsNone TItemState = iota IsCut IsDropHilited IsFocused IsSelected IsActivating )
type TJPEGPerformance ¶
type TJPEGPerformance = int32
TJPEGPerformance ENUM
const ( JpBestQuality TJPEGPerformance = iota JpBestSpeed )
type TJPEGPixelFormat ¶
type TJPEGPixelFormat = TPixelFormat
type TJPEGQualityRange ¶
type TJPEGQualityRange = TFPJPEGCompressionQuality
type TJPEGScale ¶
type TJPEGScale = int32
TJPEGScale ENUM
const ( JsFullSize TJPEGScale = iota JsHalf JsQuarter JsEighth )
type TKeyOption ¶
type TKeyOption = int32
TKeyOption ENUM
const ( KeyEdit TKeyOption = iota KeyAdd KeyDelete KeyUnique )
type TLCLHandle ¶
type TLCLHandle = PtrUInt
type TLCLTextMetric ¶
TLCLTextMetric record
type TLMKey ¶
type TLMKey struct {
Msg uint32
UnusedMsg Cardinal
CharCode [2]uint16
Unused uint16
Unused2 int32
KeyData uint32
Result uintptr
}
TLMKey
type TLabelPosition ¶
type TLabelPosition = int32
TLabelPosition ENUM
const ( LpAbove TLabelPosition = iota LpBelow LpLeft LpRight )
type TLayoutAdjustmentPolicy ¶
type TLayoutAdjustmentPolicy = int32
TLayoutAdjustmentPolicy ENUM
const ( LapDefault TLayoutAdjustmentPolicy = iota // widgetset dependent LapFixedLayout // A fixed absolute layout in all platforms LapAutoAdjustWithoutHorizontalScrolling // Smartphone platforms use this one, // the x axis is stretched to fill the screen and // the y is scaled to fit the DPI LapAutoAdjustForDPI // For desktops using High DPI, scale x and y to fit the DPI )
type TLazAccessibilityRole ¶
type TLazAccessibilityRole = int32
TLazAccessibilityRole ENUM
const ( LarIgnore TLazAccessibilityRole = iota // Default value. Something to be ignored. For example a blank space between other objects. LarAnimation // An object that displays an animation. LarButton // A button. LarCell // A cell in a table. LarChart // An object that displays a graphical representation of data. LarCheckBox // An object that can be checked or unchecked, or sometimes in an intermediary state LarClock // A clock displaying time. LarColorPicker // A control which allows selecting a color. LarColumn // A generic column that goes in a table. LarComboBox // A list of choices that the user can select from. LarDateField // A controls which displays and possibly allows one to choose a date. LarGrid // A grid control which displays cells LarGroup // A control which groups others, such as a TGroupBox. LarImage // A graphic or picture or an icon. LarLabel // A text label as usually placed near other widgets. LarListBox // A list of items, from which the user can select one or more items. LarListItem // An item in a list of items. LarMenuBar // A main menu bar. LarMenuItem // A item in a menu. LarProgressIndicator // A control which shows a progress indication. LarRadioButton // A radio button, see for example TRadioButton. LarResizeGrip // A grip that the user can drag to change the size of widgets. LarRow // A generic row that goes in a table. LarScrollBar // A control to scroll another one LarSpinner // A control which allows one to increment / decrement a value. LarTabControl // A control with tabs, like TPageControl. LarText // Text inside of a control, like text in a row cell LarTextEditorMultiline // A multi-line text editor (for example: TMemo, SynEdit) LarTextEditorSingleline // A single-line text editor (for example: TEdit) LarToolBar // A control that holds ToolButtons LarToolBarButton // A button on a ToolBar LarTrackBar // A control which allows one to drag a slider. LarTreeView // A list of items in a tree structure. LarTreeItem // An item in a tree structure. LarUnknown // An item that doesn't fit any of the other categories. LarWindow // A top level window. )
type TLazDockHeaderPart ¶
type TLazDockHeaderPart = int32
TLazDockHeaderPart ENUM
const ( LdhpAll TLazDockHeaderPart = iota // total header rect LdhpCaption // header caption LdhpRestoreButton // header restore button LdhpCloseButton // header close button )
type TLeftRight ¶
type TLeftRight = int32
TLeftRight = TAlignment.taLeftJustify..TAlignment.taRightJustify;
type TListArrangement ¶
type TListArrangement = int32
TListArrangement ENUM
const ( ArAlignBottom TListArrangement = iota ArAlignLeft ArAlignRight ArAlignTop ArDefault ArSnapToGrid )
type TListAssignOp ¶
type TListAssignOp = int32
const ( LaCopy TListAssignOp = iota LaAnd LaOr LaXor LaSrcUnique LaDestUnique )
type TListBoxOption ¶
type TListBoxOption = int32
TListBoxOption ENUM
const (
LboDrawFocusRect TListBoxOption = iota // draw focus rect in case of owner drawing
)
type TListBoxStyle ¶
type TListBoxStyle = int32
TListBoxStyle ENUM
const ( LbStandard TListBoxStyle = iota LbOwnerDrawFixed LbOwnerDrawVariable LbVirtual )
type TListHotTrackStyle ¶
type TListHotTrackStyle = int32
TListHotTrackStyle ENUM
const ( HtHandPoint TListHotTrackStyle = iota HtUnderlineCold HtUnderlineHot )
type TListHotTrackStyles ¶
type TListHotTrackStyles = TSet
TListHotTrackStyles SET TListHotTrackStyle
type TListItemClass ¶
type TListItemClass = uintptr
type TListItemState ¶
type TListItemState = int32
TListItemState ENUM
const ( LisCut TListItemState = iota LisDropTarget LisFocused LisSelected )
type TListItemsFlag ¶
type TListItemsFlag = int32
TListItemsFlag ENUM
const (
LisfWSItemsCreated TListItemsFlag = iota
)
type TLoadResource ¶
type TLoadResource = int32
TLoadResource ENUM
const ( LrDefaultColor TLoadResource = iota LrDefaultSize LrFromFile LrMap3DColors LrTransparent LrMonoChrome )
type TLogGradientStop ¶
type TLogGradientStop struct {
RadColorR Word
RadColorG Word
RadColorB Word
RadColorA Word
RadPosition float64 // must be in 0..1
}
non-winapi radial gradient log info
type TLogRadialGradient ¶
type TMaskEditValidationErrorMode ¶
type TMaskEditValidationErrorMode = int32
TMaskEditValidationErrorMode ENUM
const ( MvemException TMaskEditValidationErrorMode = iota MvemEvent )
type TMenuBreak ¶
type TMenuBreak = int32
TMenuBreak ENUM
const ( MbNone TMenuBreak = iota MbBreak MbBarBreak )
type TMessage ¶
type TMessage struct {
Msg Cardinal
WParam WPARAM
LParam LPARAM
Result LRESULT
// contains filtered or unexported fields
}
TMessage 消息值参见 types/messages包
type TMissingNameValueSeparatorAction ¶
type TMissingNameValueSeparatorAction = int32
TMissingNameValueSeparatorAction ENUM
const ( MnvaValue TMissingNameValueSeparatorAction = iota MnvaName MnvaEmpty MnvaError )
type TMissingNameValueSeparatorActions ¶
type TMissingNameValueSeparatorActions = TSet
TMissingNameValueSeparatorActions SET TMissingNameValueSeparatorAction
type TModalResult ¶
type TModalResult = int32
type TMonitorDefaultTo ¶
type TMonitorDefaultTo = int32
TMonitorDefaultTo ENUM
const ( MdNearest TMonitorDefaultTo = iota MdNull MdPrimary )
type TMonthDisplay ¶
type TMonthDisplay = int32
TMonthDisplay ENUM
const ( MdShort TMonthDisplay = iota MdLong MdCustom )
type TMouseActivate ¶
type TMouseActivate = int32
TMouseActivate ENUM
const ( MaDefault TMouseActivate = iota MaActivate MaActivateAndEat MaNoActivate MaNoActivateAndEat )
type TMouseButton ¶
type TMouseButton = int32
TMouseButton ENUM
const ( MbLeft TMouseButton = iota MbRight MbMiddle MbExtra1 MbExtra2 )
type TMouseWheelOption ¶
type TMouseWheelOption = int32
TMouseWheelOption ENUM
const ( MwCursor TMouseWheelOption = iota MwGrid )
type TMsgDlgBtn ¶
type TMsgDlgBtn = int32
TMsgDlgBtn ENUM
const ( MbYes TMsgDlgBtn = iota MbNo MbOK MbCancel MbAbort MbRetry MbIgnore MbAll MbNoToAll MbYesToAll MbHelp MbClose )
type TMsgDlgType ¶
type TMsgDlgType = int32
TMsgDlgType ENUM
const ( MtWarning TMsgDlgType = iota MtError MtInformation MtConfirmation MtCustom )
type TMultiSelectStyle ¶
type TMultiSelectStyle = int32
TMultiSelectStyle ENUM
const ( MsControlSelect TMultiSelectStyle = iota MsShiftSelect MsVisibleOnly MsSiblingOnly )
type TNewTextMetric ¶
type TNewTextMetric struct {
TmHeight LongInt
TmAscent LongInt
TmDescent LongInt
TmInternalLeading LongInt
TmExternalLeading LongInt
TmAveCharWidth LongInt
TmMaxCharWidth LongInt
TmWeight LongInt
TmOverhang LongInt
TmDigitizedAspectX LongInt
TmDigitizedAspectY LongInt
TmFirstChar AnsiChar
TmLastChar AnsiChar
TmDefaultChar AnsiChar
TmBreakChar AnsiChar
TmItalic byte
TmUnderlined byte
TmStruckOut byte
TmPitchAndFamily byte
TmCharSet byte
NtmFlags DWORD
NtmSizeEM UINT
NtmCellHeight UINT
NtmAvgWidth UINT
}
type TNewTextMetricEx ¶
type TNewTextMetricEx struct {
Ntmentm TNewTextMetric
NtmeFontSignature TFontSignature
}
type TNewTextMetricExPtr ¶
type TNodeAttachMode ¶
type TNodeAttachMode = int32
TNodeAttachMode ENUM
const ( NaAdd TNodeAttachMode = iota // 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 )
type TNodeState ¶
type TNodeState = int32
TNodeState ENUM
const ( NsCut TNodeState = iota // = 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 NsValidHasChildren // Node.HasChildren has been assigned )
type TNumberingStyle ¶
type TNumberingStyle = int32
TNumberingStyle ENUM
const ( NsNone TNumberingStyle = iota NsBullte )
type TOpenGLControlOption ¶
type TOpenGLControlOption = int32
TOpenGLControlOption ENUM
const ( OcoMacRetinaMode TOpenGLControlOption = iota OcoRenderAtDesignTime )
type TOpenGLControlOptions ¶
type TOpenGLControlOptions = TSet
TOpenGLControlOptions SET: TOpenGLControlOption
type TOpenOption ¶
type TOpenOption = int32
TOpenOption ENUM
const ( OfReadOnly TOpenOption = iota 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 )
type TOpenOptionEx ¶
type TOpenOptionEx = int32
TOpenOptionEx ENUM
const (
OfExNoPlacesBar TOpenOptionEx = iota
)
type TOperation ¶
type TOperation = int32
TOperation ENUM
const ( OpInsert TOperation = iota OpRemove )
type TOwnerDrawStateType ¶
type TOwnerDrawStateType = int32
TOwnerDrawStateType ENUM
const ( OdSelected TOwnerDrawStateType = iota OdGrayed OdDisabled OdChecked OdFocused OdDefault OdHotLight OdInactive OdNoAccel OdNoFocusRect OdReserved1 OdReserved2 OdComboBoxEdit OdBackgroundPainted // item background already painted )
type TPageMeasureUnits ¶
type TPageMeasureUnits = int32
TPageMeasureUnits ENUM
const ( PmDefault TPageMeasureUnits = iota PmMillimeters PmInches )
type TPageSetupDialogOption ¶
type TPageSetupDialogOption = int32
TPageSetupDialogOption ENUM
const ( PsoDefaultMinMargins TPageSetupDialogOption = iota PsoDisableMargins PsoDisableOrientation PsoDisablePagePainting PsoDisablePaper PsoDisablePrinter PsoMargins PsoMinMargins PsoShowHelp PsoWarning PsoNoNetworkButton )
type TPageSetupDialogOptions ¶
type TPageSetupDialogOptions = TSet
TPageSetupDialogOptions SET:TPageSetupDialogOption
type TPanelPart ¶
type TPanelPart = int32
TPanelPart ENUM
const ( PpText TPanelPart = iota // for text and text alignment PpBorder // for bevel and style PpWidth // for width )
type TParaAlignment ¶
type TParaAlignment = int32
TParaAlignment ENUM
const ( PraLeft TParaAlignment = iota PraRight PraCenter PraJustify )
type TParaMetric ¶
type TParaMetric struct {
FirstLine float64 // in points
TailIndent float64 // in points
HeadIndent float64 // in points
SpaceBefore float64 // in points
SpaceAfter float64 // in points
LineSpacing float64 // multiplier - matching CSS line-height by percentage/em note, that normal LineSpacing is 1.2, not 1.0
}
TParaMetric record
type TParaModifyMaskEnum ¶
type TParaModifyMaskEnum = int32
TParaModifyMaskEnum ENUM
const ( PmmFirstLine TParaModifyMaskEnum = iota PmmHeadIndent PmmTailIndent PmmSpaceBefore PmmSpaceAfter PmmLineSpacing )
type TParaNumStyle ¶
type TParaNumStyle = int32
TParaNumStyle ENUM
const ( PnNone TParaNumStyle = iota PnBullet PnNumber PnLowLetter PnLowRoman PnUpLetter PnUpRoman PnCustomChar )
type TParaNumbering ¶
type TParaNumbering struct {
Style TParaNumStyle
Indent float64
CustomChar string
NumberStart int32 // used for pnNumber only
SepChar string
ForceNewNum bool // if true and Style is pnNumber, NumberStart is used for the new numbering
}
TParaNumbering record
type TParaRange ¶
type TParaRange struct {
Start int32 // the first character in the paragraph
LengthNoBr int32 // the length of the paragraph, excluding the line break character
Length int32 // the length of the paragrpah, including the line break, if present the last line in the control doesn't contain a line break character, thus length = lengthNoBr
}
TParaRange record
type TPixelFormat ¶
type TPixelFormat = int32
TPixelFormat ENUM
const ( PfDevice TPixelFormat = iota Pf1bit Pf4bit Pf8bit Pf15bit Pf16bit Pf24bit Pf32bit PfCustom )
type TPopupAlignment ¶
type TPopupAlignment = int32
TPopupAlignment ENUM
const ( PaLeft TPopupAlignment = iota PaRight PaCenter )
type TPopupMode ¶
type TPopupMode = int32
TPopupMode ENUM
const ( PmNone TPopupMode = iota // modal: popup to active form or if not available, to main form; non-modal: no window parent PmAuto // modal & non-modal: popup to active form or if not available, to main form PmExplicit // modal & non-modal: popup to PopupParent or if not available, to main form )
type TPosition ¶
type TPosition = int32
TPosition ENUM
const ( PoDesigned TPosition = iota // 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) )
type TPositionToolTip ¶
type TPositionToolTip = int32
TPositionToolTip ENUM
const ( PtNone TPositionToolTip = iota PtTop PtLeft PtBottom PtRight )
type TPredefinedClipboardFormat ¶
type TPredefinedClipboardFormat = int32
TPredefinedClipboardFormat ENUM
const ( PcfText TPredefinedClipboardFormat = iota PcfBitmap PcfPixmap PcfIcon PcfPicture PcfMetaFilePict PcfObject PcfComponent PcfCustomData )
type TPrefixOption ¶
type TPrefixOption = int32
TPrefixOption ENUM
const ( PoNone TPrefixOption = iota PoHeaderClick )
type TPrintDialogOption ¶
type TPrintDialogOption = int32
TPrintDialogOption ENUM
const ( PoPrintToFile TPrintDialogOption = iota PoPageNums PoSelection PoWarning PoHelp PoDisablePrintToFile PoBeforeBeginDoc )
type TPrintDialogOptions ¶
type TPrintDialogOptions = TSet
TPrintDialogOptions SET:TPrintDialogOption
type TPrintParams ¶
type TPrintParams struct {
JobTitle string // print job title to be shown in system printing manager
Margins TRectOffsets // margins in points
SelStart int32
SelLength int32
}
TPrintParams record
type TPrintRange ¶
type TPrintRange = int32
TPrintRange ENUM
const ( PrAllPages TPrintRange = iota PrSelection PrPageNums PrCurrentPage )
type TPrinterCapabilities ¶
type TPrinterCapabilities = TSet
TPrinterCapabilities SET: TPrinterCapability
type TPrinterCapability ¶
type TPrinterCapability = int32
TPrinterCapability ENUM
const ( PcCopies TPrinterCapability = iota PcOrientation PcCollation )
type TPrinterKind ¶
type TPrinterKind = int32
TPrinterKind ENUM
const ( PkDotMatrix TPrinterKind = iota PkHPPCL )
type TPrinterOrientation ¶
type TPrinterOrientation = int32
TPrinterOrientation ENUM
const ( PoPortrait TPrinterOrientation = iota PoLandscape PoReverseLandscape PoReversePortrait )
type TPrinterState ¶
type TPrinterState = int32
TPrinterState ENUM
const ( PsNoDefine TPrinterState = iota PsReady PsPrinting PsStopped )
type TPrinterType ¶
type TPrinterType = int32
TPrinterType ENUM
const ( PtLocal TPrinterType = iota PtNetWork )
type TProgressBarOrientation ¶
type TProgressBarOrientation = int32
TProgressBarOrientation ENUM
const ( PbHorizontal TProgressBarOrientation = iota PbVertical PbRightToLeft PbTopDown )
type TProgressBarState ¶
type TProgressBarState = int32
TProgressBarState ENUM
const ( PbsNormal TProgressBarState = iota PbsError PbsPaused )
type TProgressBarStyle ¶
type TProgressBarStyle = int32
TProgressBarStyle ENUM
const ( PbstNormal TProgressBarStyle = iota PbstMarquee )
type TRangeSelectMode ¶
type TRangeSelectMode = int32
TRangeSelectMode ENUM
const ( RsmSingle TRangeSelectMode = iota RsmMulti )
type TRawImageQueryFlag ¶
type TRawImageQueryFlag = int32
TRawImageQueryFlag ENUM
const ( RiqfMono TRawImageQueryFlag = iota // Include a description for a mono image RiqfGrey // Include a description for a grey image RiqfRGB // Include a description for a RGB image RiqfAlpha // Include a description for an Alpha channel RiqfMask // Include a description for a Mask RiqfPalette // Include a description for a Palette RiqfUpdate // Update given description (instead of clearing it) )
type TRawImageQueryFlags ¶
type TRawImageQueryFlags = TSet
TRawImageQueryFlags SET: TRawImageQueryFlag
type TReadyState ¶
type TReadyState = int32
TReadyState ENUM
const ( RsUninitialized TReadyState = iota RsLoading RsLoaded RsInterActive RsComplete )
type TRectOffsets ¶
TRectOffsets record
type TRegDataInfo ¶
type TRegDataInfo struct {
RegData TRegDataType
DataSize int32
}
TRegDataInfo record
type TRegDataType ¶
type TRegDataType = int32
TRegDataType ENUM
const ( RdUnknown TRegDataType = iota RdString RdExpandString RdBinary RdInteger RdIntegerBigEndian RdLink RdMultiString RdResourceList RdFullResourceDescriptor RdResourceRequirementList RdInt64 )
type TRegKeyInfo ¶
type TRegKeyInfo struct {
NumSubKeys int32
MaxSubKeyLen int32
NumValues int32
MaxValueLen int32
MaxDataLen int32
FileTime TDateTime
}
TRegKeyInfo record
type TResizeStyle ¶
type TResizeStyle = int32
TResizeStyle ENUM
const ( RsLine TResizeStyle = iota // draw a line, don't update splitter position during moving RsNone // draw nothing and don't update splitter position during moving RsPattern // draw a dot pattern, don't update splitter position during moving RsUpdate // draw nothing, update splitter position during moving )
type TResourceType ¶
type TResourceType = string
type TScaledImageListResolution ¶
type TScaledImageListResolution struct {
}
TScaledImageListResolution TODO record
type TScrollBarKind ¶
type TScrollBarKind = int32
TScrollBarKind ENUM
const ( SbHorizontal TScrollBarKind = iota SbVertical )
type TScrollBarStyle ¶
type TScrollBarStyle = int32
TScrollBarStyle ENUM
const ( SsRegular TScrollBarStyle = iota SsFlat SsHotTrack )
type TScrollCode ¶
type TScrollCode = int32
TScrollCode ENUM
const ( // !!! Beware. The position of these enums must correspond to the SB_xxx // values in LCLType (Delphi compatibility, not our decision) // MWE: Don't know if this still is a requirement // afaik have I removed all casts from the LCL ScLineUp TScrollCode = iota // = SB_LINEUP ScLineDown // = SB_LINEDOWN ScPageUp // = SB_PAGEUP ScPageDown // = SB_PAGEDOWN ScPosition // = SB_THUMBPOSITION ScTrack // = SB_THUMBTRACK ScTop // = SB_TOP ScBottom // = SB_BOTTOM ScEndScroll // = SB_ENDSCROLL )
type TScrollStyle ¶
type TScrollStyle = int32
TScrollStyle ENUM
const ( SsNone TScrollStyle = iota SsHorizontal SsVertical SsBoth SsAutoHorizontal SsAutoVertical SsAutoBoth )
type TSearchDirection ¶
type TSearchDirection = int32
TSearchDirection ENUM
const ( SdLeft TSearchDirection = iota SdRight SdAbove SdBelow SdAll )
type TSearchOption ¶
type TSearchOption = int32
TSearchOption ENUM
const ( SoMatchCase TSearchOption = iota SoWholeWord SoBackward )
type TSearchType ¶
type TSearchType = int32
TSearchType ENUM
const ( StWholeWord TSearchType = iota StMatchCase )
type TSectionTrackState ¶
type TSectionTrackState = int32
TSectionTrackState ENUM
const ( TsTrackBegin TSectionTrackState = iota TsTrackMove TsTrackEnd )
type TSectionValuesOption ¶
type TSectionValuesOption = int32
TSectionValuesOption ENUM
const ( SvoIncludeComments TSectionValuesOption = iota SvoIncludeInvalid SvoIncludeQuotes )
type TSectionValuesOptions ¶
type TSectionValuesOptions = TSet
TSectionValuesOptions SET TSectionValuesOption
type TSeekOrigin ¶
type TSeekOrigin = int32
TSeekOrigin ENUM
const ( SoBeginning TSeekOrigin = iota SoCurrent SoEnd )
type TSelectDirOpt ¶
type TSelectDirOpt = int32
TSelectDirOpt ENUM
const ( SdAllowCreate TSelectDirOpt = iota SdPerformCreate SdPrompt )
type TSet ¶
type TSet uint32
TSet Pascal集合类型 set of xxx
func NewSet ¶
NewSet
新建TSet,初始值为0,然后添加元素
Create a new TSet, the initial value is 0, and then add elements.
func (TSet) Exclude ¶
Exclude
集合减法,val...中存储为位的索引,下标为0
Set subtraction, stored as bit index in val..., subscript 0.
type TShapeType ¶
type TShapeType = int32
TShapeType ENUM
const ( StRectangle TShapeType = iota StSquare StRoundRect StRoundSquare StEllipse StCircle StSquaredDiamond StDiamond StTriangle StTriangleLeft StTriangleRight StTriangleDown StStar StStarDown )
type TShiftStateEnum ¶
type TShiftStateEnum = int32
TShiftStateEnum ENUM
const ( SsShift TShiftStateEnum = iota SsAlt SsCtrl SsLeft SsRight SsMiddle SsDouble // Extra additions SsMeta SsSuper SsHyper SsAltGr SsCaps SsNum SsScroll SsTriple SsQuad SsExtra1 SsExtra2 )
type TShowInTaskBar ¶
type TShowInTaskBar = int32
TShowInTaskBar ENUM
const ( StDefault TShowInTaskBar = iota // use default rules for showing taskbar item StAlways // always show taskbar item for the form StNever // never show taskbar item for the form )
type TSizeConstraintsOption ¶
type TSizeConstraintsOption = int32
TSizeConstraintsOption ENUM
const ( ScoAdviceWidthAsMin TSizeConstraintsOption = iota ScoAdviceWidthAsMax ScoAdviceHeightAsMin ScoAdviceHeightAsMax )
type TSizeConstraintsOptions ¶
type TSizeConstraintsOptions = TSet
TSizeConstraintsOptions SET TSizeConstraintsOption
type TSmallPoint ¶
func (TSmallPoint) Empty ¶
func (s TSmallPoint) Empty() TSmallPoint
func (TSmallPoint) IsEqual ¶
func (s TSmallPoint) IsEqual(val TSmallPoint) bool
type TSmartAutoFitType ¶
type TSmartAutoFitType = int32
TSmartAutoFitType ENUM
const ( SmaAllColumns TSmartAutoFitType = iota // consider nodes in view only for all columns SmaNoColumn // consider nodes in view only for no column SmaUseColumnOption // use coSmartResize of the corresponding column )
type TSortDirection ¶
type TSortDirection = int32
TSortDirection ENUM
const ( SdAscending TSortDirection = iota SdDescending )
type TSortIndicator ¶
type TSortIndicator = int32
TSortIndicator ENUM
const ( SiNone TSortIndicator = iota SiAscending SiDescending )
type TSortOrder ¶
type TSortOrder = int32
TSortOrder ENUM
const ( SoAscending TSortOrder = iota SoDescending )
type TSpacingSize ¶
type TSpacingSize = int32
type TStaticBorderStyle ¶
type TStaticBorderStyle = int32
TStaticBorderStyle ENUM
const ( SbsNone TStaticBorderStyle = iota SbsSingle SbsSunken )
type TStatusPanelBevel ¶
type TStatusPanelBevel = int32
TStatusPanelBevel ENUM
const ( PbNone TStatusPanelBevel = iota PbLowered PbRaised )
type TStatusPanelClass ¶
type TStatusPanelClass = uintptr
type TStatusPanelStyle ¶
type TStatusPanelStyle = int32
TStatusPanelStyle ENUM
const ( PsText TStatusPanelStyle = iota PsOwnerDraw )
type TStreamOwnership ¶
type TStreamOwnership = int32
TStreamOwnership ENUM
const ( SoReference TStreamOwnership = iota SoOwned )
type TStringEncoding ¶
type TStringEncoding = int32
TStringEncoding ENUM
const ( SeUnknown TStringEncoding = iota SeANSI SeUnicode SeUTF8 )
type TStringsOption ¶
type TStringsOption = int32
TStringsOption ENUM
const ( SoStrictDelimiter TStringsOption = iota SoWriteBOM SoTrailingLineBreak SoUseLocale )
type TStringsSortStyle ¶
type TStringsSortStyle = int32
TStringsSortStyle ENUM
const ( SslNone TStringsSortStyle = iota SslUser SslAuto )
type TSysLinkType ¶
type TSysLinkType = int32
TSysLinkType ENUM
const ( SltURL TSysLinkType = iota SltID )
type TSysLocale ¶
type TTBGradientDrawingOption ¶
type TTBGradientDrawingOption = int32
TTBGradientDrawingOption ENUM
const ( GdoHotTrack TTBGradientDrawingOption = iota GdoGradient )
type TTBGradientDrawingOptions ¶
type TTBGradientDrawingOptions = TSet
TTBGradientDrawingOptions SET
type TTabAlignment ¶
type TTabAlignment = int32
TTabAlignment ENUM
const ( TabLeft TTabAlignment = iota TabCenter TabRight TabDecimal TabWordBar )
type TTabPosition ¶
type TTabPosition = int32
TTabPosition ENUM
const ( TpTop TTabPosition = iota TpBottom TpLeft TpRight )
type TTabStop ¶
type TTabStop struct {
Offset float64
Align TTabAlignment // not used
}
TTabStop record
type TTaskBarBehavior ¶
type TTaskBarBehavior = int32
TTaskBarBehavior ENUM
const ( TbDefault TTaskBarBehavior = iota // widgetset dependent TbMultiButton // show buttons for Forms with ShowTaskBar = stDefault TbSingleButton // hide buttons for Forms with ShowTaskBar = stDefault. )
type TTaskBarProgressState ¶
type TTaskBarProgressState = int32
TTaskBarProgressState ENUM
const ( None TTaskBarProgressState = iota Indeterminate Normal Error Paused )
type TTaskDialogCommonButton ¶
type TTaskDialogCommonButton = int32
TTaskDialogCommonButton ENUM
const ( TcbOk TTaskDialogCommonButton = iota TcbYes TcbNo TcbCancel TcbRetry TcbClose )
type TTaskDialogCommonButtons ¶
type TTaskDialogCommonButtons = TSet
TTaskDialogCommonButtons SET: TTaskDialogCommonButton
type TTaskDialogFlag ¶
type TTaskDialogFlag = int32
TTaskDialogFlag ENUM
const ( TfEnableHyperlinks TTaskDialogFlag = iota TfUseHiconMain TfAllowDialogCancellation TfUseCommandLinks TfUseCommandLinksNoIcon TfExpandedByDefault TfVerificationFlagChecked TfShowProgressBar TfShowMarqueeProgressBar TfCallbackTimer TfPositionRelativeToWindow TfRtlLayout TfNoDefaultRadioButton TfCanBeMinimized )
type TTaskDialogIcon ¶
type TTaskDialogIcon = int32
TTaskDialogIcon ENUM
const ( TdiNone TTaskDialogIcon = iota TdiWarning TdiError TdiInformation TdiShield TdiQuestion )
type TTextFormats ¶
type TTextFormats = int32
TTextFormats ENUM
const ( TfBottom TTextFormats = iota TfCalcRect TfCenter TfEditControl TfEndEllipsis TfPathEllipsis TfExpandTabs TfExternalLeading TfLeft TfModifyString TfNoClip TfNoPrefix TfRight TfRtlReading TfSingleLine TfTop TfVerticalCenter TfWordBreak TfHidePrefix TfNoFullWidthCharBreak TfPrefixOnly TfTabStop TfWordEllipsis TfComposited )
type TTextLayout ¶
type TTextLayout = int32
TTextLayout ENUM
const ( TlTop TTextLayout = iota TlCenter TlBottom )
type TTextLineBreakStyle ¶
type TTextLineBreakStyle = int32
TTextLineBreakStyle ENUM
const ( TlbsLF TTextLineBreakStyle = iota TlbsCRLF TlbsCR )
type TTextModifyMaskEnum ¶
type TTextModifyMaskEnum = int32
TTextModifyMaskEnum ENUM
const ( TmmColor TTextModifyMaskEnum = iota TmmName TmmSize TmmStyles TmmBackColor )
type TTextStyle ¶
type TTextStyle struct {
Alignment TAlignment // TextRect Only: horizontal alignment
Layout TTextLayout // TextRect Only: vertical alignment
SingleLine bool // If WordBreak is false then process #13, #10 as standard chars and perform no Line breaking.
Clipping bool // TextRect Only: Clip Text to passed Rectangle
ExpandTabs bool // Replace #9 by apropriate amount of spaces (default is usually 8)
ShowPrefix bool // TextRect Only: Process first single '&' per line as an underscore and draw '&&' as '&'
Wordbreak bool // TextRect Only: If line of text is too long too fit between left and right boundaries try to break into multiple lines between words See also EndEllipsis.
Opaque bool // TextRect: Fills background with current Brush TextOut : Fills background with current foreground color
SystemFont bool // Use the system font instead of Canvas Font
RightToLeft bool //For RightToLeft text reading (Text Direction)
EndEllipsis bool // TextRect Only: If line of text is too long to fit between left and right boundaries truncates the text and adds "..." If Wordbreak is set as well, Workbreak will dominate.
}
type TThemeOption ¶
type TThemeOption = int32
TThemeOption ENUM
const ( ToShowButtonImages TThemeOption = iota // show images on buttons ToShowMenuImages // show images on menus ToUseGlyphEffects // use hot/down effects on (button) glyphs )
type TThemedButton ¶
type TThemedButton = int32
TThemedButton ENUM 'Button' theme data
const ( TbButtonDontCare TThemedButton = iota TbButtonRoot // The root part of each element is sometimes used for special painting and does not belong to a certain state. TbPushButtonNormal TbPushButtonHot TbPushButtonPressed TbPushButtonDisabled TbPushButtonDefaulted TbRadioButtonUncheckedNormal TbRadioButtonUncheckedHot TbRadioButtonUncheckedPressed TbRadioButtonUncheckedDisabled TbRadioButtonCheckedNormal TbRadioButtonCheckedHot TbRadioButtonCheckedPressed TbRadioButtonCheckedDisabled TbCheckBoxUncheckedNormal TbCheckBoxUncheckedHot TbCheckBoxUncheckedPressed TbCheckBoxUncheckedDisabled TbCheckBoxCheckedNormal TbCheckBoxCheckedHot TbCheckBoxCheckedPressed TbCheckBoxCheckedDisabled TbCheckBoxMixedNormal TbCheckBoxMixedHot TbCheckBoxMixedPressed TbCheckBoxMixedDisabled TbGroupBoxNormal TbGroupBoxDisabled TbUserButton )
type TThemedClock ¶
type TThemedClock = int32
TThemedClock ENUM 'Clock' theme data
const ( TcClockDontCare TThemedClock = iota TcClockRoot TcTimeNormal )
type TThemedComboBox ¶
type TThemedComboBox = int32
TThemedComboBox ENUM 'ComboBox' theme data
const ( TcComboBoxDontCare TThemedComboBox = iota TcComboBoxRoot TcDropDownButtonNormal TcDropDownButtonHot TcDropDownButtonPressed TcDropDownButtonDisabled )
type TThemedEdit ¶
type TThemedEdit = int32
TThemedEdit ENUM 'Edit' theme data
const ( TeEditDontCare TThemedEdit = iota TeEditRoot TeEditTextNormal TeEditTextHot TeEditTextSelected TeEditTextDisabled TeEditTextFocused TeEditTextReadOnly TeEditTextAssist TeEditCaret )
type TThemedElement ¶
type TThemedElement = int32
TThemedElement ENUM These are all elements which can be themed.
const ( TeButton TThemedElement = iota TeClock TeComboBox TeEdit TeExplorerBar TeHeader TeListView TeMenu TePage TeProgress TeRebar TeScrollBar TeSpin TeStartPanel TeStatus TeTab TeTaskBand TeTaskBar TeToolBar TeToolTip TeTrackBar TeTrayNotify TeTreeview TeWindow )
type TThemedElementDetails ¶
type TThemedElementDetails struct {
Element TThemedElement
Part int32
State int32
}
TThemedElementDetails record
type TThemedExplorerBar ¶
type TThemedExplorerBar = int32
TThemedExplorerBar ENUM 'ExplorerBar' theme data
const ( TebExplorerBarDontCare TThemedExplorerBar = iota TebExplorerBarRoot TebHeaderBackgroundNormal TebHeaderBackgroundHot TebHeaderBackgroundPressed TebHeaderCloseNormal TebHeaderCloseHot TebHeaderClosePressed TebHeaderPinNormal TebHeaderPinHot TebHeaderPinPressed TebHeaderPinSelectedNormal TebHeaderPinSelectedHot TebHeaderPinSelectedPressed TebIEBarMenuNormal TebIEBarMenuHot TebIEBarMenuPressed TebNormalGroupBackground TebNormalGroupCollapseNormal TebNormalGroupCollapseHot TebNormalGroupCollapsePressed TebNormalGroupExpandNormal TebNormalGroupExpandHot TebNormalGroupExpandPressed TebNormalGroupHead TebSpecialGroupBackground TebSpecialGroupCollapseSpecial TebSpecialGroupCollapseHot TebSpecialGroupCollapsePressed TebSpecialGroupExpandSpecial TebSpecialGroupExpandHot TebSpecialGroupExpandPressed TebSpecialGroupHead )
type TThemedHeader ¶
type TThemedHeader = int32
TThemedHeader ENUM 'Header' theme data
const ( ThHeaderDontCare TThemedHeader = iota ThHeaderRoot ThHeaderItemNormal ThHeaderItemHot ThHeaderItemPressed ThHeaderItemLeftNormal ThHeaderItemLeftHot ThHeaderItemLeftPressed ThHeaderItemRightNormal ThHeaderItemRightHot ThHeaderItemRightPressed ThHeaderSortArrowSortedUp ThHeaderSortArrowSortedDown )
type TThemedListView ¶
type TThemedListView = int32
TThemedListView ENUM 'ListView' theme data
const ( TlListviewDontCare TThemedListView = iota TlListviewRoot TlListItemNormal TlListItemHot TlListItemSelected TlListItemDisabled TlListItemSelectedNotFocus TlListGroup TlListDetail TlListSortDetail TlEmptyText )
type TThemedMenu ¶
type TThemedMenu = int32
TThemedMenu ENUM 'Menu' theme data
const ( TmMenuDontCare TThemedMenu = iota TmMenuRoot TmMenuItemNormal TmMenuItemSelected TmMenuItemDemoted TmMenuDropDown TmMenuBarItem TmMenuBarDropDown TmChevron TmSeparator TmBarBackgroundActive TmBarBackgroundInactive TmBarItemNormal TmBarItemHot TmBarItemPushed TmBarItemDisabled TmBarItemDisabledHot TmBarItemDisabledPushed TmPopupBackground TmPopupBorders TmPopupCheckMarkNormal TmPopupCheckMarkDisabled TmPopupBulletNormal TmPopupBulletDisabled TmPopupCheckBackgroundDisabled TmPopupCheckBackgroundNormal TmPopupCheckBackgroundBitmap TmPopupGutter TmPopupItemNormal TmPopupItemHot TmPopupItemDisabled TmPopupItemDisabledHot TmPopupSeparator TmSystemCloseNormal TmSystemCloseDisabled TmSystemMaximizeNormal TmSystemMaximizeDisabled TmSystemMinimizeNormal TmSystemMinimizeDisabled TmSystemRestoreNormal TmSystemRestoreDisabled )
type TThemedPage ¶
type TThemedPage = int32
TThemedPage ENUM 'Page' theme data
const ( TpPageDontCare TThemedPage = iota TpPageRoot TpUpNormal TpUpHot TpUpPressed TpUpDisabled TpDownNormal TpDownHot TpDownPressed TpDownDisabled TpUpHorzNormal TpUpHorzHot TpUpHorzPressed TpUpHorzDisabled TpDownHorzNormal TpDownHorzHot TpDownHorzPressed TpDownHorzDisabled )
type TThemedProgress ¶
type TThemedProgress = int32
TThemedProgress ENUM 'Progress' theme data
const ( TpProgressDontCare TThemedProgress = iota TpProgressRoot TpBar TpBarVert TpChunk TpChunkVert )
type TThemedRebar ¶
type TThemedRebar = int32
TThemedRebar ENUM 'Rebar' theme data
const ( TrRebarDontCare TThemedRebar = iota TrRebarRoot TrGripper TrGripperVert TrBandNormal TrBandHot TrBandPressed TrBandDisabled TrBandChecked TrBandHotChecked TrChevronNormal TrChevronHot TrChevronPressed TrChevronDisabled TrChevronVertNormal TrChevronVertHot TrChevronVertPressed TrChevronVertDisabled )
type TThemedScrollBar ¶
type TThemedScrollBar = int32
TThemedScrollBar ENUM 'ScrollBar' theme data
const ( TsScrollBarDontCare TThemedScrollBar = iota TsScrollBarRoot TsArrowBtnUpNormal TsArrowBtnUpHot TsArrowBtnUpPressed TsArrowBtnUpDisabled TsArrowBtnDownNormal TsArrowBtnDownHot TsArrowBtnDownPressed TsArrowBtnDownDisabled TsArrowBtnLeftNormal TsArrowBtnLeftHot TsArrowBtnLeftPressed TsArrowBtnLeftDisabled TsArrowBtnRightNormal TsArrowBtnRightHot TsArrowBtnRightPressed TsArrowBtnRightDisabled TsThumbBtnHorzNormal TsThumbBtnHorzHot TsThumbBtnHorzPressed TsThumbBtnHorzDisabled TsThumbBtnVertNormal TsThumbBtnVertHot TsThumbBtnVertPressed TsThumbBtnVertDisabled TsLowerTrackHorzNormal TsLowerTrackHorzHot TsLowerTrackHorzPressed TsLowerTrackHorzDisabled TsUpperTrackHorzNormal TsUpperTrackHorzHot TsUpperTrackHorzPressed TsUpperTrackHorzDisabled TsLowerTrackVertNormal TsLowerTrackVertHot TsLowerTrackVertPressed TsLowerTrackVertDisabled TsUpperTrackVertNormal TsUpperTrackVertHot TsUpperTrackVertPressed TsUpperTrackVertDisabled TsGripperHorzNormal TsGripperHorzHot TsGripperHorzPressed TsGripperHorzDisabled TsGripperVertNormal TsGripperVertHot TsGripperVertPressed TsGripperVertDisabled TsSizeBoxRightAlign TsSizeBoxLeftAlign )
type TThemedSpin ¶
type TThemedSpin = int32
TThemedSpin ENUM 'Spin' theme data
const ( TsSpinDontCare TThemedSpin = iota TsSpinRoot TsUpNormal TsUpHot TsUpPressed TsUpDisabled TsDownNormal TsDownHot TsDownPressed TsDownDisabled TsUpHorzNormal TsUpHorzHot TsUpHorzPressed TsUpHorzDisabled TsDownHorzNormal TsDownHorzHot TsDownHorzPressed TsDownHorzDisabled )
type TThemedStartPanel ¶
type TThemedStartPanel = int32
TThemedStartPanel ENUM 'StartPanel' theme data
const ( TspStartPanelDontCare TThemedStartPanel = iota TspStartPanelRoot TspUserPane TspMorePrograms TspMoreProgramsArrowNormal TspMoreProgramsArrowHot TspMoreProgramsArrowPressed TspProgList TspProgListSeparator TspPlacesList TspPlacesListSeparator TspLogOff TspLogOffButtonsNormal TspLogOffButtonsHot TspLogOffButtonsPressed TspUserPicture TspPreview )
type TThemedStatus ¶
type TThemedStatus = int32
TThemedStatus ENUM 'Status' theme data
const ( TsStatusDontCare TThemedStatus = iota TsStatusRoot TsPane TsGripperPane TsGripper )
type TThemedTab ¶
type TThemedTab = int32
TThemedTab ENUM 'Tab' theme data
const ( TtTabDontCare TThemedTab = iota TtTabRoot TtTabItemNormal TtTabItemHot TtTabItemSelected TtTabItemDisabled TtTabItemFocused TtTabItemLeftEdgeNormal TtTabItemLeftEdgeHot TtTabItemLeftEdgeSelected TtTabItemLeftEdgeDisabled TtTabItemLeftEdgeFocused TtTabItemRightEdgeNormal TtTabItemRightEdgeHot TtTabItemRightEdgeSelected TtTabItemRightEdgeDisabled TtTabItemRightEdgeFocused TtTabItemBothEdgeNormal TtTabItemBothEdgeHot TtTabItemBothEdgeSelected TtTabItemBothEdgeDisabled TtTabItemBothEdgeFocused TtTopTabItemNormal TtTopTabItemHot TtTopTabItemSelected TtTopTabItemDisabled TtTopTabItemFocused TtTopTabItemLeftEdgeNormal TtTopTabItemLeftEdgeHot TtTopTabItemLeftEdgeSelected TtTopTabItemLeftEdgeDisabled TtTopTabItemLeftEdgeFocused TtTopTabItemRightEdgeNormal TtTopTabItemRightEdgeHot TtTopTabItemRightEdgeSelected TtTopTabItemRightEdgeDisabled TtTopTabItemRightEdgeFocused TtTopTabItemBothEdgeNormal TtTopTabItemBothEdgeHot TtTopTabItemBothEdgeSelected TtTopTabItemBothEdgeDisabled TtTopTabItemBothEdgeFocused TtPane TtBody )
type TThemedTaskBand ¶
type TThemedTaskBand = int32
TThemedTaskBand ENUM 'TaskBand' theme data
const ( TtbTaskBandDontCare TThemedTaskBand = iota TtbTaskBandRoot TtbGroupCount TtbFlashButton TtpFlashButtonGroupMenu )
type TThemedTaskBar ¶
type TThemedTaskBar = int32
TThemedTaskBar ENUM 'TaskBar' theme data
const ( TtTaskBarDontCare TThemedTaskBar = iota TtTaskBarRoot TtbTimeNormal )
type TThemedToolBar ¶
type TThemedToolBar = int32
TThemedToolBar ENUM 'ToolBar' theme data
const ( TtbToolBarDontCare TThemedToolBar = iota TtbToolBarRoot TtbButtonNormal TtbButtonHot TtbButtonPressed TtbButtonDisabled TtbButtonChecked TtbButtonCheckedHot TtbDropDownButtonNormal TtbDropDownButtonHot TtbDropDownButtonPressed TtbDropDownButtonDisabled TtbDropDownButtonChecked TtbDropDownButtonCheckedHot TtbSplitButtonNormal TtbSplitButtonHot TtbSplitButtonPressed TtbSplitButtonDisabled TtbSplitButtonChecked TtbSplitButtonCheckedHot TtbSplitButtonDropDownNormal TtbSplitButtonDropDownHot TtbSplitButtonDropDownPressed TtbSplitButtonDropDownDisabled TtbSplitButtonDropDownChecked TtbSplitButtonDropDownCheckedHot TtbSeparatorNormal TtbSeparatorHot TtbSeparatorPressed TtbSeparatorDisabled TtbSeparatorChecked TtbSeparatorCheckedHot TtbSeparatorVertNormal TtbSeparatorVertHot TtbSeparatorVertPressed TtbSeparatorVertDisabled TtbSeparatorVertChecked TtbSeparatorVertCheckedHot )
type TThemedToolTip ¶
type TThemedToolTip = int32
TThemedToolTip ENUM 'ToolTip' theme data
const ( TttToolTipDontCare TThemedToolTip = iota TttToolTipRoot TttStandardNormal TttStandardLink TttStandardTitleNormal TttStandardTitleLink TttBaloonNormal TttBaloonLink TttBaloonTitleNormal TttBaloonTitleLink TttCloseNormal TttCloseHot TttClosePressed )
type TThemedTrackBar ¶
type TThemedTrackBar = int32
TThemedTrackBar ENUM 'TrackBar' theme data
const ( TtbTrackBarDontCare TThemedTrackBar = iota TtbTrackBarRoot TtbTrack TtbTrackVert TtbThumbNormal TtbThumbHot TtbThumbPressed TtbThumbFocused TtbThumbDisabled TtbThumbBottomNormal TtbThumbBottomHot TtbThumbBottomPressed TtbThumbBottomFocused TtbThumbBottomDisabled TtbThumbTopNormal TtbThumbTopHot TtbThumbTopPressed TtbThumbTopFocused TtbThumbTopDisabled TtbThumbVertNormal TtbThumbVertHot TtbThumbVertPressed TtbThumbVertFocused TtbThumbVertDisabled TtbThumbLeftNormal TtbThumbLeftHot TtbThumbLeftPressed TtbThumbLeftFocused TtbThumbLeftDisabled TtbThumbRightNormal TtbThumbRightHot TtbThumbRightPressed TtbThumbRightFocused TtbThumbRightDisabled TtbThumbTics TtbThumbTicsVert )
type TThemedTrayNotify ¶
type TThemedTrayNotify = int32
TThemedTrayNotify ENUM 'TrayNotify' theme data
const ( TtnTrayNotifyDontCare TThemedTrayNotify = iota TtnTrayNotifyRoot TtnBackground TtnAnimBackground )
type TThemedTreeview ¶
type TThemedTreeview = int32
TThemedTreeview ENUM 'Treeview' theme data
const ( TtTreeviewDontCare TThemedTreeview = iota TtTreeviewRoot TtItemNormal TtItemHot TtItemSelected TtItemDisabled TtItemSelectedNotFocus TtGlyphClosed TtGlyphOpened TtBranch TtHotGlyphClosed TtHotGlyphOpened )
type TThemedWindow ¶
type TThemedWindow = int32
TThemedWindow ENUM 'Window' theme data
const ( TwWindowDontCare TThemedWindow = iota TwWindowRoot TwCaptionActive TwCaptionInactive TwCaptionDisabled TwSmallCaptionActive TwSmallCaptionInactive TwSmallCaptionDisabled TwMinCaptionActive TwMinCaptionInactive TwMinCaptionDisabled TwSmallMinCaptionActive TwSmallMinCaptionInactive TwSmallMinCaptionDisabled TwMaxCaptionActive TwMaxCaptionInactive TwMaxCaptionDisabled TwSmallMaxCaptionActive TwSmallMaxCaptionInactive TwSmallMaxCaptionDisabled TwFrameLeftActive TwFrameLeftInactive TwFrameRightActive TwFrameRightInactive TwFrameBottomActive TwFrameBottomInactive TwSmallFrameLeftActive TwSmallFrameLeftInactive TwSmallFrameRightActive TwSmallFrameRightInactive TwSmallFrameBottomActive TwSmallFrameBottomInactive TwSysButtonNormal TwSysButtonHot TwSysButtonPushed TwSysButtonDisabled TwSysButtonInactive TwMDISysButtonNormal TwMDISysButtonHot TwMDISysButtonPushed TwMDISysButtonDisabled TwMDISysButtonInactive TwMinButtonNormal TwMinButtonHot TwMinButtonPushed TwMinButtonDisabled TwMinButtonInactive TwMDIMinButtonNormal TwMDIMinButtonHot TwMDIMinButtonPushed TwMDIMinButtonDisabled TwMDIMinButtonInactive TwMaxButtonNormal TwMaxButtonHot TwMaxButtonPushed TwMaxButtonDisabled TwMaxButtonInactive TwCloseButtonNormal TwCloseButtonHot TwCloseButtonPushed TwCloseButtonDisabled TwCloseButtonInactive TwSmallCloseButtonNormal TwSmallCloseButtonHot TwSmallCloseButtonPushed TwSmallCloseButtonDisabled TwSmallCloseButtonInactive TwMDICloseButtonNormal TwMDICloseButtonHot TwMDICloseButtonPushed TwMDICloseButtonDisabled TwMDICloseButtonInactive TwRestoreButtonNormal TwRestoreButtonHot TwRestoreButtonPushed TwRestoreButtonDisabled TwRestoreButtonInactive TwMDIRestoreButtonNormal TwMDIRestoreButtonHot TwMDIRestoreButtonPushed TwMDIRestoreButtonDisabled TwMDIRestoreButtonInactive TwHelpButtonNormal TwHelpButtonHot TwHelpButtonPushed TwHelpButtonDisabled TwHelpButtonInactive TwMDIHelpButtonNormal TwMDIHelpButtonHot TwMDIHelpButtonPushed TwMDIHelpButtonDisabled TwMDIHelpButtonInactive TwHorzScrollNormal TwHorzScrollHot TwHorzScrollPushed TwHorzScrollDisabled TwHorzThumbNormal TwHorzThumbHot TwHorzThumbPushed TwHorzThumbDisabled TwVertScrollNormal TwVertScrollHot TwVertScrollPushed TwVertScrollDisabled TwVertThumbNormal TwVertThumbHot TwVertThumbPushed TwVertThumbDisabled TwDialog TwCaptionSizingTemplate TwSmallCaptionSizingTemplate TwFrameLeftSizingTemplate TwSmallFrameLeftSizingTemplate TwFrameRightSizingTemplate TwSmallFrameRightSizingTemplate TwFrameBottomSizingTemplate TwSmallFrameBottomSizingTemplate )
type TTickStyle ¶
type TTickStyle = int32
TTickStyle ENUM
const ( TsNone TTickStyle = iota TsAuto TsManual )
type TTimeDisplay ¶
type TTimeDisplay = int32
TTimeDisplay ENUM
const ( TdHM TTimeDisplay = iota // hour and minute TdHMS // hour Minute and second TdHMSMs // hour Minute Second and milisecond )
type TTimeFormat ¶
type TTimeFormat = int32
TTimeFormat ENUM
const ( Tf12 TTimeFormat = iota // 12 hours format, with am/pm string Tf24 // 24 hours format )
type TTitleStyle ¶
type TTitleStyle = int32
TTitleStyle ENUM
const ( TsLazarus TTitleStyle = iota TsStandard TsNative )
type TToolButtonStyle ¶
type TToolButtonStyle = int32
TToolButtonStyle ENUM
const ( TbsButton TToolButtonStyle = iota // 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) )
type TTrackBarOrientation ¶
type TTrackBarOrientation = int32
TTrackBarOrientation ENUM
const ( TrHorizontal TTrackBarOrientation = iota TrVertical )
type TTrackBarScalePos ¶
type TTrackBarScalePos = int32
TTrackBarScalePos ENUM
const ( TrLeft TTrackBarScalePos = iota TrRight TrTop TrBottom )
type TTrackButton ¶
type TTrackButton = int32
TTrackButton ENUM
const ( TbRightButton TTrackButton = iota TbLeftButton )
type TTransparentMode ¶
type TTransparentMode = int32
TTransparentMode ENUM
const ( TmAuto TTransparentMode = iota TmFixed )
type TTreeNodeChangeReason ¶
type TTreeNodeChangeReason = int32
TTreeNodeChangeReason ENUM
const ( NcTextChanged TTreeNodeChangeReason = iota //The Node's Text has changed NcDataChanged //The Node's Data has changed NcHeightChanged //The Node's Height has changed NcImageEffect //The Node's Image Effect has changed NcImageIndex //The Node's Image Index has changed NcParentChanged //The Node's Parent has changed NcVisibility //The Node's Visibility has changed NcEnablement //The Node's Enabled/Disabled state has changed NcOverlayIndex //The Node's Overlay Index has Changed NcStateIndex //The Node's State Index has Changed NcSelectedIndex //The Node's Selected Index has Changed )
type TTreeNodeClass ¶
type TTreeNodeClass = uintptr
type TTreeViewExpandSignType ¶
type TTreeViewExpandSignType = int32
TTreeViewExpandSignType ENUM
const ( TvestTheme TTreeViewExpandSignType = iota // use themed sign TvestPlusMinus // use +/- sign TvestArrow // use blank arrow TvestArrowFill // use filled arrow )
type TTreeViewInsertMarkType ¶
type TTreeViewInsertMarkType = int32
TTreeViewInsertMarkType ENUM
const ( TvimNone TTreeViewInsertMarkType = iota TvimAsFirstChild // or as root TvimAsNextSibling TvimAsPrevSibling )
type TTreeViewOption ¶
type TTreeViewOption = int32
TTreeViewOption ENUM
const ( TvoAllowMultiselect TTreeViewOption = iota TvoAutoExpand TvoAutoInsertMark TvoAutoItemHeight TvoHideSelection TvoHotTrack TvoKeepCollapsedNodes TvoReadOnly TvoRightClickSelect TvoRowSelect TvoShowButtons TvoShowLines TvoShowRoot TvoShowSeparators TvoToolTips TvoNoDoubleClickExpand TvoThemedDraw )
type TUDOrientation ¶
type TUDOrientation = int32
TUDOrientation ENUM
const ( UdHorizontal TUDOrientation = iota UdVertical )
type TUpDownDirection ¶
type TUpDownDirection = int32
TUpDownDirection ENUM
const ( UpdNone TUpDownDirection = iota UpdUp UpdDown )
type TVSTTextSourceType ¶
type TVSTTextSourceType = int32
TVSTTextSourceType ENUM
Describes the source to use when converting a string tree into a string for clipboard etc.
const ( TstAll TVSTTextSourceType = iota // All nodes are rendered. Initialization is done on the fly. TstInitialized // Only initialized nodes are rendered. TstSelected // Only selected nodes are rendered. TstCutCopySet // Only nodes currently marked as being in the cut/copy clipboard set are rendered. TstVisible // Only visible nodes are rendered. TstChecked // Only checked nodes are rendered )
type TVSTTextType ¶
type TVSTTextType = int32
TVSTTextType ENUM
Describes the type of text to return in the text and draw info retrival events.
const ( TtNormal TVSTTextType = iota // normal label of the node, this is also the text which can be edited TtStatic // static (non-editable) text after the normal text )
type TVScriptPos ¶
type TVScriptPos = int32
TVScriptPos ENUM
const ( VpNormal TVScriptPos = iota VpSubScript VpSuperScript )
type TVTAnimationOption ¶
type TVTAnimationOption = int32
TVTAnimationOption ENUM
Options to toggle animation support:
const ( ToAnimatedToggle TVTAnimationOption = iota // Expanding and collapsing a node is animated (quick window scroll). ToAdvancedAnimatedToggle // Do some advanced animation effects when toggling a node. )
type TVTAnimationOptions ¶
type TVTAnimationOptions = TSet
TVTAnimationOptions SET: TVTAnimationOption
type TVTAutoOption ¶
type TVTAutoOption = int32
TVTAutoOption ENUM
Options which toggle automatic handling of certain situations:
const ( ToAutoDropExpand TVTAutoOption = iota // Expand node if it is the drop target for more than a certain time. ToAutoExpand // Nodes are expanded (collapsed) when getting (losing) the focus. ToAutoScroll // Scroll if mouse is near the border while dragging or selecting. ToAutoScrollOnExpand // Scroll as many child nodes in view as possible after expanding a node. ToAutoSort // Sort tree when Header.SortColumn or Header.SortDirection change or sort node if child nodes are added. ToAutoSpanColumns // Large entries continue into next column(s) if there's no text in them (no clipping). ToAutoTristateTracking // Checkstates are automatically propagated for tri state check boxes. ToAutoHideButtons // Node buttons are hidden when there are child nodes, but all are invisible. ToAutoDeleteMovedNodes // Delete nodes which where moved in a drag operation (if not directed otherwise). ToDisableAutoscrollOnFocus // Disable scrolling a node or column into view if it gets focused. ToAutoChangeScale // Change default node height automatically if the system's font scale is set to big fonts. ToAutoFreeOnCollapse // Frees any child node after a node has been collapsed (HasChildren flag stays there). ToDisableAutoscrollOnEdit // Do not center a node horizontally when it is edited. ToAutoBidiColumnOrdering // When set then columns (if any exist) will be reordered from lowest index to highest index and vice versa when the tree's bidi mode is changed. )
type TVTButtonFillMode ¶
type TVTButtonFillMode = int32
TVTButtonFillMode ENUM
is only used when the button style is bsRectangle and determines how to fill the interior.
const ( FmTreeColor TVTButtonFillMode = iota // solid color, uses the tree's background color FmWindowColor // solid color, uses clWindow FmShaded // color gradient, Windows XP style (legacy code, use toThemeAware on Windows XP instead) FmTransparent // transparent color, use the item's background color )
type TVTButtonStyle ¶
type TVTButtonStyle = int32
TVTButtonStyle ENUM
Determines the look of a tree's buttons.
const ( BsRectangle TVTButtonStyle = iota // traditional Windows look (plus/minus buttons) BsTriangle // traditional Macintosh look )
type TVTCellContentMarginType ¶
type TVTCellContentMarginType = int32
TVTCellContentMarginType ENUM
Determines which sides of the cell content margin should be considered.
const ( CcmtAllSides TVTCellContentMarginType = iota // consider all sides CcmtTopLeftOnly // consider top margin and left margin only CcmtBottomRightOnly // consider bottom margin and right margin only )
type TVTCellPaintMode ¶
type TVTCellPaintMode = int32
TVTCellPaintMode ENUM Determines for which purpose the cell paint event is called.
const ( CpmPaint TVTCellPaintMode = iota // painting the cell CpmGetContentMargin // getting cell content margin )
type TVTColumnOption ¶
type TVTColumnOption = int32
TVTColumnOption Options per column.
const ( CoAllowClick TVTColumnOption = iota // Column can be clicked (must be enabled too). CoDraggable // Column can be dragged. CoEnabled // Column is enabled. CoParentBidiMode // Column uses the parent's bidi mode. CoParentColor // Column uses the parent's background color. CoResizable // Column can be resized. CoShowDropMark // Column shows the drop mark if it is currently the drop target. CoVisible // Column is shown. CoAutoSpring // Column takes part in the auto spring feature of the header (must be resizable too). CoFixed // Column is fixed and can not be selected or scrolled etc. CoSmartResize // Column is resized to its largest entry which is in view (instead of its largest visible entry). CoAllowFocus // Column can be focused. CoDisableAnimatedResize // Column resizing is not animated. CoWrapCaption // Caption could be wrapped across several header lines to fit columns width. CoUseCaptionAlignment // Column's caption has its own aligment. CoEditable // Column can be edited )
type TVTDragImageKind ¶
type TVTDragImageKind = int32
TVTDragImageKind ENUM
determines whether and how the drag image is to show
const ( DiComplete TVTDragImageKind = iota // show a complete drag image with all columns, only visible columns are shown DiMainColumnOnly // show only the main column (the tree column) DiNoImage // don't show a drag image at all )
type TVTDragMoveRestriction ¶
type TVTDragMoveRestriction = int32
TVTDragMoveRestriction ENUM
Simple move limitation for the drag image.
const ( DmrNone TVTDragMoveRestriction = iota DmrHorizontalOnly DmrVerticalOnly )
type TVTDragType ¶
type TVTDragType = int32
TVTDragType ENUM
Switch for OLE and VCL drag'n drop. Because it is not possible to have both simultanously.
const ( DtOLE TVTDragType = iota DtVCL )
type TVTDrawSelectionMode ¶
type TVTDrawSelectionMode = int32
TVTDrawSelectionMode ENUM
Determines how to draw the selection rectangle used for draw selection.
const ( SmDottedRectangle TVTDrawSelectionMode = iota // same as DrawFocusRect SmBlendedRectangle // alpha blending, uses special colors (see TVTColors) )
type TVTDropMarkMode ¶
type TVTDropMarkMode = int32
TVTDropMarkMode ENUM
Used during owner draw of the header to indicate which drop mark for the column must be drawn.
const ( DmmNone TVTDropMarkMode = iota DmmLeft DmmRight )
type TVTExportMode ¶
type TVTExportMode = int32
TVTExportMode
Options to control data export
const ( EmAll TVTExportMode = iota // export all records (regardless checked state) EmChecked // export checked records only EmUnchecked // export unchecked records only EmVisibleDueToExpansion // Do not export nodes that are not visible because their parent is not expanded EmSelected // export selected nodes only )
type TVTExportType ¶
type TVTExportType = int32
TVTExportType Export type
const ( TvtEtRTF TVTExportType = iota // contentToRTF TvtEtHTML // contentToHTML TvtEtText // contentToText TvtEtExcel // supported by external tools TvtEtWord // supported by external tools TvtEtCustom // supported by external tools )
type TVTHeaderColumnLayout ¶
type TVTHeaderColumnLayout = int32
TVTHeaderColumnLayout ENUM
const ( GcBlGlyphLeft TVTHeaderColumnLayout = iota GcBlGlyphRight GcBlGlyphTop GcBlGlyphBottom )
type TVTHeaderHitPosition ¶
type TVTHeaderHitPosition = int32
TVTHeaderHitPosition ENUM These flags are used to indicate where a click in the header happened.
const ( HhiNoWhere TVTHeaderHitPosition = iota // No column is involved (possible only if the tree is smaller than the client area). HhiOnColumn // On a column. HhiOnIcon // On the bitmap associated with a column. HhiOnCheckbox // On the checkbox if enabled. )
type TVTHeaderHitPositions ¶
type TVTHeaderHitPositions = TSet
TVTHeaderHitPositions SET: TVTHeaderHitPosition
type TVTHeaderOption ¶
type TVTHeaderOption = int32
TVTHeaderOption ENUM
const ( HoAutoResize TVTHeaderOption = iota // Adjust a column so that the header never exceeds the client width of the owner control. HoColumnResize // Resizing columns with the mouse is allowed. HoDblClickResize // Allows a column to resize itself to its largest entry. HoDrag // Dragging columns is allowed. HoHotTrack // Header captions are highlighted when mouse is over a particular column. HoOwnerDraw // Header items with the owner draw style can be drawn by the application via event. HoRestrictDrag // Header can only be dragged horizontally. HoShowHint // Show application defined header hint. HoShowImages // Show header images. HoShowSortGlyphs // Allow visible sort glyphs. HoVisible // Header is visible. HoAutoSpring // Distribute size changes of the header to all columns, which are sizable and have the coAutoSpring option enabled. HoFullRepaintOnResize // Fully invalidate the header (instead of subsequent columns only) when a column is resized. HoDisableAnimatedResize // Disable animated resize for all columns. HoHeightResize // Allow resizing header height via mouse. HoHeightDblClickResize // Allow the header to resize itself to its default height. HoHeaderClickAutoSort // Clicks on the header will make the clicked column the SortColumn or toggle sort direction if it already was the sort column )
type TVTHeaderStyle ¶
type TVTHeaderStyle = int32
TVTHeaderStyle ENUM
const ( HsThickButtons TVTHeaderStyle = iota // TButton look and feel HsFlatButtons // flatter look than hsThickButton, like an always raised flat TToolButton HsPlates // flat TToolButton look and feel (raise on hover etc.) )
type TVTHintKind ¶
type TVTHintKind = int32
TVTHintKind ENUM
const ( VhkText TVTHintKind = iota VhkOwnerDraw )
type TVTHintMode ¶
type TVTHintMode = int32
TVTHintMode ENUM
const ( HmDefault TVTHintMode = iota // show the hint of the control HmHint // show node specific hint string returned by the application HmHintAndDefault // same as hmHint but show the control's hint if no node is concerned HmTooltip // show the text of the node if it isn't already fully shown )
type TVTImageInfoIndex ¶
type TVTImageInfoIndex = int32
TVTImageInfoIndex ENUM
const ( IiNormal TVTImageInfoIndex = iota IiState IiCheck IiOverlay )
type TVTImageKind ¶
type TVTImageKind = int32
TVTImageKind ENUM
const ( IkNormal TVTImageKind = iota IkSelected IkState )
type TVTIncrementalSearch ¶
type TVTIncrementalSearch = int32
TVTIncrementalSearch ENUM
const ( TvtIsNone TVTIncrementalSearch = iota // disable incremental search TvtIsAll // search every node in tree, initialize if necessary TvtIsInitializedOnly // search only initialized nodes, skip others TvtIsVisibleOnly // search only visible nodes, initialize if necessary )
type TVTInternalPaintOption ¶
type TVTInternalPaintOption = int32
TVTInternalPaintOption ENUM
options which determine what to draw in PaintTree
const ( PoBackground TVTInternalPaintOption = iota // draw background image if there is any and it is enabled PoColumnColor // erase node's background with the column's color PoDrawFocusRect // draw focus rectangle around the focused node PoDrawSelection // draw selected nodes with the normal selection color PoDrawDropMark // draw drop mark if a node is currently the drop target PoGridLines // draw grid lines if enabled PoMainOnly // draw only the main column PoSelectedOnly // draw only selected nodes PoUnbuffered // draw directly onto the target canvas; especially useful when printing )
type TVTInternalPaintOptions ¶
type TVTInternalPaintOptions = TSet
TVTInternalPaintOptions SET: TVTInternalPaintOption
type TVTLineMode ¶
type TVTLineMode = int32
TVTLineMode ENUM
Determines how to draw tree lines.
const ( LmNormal TVTLineMode = iota // usual tree lines (as in TTreeview) LmBands // looks similar to a Nassi-Schneidermann diagram )
type TVTLineStyle ¶
type TVTLineStyle = int32
TVTLineStyle ENUM
Determines the look of a tree's lines.
const ( LsCustomStyle TVTLineStyle = iota // application provides a line pattern LsDotted // usual dotted lines (default) LsSolid // simple solid lines )
type TVTMiscOption ¶
type TVTMiscOption = int32
TVTMiscOption ENUM Options which do not fit into any of the other groups:
const ( ToAcceptOLEDrop TVTMiscOption = iota // Register tree as OLE accepting drop target ToCheckSupport // Show checkboxes/radio buttons. ToEditable // Node captions can be edited. ToFullRepaintOnResize // Fully invalidate the tree when its window is resized (CS_HREDRAW/CS_VREDRAW). ToGridExtensions // Use some special enhancements to simulate and support grid behavior. ToInitOnSave // Initialize nodes when saving a tree to a stream. ToReportMode // Tree behaves like TListView in report mode. ToToggleOnDblClick // Toggle node expansion state when it is double clicked. ToWheelPanning // Support for mouse panning (wheel mice only). This option and toMiddleClickSelect are mutal exclusive, where panning has precedence. ToReadOnly // The tree does not allow to be modified in any way. No action is executed and node editing is not possible. ToVariableNodeHeight // When set then GetNodeHeight will trigger OnMeasureItem to allow variable node heights. ToFullRowDrag // Start node dragging by clicking anywhere in it instead only on the caption or image. Must be used together with toDisableDrawSelection. ToNodeHeightResize // Allows changing a node's height via mouse. ToNodeHeightDblClickResize // Allows to reset a node's height to FDefaultNodeHeight via a double click. ToEditOnClick // Editing mode can be entered with a single click ToEditOnDblClick // Editing mode can be entered with a double click ToReverseFullExpandHotKey // Used to define Ctrl+'+' instead of Ctrl+Shift+'+' for full expand (and similar for collapsing) )
type TVTNodeAlignment ¶
type TVTNodeAlignment = int32
TVTNodeAlignment ENUM
Determines how to use the align member of a node.
const ( NaFromBottom TVTNodeAlignment = iota // the align member specifies amount of units (usually pixels) from top border of the node NaFromTop // align is to be measured from bottom NaProportional // align is to be measure in percent of the entire node height and relative to top )
type TVTNodeAttachMode ¶
type TVTNodeAttachMode = int32
TVTNodeAttachMode ENUM
mode to describe a move action
const ( AmNoWhere TVTNodeAttachMode = iota // just for simplified tests, means to ignore the Add/Insert command AmInsertBefore // insert node just before destination (as sibling of destination) AmInsertAfter // insert node just after destionation (as sibling of destination) AmAddChildFirst // add node as first child of destination AmAddChildLast // add node as last child of destination )
type TVTOperationKind ¶
type TVTOperationKind = int32
TVTOperationKind ENUM Kinds of operations
const ( OkAutoFitColumns TVTOperationKind = iota OkGetMaxColumnWidth OkSortNode OkSortTree )
type TVTPaintOption ¶
type TVTPaintOption = int32
TVTPaintOption ENUM
There is a heap of switchable behavior in the tree. Since published properties may never exceed 4 bytes, which limits sets to at most 32 members, and because for better overview tree options are splitted in various sub-options and are held in a commom options class. Options to customize tree appearance:
const ( ToHideFocusRect TVTPaintOption = iota // Avoid drawing the dotted rectangle around the currently focused node. ToHideSelection // Selected nodes are drawn as unselected nodes if the tree is unfocused. ToHotTrack // Track which node is under the mouse cursor. ToPopupMode // Paint tree as would it always have the focus (useful for tree combo boxes etc.) ToShowBackground // Use the background image if there's one. ToShowButtons // Display collapse/expand buttons left to a node. ToShowDropmark // Show the dropmark during drag'n drop operations. ToShowHorzGridLines // Display horizontal lines to simulate a grid. ToShowRoot // Show lines also at top level (does not show the hidden/internal root node). ToShowTreeLines // Display tree lines to show hierarchy of nodes. ToShowVertGridLines // Display vertical lines (depending on columns) to simulate a grid. ToThemeAware // Draw UI elements (header, tree buttons etc.) according to the current theme if enabled (Windows XP+ only, application must be themed). ToUseBlendedImages // Enable alpha blending for ghosted nodes or those which are being cut/copied. ToGhostedIfUnfocused // Ghosted images are still shown as ghosted if unfocused (otherwise the become non-ghosted images). ToFullVertGridLines // Display vertical lines over the full client area, not only the space occupied by nodes. This option only has an effect if toShowVertGridLines is enabled too. ToAlwaysHideSelection // Do not draw node selection, regardless of focused state. ToUseBlendedSelection // Enable alpha blending for node selections. ToStaticBackground // Show simple static background instead of a tiled one. ToChildrenAbove // Display child nodes above their parent. ToFixedIndent // Draw the tree with a fixed indent. ToUseExplorerTheme // Use the explorer theme if run under Windows Vista (or above). ToHideTreeLinesIfThemed // Do not show tree lines if theming is used. ToShowFilteredNodes // Draw nodes even if they are filtered out. )
type TVTScrollBarStyle ¶
type TVTScrollBarStyle = int32
TVTScrollBarStyle ENUM
const ( SbmRegular TVTScrollBarStyle = iota Sbm3D )
type TVTSearchDirection ¶
type TVTSearchDirection = int32
TVTSearchDirection ENUM
Determines which direction to use when advancing nodes during an incremental search.
const ( SdForward TVTSearchDirection = iota SdBackward )
type TVTSearchStart ¶
type TVTSearchStart = int32
TVTSearchStart ENUM
Determines where to start incremental searching for each key press.
const ( SsAlwaysStartOver TVTSearchStart = iota // always use the first/last node (depending on direction) to search from SsLastHit // use the last found node SsFocusedNode // use the currently focused node )
type TVTSelectionOption ¶
type TVTSelectionOption = int32
TVTSelectionOption ENUM
Options which determine the tree's behavior when selecting nodes:
const ( ToDisableDrawSelection TVTSelectionOption = iota // Prevent user from selecting with the selection rectangle in multiselect mode. ToExtendedFocus // Entries other than in the main column can be selected, edited etc. ToFullRowSelect // Hit test as well as selection highlight are not constrained to the text of a node. ToLevelSelectConstraint // Constrain selection to the same level as the selection anchor. ToMiddleClickSelect // Allow selection, dragging etc. with the middle mouse button. This and toWheelPanning are mutual exclusive. ToMultiSelect // Allow more than one node to be selected. ToRightClickSelect // Allow selection, dragging etc. with the right mouse button. ToSiblingSelectConstraint // Constrain selection to nodes with same parent. ToCenterScrollIntoView // Center nodes vertically in the client area when scrolling into view. ToSimpleDrawSelection // Simplifies draw selection, so a node's caption does not need to intersect with the selection rectangle. ToAlwaysSelectNode // If this flag is set to true, the tree view tries to always have a node selected. This behavior is closer to the Windows TreeView and useful in Windows Explorer style applications. ToRestoreSelection // Set to true if upon refill the previously selected nodes should be selected again. The nodes will be identified by its caption only. )
type TVTSelectionOptions ¶
type TVTSelectionOptions = TSet
TVTSelectionOptions SET: TVTSelectionOption
type TVTStringOption ¶
type TVTStringOption = int32
TVTStringOption Options regarding strings (useful only for the string tree and descendants):
const ( ToSaveCaptions TVTStringOption = iota // If set then the caption is automatically saved with the tree node, regardless of what is saved in the user data. ToShowStaticText // Show static text in a caption which can be differently formatted than the caption but cannot be edited. ToAutoAcceptEditChange // Automatically accept changes during edit if the user finishes editing other then VK_RETURN or ESC. If not set then changes are cancelled. )
type TVTTooltipLineBreakStyle ¶
type TVTTooltipLineBreakStyle = int32
TVTTooltipLineBreakStyle ENUM
Indicates how to format a tooltip.
const ( HlbDefault TVTTooltipLineBreakStyle = iota // Use multi-line style of the node. HlbForceSingleLine // Use single line hint. HlbForceMultiLine // Use multi line hint. )
type TVTTransparency ¶
type TVTTransparency = uint8
TVTTransparency ENUM 0..255 Drag image support for the tree.
type TVTUpdateState ¶
type TVTUpdateState = int32
TVTUpdateState ENUM Indicates in the OnUpdating event what state the tree is currently in.
const ( UsBegin TVTUpdateState = iota // The tree just entered the update state (BeginUpdate call for the first time). UsBeginSynch // The tree just entered the synch update state (BeginSynch call for the first time). UsSynch // Begin/EndSynch has been called but the tree did not change the update state. UsUpdate // Begin/EndUpdate has been called but the tree did not change the update state. UsEnd // The tree just left the update state (EndUpdate called for the last level). UsEndSynch // The tree just left the synch update state (EndSynch called for the last level). )
type TVerticalAlignment ¶
type TVerticalAlignment = int32
TVerticalAlignment ENUM
const ( TaAlignTop TVerticalAlignment = iota TaAlignBottom TaVerticalCenter )
type TViewStyle ¶
type TViewStyle = int32
TViewStyle ENUM
const ( VsIcon TViewStyle = iota VsSmallIcon VsList VsReport )
type TVirtualNodeInitState ¶
type TVirtualNodeInitState = int32
TVirtualNodeInitState ENUM
States used in InitNode to indicate states a node shall initially have.
const ( IvsDisabled TVirtualNodeInitState = iota IvsExpanded IvsHasChildren IvsMultiline IvsSelected IvsFiltered IvsReInit )
type TVirtualNodeInitStates ¶
type TVirtualNodeInitStates = TSet
TVirtualNodeInitStates SET: TVirtualNodeInitState
type TVirtualNodeState ¶
type TVirtualNodeState = int32
TVirtualNodeState ENUM Be careful when adding new states as this might change the size of the type which in turn changes the alignment in the node record as well as the stream chunks. Do not reorder the states and always add new states at the end of this enumeration in order to avoid breaking existing code.
const ( VsInitialized TVirtualNodeState = iota // Set after the node has been initialized. VsChecking // Node's check state is changing, avoid propagation. VsCutOrCopy // Node is selected as cut or copy and paste source. VsDisabled // Set if node is disabled. VsDeleting // Set when the node is about to be freed. VsExpanded // Set if the node is expanded. VsHasChildren // Indicates the presence of child nodes without actually setting them. VsVisible // Indicate whether the node is visible or not (independant of the expand states of its parents). VsSelected // Set if the node is in the current selection. VsOnFreeNodeCallRequired // Set if user data has been set which requires OnFreeNode. VsAllChildrenHidden // Set if vsHasChildren is set and no child node has the vsVisible flag set. VsClearing // A node's children are being deleted. Don't register structure change event. VsMultiline // Node text is wrapped at the cell boundaries instead of being shorted. VsHeightMeasured // Node height has been determined and does not need a recalculation. VsToggling // Set when a node is expanded/collapsed to prevent recursive calls. VsFiltered // Indicates that the node should not be painted (without effecting its children). )
type TVirtualTreeColumnStyle ¶
type TVirtualTreeColumnStyle = int32
TVirtualTreeColumnStyle ENUM
const ( VsText TVirtualTreeColumnStyle = iota VsOwnerDraw )
type TVirtualTreeState ¶
type TVirtualTreeState = int32
TVirtualTreeState ENUM
Various events must be handled at different places than they were initiated or need a persistent storage until they are reset.
const ( TsCancelHintAnimation TVirtualTreeState = iota // Set when a new hint is about to show but an old hint is still being animated. TsChangePending // A selection change is pending. TsCheckPropagation // Set during automatic check state propagation. TsCollapsing // A full collapse operation is in progress. TsToggleFocusedSelection // Node selection was modifed using Ctrl-click. Change selection state on next mouse up. TsClearPending // Need to clear the current selection on next mouse move. TsClipboardFlushing // Set during flushing the clipboard to avoid freeing the content. TsCopyPending // Indicates a pending copy operation which needs to be finished. TsCutPending // Indicates a pending cut operation which needs to be finished. TsDrawSelPending // Multiselection only. User held down the left mouse button on a free // area and might want to start draw selection. TsDrawSelecting // Multiselection only. Draw selection has actually started. TsEditing // Indicates that an edit operation is currently in progress. TsEditPending // An mouse up start edit if dragging has not started. TsExpanding // A full expand operation is in progress. TsNodeHeightTracking // A node height changing operation is in progress. TsNodeHeightTrackPending // left button is down, user might want to start changing a node's height. TsHint // Set when our hint is visible or soon will be. TsInAnimation // Set if the tree is currently in an animation loop. TsIncrementalSearching // Set when the user starts incremental search. TsIncrementalSearchPending // Set in WM_KEYDOWN to tell to use the char in WM_CHAR for incremental search. TsIterating // Set when IterateSubtree is currently in progress. TsKeyCheckPending // A check operation is under way, initiated by a key press (space key). Ignore mouse. TsLeftButtonDown // Set when the left mouse button is down. TsLeftDblClick // Set when the left mouse button was doubly clicked. TsMouseCheckPending // A check operation is under way, initiated by a mouse click. Ignore space key. TsMiddleButtonDown // Set when the middle mouse button is down. TsMiddleDblClick // Set when the middle mouse button was doubly clicked. TsNeedRootCountUpdate // Set if while loading a root node count is set. TsOLEDragging // OLE dragging in progress. TsOLEDragPending // User has requested to start delayed dragging. TsPainting // The tree is currently painting itself. TsRightButtonDown // Set when the right mouse button is down. TsRightDblClick // Set when the right mouse button was doubly clicked. TsPopupMenuShown // The user clicked the right mouse button, which might cause a popup menu to appear. TsScrolling // Set when autoscrolling is active. TsScrollPending // Set when waiting for the scroll delay time to elapse. TsSizing // Set when the tree window is being resized. This is used to prevent recursive calls // due to setting the scrollbars when sizing. TsStopValidation // Cache validation can be stopped (usually because a change has occurred meanwhile). TsStructureChangePending // The structure of the tree has been changed while the update was locked. TsSynchMode // Set when the tree is in synch mode, where no timer events are triggered. TsThumbTracking // Stop updating the horizontal scroll bar while dragging the vertical thumb and vice versa. TsToggling // A toggle operation (for some node) is in progress. TsUpdateHiddenChildrenNeeded // Pending update for the hidden children flag after massive visibility changes. TsUpdating // The tree does currently not update its window because a BeginUpdate has not yet ended. TsUseCache // The tree's node caches are validated and non-empty. TsUserDragObject // Signals that the application created an own drag object in OnStartDrag. TsUseThemes // The tree runs under WinXP+, is theme aware and themes are enabled. TsValidating // The tree's node caches are currently validated. TsPreviouslySelectedLocked // The member FPreviouslySelected should not be changed TsValidationNeeded // Something in the structure of the tree has changed. The cache needs validation. TsVCLDragging // VCL drag'n drop in progress. TsVCLDragPending // One-shot flag to avoid clearing the current selection on implicit mouse up for VCL drag. TsVCLDragFinished // Flag to avoid triggering the OnColumnClick event twice TsWheelPanning // Wheel mouse panning is active or soon will be. TsWheelScrolling // Wheel mouse scrolling is active or soon will be. TsWindowCreating // Set during window handle creation to avoid frequent unnecessary updates. TsUseExplorerTheme // The tree runs under WinVista+ and is using the explorer theme )
type TVirtualTreeStates ¶
type TVirtualTreeStates = TSet
TVirtualTreeStates SET: TVirtualTreeState
Various events must be handled at different places than they were initiated or need a persistent storage until they are reset.
type TVleSortCol ¶
type TVleSortCol = int32
TVleSortCol ENUM
const ( ColKey TVleSortCol = iota ColValue )
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
type TWVWindowFeatures ¶
type TWVWindowFeatures struct {
HasPosition bool
HasSize bool
Left uint32
Top uint32
Width uint32
Height uint32
ShouldDisplayMenuBar bool
ShouldDisplayStatus bool
ShouldDisplayToolbar bool
ShouldDisplayScrollBars bool
}
TWVWindowFeatures Record used by TCoreWebView2WindowFeatures.CopyToRecord to copy the windows featres
type TWinControlClass ¶
type TWinControlClass = uintptr
type TWindowState ¶
type TWindowState = int32
TWindowState ENUM
const ( WsNormal TWindowState = iota WsMinimized WsMaximized WsFullScreen )
type TWndClass ¶
type TWndClass struct {
Style uint32
LpfnWndProc uintptr
CbClsExtra int32
CbWndExtra int32
HInstance uintptr
HIcon HICON
HCursor HCURSOR
HbrBackground HBRUSH
LpszMenuName LPCWSTR
LpszClassName LPCWSTR
}
TWndClass
type TWrapAfter ¶
type TWrapAfter = int32
TWrapAfter ENUM
const ( WaAuto TWrapAfter = iota // auto WaForce // always wrap after this control WaAvoid // try not to wrap after this control, if the control is already at the beginning of the row, wrap though WaForbid // never wrap after this control )
type TagBitmapInfo ¶
type TagBitmapInfo struct {
BmiHeader TagBitmapInfoHeader
BmiColors []TagRGBQuad
}
type TagBitmapInfoHeader ¶
type TagEnumLogFontA ¶
type TagEnumLogFontAPtr ¶
type TagEnumLogFontExA ¶
type TagEnumLogFontExAPtr ¶
type TagLogBrush ¶
type TagLogPalette ¶
type TagLogPalette struct {
// contains filtered or unexported fields
}
type TagMonitorInfo ¶
type TagPaintStruct ¶
type TagPaletteEntry ¶
type TagRGBQuad ¶
type TagScrollInfo ¶
type TagTextMetricA ¶
type TagTextMetricA struct {
TmHeight LongInt
TmAscent LongInt
TmDescent LongInt
TmInternalLeading LongInt
TmExternalLeading LongInt
TmAveCharWidth LongInt
TmMaxCharWidth LongInt
TmWeight LongInt
TmOverhang LongInt
TmDigitizedAspectX LongInt
TmDigitizedAspectY LongInt
TmFirstChar AnsiChar
TmLastChar AnsiChar
TmDefaultChar AnsiChar
TmBreakChar AnsiChar
TmItalic byte
TmUnderlined byte
TmStruckOut byte
TmPitchAndFamily byte
TmCharSet byte
}
type TagTriVertex ¶
type UIntptr ¶
type UIntptr uintptr