vcl

package
v0.0.0-...-f46019e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

README


  • api
    vcl或者lcl库的函数导入等。

  • i18n
    App多语言设置。

  • rtl
    一些非组件类的。

  • types
    所有的类型定义。

  • win
    Windows下的一个winapi接口、常量等等。

  • bitmap
    将Go的Image转为VCL/LCL图像对象。

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Application *TApplication // 应用程序管理
	Screen      *TScreen      // 屏幕
	Mouse       *TMouse       // 鼠标
	Clipboard   *TClipboard   // 剪切板
	Printer     *TPrinter     // 打印机
)
View Source
var (

	// If DEBUG=true, recover() will not be blocked.
	DEBUG = false
)

Functions

func CheckPtr

func CheckPtr(value interface{}) uintptr

检测接口是否被实例化,如果已经实例化则返回实例指针。

Checks if the interface is instantiated, and returns an instance pointer if it has been instantiated.

func CreateResForm

func CreateResForm(owner IComponent, fields ...interface{})

从资源中创建Form,不使用Application.CreateForm

func CreateResFrame

func CreateResFrame(owner IComponent, fields ...interface{})

从资源中创建TFrame。

Create TFrame from resources.

func EqualsObject

func EqualsObject(obj1, obj2 IObject) bool

比较两个对象

func ExceptionClass

func ExceptionClass() TClass

获取类信息指针。

Get class information pointer.

func InputBox

func InputBox(aCaption, aPrompt, aDefault string) string

输入框。

Input box.

func InputCombo

func InputCombo(aCaption, aPrompt string, aList []string) int32

func InputCombo2

func InputCombo2(aCaption, aPrompt string, aList IStrings) int32

func InputComboEx

func InputComboEx(aCaption, aPrompt string, aList []string, allowCustomText bool) string

func InputComboEx2

func InputComboEx2(aCaption, aPrompt string, aList IStrings, allowCustomText bool) string

func InputQuery

func InputQuery(aCaption, aPrompt string, value *string) bool

输入框。

Input box.

func LclLoaded

func LclLoaded() bool

当前是否使用LCL库。

Whether it is currently an LCL library. Deprecated

func MessageDlg

func MessageDlg(Msg string, DlgType TMsgDlgType, Buttons ...uint8) int32

消息框,Buttons为按钮样式,详见types.TMsgDlgButtons。

Message box, Buttons is the button style. For details, see types.TMsgDlgButtons.

func PasswordBox

func PasswordBox(aCaption, aPrompt string) string

func RegisterClipboardFormat

func RegisterClipboardFormat(aFormat string) types.TClipboardFormat

func RegisterExtEventCallback

func RegisterExtEventCallback(callback TExtEventCallback)

注册外部扩展回调事件

Registering external extension callback events.

func RegisterFormResource

func RegisterFormResource(aClass interface{}, data *[]byte) error

注册一个Form的资源 此种方式用于不指定Form资源,直接通过类名查找方式

func RunApp

func RunApp(values ...interface{})

简化运行。

simplify running.

func SelectDirectory1

func SelectDirectory1(options TSelectDirOpts) (bool, string)

选择目录。

Select directory.

func SelectDirectory2

func SelectDirectory2(caption, root string, showHidden bool) (bool, string)

选择目录,一般options默认是SdNewUI,parent默认为nil。

Select directory.

func ShowMessage

func ShowMessage(msg string)

显示一个消息框。

Show a message box.

func ShowMessageFmt

func ShowMessageFmt(format string, args ...interface{})

显示一个格式化文本的消息框。

Show a message box with formatted text.

func TActionClass

func TActionClass() TClass

获取类信息指针。

Get class information pointer.

func TActionListClass

func TActionListClass() TClass

获取类信息指针。

Get class information pointer.

func TAnchorSideClass

func TAnchorSideClass() TClass

获取类信息指针。

Get class information pointer.

func TApplicationClass

func TApplicationClass() TClass

获取类信息指针。

Get class information pointer.

func TBevelClass

func TBevelClass() TClass

获取类信息指针。

Get class information pointer.

func TBitBtnClass

func TBitBtnClass() TClass

获取类信息指针。

Get class information pointer.

func TBitmapClass

func TBitmapClass() TClass

获取类信息指针。

Get class information pointer.

func TBoundLabelClass

func TBoundLabelClass() TClass

获取类信息指针。

Get class information pointer.

func TBrushClass

func TBrushClass() TClass

获取类信息指针。

Get class information pointer.

func TButtonClass

func TButtonClass() TClass

获取类信息指针。

Get class information pointer.

func TCanvasClass

func TCanvasClass() TClass

获取类信息指针。

Get class information pointer.

func TCheckBoxClass

func TCheckBoxClass() TClass

获取类信息指针。

Get class information pointer.

func TCheckComboBoxClass

func TCheckComboBoxClass() TClass

获取类信息指针。

Get class information pointer.

func TCheckGroupClass

func TCheckGroupClass() TClass

获取类信息指针。

Get class information pointer.

func TCheckListBoxClass

func TCheckListBoxClass() TClass

获取类信息指针。

Get class information pointer.

func TClipboardClass

func TClipboardClass() TClass

获取类信息指针。

Get class information pointer.

func TCollectionClass

func TCollectionClass() TClass

获取类信息指针。

Get class information pointer.

func TCollectionItemClass

func TCollectionItemClass() TClass

获取类信息指针。

Get class information pointer.

func TColorBoxClass

func TColorBoxClass() TClass

获取类信息指针。

Get class information pointer.

func TColorButtonClass

func TColorButtonClass() TClass

获取类信息指针。

Get class information pointer.

func TColorDialogClass

func TColorDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TColorListBoxClass

func TColorListBoxClass() TClass

获取类信息指针。

Get class information pointer.

func TComboBoxClass

func TComboBoxClass() TClass

获取类信息指针。

Get class information pointer.

func TComboBoxExClass

func TComboBoxExClass() TClass

获取类信息指针。

Get class information pointer.

func TComboExItemClass

func TComboExItemClass() TClass

获取类信息指针。

Get class information pointer.

func TComboExItemsClass

func TComboExItemsClass() TClass

获取类信息指针。

Get class information pointer.

func TComponentClass

func TComponentClass() TClass

获取类信息指针。

Get class information pointer.

func TControlBorderSpacingClass

func TControlBorderSpacingClass() TClass

获取类信息指针。

Get class information pointer.

func TControlChildSizingClass

func TControlChildSizingClass() TClass

获取类信息指针。

Get class information pointer.

func TControlClass

func TControlClass() TClass

获取类信息指针。

Get class information pointer.

func TControlScrollBarClass

func TControlScrollBarClass() TClass

获取类信息指针。

Get class information pointer.

func TCoolBandClass

func TCoolBandClass() TClass

获取类信息指针。

Get class information pointer.

func TCoolBandsClass

func TCoolBandsClass() TClass

获取类信息指针。

Get class information pointer.

func TCoolBarClass

func TCoolBarClass() TClass

获取类信息指针。

Get class information pointer.

func TDateTimePickerClass

func TDateTimePickerClass() TClass

获取类信息指针。

Get class information pointer.

func TDirectoryEditClass

func TDirectoryEditClass() TClass

获取类信息指针。

Get class information pointer.

func TDragDockObjectClass

func TDragDockObjectClass() TClass

获取类信息指针。

Get class information pointer.

func TDragObjectClass

func TDragObjectClass() TClass

获取类信息指针。

Get class information pointer.

func TDrawGridClass

func TDrawGridClass() TClass

获取类信息指针。

Get class information pointer.

func TEditClass

func TEditClass() TClass

获取类信息指针。

Get class information pointer.

func TFindDialogClass

func TFindDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TFloatSpinEditClass

func TFloatSpinEditClass() TClass

获取类信息指针。

Get class information pointer.

func TFlowPanelClass

func TFlowPanelClass() TClass

获取类信息指针。

Get class information pointer.

func TFontClass

func TFontClass() TClass

获取类信息指针。

Get class information pointer.

func TFontDialogClass

func TFontDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TFormClass

func TFormClass() TClass

获取类信息指针。

Get class information pointer.

func TFrameClass

func TFrameClass() TClass

获取类信息指针。

Get class information pointer.

func TGIFImageClass

func TGIFImageClass() TClass

获取类信息指针。

Get class information pointer.

func TGaugeClass

func TGaugeClass() TClass

获取类信息指针。

Get class information pointer.

func TGraphicClass

func TGraphicClass() TClass

获取类信息指针。

Get class information pointer.

func TGridColumnClass

func TGridColumnClass() TClass

获取类信息指针。

Get class information pointer.

func TGridColumnTitleClass

func TGridColumnTitleClass() TClass

获取类信息指针。

Get class information pointer.

func TGridColumnsClass

func TGridColumnsClass() TClass

获取类信息指针。

Get class information pointer.

func TGroupBoxClass

func TGroupBoxClass() TClass

获取类信息指针。

Get class information pointer.

func THeaderControlClass

func THeaderControlClass() TClass

获取类信息指针。

Get class information pointer.

func THeaderSectionClass

func THeaderSectionClass() TClass

获取类信息指针。

Get class information pointer.

func THeaderSectionsClass

func THeaderSectionsClass() TClass

获取类信息指针。

Get class information pointer.

func TIconClass

func TIconClass() TClass

获取类信息指针。

Get class information pointer.

func TIconOptionsClass

func TIconOptionsClass() TClass

获取类信息指针。

Get class information pointer.

func TImageButtonClass

func TImageButtonClass() TClass

获取类信息指针。

Get class information pointer.

func TImageClass

func TImageClass() TClass

获取类信息指针。

Get class information pointer.

func TImageListClass

func TImageListClass() TClass

获取类信息指针。

Get class information pointer.

func TIniFileClass

func TIniFileClass() TClass

获取类信息指针。

Get class information pointer.

func TJPEGImageClass

func TJPEGImageClass() TClass

获取类信息指针。

Get class information pointer.

func TLabelClass

func TLabelClass() TClass

获取类信息指针。

Get class information pointer.

func TLabeledEditClass

func TLabeledEditClass() TClass

获取类信息指针。

Get class information pointer.

func TLinkLabelClass

func TLinkLabelClass() TClass

获取类信息指针。

Get class information pointer.

func TListBoxClass

func TListBoxClass() TClass

获取类信息指针。

Get class information pointer.

func TListClass

func TListClass() TClass

获取类信息指针。

Get class information pointer.

func TListColumnClass

func TListColumnClass() TClass

获取类信息指针。

Get class information pointer.

func TListColumnsClass

func TListColumnsClass() TClass

获取类信息指针。

Get class information pointer.

func TListItemClass

func TListItemClass() TClass

获取类信息指针。

Get class information pointer.

func TListItemsClass

func TListItemsClass() TClass

获取类信息指针。

Get class information pointer.

func TListViewClass

func TListViewClass() TClass

获取类信息指针。

Get class information pointer.

func TMainMenuClass

func TMainMenuClass() TClass

获取类信息指针。

Get class information pointer.

func TMaskEditClass

func TMaskEditClass() TClass

获取类信息指针。

Get class information pointer.

func TMemoClass

func TMemoClass() TClass

获取类信息指针。

Get class information pointer.

func TMemoryStreamClass

func TMemoryStreamClass() TClass

获取类信息指针。

Get class information pointer.

func TMenuItemClass

func TMenuItemClass() TClass

获取类信息指针。

Get class information pointer.

func TMiniWebviewClass

func TMiniWebviewClass() TClass

获取类信息指针。

Get class information pointer.

func TMonitorClass

func TMonitorClass() TClass

获取类信息指针。

Get class information pointer.

func TMonthCalendarClass

func TMonthCalendarClass() TClass

获取类信息指针。

Get class information pointer.

func TMouseClass

func TMouseClass() TClass

获取类信息指针。

Get class information pointer.

func TObjectClass

func TObjectClass() TClass

获取类信息指针。

Get class information pointer.

func TOpenDialogClass

func TOpenDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TOpenPictureDialogClass

func TOpenPictureDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TPageControlClass

func TPageControlClass() TClass

获取类信息指针。

Get class information pointer.

func TPageSetupDialogClass

func TPageSetupDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TPaintBoxClass

func TPaintBoxClass() TClass

获取类信息指针。

Get class information pointer.

func TPanelClass

func TPanelClass() TClass

获取类信息指针。

Get class information pointer.

func TParaAttributesClass

func TParaAttributesClass() TClass

获取类信息指针。

Get class information pointer.

func TPenClass

func TPenClass() TClass

获取类信息指针。

Get class information pointer.

func TPictureClass

func TPictureClass() TClass

获取类信息指针。

Get class information pointer.

func TPngImageClass

func TPngImageClass() TClass

获取类信息指针。

Get class information pointer.

func TPopupMenuClass

func TPopupMenuClass() TClass

获取类信息指针。

Get class information pointer.

func TPrintDialogClass

func TPrintDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TPrinterClass

func TPrinterClass() TClass

获取类信息指针。

Get class information pointer.

func TPrinterSetupDialogClass

func TPrinterSetupDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TProgressBarClass

func TProgressBarClass() TClass

获取类信息指针。

Get class information pointer.

func TRadioButtonClass

func TRadioButtonClass() TClass

获取类信息指针。

Get class information pointer.

func TRadioGroupClass

func TRadioGroupClass() TClass

获取类信息指针。

Get class information pointer.

func TRegistryClass

func TRegistryClass() TClass

获取类信息指针。

Get class information pointer.

func TReplaceDialogClass

func TReplaceDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TRichEditClass

func TRichEditClass() TClass

获取类信息指针。

Get class information pointer.

func TSaveDialogClass

func TSaveDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TSavePictureDialogClass

func TSavePictureDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TScreenClass

func TScreenClass() TClass

获取类信息指针。

Get class information pointer.

func TScrollBarClass

func TScrollBarClass() TClass

获取类信息指针。

Get class information pointer.

func TScrollBoxClass

func TScrollBoxClass() TClass

获取类信息指针。

Get class information pointer.

func TSelectDirectoryDialogClass

func TSelectDirectoryDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TShapeClass

func TShapeClass() TClass

获取类信息指针。

Get class information pointer.

func TSizeConstraintsClass

func TSizeConstraintsClass() TClass

获取类信息指针。

Get class information pointer.

func TSpeedButtonClass

func TSpeedButtonClass() TClass

获取类信息指针。

Get class information pointer.

func TSpinEditClass

func TSpinEditClass() TClass

获取类信息指针。

Get class information pointer.

func TSplitterClass

func TSplitterClass() TClass

获取类信息指针。

Get class information pointer.

func TStaticTextClass

func TStaticTextClass() TClass

获取类信息指针。

Get class information pointer.

func TStatusBarClass

func TStatusBarClass() TClass

获取类信息指针。

Get class information pointer.

func TStatusPanelClass

func TStatusPanelClass() TClass

获取类信息指针。

Get class information pointer.

func TStatusPanelsClass

func TStatusPanelsClass() TClass

获取类信息指针。

Get class information pointer.

func TStringGridClass

func TStringGridClass() TClass

获取类信息指针。

Get class information pointer.

func TStringListClass

func TStringListClass() TClass

获取类信息指针。

Get class information pointer.

func TStringsClass

func TStringsClass() TClass

获取类信息指针。

Get class information pointer.

func TTabSheetClass

func TTabSheetClass() TClass

获取类信息指针。

Get class information pointer.

func TTaskDialogBaseButtonItemClass

func TTaskDialogBaseButtonItemClass() TClass

获取类信息指针。

Get class information pointer.

func TTaskDialogButtonItemClass

func TTaskDialogButtonItemClass() TClass

获取类信息指针。

Get class information pointer.

func TTaskDialogButtonsClass

func TTaskDialogButtonsClass() TClass

获取类信息指针。

Get class information pointer.

func TTaskDialogClass

func TTaskDialogClass() TClass

获取类信息指针。

Get class information pointer.

func TTaskDialogRadioButtonItemClass

func TTaskDialogRadioButtonItemClass() TClass

获取类信息指针。

Get class information pointer.

func TTextAttributesClass

func TTextAttributesClass() TClass

获取类信息指针。

Get class information pointer.

func TTimerClass

func TTimerClass() TClass

获取类信息指针。

Get class information pointer.

func TToggleBoxClass

func TToggleBoxClass() TClass

获取类信息指针。

Get class information pointer.

func TToolBarClass

func TToolBarClass() TClass

获取类信息指针。

Get class information pointer.

func TToolButtonClass

func TToolButtonClass() TClass

获取类信息指针。

Get class information pointer.

func TTrackBarClass

func TTrackBarClass() TClass

获取类信息指针。

Get class information pointer.

func TTrayIconClass

func TTrayIconClass() TClass

获取类信息指针。

Get class information pointer.

func TTreeNodeClass

func TTreeNodeClass() TClass

获取类信息指针。

Get class information pointer.

func TTreeNodesClass

func TTreeNodesClass() TClass

获取类信息指针。

Get class information pointer.

func TTreeViewClass

func TTreeViewClass() TClass

获取类信息指针。

Get class information pointer.

func TUpDownClass

func TUpDownClass() TClass

获取类信息指针。

Get class information pointer.

func TValueListEditorClass

func TValueListEditorClass() TClass

获取类信息指针。

Get class information pointer.

func TWinControlClass

func TWinControlClass() TClass

获取类信息指针。

Get class information pointer.

func TXButtonClass

func TXButtonClass() TClass

获取类信息指针。

Get class information pointer.

func ThreadSync

func ThreadSync(fn TThreadProc)

主线程中执行。

Executed in the main thread.

Types

type Exception

type Exception struct {
	IObject
	// contains filtered or unexported fields
}

func AsException

func AsException(obj interface{}) *Exception

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ExceptionFromInst

func ExceptionFromInst(inst uintptr) *Exception

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsException.

func ExceptionFromObj

func ExceptionFromObj(obj IObject) *Exception

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsException.

func ExceptionFromUnsafePointer

func ExceptionFromUnsafePointer(ptr unsafe.Pointer) *Exception

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsException.

func (*Exception) ClassName

func (e *Exception) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*Exception) ClassType

func (e *Exception) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*Exception) Equals

func (e *Exception) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*Exception) GetHashCode

func (e *Exception) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*Exception) InheritsFrom

func (e *Exception) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*Exception) Instance

func (e *Exception) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*Exception) InstanceSize

func (e *Exception) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*Exception) Is

func (e *Exception) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*Exception) IsValid

func (e *Exception) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*Exception) Message

func (e *Exception) Message() string

获取异常消息。

func (*Exception) SetMessage

func (e *Exception) SetMessage(value string)

设置异常消息。

func (*Exception) ToString

func (e *Exception) ToString() string

文本类信息。

Text information.

func (*Exception) UnsafeAddr

func (e *Exception) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type GdkWindow

type GdkWindow uintptr

func (GdkWindow) XID

func (g GdkWindow) XID() (xid XID)

type GtkFixed

type GtkFixed uintptr

type GtkWidget

type GtkWidget uintptr

func HandleToPlatformHandle

func HandleToPlatformHandle(h types.HWND) GtkWidget

PGtkWidget

func (GtkWidget) FixedWidget

func (g GtkWidget) FixedWidget() GtkFixed

lz中首先是一个widget,然后上面用了一个fixedWidget来处理的。

func (GtkWidget) Window

func (g GtkWidget) Window() GdkWindow

type IComponent

type IComponent interface {
	IObject

	FindComponent(string) *TComponent
	GetNamePath() string
	HasParent() bool
	Assign(IObject)

	ComponentCount() int32
	ComponentIndex() int32
	SetComponentIndex(int32)
	Components(int32) *TComponent

	Owner() *TComponent

	Name() string
	SetName(string)

	Tag() int
	SetTag(int)
}

type IControl

type IControl interface {
	IComponent

	Perform(uint32, uintptr, int) int
	SendToBack()
	Show()
	Hide()
	Refresh()
	Repaint()
	Invalidate()
	Realign()

	Align() TAlign
	SetAlign(TAlign)

	Visible() bool
	SetVisible(bool)

	Enabled() bool
	SetEnabled(bool)

	Left() int32
	SetLeft(int32)

	Top() int32
	SetTop(int32)

	Width() int32
	SetWidth(int32)

	Height() int32
	SetHeight(int32)

	Hint() string
	SetHint(string)

	ShowHint() bool
	SetShowHint(bool)

	Parent() *TWinControl
	SetParent(IWinControl)

	SetBounds(int32, int32, int32, int32)

	Caption() string
	SetCaption(string)

	Cursor() TCursor
	SetCursor(TCursor)

	Action() *TAction
	SetAction(IComponent)

	Anchors() TAnchors
	SetAnchors(TAnchors)

	BoundsRect() TRect
	SetBoundsRect(TRect)

	ClientHeight() int32
	SetClientHeight(int32)

	ClientWidth() int32
	SetClientWidth(int32)

	ClientOrigin() TPoint
	ClientRect() TRect

	SetTextBuf(string)

	PopupMenu() *TPopupMenu
	SetPopupMenu(IComponent)

	Font() *TFont
	SetFont(*TFont)

	AnchorToNeighbour(TAnchorKind, int32, IControl)
	AnchorParallel(TAnchorKind, int32, IControl)
	AnchorHorizontalCenterTo(IControl)
	AnchorVerticalCenterTo(IControl)
	AnchorSame(TAnchorKind, IControl)
	AnchorAsAlign(TAlign, int32)
	AnchorClient(int32)

	AnchorSide(TAnchorKind) *TAnchorSide
	AnchorSideLeft() *TAnchorSide
	AnchorSideTop() *TAnchorSide
	AnchorSideRight() *TAnchorSide
	AnchorSideBottom() *TAnchorSide

	BorderSpacing() *TControlBorderSpacing

	Floating() bool
	SetFloating(bool)

	Color() TColor
	SetColor(TColor)

	ControlStyle() TControlStyle
	SetControlStyle(TControlStyle)

	ControlState() TControlState
	SetControlState(TControlState)

	ScreenToClient(Point TPoint) TPoint
	ParentToClient(Point TPoint, AParent IWinControl) TPoint
}

type IGraphic

type IGraphic interface {
	IObject
	LoadFromFile(string)
	SaveToFile(string)
	LoadFromStream(IStream)
	SaveToStream(IStream)
	Assign(IObject)
	Empty() bool
	Height() int32
	SetHeight(value int32)
	Modified() bool
	SetModified(value bool)
	Transparent() bool
	SetTransparent(value bool)
	Width() int32
	SetWidth(value int32)
}

type IObject

type IObject interface {
	Instance() uintptr
	IsValid() bool
	UnsafeAddr() unsafe.Pointer

	ClassName() string
	Free()
	GetHashCode() int32
	Equals(IObject) bool
	//DisposeOf()
	ClassType() types.TClass
	InstanceSize() int32
	InheritsFrom(types.TClass) bool

	Is() TIs
	As() TAs

	ToString() string
}

IObject 共公的对象接口

type IStream

type IStream interface {
	IObject
	Size() int64
	SetSize(value int64)
	Position() int64
	SetPosition(int64)
	Read(count int32) (int32, []byte)
	Write(buffer []byte) int32
	Seek(Offset int64, Origin TSeekOrigin) int64
	CopyFrom(Source IStream, Count int64) int64
}

type IStrings

type IStrings interface {
	IObject
	// 先只简单实现几个吧
	Count() int32
	S(int32) string
	Objects(int32) *TObject
}

type IWinControl

type IWinControl interface {
	IControl
	Handle() HWND
	SetHandle(HWND)

	TabStop() bool
	SetTabStop(bool)

	TabOrder() TTabOrder
	SetTabOrder(TTabOrder)

	Showing() bool

	ParentWindow() HWND
	SetParentWindow(HWND)

	ParentDoubleBuffered() bool
	SetParentDoubleBuffered(bool)

	ControlCount() int32
	Controls(index int32) *TControl

	Brush() *TBrush

	SetFocus()
	Update()

	CanFocus() bool
	ContainsControl(IControl) bool
	DisableAlign()
	DockClientCount() int32
	DockClients(int32) *TControl

	DoubleBuffered() bool
	SetDoubleBuffered(bool)

	EnableAlign()

	FindChildControl(string) *TControl
	FlipChildren(bool)

	Focused() bool

	InsertControl(IControl)
	RemoveControl(IControl)

	ScaleBy(M int32, D int32)
	ScrollBy(DeltaX int32, DeltaY int32)

	MouseInClient() bool
	AlignDisabled() bool

	UpdateControlState()

	HandleAllocated() bool
	PaintTo(DC HDC, X int32, Y int32)

	ClientToScreen(Point TPoint) TPoint
	ClientToParent(Point TPoint, AParent IWinControl) TPoint

	UseDockManager() bool
	SetUseDockManager(value bool)
}

type TAcceptFileNameEvent

type TAcceptFileNameEvent = func(sender IObject, value *string)

procedure (Sender : TObject; Var Value : String) of Object;

type TAction

type TAction struct {
	IComponent
	// contains filtered or unexported fields
}

func ActionFromInst

func ActionFromInst(inst uintptr) *TAction

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsAction.

func ActionFromObj

func ActionFromObj(obj IObject) *TAction

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsAction.

func ActionFromUnsafePointer

func ActionFromUnsafePointer(ptr unsafe.Pointer) *TAction

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsAction.

func AsAction

func AsAction(obj interface{}) *TAction

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewAction

func NewAction(owner IComponent) *TAction

创建一个新的对象。

Create a new object.

func (*TAction) Assign

func (a *TAction) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TAction) AutoCheck

func (a *TAction) AutoCheck() bool

func (*TAction) Caption

func (a *TAction) Caption() string

获取控件标题。

Get the control title.

func (*TAction) Checked

func (a *TAction) Checked() bool

获取是否选中。

func (*TAction) ClassName

func (a *TAction) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TAction) ClassType

func (a *TAction) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TAction) ComponentCount

func (a *TAction) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TAction) ComponentIndex

func (a *TAction) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TAction) Components

func (a *TAction) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TAction) Enabled

func (a *TAction) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TAction) Equals

func (a *TAction) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TAction) Execute

func (a *TAction) Execute() bool

执行。

func (*TAction) FindComponent

func (a *TAction) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TAction) Free

func (a *TAction) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TAction) GetHashCode

func (a *TAction) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TAction) GetNamePath

func (a *TAction) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TAction) GroupIndex

func (a *TAction) GroupIndex() int32

获取团组索引。

func (*TAction) HasParent

func (a *TAction) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TAction) Hint

func (a *TAction) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TAction) ImageIndex

func (a *TAction) ImageIndex() int32

获取图像在images中的索引。

func (*TAction) Index

func (a *TAction) Index() int32

func (*TAction) InheritsFrom

func (a *TAction) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TAction) Instance

func (a *TAction) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TAction) InstanceSize

func (a *TAction) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TAction) Is

func (a *TAction) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TAction) IsValid

func (a *TAction) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TAction) Name

func (a *TAction) Name() string

获取组件名称。

Get the component name.

func (*TAction) Owner

func (a *TAction) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TAction) SetAutoCheck

func (a *TAction) SetAutoCheck(value bool)

func (*TAction) SetCaption

func (a *TAction) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TAction) SetChecked

func (a *TAction) SetChecked(value bool)

设置是否选中。

func (*TAction) SetComponentIndex

func (a *TAction) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TAction) SetEnabled

func (a *TAction) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TAction) SetGroupIndex

func (a *TAction) SetGroupIndex(value int32)

设置团组索引。

func (*TAction) SetHint

func (a *TAction) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TAction) SetImageIndex

func (a *TAction) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TAction) SetIndex

func (a *TAction) SetIndex(value int32)

func (*TAction) SetName

func (a *TAction) SetName(value string)

设置组件名称。

Set the component name.

func (*TAction) SetOnExecute

func (a *TAction) SetOnExecute(fn TNotifyEvent)

设置动作执行事件。

func (*TAction) SetOnUpdate

func (a *TAction) SetOnUpdate(fn TNotifyEvent)

设置动作更新事件。

func (*TAction) SetShortCut

func (a *TAction) SetShortCut(value TShortCut)

设置快捷键。

func (*TAction) SetTag

func (a *TAction) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TAction) SetVisible

func (a *TAction) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TAction) ShortCut

func (a *TAction) ShortCut() TShortCut

获取快捷键。

func (*TAction) Tag

func (a *TAction) Tag() int

获取对象标记。

Get the control tag.

func (*TAction) ToString

func (a *TAction) ToString() string

文本类信息。

Text information.

func (*TAction) UnsafeAddr

func (a *TAction) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TAction) Update

func (a *TAction) Update() bool

控件更新。

Update.

func (*TAction) Visible

func (a *TAction) Visible() bool

获取控件可视。

Get the control visible.

type TActionList

type TActionList struct {
	IComponent
	// contains filtered or unexported fields
}

func ActionListFromInst

func ActionListFromInst(inst uintptr) *TActionList

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsActionList.

func ActionListFromObj

func ActionListFromObj(obj IObject) *TActionList

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsActionList.

func ActionListFromUnsafePointer

func ActionListFromUnsafePointer(ptr unsafe.Pointer) *TActionList

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsActionList.

func AsActionList

func AsActionList(obj interface{}) *TActionList

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewActionList

func NewActionList(owner IComponent) *TActionList

创建一个新的对象。

Create a new object.

func (*TActionList) Assign

func (a *TActionList) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TActionList) ClassName

func (a *TActionList) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TActionList) ClassType

func (a *TActionList) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TActionList) ComponentCount

func (a *TActionList) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TActionList) ComponentIndex

func (a *TActionList) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TActionList) Components

func (a *TActionList) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TActionList) Equals

func (a *TActionList) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TActionList) FindComponent

func (a *TActionList) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TActionList) Free

func (a *TActionList) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TActionList) GetHashCode

func (a *TActionList) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TActionList) GetNamePath

func (a *TActionList) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TActionList) HasParent

func (a *TActionList) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TActionList) Images

func (a *TActionList) Images() *TImageList

获取图标索引列表对象。

func (*TActionList) InheritsFrom

func (a *TActionList) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TActionList) Instance

func (a *TActionList) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TActionList) InstanceSize

func (a *TActionList) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TActionList) Is

func (a *TActionList) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TActionList) IsValid

func (a *TActionList) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TActionList) Name

func (a *TActionList) Name() string

获取组件名称。

Get the component name.

func (*TActionList) Owner

func (a *TActionList) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TActionList) SetComponentIndex

func (a *TActionList) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TActionList) SetImages

func (a *TActionList) SetImages(value IComponent)

设置图标索引列表对象。

func (*TActionList) SetName

func (a *TActionList) SetName(value string)

设置组件名称。

Set the component name.

func (*TActionList) SetOnChange

func (a *TActionList) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TActionList) SetState

func (a *TActionList) SetState(value TActionListState)

func (*TActionList) SetTag

func (a *TActionList) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TActionList) State

func (a *TActionList) State() TActionListState

func (*TActionList) Tag

func (a *TActionList) Tag() int

获取对象标记。

Get the control tag.

func (*TActionList) ToString

func (a *TActionList) ToString() string

文本类信息。

Text information.

func (*TActionList) UnsafeAddr

func (a *TActionList) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TAlignPositionEvent

type TAlignPositionEvent func(sender *TWinControl, control *TControl, newLeft, newTop, newWidth, newHeight *int32, alignRect *TRect, alignInfo TAlignInfo)

TAlignPositionEvent = procedure(Sender: TWinControl; Control: TControl; var NewLeft, NewTop, NewWidth, NewHeight: Integer; var AlignRect: TRect; AlignInfo: TAlignInfo) of object;

type TAnchorSide

type TAnchorSide struct {
	IObject
	// contains filtered or unexported fields
}

func AnchorSideFromInst

func AnchorSideFromInst(inst uintptr) *TAnchorSide

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsAnchorSide.

func AnchorSideFromObj

func AnchorSideFromObj(obj IObject) *TAnchorSide

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsAnchorSide.

func AnchorSideFromUnsafePointer

func AnchorSideFromUnsafePointer(ptr unsafe.Pointer) *TAnchorSide

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsAnchorSide.

func AsAnchorSide

func AsAnchorSide(obj interface{}) *TAnchorSide

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TAnchorSide) Assign

func (a *TAnchorSide) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TAnchorSide) ClassName

func (a *TAnchorSide) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TAnchorSide) ClassType

func (a *TAnchorSide) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TAnchorSide) Control

func (a *TAnchorSide) Control() *TControl

func (*TAnchorSide) Equals

func (a *TAnchorSide) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TAnchorSide) GetHashCode

func (a *TAnchorSide) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TAnchorSide) GetNamePath

func (a *TAnchorSide) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TAnchorSide) InheritsFrom

func (a *TAnchorSide) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TAnchorSide) Instance

func (a *TAnchorSide) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TAnchorSide) InstanceSize

func (a *TAnchorSide) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TAnchorSide) Is

func (a *TAnchorSide) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TAnchorSide) IsValid

func (a *TAnchorSide) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TAnchorSide) Kind

func (a *TAnchorSide) Kind() TAnchorKind

func (*TAnchorSide) Owner

func (a *TAnchorSide) Owner() *TControl

获取组件所有者。

Get component owner.

func (*TAnchorSide) SetControl

func (a *TAnchorSide) SetControl(value IControl)

func (*TAnchorSide) SetSide

func (a *TAnchorSide) SetSide(value TAnchorSideReference)

func (*TAnchorSide) Side

func (a *TAnchorSide) Side() TAnchorSideReference

func (*TAnchorSide) ToString

func (a *TAnchorSide) ToString() string

文本类信息。

Text information.

func (*TAnchorSide) UnsafeAddr

func (a *TAnchorSide) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TApplication

type TApplication struct {
	IComponent
	// contains filtered or unexported fields
}

func ApplicationFromInst

func ApplicationFromInst(inst uintptr) *TApplication

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsApplication.

func ApplicationFromObj

func ApplicationFromObj(obj IObject) *TApplication

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsApplication.

func ApplicationFromUnsafePointer

func ApplicationFromUnsafePointer(ptr unsafe.Pointer) *TApplication

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsApplication.

func AsApplication

func AsApplication(obj interface{}) *TApplication

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewApplication

func NewApplication(owner IComponent) *TApplication

创建一个新的对象。

Create a new object.

func (*TApplication) ActivateHint

func (a *TApplication) ActivateHint(CursorPos TPoint)

激活鼠标悬停提示。

func (*TApplication) Assign

func (a *TApplication) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TApplication) BiDiMode

func (a *TApplication) BiDiMode() TBiDiMode

func (*TApplication) BringToFront

func (a *TApplication) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TApplication) CancelHint

func (a *TApplication) CancelHint()

取消鼠标悬停提示。

func (*TApplication) ClassName

func (a *TApplication) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TApplication) ClassType

func (a *TApplication) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TApplication) ComponentCount

func (a *TApplication) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TApplication) ComponentIndex

func (a *TApplication) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TApplication) Components

func (a *TApplication) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TApplication) CreateForm

func (a *TApplication) CreateForm(fields ...interface{}) *TForm

创建一个TForm。

Create a TForm.

func (*TApplication) Equals

func (a *TApplication) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TApplication) ExceptionExitCode

func (a *TApplication) ExceptionExitCode() int32

func (*TApplication) ExeName

func (a *TApplication) ExeName() string

获取当前exe文件名,包含全路径。

func (*TApplication) FindComponent

func (a *TApplication) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TApplication) Free

func (a *TApplication) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TApplication) GetHashCode

func (a *TApplication) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TApplication) GetNamePath

func (a *TApplication) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TApplication) Handle

func (a *TApplication) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TApplication) HandleMessage

func (a *TApplication) HandleMessage()

消息循环,不要使用。

func (*TApplication) HasParent

func (a *TApplication) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TApplication) HideHint

func (a *TApplication) HideHint()

隐藏鼠标悬停提示。

func (*TApplication) Hint

func (a *TApplication) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TApplication) HintColor

func (a *TApplication) HintColor() TColor

获取鼠标悬停提示颜色。

func (*TApplication) HintHidePause

func (a *TApplication) HintHidePause() int32

获取鼠标悬停提示暂停时间,ms。

func (*TApplication) HintPause

func (a *TApplication) HintPause() int32

获取鼠标悬停暂时时间。

func (*TApplication) HintShortCuts

func (a *TApplication) HintShortCuts() bool

func (*TApplication) HintShortPause

func (a *TApplication) HintShortPause() int32

func (*TApplication) Icon

func (a *TApplication) Icon() *TIcon

获取图标。

Get icon.

func (*TApplication) InheritsFrom

func (a *TApplication) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TApplication) Initialize

func (a *TApplication) Initialize()

初始APP信息。

Initial APP information.

func (*TApplication) Instance

func (a *TApplication) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TApplication) InstanceSize

func (a *TApplication) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TApplication) Is

func (a *TApplication) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TApplication) IsValid

func (a *TApplication) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TApplication) Location

func (a *TApplication) Location() string

func (*TApplication) MainForm

func (a *TApplication) MainForm() *TForm

func (*TApplication) MainFormHandle

func (a *TApplication) MainFormHandle() HWND

func (*TApplication) MainFormOnTaskBar

func (a *TApplication) MainFormOnTaskBar() bool

获取主窗口显示在任务栏上。

func (*TApplication) MessageBox

func (a *TApplication) MessageBox(Text string, Caption string, Flags int32) int32

显示消息框。

func (*TApplication) Minimize

func (a *TApplication) Minimize()

最小化应用程序。

func (*TApplication) ModalFinished

func (a *TApplication) ModalFinished()

func (*TApplication) ModalStarted

func (a *TApplication) ModalStarted()

func (*TApplication) Name

func (a *TApplication) Name() string

获取组件名称。

Get the component name.

func (*TApplication) Owner

func (a *TApplication) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TApplication) ProcessMessages

func (a *TApplication) ProcessMessages()

处理消息循环。

func (*TApplication) Restore

func (a *TApplication) Restore()

恢复小最小的应用。

func (*TApplication) RestoreTopMosts

func (a *TApplication) RestoreTopMosts()

恢复最小化的应用并置顶。

func (*TApplication) Run

func (a *TApplication) Run()

运行APP。

Run the app.

func (*TApplication) Scaled

func (a *TApplication) Scaled() bool

func (*TApplication) SetBiDiMode

func (a *TApplication) SetBiDiMode(value TBiDiMode)

func (*TApplication) SetComponentIndex

func (a *TApplication) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TApplication) SetExceptionExitCode

func (a *TApplication) SetExceptionExitCode(value int32)

func (*TApplication) SetHandle

func (a *TApplication) SetHandle(value HWND)

设置控件句柄。

Set Control handle.

func (*TApplication) SetHint

func (a *TApplication) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TApplication) SetHintColor

func (a *TApplication) SetHintColor(value TColor)

设置鼠标悬停提示颜色。

func (*TApplication) SetHintHidePause

func (a *TApplication) SetHintHidePause(value int32)

设置鼠标悬停提示暂停时间,ms。

func (*TApplication) SetHintPause

func (a *TApplication) SetHintPause(value int32)

设置鼠标悬停暂时时间。

func (*TApplication) SetHintShortCuts

func (a *TApplication) SetHintShortCuts(value bool)

func (*TApplication) SetHintShortPause

func (a *TApplication) SetHintShortPause(value int32)

func (*TApplication) SetIcon

func (a *TApplication) SetIcon(value *TIcon)

设置图标。

Set icon.

func (*TApplication) SetIconResId

func (a *TApplication) SetIconResId(id int)

func (*TApplication) SetMainFormOnTaskBar

func (a *TApplication) SetMainFormOnTaskBar(value bool)

设置主窗口显示在任务栏上。

func (*TApplication) SetName

func (a *TApplication) SetName(value string)

设置组件名称。

Set the component name.

func (*TApplication) SetOnActivate

func (a *TApplication) SetOnActivate(fn TNotifyEvent)

func (*TApplication) SetOnDeactivate

func (a *TApplication) SetOnDeactivate(fn TNotifyEvent)

func (*TApplication) SetOnException

func (a *TApplication) SetOnException(fn TExceptionEvent)

设置应用程序异常事件。

func (*TApplication) SetOnHelp

func (a *TApplication) SetOnHelp(fn THelpEvent)

func (*TApplication) SetOnHint

func (a *TApplication) SetOnHint(fn TNotifyEvent)

设置鼠标悬停提示事件。

func (*TApplication) SetOnMinimize

func (a *TApplication) SetOnMinimize(fn TNotifyEvent)

设置App或者窗口最小化事件。

func (*TApplication) SetOnRestore

func (a *TApplication) SetOnRestore(fn TNotifyEvent)

设置App或者窗口恢复事件。

func (*TApplication) SetOnShortCut

func (a *TApplication) SetOnShortCut(fn TShortCutEvent)

func (*TApplication) SetScaled

func (a *TApplication) SetScaled(value bool)

func (*TApplication) SetShowHint

func (a *TApplication) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TApplication) SetShowMainForm

func (a *TApplication) SetShowMainForm(value bool)

设置初始显示主窗口。

func (*TApplication) SetSingleInstanceEnabled

func (a *TApplication) SetSingleInstanceEnabled(value bool)

func (*TApplication) SetStopOnException

func (a *TApplication) SetStopOnException(value bool)

func (*TApplication) SetTag

func (a *TApplication) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TApplication) SetTitle

func (a *TApplication) SetTitle(value string)

func (*TApplication) ShowHint

func (a *TApplication) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TApplication) ShowMainForm

func (a *TApplication) ShowMainForm() bool

获取初始显示主窗口。

func (*TApplication) SingleInstanceEnabled

func (a *TApplication) SingleInstanceEnabled() bool

func (*TApplication) StopOnException

func (a *TApplication) StopOnException() bool

func (*TApplication) Tag

func (a *TApplication) Tag() int

获取对象标记。

Get the control tag.

func (*TApplication) Terminate

func (a *TApplication) Terminate()

结束应用程序。

func (*TApplication) Title

func (a *TApplication) Title() string

func (*TApplication) ToString

func (a *TApplication) ToString() string

文本类信息。

Text information.

func (*TApplication) UnsafeAddr

func (a *TApplication) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TAs

type TAs uintptr

As操作符

type TBevel

type TBevel struct {
	IControl
	// contains filtered or unexported fields
}

func AsBevel

func AsBevel(obj interface{}) *TBevel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func BevelFromInst

func BevelFromInst(inst uintptr) *TBevel

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsBevel.

func BevelFromObj

func BevelFromObj(obj IObject) *TBevel

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsBevel.

func BevelFromUnsafePointer

func BevelFromUnsafePointer(ptr unsafe.Pointer) *TBevel

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsBevel.

func NewBevel

func NewBevel(owner IComponent) *TBevel

创建一个新的对象。

Create a new object.

func (*TBevel) Action

func (b *TBevel) Action() *TAction

func (*TBevel) Align

func (b *TBevel) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TBevel) AnchorAsAlign

func (b *TBevel) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TBevel) AnchorClient

func (b *TBevel) AnchorClient(ASpace int32)

func (*TBevel) AnchorHorizontalCenterTo

func (b *TBevel) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TBevel) AnchorParallel

func (b *TBevel) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TBevel) AnchorSame

func (b *TBevel) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TBevel) AnchorSide

func (b *TBevel) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TBevel) AnchorSideBottom

func (b *TBevel) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TBevel) AnchorSideLeft

func (b *TBevel) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TBevel) AnchorSideRight

func (b *TBevel) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TBevel) AnchorSideTop

func (b *TBevel) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TBevel) AnchorToNeighbour

func (b *TBevel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TBevel) AnchorVerticalCenterTo

func (b *TBevel) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TBevel) Anchors

func (b *TBevel) Anchors() TAnchors

获取四个角位置的锚点。

func (*TBevel) Assign

func (b *TBevel) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TBevel) AutoAdjustLayout

func (b *TBevel) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TBevel) BiDiMode

func (b *TBevel) BiDiMode() TBiDiMode

func (*TBevel) BorderSpacing

func (b *TBevel) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TBevel) BoundsRect

func (b *TBevel) BoundsRect() TRect

func (*TBevel) BringToFront

func (b *TBevel) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TBevel) ClassName

func (b *TBevel) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TBevel) ClassType

func (b *TBevel) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TBevel) ClientHeight

func (b *TBevel) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TBevel) ClientOrigin

func (b *TBevel) ClientOrigin() TPoint

func (*TBevel) ClientRect

func (b *TBevel) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TBevel) ClientToParent

func (b *TBevel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TBevel) ClientToScreen

func (b *TBevel) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TBevel) ClientWidth

func (b *TBevel) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TBevel) ComponentCount

func (b *TBevel) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TBevel) ComponentIndex

func (b *TBevel) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TBevel) Components

func (b *TBevel) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TBevel) Constraints

func (b *TBevel) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TBevel) ControlState

func (b *TBevel) ControlState() TControlState

获取控件状态。

Get control state.

func (*TBevel) ControlStyle

func (b *TBevel) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TBevel) Cursor

func (b *TBevel) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TBevel) Dragging

func (b *TBevel) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TBevel) Enabled

func (b *TBevel) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TBevel) Equals

func (b *TBevel) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TBevel) FindComponent

func (b *TBevel) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TBevel) FixDesignFontsPPI

func (b *TBevel) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TBevel) Floating

func (b *TBevel) Floating() bool

func (*TBevel) Free

func (b *TBevel) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TBevel) GetHashCode

func (b *TBevel) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TBevel) GetNamePath

func (b *TBevel) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TBevel) GetTextBuf

func (b *TBevel) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TBevel) GetTextLen

func (b *TBevel) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TBevel) HasParent

func (b *TBevel) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TBevel) Height

func (b *TBevel) Height() int32

获取高度。

Get height.

func (*TBevel) Hide

func (b *TBevel) Hide()

隐藏控件。

Hidden control.

func (*TBevel) Hint

func (b *TBevel) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TBevel) InheritsFrom

func (b *TBevel) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TBevel) Instance

func (b *TBevel) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TBevel) InstanceSize

func (b *TBevel) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TBevel) Invalidate

func (b *TBevel) Invalidate()

要求重绘。

Redraw.

func (*TBevel) Is

func (b *TBevel) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TBevel) IsValid

func (b *TBevel) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TBevel) Left

func (b *TBevel) Left() int32

获取左边位置。

Get Left position.

func (*TBevel) Name

func (b *TBevel) Name() string

获取组件名称。

Get the component name.

func (*TBevel) Owner

func (b *TBevel) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TBevel) Parent

func (b *TBevel) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TBevel) ParentShowHint

func (b *TBevel) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TBevel) ParentToClient

func (b *TBevel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TBevel) Perform

func (b *TBevel) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TBevel) Refresh

func (b *TBevel) Refresh()

刷新控件。

Refresh control.

func (*TBevel) Repaint

func (b *TBevel) Repaint()

重绘。

Repaint.

func (*TBevel) Scale96ToFont

func (b *TBevel) Scale96ToFont(ASize int32) int32

func (*TBevel) Scale96ToForm

func (b *TBevel) Scale96ToForm(ASize int32) int32

func (*TBevel) Scale96ToScreen

func (b *TBevel) Scale96ToScreen(ASize int32) int32

func (*TBevel) ScaleDesignToForm

func (b *TBevel) ScaleDesignToForm(ASize int32) int32

func (*TBevel) ScaleFontTo96

func (b *TBevel) ScaleFontTo96(ASize int32) int32

func (*TBevel) ScaleFontToScreen

func (b *TBevel) ScaleFontToScreen(ASize int32) int32

func (*TBevel) ScaleFontsPPI

func (b *TBevel) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TBevel) ScaleFormTo96

func (b *TBevel) ScaleFormTo96(ASize int32) int32

func (*TBevel) ScaleFormToDesign

func (b *TBevel) ScaleFormToDesign(ASize int32) int32

func (*TBevel) ScaleScreenTo96

func (b *TBevel) ScaleScreenTo96(ASize int32) int32

func (*TBevel) ScaleScreenToFont

func (b *TBevel) ScaleScreenToFont(ASize int32) int32

func (*TBevel) ScreenToClient

func (b *TBevel) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TBevel) SendToBack

func (b *TBevel) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TBevel) SetAction

func (b *TBevel) SetAction(value IComponent)

func (*TBevel) SetAlign

func (b *TBevel) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TBevel) SetAnchorSideBottom

func (b *TBevel) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TBevel) SetAnchorSideLeft

func (b *TBevel) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TBevel) SetAnchorSideRight

func (b *TBevel) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TBevel) SetAnchorSideTop

func (b *TBevel) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TBevel) SetAnchors

func (b *TBevel) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TBevel) SetBiDiMode

func (b *TBevel) SetBiDiMode(value TBiDiMode)

func (*TBevel) SetBorderSpacing

func (b *TBevel) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TBevel) SetBounds

func (b *TBevel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TBevel) SetBoundsRect

func (b *TBevel) SetBoundsRect(value TRect)

func (*TBevel) SetClientHeight

func (b *TBevel) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TBevel) SetClientWidth

func (b *TBevel) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TBevel) SetComponentIndex

func (b *TBevel) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TBevel) SetConstraints

func (b *TBevel) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TBevel) SetControlState

func (b *TBevel) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TBevel) SetControlStyle

func (b *TBevel) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TBevel) SetCursor

func (b *TBevel) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TBevel) SetEnabled

func (b *TBevel) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TBevel) SetHeight

func (b *TBevel) SetHeight(value int32)

设置高度。

Set height.

func (*TBevel) SetHint

func (b *TBevel) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TBevel) SetLeft

func (b *TBevel) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TBevel) SetName

func (b *TBevel) SetName(value string)

设置组件名称。

Set the component name.

func (*TBevel) SetParent

func (b *TBevel) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TBevel) SetParentShowHint

func (b *TBevel) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TBevel) SetShape

func (b *TBevel) SetShape(value TBevelShape)

func (*TBevel) SetShowHint

func (b *TBevel) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TBevel) SetStyle

func (b *TBevel) SetStyle(value TBevelStyle)

func (*TBevel) SetTag

func (b *TBevel) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TBevel) SetTextBuf

func (b *TBevel) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TBevel) SetTop

func (b *TBevel) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TBevel) SetVisible

func (b *TBevel) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TBevel) SetWidth

func (b *TBevel) SetWidth(value int32)

设置宽度。

Set width.

func (*TBevel) Shape

func (b *TBevel) Shape() TBevelShape

func (*TBevel) Show

func (b *TBevel) Show()

显示控件。

Show control.

func (*TBevel) ShowHint

func (b *TBevel) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TBevel) Style

func (b *TBevel) Style() TBevelStyle

func (*TBevel) Tag

func (b *TBevel) Tag() int

获取对象标记。

Get the control tag.

func (*TBevel) ToString

func (b *TBevel) ToString() string

文本类信息。

Text information.

func (*TBevel) Top

func (b *TBevel) Top() int32

获取顶边位置。

Get Top position.

func (*TBevel) UnsafeAddr

func (b *TBevel) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TBevel) Update

func (b *TBevel) Update()

控件更新。

Update.

func (*TBevel) Visible

func (b *TBevel) Visible() bool

获取控件可视。

Get the control visible.

func (*TBevel) Width

func (b *TBevel) Width() int32

获取宽度。

Get width.

type TBitBtn

type TBitBtn struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsBitBtn

func AsBitBtn(obj interface{}) *TBitBtn

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func BitBtnFromInst

func BitBtnFromInst(inst uintptr) *TBitBtn

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsBitBtn.

func BitBtnFromObj

func BitBtnFromObj(obj IObject) *TBitBtn

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsBitBtn.

func BitBtnFromUnsafePointer

func BitBtnFromUnsafePointer(ptr unsafe.Pointer) *TBitBtn

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsBitBtn.

func NewBitBtn

func NewBitBtn(owner IComponent) *TBitBtn

创建一个新的对象。

Create a new object.

func (*TBitBtn) Action

func (b *TBitBtn) Action() *TAction

func (*TBitBtn) Align

func (b *TBitBtn) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TBitBtn) AnchorAsAlign

func (b *TBitBtn) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TBitBtn) AnchorClient

func (b *TBitBtn) AnchorClient(ASpace int32)

func (*TBitBtn) AnchorHorizontalCenterTo

func (b *TBitBtn) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TBitBtn) AnchorParallel

func (b *TBitBtn) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TBitBtn) AnchorSame

func (b *TBitBtn) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TBitBtn) AnchorSide

func (b *TBitBtn) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TBitBtn) AnchorSideBottom

func (b *TBitBtn) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TBitBtn) AnchorSideLeft

func (b *TBitBtn) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TBitBtn) AnchorSideRight

func (b *TBitBtn) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TBitBtn) AnchorSideTop

func (b *TBitBtn) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TBitBtn) AnchorToNeighbour

func (b *TBitBtn) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TBitBtn) AnchorVerticalCenterTo

func (b *TBitBtn) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TBitBtn) Anchors

func (b *TBitBtn) Anchors() TAnchors

获取四个角位置的锚点。

func (*TBitBtn) Assign

func (b *TBitBtn) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TBitBtn) AutoAdjustLayout

func (b *TBitBtn) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TBitBtn) BiDiMode

func (b *TBitBtn) BiDiMode() TBiDiMode

func (*TBitBtn) BorderSpacing

func (b *TBitBtn) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TBitBtn) BoundsRect

func (b *TBitBtn) BoundsRect() TRect

func (*TBitBtn) BringToFront

func (b *TBitBtn) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TBitBtn) Brush

func (b *TBitBtn) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TBitBtn) CanFocus

func (b *TBitBtn) CanFocus() bool

是否可以获得焦点。

func (*TBitBtn) Cancel

func (b *TBitBtn) Cancel() bool

func (*TBitBtn) Caption

func (b *TBitBtn) Caption() string

获取控件标题。

Get the control title.

func (*TBitBtn) ChildSizing

func (b *TBitBtn) ChildSizing() *TControlChildSizing

func (*TBitBtn) ClassName

func (b *TBitBtn) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TBitBtn) ClassType

func (b *TBitBtn) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TBitBtn) Click

func (b *TBitBtn) Click()

单击。

func (*TBitBtn) ClientHeight

func (b *TBitBtn) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TBitBtn) ClientOrigin

func (b *TBitBtn) ClientOrigin() TPoint

func (*TBitBtn) ClientRect

func (b *TBitBtn) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TBitBtn) ClientToParent

func (b *TBitBtn) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TBitBtn) ClientToScreen

func (b *TBitBtn) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TBitBtn) ClientWidth

func (b *TBitBtn) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TBitBtn) ComponentCount

func (b *TBitBtn) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TBitBtn) ComponentIndex

func (b *TBitBtn) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TBitBtn) Components

func (b *TBitBtn) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TBitBtn) Constraints

func (b *TBitBtn) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TBitBtn) ContainsControl

func (b *TBitBtn) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TBitBtn) ControlAtPos

func (b *TBitBtn) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TBitBtn) ControlCount

func (b *TBitBtn) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TBitBtn) ControlState

func (b *TBitBtn) ControlState() TControlState

获取控件状态。

Get control state.

func (*TBitBtn) ControlStyle

func (b *TBitBtn) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TBitBtn) Controls

func (b *TBitBtn) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TBitBtn) Cursor

func (b *TBitBtn) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TBitBtn) Default

func (b *TBitBtn) Default() bool

func (*TBitBtn) DefaultCaption

func (b *TBitBtn) DefaultCaption() bool

func (*TBitBtn) DisableAlign

func (b *TBitBtn) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TBitBtn) DockClientCount

func (b *TBitBtn) DockClientCount() int32

获取依靠客户端总数。

func (*TBitBtn) DockClients

func (b *TBitBtn) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TBitBtn) DockSite

func (b *TBitBtn) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TBitBtn) DoubleBuffered

func (b *TBitBtn) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TBitBtn) Dragging

func (b *TBitBtn) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TBitBtn) EnableAlign

func (b *TBitBtn) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TBitBtn) Enabled

func (b *TBitBtn) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TBitBtn) Equals

func (b *TBitBtn) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TBitBtn) FindChildControl

func (b *TBitBtn) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TBitBtn) FindComponent

func (b *TBitBtn) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TBitBtn) FixDesignFontsPPI

func (b *TBitBtn) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TBitBtn) FlipChildren

func (b *TBitBtn) FlipChildren(AllLevels bool)

func (*TBitBtn) Floating

func (b *TBitBtn) Floating() bool

func (*TBitBtn) Focused

func (b *TBitBtn) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TBitBtn) Font

func (b *TBitBtn) Font() *TFont

获取字体。

Get Font.

func (*TBitBtn) Free

func (b *TBitBtn) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TBitBtn) GetHashCode

func (b *TBitBtn) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TBitBtn) GetNamePath

func (b *TBitBtn) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TBitBtn) GetTextBuf

func (b *TBitBtn) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TBitBtn) GetTextLen

func (b *TBitBtn) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TBitBtn) Glyph

func (b *TBitBtn) Glyph() *TBitmap

func (*TBitBtn) GlyphShowMode

func (b *TBitBtn) GlyphShowMode() TGlyphShowMode

func (*TBitBtn) Handle

func (b *TBitBtn) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TBitBtn) HandleAllocated

func (b *TBitBtn) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TBitBtn) HasParent

func (b *TBitBtn) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TBitBtn) Height

func (b *TBitBtn) Height() int32

获取高度。

Get height.

func (*TBitBtn) Hide

func (b *TBitBtn) Hide()

隐藏控件。

Hidden control.

func (*TBitBtn) Hint

func (b *TBitBtn) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TBitBtn) ImageIndex

func (b *TBitBtn) ImageIndex() int32

获取图像在images中的索引。

func (*TBitBtn) ImageWidth

func (b *TBitBtn) ImageWidth() int32

func (*TBitBtn) Images

func (b *TBitBtn) Images() *TImageList

获取图标索引列表对象。

func (*TBitBtn) InheritsFrom

func (b *TBitBtn) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TBitBtn) InsertControl

func (b *TBitBtn) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TBitBtn) Instance

func (b *TBitBtn) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TBitBtn) InstanceSize

func (b *TBitBtn) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TBitBtn) Invalidate

func (b *TBitBtn) Invalidate()

要求重绘。

Redraw.

func (*TBitBtn) Is

func (b *TBitBtn) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TBitBtn) IsValid

func (b *TBitBtn) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TBitBtn) Kind

func (b *TBitBtn) Kind() TBitBtnKind

func (*TBitBtn) Layout

func (b *TBitBtn) Layout() TButtonLayout

func (*TBitBtn) Left

func (b *TBitBtn) Left() int32

获取左边位置。

Get Left position.

func (*TBitBtn) ModalResult

func (b *TBitBtn) ModalResult() TModalResult

获取模态对话框显示结果。

func (*TBitBtn) MouseInClient

func (b *TBitBtn) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TBitBtn) Name

func (b *TBitBtn) Name() string

获取组件名称。

Get the component name.

func (*TBitBtn) NumGlyphs

func (b *TBitBtn) NumGlyphs() TNumGlyphs

func (*TBitBtn) Owner

func (b *TBitBtn) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TBitBtn) PaintTo

func (b *TBitBtn) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TBitBtn) Parent

func (b *TBitBtn) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TBitBtn) ParentDoubleBuffered

func (b *TBitBtn) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TBitBtn) ParentFont

func (b *TBitBtn) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TBitBtn) ParentShowHint

func (b *TBitBtn) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TBitBtn) ParentToClient

func (b *TBitBtn) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TBitBtn) ParentWindow

func (b *TBitBtn) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TBitBtn) Perform

func (b *TBitBtn) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TBitBtn) PopupMenu

func (b *TBitBtn) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TBitBtn) Realign

func (b *TBitBtn) Realign()

重新对齐。

Realign.

func (*TBitBtn) Refresh

func (b *TBitBtn) Refresh()

刷新控件。

Refresh control.

func (*TBitBtn) RemoveControl

func (b *TBitBtn) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TBitBtn) Repaint

func (b *TBitBtn) Repaint()

重绘。

Repaint.

func (*TBitBtn) Scale96ToFont

func (b *TBitBtn) Scale96ToFont(ASize int32) int32

func (*TBitBtn) Scale96ToForm

func (b *TBitBtn) Scale96ToForm(ASize int32) int32

func (*TBitBtn) Scale96ToScreen

func (b *TBitBtn) Scale96ToScreen(ASize int32) int32

func (*TBitBtn) ScaleBy

func (b *TBitBtn) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TBitBtn) ScaleDesignToForm

func (b *TBitBtn) ScaleDesignToForm(ASize int32) int32

func (*TBitBtn) ScaleFontTo96

func (b *TBitBtn) ScaleFontTo96(ASize int32) int32

func (*TBitBtn) ScaleFontToScreen

func (b *TBitBtn) ScaleFontToScreen(ASize int32) int32

func (*TBitBtn) ScaleFontsPPI

func (b *TBitBtn) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TBitBtn) ScaleFormTo96

func (b *TBitBtn) ScaleFormTo96(ASize int32) int32

func (*TBitBtn) ScaleFormToDesign

func (b *TBitBtn) ScaleFormToDesign(ASize int32) int32

func (*TBitBtn) ScaleScreenTo96

func (b *TBitBtn) ScaleScreenTo96(ASize int32) int32

func (*TBitBtn) ScaleScreenToFont

func (b *TBitBtn) ScaleScreenToFont(ASize int32) int32

func (*TBitBtn) ScreenToClient

func (b *TBitBtn) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TBitBtn) ScrollBy

func (b *TBitBtn) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TBitBtn) SendToBack

func (b *TBitBtn) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TBitBtn) SetAction

func (b *TBitBtn) SetAction(value IComponent)

func (*TBitBtn) SetAlign

func (b *TBitBtn) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TBitBtn) SetAnchorSideBottom

func (b *TBitBtn) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TBitBtn) SetAnchorSideLeft

func (b *TBitBtn) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TBitBtn) SetAnchorSideRight

func (b *TBitBtn) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TBitBtn) SetAnchorSideTop

func (b *TBitBtn) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TBitBtn) SetAnchors

func (b *TBitBtn) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TBitBtn) SetBiDiMode

func (b *TBitBtn) SetBiDiMode(value TBiDiMode)

func (*TBitBtn) SetBorderSpacing

func (b *TBitBtn) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TBitBtn) SetBounds

func (b *TBitBtn) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TBitBtn) SetBoundsRect

func (b *TBitBtn) SetBoundsRect(value TRect)

func (*TBitBtn) SetCancel

func (b *TBitBtn) SetCancel(value bool)

func (*TBitBtn) SetCaption

func (b *TBitBtn) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TBitBtn) SetChildSizing

func (b *TBitBtn) SetChildSizing(value *TControlChildSizing)

func (*TBitBtn) SetClientHeight

func (b *TBitBtn) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TBitBtn) SetClientWidth

func (b *TBitBtn) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TBitBtn) SetComponentIndex

func (b *TBitBtn) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TBitBtn) SetConstraints

func (b *TBitBtn) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TBitBtn) SetControlState

func (b *TBitBtn) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TBitBtn) SetControlStyle

func (b *TBitBtn) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TBitBtn) SetCursor

func (b *TBitBtn) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TBitBtn) SetDefault

func (b *TBitBtn) SetDefault(value bool)

func (*TBitBtn) SetDefaultCaption

func (b *TBitBtn) SetDefaultCaption(value bool)

func (*TBitBtn) SetDockSite

func (b *TBitBtn) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TBitBtn) SetDoubleBuffered

func (b *TBitBtn) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TBitBtn) SetEnabled

func (b *TBitBtn) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TBitBtn) SetFocus

func (b *TBitBtn) SetFocus()

设置控件焦点。

Set control focus.

func (*TBitBtn) SetFont

func (b *TBitBtn) SetFont(value *TFont)

设置字体。

Set Font.

func (*TBitBtn) SetGlyph

func (b *TBitBtn) SetGlyph(value *TBitmap)

func (*TBitBtn) SetGlyphShowMode

func (b *TBitBtn) SetGlyphShowMode(value TGlyphShowMode)

func (*TBitBtn) SetHeight

func (b *TBitBtn) SetHeight(value int32)

设置高度。

Set height.

func (*TBitBtn) SetHint

func (b *TBitBtn) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TBitBtn) SetImageIndex

func (b *TBitBtn) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TBitBtn) SetImageWidth

func (b *TBitBtn) SetImageWidth(value int32)

func (*TBitBtn) SetImages

func (b *TBitBtn) SetImages(value IComponent)

设置图标索引列表对象。

func (*TBitBtn) SetKind

func (b *TBitBtn) SetKind(value TBitBtnKind)

func (*TBitBtn) SetLayout

func (b *TBitBtn) SetLayout(value TButtonLayout)

func (*TBitBtn) SetLeft

func (b *TBitBtn) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TBitBtn) SetModalResult

func (b *TBitBtn) SetModalResult(value TModalResult)

设置模态对话框显示结果。

func (*TBitBtn) SetName

func (b *TBitBtn) SetName(value string)

设置组件名称。

Set the component name.

func (*TBitBtn) SetNumGlyphs

func (b *TBitBtn) SetNumGlyphs(value TNumGlyphs)

func (*TBitBtn) SetOnClick

func (b *TBitBtn) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TBitBtn) SetOnContextPopup

func (b *TBitBtn) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TBitBtn) SetOnDragDrop

func (b *TBitBtn) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TBitBtn) SetOnDragOver

func (b *TBitBtn) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TBitBtn) SetOnEndDrag

func (b *TBitBtn) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TBitBtn) SetOnEnter

func (b *TBitBtn) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TBitBtn) SetOnExit

func (b *TBitBtn) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TBitBtn) SetOnKeyDown

func (b *TBitBtn) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TBitBtn) SetOnKeyPress

func (b *TBitBtn) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TBitBtn) SetOnKeyUp

func (b *TBitBtn) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TBitBtn) SetOnMouseDown

func (b *TBitBtn) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TBitBtn) SetOnMouseEnter

func (b *TBitBtn) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TBitBtn) SetOnMouseLeave

func (b *TBitBtn) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TBitBtn) SetOnMouseMove

func (b *TBitBtn) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TBitBtn) SetOnMouseUp

func (b *TBitBtn) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TBitBtn) SetParent

func (b *TBitBtn) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TBitBtn) SetParentDoubleBuffered

func (b *TBitBtn) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TBitBtn) SetParentFont

func (b *TBitBtn) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TBitBtn) SetParentShowHint

func (b *TBitBtn) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TBitBtn) SetParentWindow

func (b *TBitBtn) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TBitBtn) SetPopupMenu

func (b *TBitBtn) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TBitBtn) SetShowHint

func (b *TBitBtn) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TBitBtn) SetSpacing

func (b *TBitBtn) SetSpacing(value int32)

func (*TBitBtn) SetTabOrder

func (b *TBitBtn) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TBitBtn) SetTabStop

func (b *TBitBtn) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TBitBtn) SetTag

func (b *TBitBtn) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TBitBtn) SetTextBuf

func (b *TBitBtn) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TBitBtn) SetTop

func (b *TBitBtn) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TBitBtn) SetUseDockManager

func (b *TBitBtn) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TBitBtn) SetVisible

func (b *TBitBtn) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TBitBtn) SetWidth

func (b *TBitBtn) SetWidth(value int32)

设置宽度。

Set width.

func (*TBitBtn) Show

func (b *TBitBtn) Show()

显示控件。

Show control.

func (*TBitBtn) ShowHint

func (b *TBitBtn) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TBitBtn) Showing

func (b *TBitBtn) Showing() bool

func (*TBitBtn) Spacing

func (b *TBitBtn) Spacing() int32

func (*TBitBtn) TabOrder

func (b *TBitBtn) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TBitBtn) TabStop

func (b *TBitBtn) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TBitBtn) Tag

func (b *TBitBtn) Tag() int

获取对象标记。

Get the control tag.

func (*TBitBtn) ToString

func (b *TBitBtn) ToString() string

文本类信息。

Text information.

func (*TBitBtn) Top

func (b *TBitBtn) Top() int32

获取顶边位置。

Get Top position.

func (*TBitBtn) UnsafeAddr

func (b *TBitBtn) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TBitBtn) Update

func (b *TBitBtn) Update()

控件更新。

Update.

func (*TBitBtn) UseDockManager

func (b *TBitBtn) UseDockManager() bool

获取使用停靠管理。

func (*TBitBtn) Visible

func (b *TBitBtn) Visible() bool

获取控件可视。

Get the control visible.

func (*TBitBtn) VisibleDockClientCount

func (b *TBitBtn) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TBitBtn) Width

func (b *TBitBtn) Width() int32

获取宽度。

Get width.

type TBitmap

type TBitmap struct {
	IGraphic
	// contains filtered or unexported fields
}

func AsBitmap

func AsBitmap(obj interface{}) *TBitmap

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func BitmapFromInst

func BitmapFromInst(inst uintptr) *TBitmap

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsBitmap.

func BitmapFromObj

func BitmapFromObj(obj IObject) *TBitmap

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsBitmap.

func BitmapFromUnsafePointer

func BitmapFromUnsafePointer(ptr unsafe.Pointer) *TBitmap

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsBitmap.

func NewBitmap

func NewBitmap() *TBitmap

创建一个新的对象。

Create a new object.

func (*TBitmap) Assign

func (b *TBitmap) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TBitmap) BeginUpdate

func (b *TBitmap) BeginUpdate(ACanvasOnly bool)

用于ScanLine属性,aCanvasOnly 默认为 false。

Used for ScanLine properties, aCanvasOnly defaults to false.

func (*TBitmap) Canvas

func (b *TBitmap) Canvas() *TCanvas

获取画布。

func (*TBitmap) ClassName

func (b *TBitmap) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TBitmap) ClassType

func (b *TBitmap) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TBitmap) Clear

func (b *TBitmap) Clear()

清除bitmap数据。

Clear bitmap data.

func (*TBitmap) Empty

func (b *TBitmap) Empty() bool

func (*TBitmap) EndUpdate

func (b *TBitmap) EndUpdate(AStreamIsValid bool)

用于ScanLine属性,aStreamIsValid 默认为 false。

Used for ScanLine property, aStreamIsValid defaults to false.

func (*TBitmap) Equals

func (b *TBitmap) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TBitmap) Free

func (b *TBitmap) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TBitmap) FreeImage

func (b *TBitmap) FreeImage()

func (*TBitmap) GetHashCode

func (b *TBitmap) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TBitmap) GetNamePath

func (b *TBitmap) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TBitmap) Handle

func (b *TBitmap) Handle() HBITMAP

获取控件句柄。

Get Control handle.

func (*TBitmap) HandleAllocated

func (b *TBitmap) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TBitmap) HandleType

func (b *TBitmap) HandleType() TBitmapHandleType

func (*TBitmap) Height

func (b *TBitmap) Height() int32

获取高度。

Get height.

func (*TBitmap) InheritsFrom

func (b *TBitmap) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TBitmap) Instance

func (b *TBitmap) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TBitmap) InstanceSize

func (b *TBitmap) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TBitmap) Is

func (b *TBitmap) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TBitmap) IsValid

func (b *TBitmap) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TBitmap) LoadFromBytes

func (b *TBitmap) LoadFromBytes(data []byte)

func (*TBitmap) LoadFromDevice

func (b *TBitmap) LoadFromDevice(ADc HDC)

从设备驱动中加载Bitmap。

Load the Bitmap from the device driver.

func (*TBitmap) LoadFromFile

func (b *TBitmap) LoadFromFile(Filename string)

从文件加载。

func (*TBitmap) LoadFromResourceID

func (b *TBitmap) LoadFromResourceID(Instance uintptr, ResID int32)

func (*TBitmap) LoadFromResourceName

func (b *TBitmap) LoadFromResourceName(Instance uintptr, ResName string)

func (*TBitmap) LoadFromStream

func (b *TBitmap) LoadFromStream(Stream IStream)

文件流加载。

func (*TBitmap) MaskHandle

func (b *TBitmap) MaskHandle() HBITMAP

func (*TBitmap) Modified

func (b *TBitmap) Modified() bool

获取修改。

Get modified.

func (*TBitmap) Palette

func (b *TBitmap) Palette() HPALETTE

func (*TBitmap) PaletteModified

func (b *TBitmap) PaletteModified() bool

func (*TBitmap) PixelFormat

func (b *TBitmap) PixelFormat() TPixelFormat

func (*TBitmap) SaveToFile

func (b *TBitmap) SaveToFile(Filename string)

保存至文件。

func (*TBitmap) SaveToStream

func (b *TBitmap) SaveToStream(Stream IStream)

保存至流。

func (*TBitmap) ScanLine

func (b *TBitmap) ScanLine(Row int32) uintptr

func (*TBitmap) SetHandle

func (b *TBitmap) SetHandle(value HBITMAP)

设置控件句柄。

Set Control handle.

func (*TBitmap) SetHandleType

func (b *TBitmap) SetHandleType(value TBitmapHandleType)

func (*TBitmap) SetHeight

func (b *TBitmap) SetHeight(value int32)

设置高度。

Set height.

func (*TBitmap) SetMaskHandle

func (b *TBitmap) SetMaskHandle(value HBITMAP)

func (*TBitmap) SetModified

func (b *TBitmap) SetModified(value bool)

设置修改。

Set modified.

func (*TBitmap) SetOnChange

func (b *TBitmap) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TBitmap) SetPalette

func (b *TBitmap) SetPalette(value HPALETTE)

func (*TBitmap) SetPaletteModified

func (b *TBitmap) SetPaletteModified(value bool)

func (*TBitmap) SetPixelFormat

func (b *TBitmap) SetPixelFormat(value TPixelFormat)

func (*TBitmap) SetSize

func (b *TBitmap) SetSize(AWidth int32, AHeight int32)

func (*TBitmap) SetTransparent

func (b *TBitmap) SetTransparent(value bool)

设置透明。

Set transparent.

func (*TBitmap) SetTransparentMode

func (b *TBitmap) SetTransparentMode(value TTransparentMode)

func (*TBitmap) SetWidth

func (b *TBitmap) SetWidth(value int32)

设置宽度。

Set width.

func (*TBitmap) ToString

func (b *TBitmap) ToString() string

文本类信息。

Text information.

func (*TBitmap) Transparent

func (b *TBitmap) Transparent() bool

获取透明。

Get transparent.

func (*TBitmap) TransparentMode

func (b *TBitmap) TransparentMode() TTransparentMode

func (*TBitmap) UnsafeAddr

func (b *TBitmap) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TBitmap) Width

func (b *TBitmap) Width() int32

获取宽度。

Get width.

type TBoundLabel

type TBoundLabel struct {
	IControl
	// contains filtered or unexported fields
}

func AsBoundLabel

func AsBoundLabel(obj interface{}) *TBoundLabel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func BoundLabelFromInst

func BoundLabelFromInst(inst uintptr) *TBoundLabel

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsBoundLabel.

func BoundLabelFromObj

func BoundLabelFromObj(obj IObject) *TBoundLabel

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsBoundLabel.

func BoundLabelFromUnsafePointer

func BoundLabelFromUnsafePointer(ptr unsafe.Pointer) *TBoundLabel

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsBoundLabel.

func NewBoundLabel

func NewBoundLabel(owner IComponent) *TBoundLabel

创建一个新的对象。

Create a new object.

func (*TBoundLabel) Action

func (b *TBoundLabel) Action() *TAction

func (*TBoundLabel) Align

func (b *TBoundLabel) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TBoundLabel) AnchorAsAlign

func (b *TBoundLabel) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TBoundLabel) AnchorClient

func (b *TBoundLabel) AnchorClient(ASpace int32)

func (*TBoundLabel) AnchorHorizontalCenterTo

func (b *TBoundLabel) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TBoundLabel) AnchorParallel

func (b *TBoundLabel) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TBoundLabel) AnchorSame

func (b *TBoundLabel) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TBoundLabel) AnchorSide

func (b *TBoundLabel) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TBoundLabel) AnchorSideBottom

func (b *TBoundLabel) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TBoundLabel) AnchorSideLeft

func (b *TBoundLabel) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TBoundLabel) AnchorSideRight

func (b *TBoundLabel) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TBoundLabel) AnchorSideTop

func (b *TBoundLabel) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TBoundLabel) AnchorToNeighbour

func (b *TBoundLabel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TBoundLabel) AnchorVerticalCenterTo

func (b *TBoundLabel) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TBoundLabel) Anchors

func (b *TBoundLabel) Anchors() TAnchors

获取四个角位置的锚点。

func (*TBoundLabel) Assign

func (b *TBoundLabel) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TBoundLabel) AutoAdjustLayout

func (b *TBoundLabel) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TBoundLabel) BiDiMode

func (b *TBoundLabel) BiDiMode() TBiDiMode

func (*TBoundLabel) BorderSpacing

func (b *TBoundLabel) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TBoundLabel) BoundsRect

func (b *TBoundLabel) BoundsRect() TRect

func (*TBoundLabel) BringToFront

func (b *TBoundLabel) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TBoundLabel) Canvas

func (b *TBoundLabel) Canvas() *TCanvas

获取画布。

func (*TBoundLabel) Caption

func (b *TBoundLabel) Caption() string

获取控件标题。

Get the control title.

func (*TBoundLabel) ClassName

func (b *TBoundLabel) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TBoundLabel) ClassType

func (b *TBoundLabel) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TBoundLabel) ClientHeight

func (b *TBoundLabel) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TBoundLabel) ClientOrigin

func (b *TBoundLabel) ClientOrigin() TPoint

func (*TBoundLabel) ClientRect

func (b *TBoundLabel) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TBoundLabel) ClientToParent

func (b *TBoundLabel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TBoundLabel) ClientToScreen

func (b *TBoundLabel) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TBoundLabel) ClientWidth

func (b *TBoundLabel) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TBoundLabel) Color

func (b *TBoundLabel) Color() TColor

获取颜色。

Get color.

func (*TBoundLabel) ComponentCount

func (b *TBoundLabel) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TBoundLabel) ComponentIndex

func (b *TBoundLabel) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TBoundLabel) Components

func (b *TBoundLabel) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TBoundLabel) Constraints

func (b *TBoundLabel) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TBoundLabel) ControlState

func (b *TBoundLabel) ControlState() TControlState

获取控件状态。

Get control state.

func (*TBoundLabel) ControlStyle

func (b *TBoundLabel) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TBoundLabel) Cursor

func (b *TBoundLabel) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TBoundLabel) DragCursor

func (b *TBoundLabel) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TBoundLabel) DragMode

func (b *TBoundLabel) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TBoundLabel) Dragging

func (b *TBoundLabel) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TBoundLabel) Enabled

func (b *TBoundLabel) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TBoundLabel) Equals

func (b *TBoundLabel) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TBoundLabel) FindComponent

func (b *TBoundLabel) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TBoundLabel) FixDesignFontsPPI

func (b *TBoundLabel) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TBoundLabel) Floating

func (b *TBoundLabel) Floating() bool

func (*TBoundLabel) Font

func (b *TBoundLabel) Font() *TFont

获取字体。

Get Font.

func (*TBoundLabel) Free

func (b *TBoundLabel) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TBoundLabel) GetHashCode

func (b *TBoundLabel) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TBoundLabel) GetNamePath

func (b *TBoundLabel) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TBoundLabel) GetTextBuf

func (b *TBoundLabel) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TBoundLabel) GetTextLen

func (b *TBoundLabel) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TBoundLabel) HasParent

func (b *TBoundLabel) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TBoundLabel) Height

func (b *TBoundLabel) Height() int32

获取高度。

Get height.

func (*TBoundLabel) Hide

func (b *TBoundLabel) Hide()

隐藏控件。

Hidden control.

func (*TBoundLabel) Hint

func (b *TBoundLabel) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TBoundLabel) InheritsFrom

func (b *TBoundLabel) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TBoundLabel) Instance

func (b *TBoundLabel) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TBoundLabel) InstanceSize

func (b *TBoundLabel) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TBoundLabel) Invalidate

func (b *TBoundLabel) Invalidate()

要求重绘。

Redraw.

func (*TBoundLabel) Is

func (b *TBoundLabel) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TBoundLabel) IsValid

func (b *TBoundLabel) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TBoundLabel) Layout

func (b *TBoundLabel) Layout() TTextLayout

func (*TBoundLabel) Left

func (b *TBoundLabel) Left() int32

获取左边位置。

Get Left position.

func (*TBoundLabel) Name

func (b *TBoundLabel) Name() string

获取组件名称。

Get the component name.

func (*TBoundLabel) Owner

func (b *TBoundLabel) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TBoundLabel) Parent

func (b *TBoundLabel) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TBoundLabel) ParentColor

func (b *TBoundLabel) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TBoundLabel) ParentFont

func (b *TBoundLabel) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TBoundLabel) ParentShowHint

func (b *TBoundLabel) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TBoundLabel) ParentToClient

func (b *TBoundLabel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TBoundLabel) Perform

func (b *TBoundLabel) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TBoundLabel) PopupMenu

func (b *TBoundLabel) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TBoundLabel) Refresh

func (b *TBoundLabel) Refresh()

刷新控件。

Refresh control.

func (*TBoundLabel) Repaint

func (b *TBoundLabel) Repaint()

重绘。

Repaint.

func (*TBoundLabel) Scale96ToFont

func (b *TBoundLabel) Scale96ToFont(ASize int32) int32

func (*TBoundLabel) Scale96ToForm

func (b *TBoundLabel) Scale96ToForm(ASize int32) int32

func (*TBoundLabel) Scale96ToScreen

func (b *TBoundLabel) Scale96ToScreen(ASize int32) int32

func (*TBoundLabel) ScaleDesignToForm

func (b *TBoundLabel) ScaleDesignToForm(ASize int32) int32

func (*TBoundLabel) ScaleFontTo96

func (b *TBoundLabel) ScaleFontTo96(ASize int32) int32

func (*TBoundLabel) ScaleFontToScreen

func (b *TBoundLabel) ScaleFontToScreen(ASize int32) int32

func (*TBoundLabel) ScaleFontsPPI

func (b *TBoundLabel) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TBoundLabel) ScaleFormTo96

func (b *TBoundLabel) ScaleFormTo96(ASize int32) int32

func (*TBoundLabel) ScaleFormToDesign

func (b *TBoundLabel) ScaleFormToDesign(ASize int32) int32

func (*TBoundLabel) ScaleScreenTo96

func (b *TBoundLabel) ScaleScreenTo96(ASize int32) int32

func (*TBoundLabel) ScaleScreenToFont

func (b *TBoundLabel) ScaleScreenToFont(ASize int32) int32

func (*TBoundLabel) ScreenToClient

func (b *TBoundLabel) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TBoundLabel) SendToBack

func (b *TBoundLabel) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TBoundLabel) SetAction

func (b *TBoundLabel) SetAction(value IComponent)

func (*TBoundLabel) SetAlign

func (b *TBoundLabel) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TBoundLabel) SetAnchorSideBottom

func (b *TBoundLabel) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TBoundLabel) SetAnchorSideLeft

func (b *TBoundLabel) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TBoundLabel) SetAnchorSideRight

func (b *TBoundLabel) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TBoundLabel) SetAnchorSideTop

func (b *TBoundLabel) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TBoundLabel) SetAnchors

func (b *TBoundLabel) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TBoundLabel) SetBiDiMode

func (b *TBoundLabel) SetBiDiMode(value TBiDiMode)

func (*TBoundLabel) SetBorderSpacing

func (b *TBoundLabel) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TBoundLabel) SetBounds

func (b *TBoundLabel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TBoundLabel) SetBoundsRect

func (b *TBoundLabel) SetBoundsRect(value TRect)

func (*TBoundLabel) SetCaption

func (b *TBoundLabel) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TBoundLabel) SetClientHeight

func (b *TBoundLabel) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TBoundLabel) SetClientWidth

func (b *TBoundLabel) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TBoundLabel) SetColor

func (b *TBoundLabel) SetColor(value TColor)

设置颜色。

Set color.

func (*TBoundLabel) SetComponentIndex

func (b *TBoundLabel) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TBoundLabel) SetConstraints

func (b *TBoundLabel) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TBoundLabel) SetControlState

func (b *TBoundLabel) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TBoundLabel) SetControlStyle

func (b *TBoundLabel) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TBoundLabel) SetCursor

func (b *TBoundLabel) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TBoundLabel) SetDragCursor

func (b *TBoundLabel) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TBoundLabel) SetDragMode

func (b *TBoundLabel) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TBoundLabel) SetEnabled

func (b *TBoundLabel) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TBoundLabel) SetFont

func (b *TBoundLabel) SetFont(value *TFont)

设置字体。

Set Font.

func (*TBoundLabel) SetHeight

func (b *TBoundLabel) SetHeight(value int32)

设置高度。

Set height.

func (*TBoundLabel) SetHint

func (b *TBoundLabel) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TBoundLabel) SetLayout

func (b *TBoundLabel) SetLayout(value TTextLayout)

func (*TBoundLabel) SetName

func (b *TBoundLabel) SetName(value string)

设置组件名称。

Set the component name.

func (*TBoundLabel) SetOnClick

func (b *TBoundLabel) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TBoundLabel) SetOnDblClick

func (b *TBoundLabel) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TBoundLabel) SetOnDragDrop

func (b *TBoundLabel) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TBoundLabel) SetOnDragOver

func (b *TBoundLabel) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TBoundLabel) SetOnEndDrag

func (b *TBoundLabel) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TBoundLabel) SetOnMouseDown

func (b *TBoundLabel) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TBoundLabel) SetOnMouseMove

func (b *TBoundLabel) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TBoundLabel) SetOnMouseUp

func (b *TBoundLabel) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TBoundLabel) SetParent

func (b *TBoundLabel) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TBoundLabel) SetParentColor

func (b *TBoundLabel) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TBoundLabel) SetParentFont

func (b *TBoundLabel) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TBoundLabel) SetParentShowHint

func (b *TBoundLabel) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TBoundLabel) SetPopupMenu

func (b *TBoundLabel) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TBoundLabel) SetShowAccelChar

func (b *TBoundLabel) SetShowAccelChar(value bool)

func (*TBoundLabel) SetShowHint

func (b *TBoundLabel) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TBoundLabel) SetTag

func (b *TBoundLabel) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TBoundLabel) SetTextBuf

func (b *TBoundLabel) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TBoundLabel) SetVisible

func (b *TBoundLabel) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TBoundLabel) SetWidth

func (b *TBoundLabel) SetWidth(value int32)

设置宽度。

Set width.

func (*TBoundLabel) SetWordWrap

func (b *TBoundLabel) SetWordWrap(value bool)

设置自动换行。

Set Automatic line break.

func (*TBoundLabel) Show

func (b *TBoundLabel) Show()

显示控件。

Show control.

func (*TBoundLabel) ShowAccelChar

func (b *TBoundLabel) ShowAccelChar() bool

func (*TBoundLabel) ShowHint

func (b *TBoundLabel) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TBoundLabel) Tag

func (b *TBoundLabel) Tag() int

获取对象标记。

Get the control tag.

func (*TBoundLabel) ToString

func (b *TBoundLabel) ToString() string

文本类信息。

Text information.

func (*TBoundLabel) Top

func (b *TBoundLabel) Top() int32

获取顶边位置。

Get Top position.

func (*TBoundLabel) UnsafeAddr

func (b *TBoundLabel) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TBoundLabel) Update

func (b *TBoundLabel) Update()

控件更新。

Update.

func (*TBoundLabel) Visible

func (b *TBoundLabel) Visible() bool

获取控件可视。

Get the control visible.

func (*TBoundLabel) Width

func (b *TBoundLabel) Width() int32

获取宽度。

Get width.

func (*TBoundLabel) WordWrap

func (b *TBoundLabel) WordWrap() bool

获取自动换行。

Get Automatic line break.

type TBrush

type TBrush struct {
	IObject
	// contains filtered or unexported fields
}

func AsBrush

func AsBrush(obj interface{}) *TBrush

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func BrushFromInst

func BrushFromInst(inst uintptr) *TBrush

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsBrush.

func BrushFromObj

func BrushFromObj(obj IObject) *TBrush

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsBrush.

func BrushFromUnsafePointer

func BrushFromUnsafePointer(ptr unsafe.Pointer) *TBrush

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsBrush.

func NewBrush

func NewBrush() *TBrush

创建一个新的对象。

Create a new object.

func (*TBrush) Assign

func (b *TBrush) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TBrush) Bitmap

func (b *TBrush) Bitmap() *TBitmap

func (*TBrush) ClassName

func (b *TBrush) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TBrush) ClassType

func (b *TBrush) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TBrush) Color

func (b *TBrush) Color() TColor

获取颜色。

Get color.

func (*TBrush) Equals

func (b *TBrush) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TBrush) Free

func (b *TBrush) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TBrush) GetHashCode

func (b *TBrush) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TBrush) GetNamePath

func (b *TBrush) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TBrush) Handle

func (b *TBrush) Handle() HBRUSH

获取控件句柄。

Get Control handle.

func (*TBrush) InheritsFrom

func (b *TBrush) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TBrush) Instance

func (b *TBrush) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TBrush) InstanceSize

func (b *TBrush) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TBrush) Is

func (b *TBrush) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TBrush) IsValid

func (b *TBrush) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TBrush) SetBitmap

func (b *TBrush) SetBitmap(value *TBitmap)

func (*TBrush) SetColor

func (b *TBrush) SetColor(value TColor)

设置颜色。

Set color.

func (*TBrush) SetHandle

func (b *TBrush) SetHandle(value HBRUSH)

设置控件句柄。

Set Control handle.

func (*TBrush) SetOnChange

func (b *TBrush) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TBrush) SetStyle

func (b *TBrush) SetStyle(value TBrushStyle)

func (*TBrush) Style

func (b *TBrush) Style() TBrushStyle

func (*TBrush) ToString

func (b *TBrush) ToString() string

文本类信息。

Text information.

func (*TBrush) UnsafeAddr

func (b *TBrush) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TButton

type TButton struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsButton

func AsButton(obj interface{}) *TButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ButtonFromInst

func ButtonFromInst(inst uintptr) *TButton

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsButton.

func ButtonFromObj

func ButtonFromObj(obj IObject) *TButton

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsButton.

func ButtonFromUnsafePointer

func ButtonFromUnsafePointer(ptr unsafe.Pointer) *TButton

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsButton.

func NewButton

func NewButton(owner IComponent) *TButton

创建一个新的对象。

Create a new object.

func (*TButton) Action

func (b *TButton) Action() *TAction

func (*TButton) Align

func (b *TButton) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TButton) AnchorAsAlign

func (b *TButton) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TButton) AnchorClient

func (b *TButton) AnchorClient(ASpace int32)

func (*TButton) AnchorHorizontalCenterTo

func (b *TButton) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TButton) AnchorParallel

func (b *TButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TButton) AnchorSame

func (b *TButton) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TButton) AnchorSide

func (b *TButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TButton) AnchorSideBottom

func (b *TButton) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TButton) AnchorSideLeft

func (b *TButton) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TButton) AnchorSideRight

func (b *TButton) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TButton) AnchorSideTop

func (b *TButton) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TButton) AnchorToNeighbour

func (b *TButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TButton) AnchorVerticalCenterTo

func (b *TButton) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TButton) Anchors

func (b *TButton) Anchors() TAnchors

获取四个角位置的锚点。

func (*TButton) Assign

func (b *TButton) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TButton) AutoAdjustLayout

func (b *TButton) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TButton) BiDiMode

func (b *TButton) BiDiMode() TBiDiMode

func (*TButton) BorderSpacing

func (b *TButton) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TButton) BoundsRect

func (b *TButton) BoundsRect() TRect

func (*TButton) BringToFront

func (b *TButton) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TButton) Brush

func (b *TButton) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TButton) CanFocus

func (b *TButton) CanFocus() bool

是否可以获得焦点。

func (*TButton) Cancel

func (b *TButton) Cancel() bool

func (*TButton) Caption

func (b *TButton) Caption() string

获取控件标题。

Get the control title.

func (*TButton) ChildSizing

func (b *TButton) ChildSizing() *TControlChildSizing

func (*TButton) ClassName

func (b *TButton) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TButton) ClassType

func (b *TButton) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TButton) Click

func (b *TButton) Click()

单击。

func (*TButton) ClientHeight

func (b *TButton) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TButton) ClientOrigin

func (b *TButton) ClientOrigin() TPoint

func (*TButton) ClientRect

func (b *TButton) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TButton) ClientToParent

func (b *TButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TButton) ClientToScreen

func (b *TButton) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TButton) ClientWidth

func (b *TButton) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TButton) ComponentCount

func (b *TButton) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TButton) ComponentIndex

func (b *TButton) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TButton) Components

func (b *TButton) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TButton) Constraints

func (b *TButton) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TButton) ContainsControl

func (b *TButton) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TButton) ControlAtPos

func (b *TButton) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TButton) ControlCount

func (b *TButton) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TButton) ControlState

func (b *TButton) ControlState() TControlState

获取控件状态。

Get control state.

func (*TButton) ControlStyle

func (b *TButton) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TButton) Controls

func (b *TButton) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TButton) Cursor

func (b *TButton) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TButton) Default

func (b *TButton) Default() bool

func (*TButton) DisableAlign

func (b *TButton) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TButton) DockClientCount

func (b *TButton) DockClientCount() int32

获取依靠客户端总数。

func (*TButton) DockClients

func (b *TButton) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TButton) DockSite

func (b *TButton) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TButton) DoubleBuffered

func (b *TButton) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TButton) DragCursor

func (b *TButton) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TButton) DragKind

func (b *TButton) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TButton) DragMode

func (b *TButton) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TButton) Dragging

func (b *TButton) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TButton) EnableAlign

func (b *TButton) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TButton) Enabled

func (b *TButton) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TButton) Equals

func (b *TButton) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TButton) FindChildControl

func (b *TButton) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TButton) FindComponent

func (b *TButton) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TButton) FixDesignFontsPPI

func (b *TButton) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TButton) FlipChildren

func (b *TButton) FlipChildren(AllLevels bool)

func (*TButton) Floating

func (b *TButton) Floating() bool

func (*TButton) Focused

func (b *TButton) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TButton) Font

func (b *TButton) Font() *TFont

获取字体。

Get Font.

func (*TButton) Free

func (b *TButton) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TButton) GetHashCode

func (b *TButton) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TButton) GetNamePath

func (b *TButton) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TButton) GetTextBuf

func (b *TButton) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TButton) GetTextLen

func (b *TButton) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TButton) Handle

func (b *TButton) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TButton) HandleAllocated

func (b *TButton) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TButton) HasParent

func (b *TButton) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TButton) Height

func (b *TButton) Height() int32

获取高度。

Get height.

func (*TButton) Hide

func (b *TButton) Hide()

隐藏控件。

Hidden control.

func (*TButton) Hint

func (b *TButton) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TButton) InheritsFrom

func (b *TButton) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TButton) InsertControl

func (b *TButton) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TButton) Instance

func (b *TButton) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TButton) InstanceSize

func (b *TButton) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TButton) Invalidate

func (b *TButton) Invalidate()

要求重绘。

Redraw.

func (*TButton) Is

func (b *TButton) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TButton) IsValid

func (b *TButton) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TButton) Left

func (b *TButton) Left() int32

获取左边位置。

Get Left position.

func (*TButton) ModalResult

func (b *TButton) ModalResult() TModalResult

获取模态对话框显示结果。

func (*TButton) MouseInClient

func (b *TButton) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TButton) Name

func (b *TButton) Name() string

获取组件名称。

Get the component name.

func (*TButton) Owner

func (b *TButton) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TButton) PaintTo

func (b *TButton) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TButton) Parent

func (b *TButton) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TButton) ParentDoubleBuffered

func (b *TButton) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TButton) ParentFont

func (b *TButton) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TButton) ParentShowHint

func (b *TButton) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TButton) ParentToClient

func (b *TButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TButton) ParentWindow

func (b *TButton) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TButton) Perform

func (b *TButton) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TButton) PopupMenu

func (b *TButton) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TButton) Realign

func (b *TButton) Realign()

重新对齐。

Realign.

func (*TButton) Refresh

func (b *TButton) Refresh()

刷新控件。

Refresh control.

func (*TButton) RemoveControl

func (b *TButton) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TButton) Repaint

func (b *TButton) Repaint()

重绘。

Repaint.

func (*TButton) Scale96ToFont

func (b *TButton) Scale96ToFont(ASize int32) int32

func (*TButton) Scale96ToForm

func (b *TButton) Scale96ToForm(ASize int32) int32

func (*TButton) Scale96ToScreen

func (b *TButton) Scale96ToScreen(ASize int32) int32

func (*TButton) ScaleBy

func (b *TButton) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TButton) ScaleDesignToForm

func (b *TButton) ScaleDesignToForm(ASize int32) int32

func (*TButton) ScaleFontTo96

func (b *TButton) ScaleFontTo96(ASize int32) int32

func (*TButton) ScaleFontToScreen

func (b *TButton) ScaleFontToScreen(ASize int32) int32

func (*TButton) ScaleFontsPPI

func (b *TButton) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TButton) ScaleFormTo96

func (b *TButton) ScaleFormTo96(ASize int32) int32

func (*TButton) ScaleFormToDesign

func (b *TButton) ScaleFormToDesign(ASize int32) int32

func (*TButton) ScaleScreenTo96

func (b *TButton) ScaleScreenTo96(ASize int32) int32

func (*TButton) ScaleScreenToFont

func (b *TButton) ScaleScreenToFont(ASize int32) int32

func (*TButton) ScreenToClient

func (b *TButton) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TButton) ScrollBy

func (b *TButton) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TButton) SendToBack

func (b *TButton) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TButton) SetAction

func (b *TButton) SetAction(value IComponent)

func (*TButton) SetAlign

func (b *TButton) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TButton) SetAnchorSideBottom

func (b *TButton) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TButton) SetAnchorSideLeft

func (b *TButton) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TButton) SetAnchorSideRight

func (b *TButton) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TButton) SetAnchorSideTop

func (b *TButton) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TButton) SetAnchors

func (b *TButton) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TButton) SetBiDiMode

func (b *TButton) SetBiDiMode(value TBiDiMode)

func (*TButton) SetBorderSpacing

func (b *TButton) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TButton) SetBounds

func (b *TButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TButton) SetBoundsRect

func (b *TButton) SetBoundsRect(value TRect)

func (*TButton) SetCancel

func (b *TButton) SetCancel(value bool)

func (*TButton) SetCaption

func (b *TButton) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TButton) SetChildSizing

func (b *TButton) SetChildSizing(value *TControlChildSizing)

func (*TButton) SetClientHeight

func (b *TButton) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TButton) SetClientWidth

func (b *TButton) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TButton) SetComponentIndex

func (b *TButton) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TButton) SetConstraints

func (b *TButton) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TButton) SetControlState

func (b *TButton) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TButton) SetControlStyle

func (b *TButton) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TButton) SetCursor

func (b *TButton) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TButton) SetDefault

func (b *TButton) SetDefault(value bool)

func (*TButton) SetDockSite

func (b *TButton) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TButton) SetDoubleBuffered

func (b *TButton) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TButton) SetDragCursor

func (b *TButton) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TButton) SetDragKind

func (b *TButton) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TButton) SetDragMode

func (b *TButton) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TButton) SetEnabled

func (b *TButton) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TButton) SetFocus

func (b *TButton) SetFocus()

设置控件焦点。

Set control focus.

func (*TButton) SetFont

func (b *TButton) SetFont(value *TFont)

设置字体。

Set Font.

func (*TButton) SetHeight

func (b *TButton) SetHeight(value int32)

设置高度。

Set height.

func (*TButton) SetHint

func (b *TButton) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TButton) SetLeft

func (b *TButton) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TButton) SetModalResult

func (b *TButton) SetModalResult(value TModalResult)

设置模态对话框显示结果。

func (*TButton) SetName

func (b *TButton) SetName(value string)

设置组件名称。

Set the component name.

func (*TButton) SetOnClick

func (b *TButton) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TButton) SetOnContextPopup

func (b *TButton) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TButton) SetOnDragDrop

func (b *TButton) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TButton) SetOnDragOver

func (b *TButton) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TButton) SetOnEndDrag

func (b *TButton) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TButton) SetOnEnter

func (b *TButton) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TButton) SetOnExit

func (b *TButton) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TButton) SetOnKeyDown

func (b *TButton) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TButton) SetOnKeyPress

func (b *TButton) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TButton) SetOnKeyUp

func (b *TButton) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TButton) SetOnMouseDown

func (b *TButton) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TButton) SetOnMouseEnter

func (b *TButton) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TButton) SetOnMouseLeave

func (b *TButton) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TButton) SetOnMouseMove

func (b *TButton) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TButton) SetOnMouseUp

func (b *TButton) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TButton) SetParent

func (b *TButton) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TButton) SetParentDoubleBuffered

func (b *TButton) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TButton) SetParentFont

func (b *TButton) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TButton) SetParentShowHint

func (b *TButton) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TButton) SetParentWindow

func (b *TButton) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TButton) SetPopupMenu

func (b *TButton) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TButton) SetShowHint

func (b *TButton) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TButton) SetTabOrder

func (b *TButton) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TButton) SetTabStop

func (b *TButton) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TButton) SetTag

func (b *TButton) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TButton) SetTextBuf

func (b *TButton) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TButton) SetTop

func (b *TButton) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TButton) SetUseDockManager

func (b *TButton) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TButton) SetVisible

func (b *TButton) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TButton) SetWidth

func (b *TButton) SetWidth(value int32)

设置宽度。

Set width.

func (*TButton) Show

func (b *TButton) Show()

显示控件。

Show control.

func (*TButton) ShowHint

func (b *TButton) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TButton) Showing

func (b *TButton) Showing() bool

func (*TButton) TabOrder

func (b *TButton) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TButton) TabStop

func (b *TButton) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TButton) Tag

func (b *TButton) Tag() int

获取对象标记。

Get the control tag.

func (*TButton) ToString

func (b *TButton) ToString() string

文本类信息。

Text information.

func (*TButton) Top

func (b *TButton) Top() int32

获取顶边位置。

Get Top position.

func (*TButton) UnsafeAddr

func (b *TButton) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TButton) Update

func (b *TButton) Update()

控件更新。

Update.

func (*TButton) UseDockManager

func (b *TButton) UseDockManager() bool

获取使用停靠管理。

func (*TButton) Visible

func (b *TButton) Visible() bool

获取控件可视。

Get the control visible.

func (*TButton) VisibleDockClientCount

func (b *TButton) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TButton) Width

func (b *TButton) Width() int32

获取宽度。

Get width.

type TCanvas

type TCanvas struct {
	IObject
	// contains filtered or unexported fields
}

func AsCanvas

func AsCanvas(obj interface{}) *TCanvas

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func CanvasFromInst

func CanvasFromInst(inst uintptr) *TCanvas

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsCanvas.

func CanvasFromObj

func CanvasFromObj(obj IObject) *TCanvas

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsCanvas.

func CanvasFromUnsafePointer

func CanvasFromUnsafePointer(ptr unsafe.Pointer) *TCanvas

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCanvas.

func NewCanvas

func NewCanvas() *TCanvas

创建一个新的对象。

Create a new object.

func (*TCanvas) AngleArc

func (c *TCanvas) AngleArc(X int32, Y int32, Radius uint32, StartAngle float32, SweepAngle float32)

func (*TCanvas) Arc

func (c *TCanvas) Arc(X1 int32, Y1 int32, X2 int32, Y2 int32, X3 int32, Y3 int32, X4 int32, Y4 int32)

func (*TCanvas) ArcTo

func (c *TCanvas) ArcTo(X1 int32, Y1 int32, X2 int32, Y2 int32, X3 int32, Y3 int32, X4 int32, Y4 int32)

func (*TCanvas) Assign

func (c *TCanvas) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCanvas) Brush

func (c *TCanvas) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TCanvas) BrushCopy

func (c *TCanvas) BrushCopy(dest TRect, bitmap IObject, source TRect, color TColor)

画刷复制

func (*TCanvas) Chord

func (c *TCanvas) Chord(X1 int32, Y1 int32, X2 int32, Y2 int32, X3 int32, Y3 int32, X4 int32, Y4 int32)

func (*TCanvas) ClassName

func (c *TCanvas) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TCanvas) ClassType

func (c *TCanvas) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TCanvas) CopyMode

func (c *TCanvas) CopyMode() int32

func (*TCanvas) CopyRect

func (c *TCanvas) CopyRect(dest TRect, canvas IObject, source TRect)

复制矩形

func (*TCanvas) Draw

func (c *TCanvas) Draw(x, y int32, graphic IGraphic)

绘制graphic对象

func (*TCanvas) Draw2

func (c *TCanvas) Draw2(x, y int32, graphic IGraphic, opacity uint8)

绘制graphic对象,opacity透明度

func (*TCanvas) DrawFocusRect

func (c *TCanvas) DrawFocusRect(aRect TRect)

画焦点矩形

func (*TCanvas) Ellipse

func (c *TCanvas) Ellipse(X1 int32, Y1 int32, X2 int32, Y2 int32)

func (*TCanvas) Equals

func (c *TCanvas) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TCanvas) FillRect

func (c *TCanvas) FillRect(aRect TRect)

填充矩形

func (*TCanvas) FloodFill

func (c *TCanvas) FloodFill(X int32, Y int32, Color TColor, FillStyle TFillStyle)

func (*TCanvas) Font

func (c *TCanvas) Font() *TFont

获取字体。

Get Font.

func (*TCanvas) FrameRect

func (c *TCanvas) FrameRect(aRect TRect)

绘制边框

func (*TCanvas) Free

func (c *TCanvas) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TCanvas) GetHashCode

func (c *TCanvas) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TCanvas) GetNamePath

func (c *TCanvas) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TCanvas) Handle

func (c *TCanvas) Handle() HDC

获取控件句柄。

Get Control handle.

func (*TCanvas) HandleAllocated

func (c *TCanvas) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TCanvas) InheritsFrom

func (c *TCanvas) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCanvas) Instance

func (c *TCanvas) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TCanvas) InstanceSize

func (c *TCanvas) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TCanvas) Is

func (c *TCanvas) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCanvas) IsValid

func (c *TCanvas) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TCanvas) LineTo

func (c *TCanvas) LineTo(X int32, Y int32)

func (*TCanvas) Lock

func (c *TCanvas) Lock()

func (*TCanvas) MoveTo

func (c *TCanvas) MoveTo(X int32, Y int32)

func (*TCanvas) Pen

func (c *TCanvas) Pen() *TPen

func (*TCanvas) Pie

func (c *TCanvas) Pie(X1 int32, Y1 int32, X2 int32, Y2 int32, X3 int32, Y3 int32, X4 int32, Y4 int32)

func (*TCanvas) Pixels

func (c *TCanvas) Pixels(X int32, Y int32) TColor

func (*TCanvas) PolyBezier

func (c *TCanvas) PolyBezier(points []TPoint)

多边形贝塞尔曲线

func (*TCanvas) Polygon

func (c *TCanvas) Polygon(points []TPoint)

填充多边形

func (*TCanvas) Polyline

func (c *TCanvas) Polyline(points []TPoint)

画多边形,不填充

func (*TCanvas) Rectangle

func (c *TCanvas) Rectangle(X1 int32, Y1 int32, X2 int32, Y2 int32)

func (*TCanvas) Refresh

func (c *TCanvas) Refresh()

刷新控件。

Refresh control.

func (*TCanvas) RoundRect

func (c *TCanvas) RoundRect(X1 int32, Y1 int32, X2 int32, Y2 int32, X3 int32, Y3 int32)

func (*TCanvas) SetBrush

func (c *TCanvas) SetBrush(value *TBrush)

设置画刷对象。

Set Brush.

func (*TCanvas) SetCopyMode

func (c *TCanvas) SetCopyMode(value int32)

func (*TCanvas) SetFont

func (c *TCanvas) SetFont(value *TFont)

设置字体。

Set Font.

func (*TCanvas) SetHandle

func (c *TCanvas) SetHandle(value HDC)

设置控件句柄。

Set Control handle.

func (*TCanvas) SetOnChange

func (c *TCanvas) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TCanvas) SetOnChanging

func (c *TCanvas) SetOnChanging(fn TNotifyEvent)

func (*TCanvas) SetPen

func (c *TCanvas) SetPen(value *TPen)

func (*TCanvas) SetPixels

func (c *TCanvas) SetPixels(X int32, Y int32, value TColor)

func (*TCanvas) StretchDraw

func (c *TCanvas) StretchDraw(Rect TRect, Graphic IGraphic)

func (*TCanvas) TextExtent

func (c *TCanvas) TextExtent(Text string) TSize

func (*TCanvas) TextHeight

func (c *TCanvas) TextHeight(Text string) int32

func (*TCanvas) TextOut

func (c *TCanvas) TextOut(X int32, Y int32, Text string)

func (*TCanvas) TextRect

func (c *TCanvas) TextRect(aRect TRect, x, y int32, text string)

在矩形内绘制文字

func (*TCanvas) TextRect2

func (c *TCanvas) TextRect2(aRect *TRect, text string, textFormat TTextFormat)

在矩形内绘制文字

func (*TCanvas) TextWidth

func (c *TCanvas) TextWidth(Text string) int32

func (*TCanvas) ToString

func (c *TCanvas) ToString() string

文本类信息。

Text information.

func (*TCanvas) UnsafeAddr

func (c *TCanvas) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TCheckBox

type TCheckBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsCheckBox

func AsCheckBox(obj interface{}) *TCheckBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func CheckBoxFromInst

func CheckBoxFromInst(inst uintptr) *TCheckBox

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsCheckBox.

func CheckBoxFromObj

func CheckBoxFromObj(obj IObject) *TCheckBox

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsCheckBox.

func CheckBoxFromUnsafePointer

func CheckBoxFromUnsafePointer(ptr unsafe.Pointer) *TCheckBox

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCheckBox.

func NewCheckBox

func NewCheckBox(owner IComponent) *TCheckBox

创建一个新的对象。

Create a new object.

func (*TCheckBox) Action

func (c *TCheckBox) Action() *TAction

func (*TCheckBox) Align

func (c *TCheckBox) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TCheckBox) Alignment

func (c *TCheckBox) Alignment() TLeftRight

获取文字对齐。

Get Text alignment.

func (*TCheckBox) AllowGrayed

func (c *TCheckBox) AllowGrayed() bool

func (*TCheckBox) AnchorAsAlign

func (c *TCheckBox) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TCheckBox) AnchorClient

func (c *TCheckBox) AnchorClient(ASpace int32)

func (*TCheckBox) AnchorHorizontalCenterTo

func (c *TCheckBox) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TCheckBox) AnchorParallel

func (c *TCheckBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TCheckBox) AnchorSame

func (c *TCheckBox) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TCheckBox) AnchorSide

func (c *TCheckBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TCheckBox) AnchorSideBottom

func (c *TCheckBox) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TCheckBox) AnchorSideLeft

func (c *TCheckBox) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TCheckBox) AnchorSideRight

func (c *TCheckBox) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TCheckBox) AnchorSideTop

func (c *TCheckBox) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TCheckBox) AnchorToNeighbour

func (c *TCheckBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TCheckBox) AnchorVerticalCenterTo

func (c *TCheckBox) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TCheckBox) Anchors

func (c *TCheckBox) Anchors() TAnchors

获取四个角位置的锚点。

func (*TCheckBox) Assign

func (c *TCheckBox) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCheckBox) AutoAdjustLayout

func (c *TCheckBox) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TCheckBox) BiDiMode

func (c *TCheckBox) BiDiMode() TBiDiMode

func (*TCheckBox) BorderSpacing

func (c *TCheckBox) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TCheckBox) BoundsRect

func (c *TCheckBox) BoundsRect() TRect

func (*TCheckBox) BringToFront

func (c *TCheckBox) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TCheckBox) Brush

func (c *TCheckBox) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TCheckBox) CanFocus

func (c *TCheckBox) CanFocus() bool

是否可以获得焦点。

func (*TCheckBox) Caption

func (c *TCheckBox) Caption() string

获取控件标题。

Get the control title.

func (*TCheckBox) Checked

func (c *TCheckBox) Checked() bool

获取是否选中。

func (*TCheckBox) ChildSizing

func (c *TCheckBox) ChildSizing() *TControlChildSizing

func (*TCheckBox) ClassName

func (c *TCheckBox) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TCheckBox) ClassType

func (c *TCheckBox) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TCheckBox) ClientHeight

func (c *TCheckBox) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TCheckBox) ClientOrigin

func (c *TCheckBox) ClientOrigin() TPoint

func (*TCheckBox) ClientRect

func (c *TCheckBox) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TCheckBox) ClientToParent

func (c *TCheckBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TCheckBox) ClientToScreen

func (c *TCheckBox) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TCheckBox) ClientWidth

func (c *TCheckBox) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TCheckBox) Color

func (c *TCheckBox) Color() TColor

获取颜色。

Get color.

func (*TCheckBox) ComponentCount

func (c *TCheckBox) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TCheckBox) ComponentIndex

func (c *TCheckBox) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TCheckBox) Components

func (c *TCheckBox) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TCheckBox) Constraints

func (c *TCheckBox) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TCheckBox) ContainsControl

func (c *TCheckBox) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TCheckBox) ControlAtPos

func (c *TCheckBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TCheckBox) ControlCount

func (c *TCheckBox) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TCheckBox) ControlState

func (c *TCheckBox) ControlState() TControlState

获取控件状态。

Get control state.

func (*TCheckBox) ControlStyle

func (c *TCheckBox) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TCheckBox) Controls

func (c *TCheckBox) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TCheckBox) Cursor

func (c *TCheckBox) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TCheckBox) DisableAlign

func (c *TCheckBox) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TCheckBox) DockClientCount

func (c *TCheckBox) DockClientCount() int32

获取依靠客户端总数。

func (*TCheckBox) DockClients

func (c *TCheckBox) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TCheckBox) DockSite

func (c *TCheckBox) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TCheckBox) DoubleBuffered

func (c *TCheckBox) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TCheckBox) DragCursor

func (c *TCheckBox) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TCheckBox) DragKind

func (c *TCheckBox) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TCheckBox) DragMode

func (c *TCheckBox) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TCheckBox) Dragging

func (c *TCheckBox) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TCheckBox) EnableAlign

func (c *TCheckBox) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TCheckBox) Enabled

func (c *TCheckBox) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TCheckBox) Equals

func (c *TCheckBox) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TCheckBox) FindChildControl

func (c *TCheckBox) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TCheckBox) FindComponent

func (c *TCheckBox) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TCheckBox) FixDesignFontsPPI

func (c *TCheckBox) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TCheckBox) FlipChildren

func (c *TCheckBox) FlipChildren(AllLevels bool)

func (*TCheckBox) Floating

func (c *TCheckBox) Floating() bool

func (*TCheckBox) Focused

func (c *TCheckBox) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TCheckBox) Font

func (c *TCheckBox) Font() *TFont

获取字体。

Get Font.

func (*TCheckBox) Free

func (c *TCheckBox) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TCheckBox) GetHashCode

func (c *TCheckBox) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TCheckBox) GetNamePath

func (c *TCheckBox) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TCheckBox) GetTextBuf

func (c *TCheckBox) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TCheckBox) GetTextLen

func (c *TCheckBox) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TCheckBox) Handle

func (c *TCheckBox) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TCheckBox) HandleAllocated

func (c *TCheckBox) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TCheckBox) HasParent

func (c *TCheckBox) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TCheckBox) Height

func (c *TCheckBox) Height() int32

获取高度。

Get height.

func (*TCheckBox) Hide

func (c *TCheckBox) Hide()

隐藏控件。

Hidden control.

func (*TCheckBox) Hint

func (c *TCheckBox) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TCheckBox) InheritsFrom

func (c *TCheckBox) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCheckBox) InsertControl

func (c *TCheckBox) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TCheckBox) Instance

func (c *TCheckBox) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TCheckBox) InstanceSize

func (c *TCheckBox) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TCheckBox) Invalidate

func (c *TCheckBox) Invalidate()

要求重绘。

Redraw.

func (*TCheckBox) Is

func (c *TCheckBox) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCheckBox) IsValid

func (c *TCheckBox) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TCheckBox) Left

func (c *TCheckBox) Left() int32

获取左边位置。

Get Left position.

func (*TCheckBox) MouseInClient

func (c *TCheckBox) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TCheckBox) Name

func (c *TCheckBox) Name() string

获取组件名称。

Get the component name.

func (*TCheckBox) Owner

func (c *TCheckBox) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TCheckBox) PaintTo

func (c *TCheckBox) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TCheckBox) Parent

func (c *TCheckBox) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TCheckBox) ParentColor

func (c *TCheckBox) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TCheckBox) ParentDoubleBuffered

func (c *TCheckBox) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TCheckBox) ParentFont

func (c *TCheckBox) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TCheckBox) ParentShowHint

func (c *TCheckBox) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TCheckBox) ParentToClient

func (c *TCheckBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TCheckBox) ParentWindow

func (c *TCheckBox) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TCheckBox) Perform

func (c *TCheckBox) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TCheckBox) PopupMenu

func (c *TCheckBox) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TCheckBox) Realign

func (c *TCheckBox) Realign()

重新对齐。

Realign.

func (*TCheckBox) Refresh

func (c *TCheckBox) Refresh()

刷新控件。

Refresh control.

func (*TCheckBox) RemoveControl

func (c *TCheckBox) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TCheckBox) Repaint

func (c *TCheckBox) Repaint()

重绘。

Repaint.

func (*TCheckBox) Scale96ToFont

func (c *TCheckBox) Scale96ToFont(ASize int32) int32

func (*TCheckBox) Scale96ToForm

func (c *TCheckBox) Scale96ToForm(ASize int32) int32

func (*TCheckBox) Scale96ToScreen

func (c *TCheckBox) Scale96ToScreen(ASize int32) int32

func (*TCheckBox) ScaleBy

func (c *TCheckBox) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TCheckBox) ScaleDesignToForm

func (c *TCheckBox) ScaleDesignToForm(ASize int32) int32

func (*TCheckBox) ScaleFontTo96

func (c *TCheckBox) ScaleFontTo96(ASize int32) int32

func (*TCheckBox) ScaleFontToScreen

func (c *TCheckBox) ScaleFontToScreen(ASize int32) int32

func (*TCheckBox) ScaleFontsPPI

func (c *TCheckBox) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TCheckBox) ScaleFormTo96

func (c *TCheckBox) ScaleFormTo96(ASize int32) int32

func (*TCheckBox) ScaleFormToDesign

func (c *TCheckBox) ScaleFormToDesign(ASize int32) int32

func (*TCheckBox) ScaleScreenTo96

func (c *TCheckBox) ScaleScreenTo96(ASize int32) int32

func (*TCheckBox) ScaleScreenToFont

func (c *TCheckBox) ScaleScreenToFont(ASize int32) int32

func (*TCheckBox) ScreenToClient

func (c *TCheckBox) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TCheckBox) ScrollBy

func (c *TCheckBox) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TCheckBox) SendToBack

func (c *TCheckBox) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TCheckBox) SetAction

func (c *TCheckBox) SetAction(value IComponent)

func (*TCheckBox) SetAlign

func (c *TCheckBox) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TCheckBox) SetAlignment

func (c *TCheckBox) SetAlignment(value TLeftRight)

设置文字对齐。

Set Text alignment.

func (*TCheckBox) SetAllowGrayed

func (c *TCheckBox) SetAllowGrayed(value bool)

func (*TCheckBox) SetAnchorSideBottom

func (c *TCheckBox) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TCheckBox) SetAnchorSideLeft

func (c *TCheckBox) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TCheckBox) SetAnchorSideRight

func (c *TCheckBox) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TCheckBox) SetAnchorSideTop

func (c *TCheckBox) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TCheckBox) SetAnchors

func (c *TCheckBox) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TCheckBox) SetBiDiMode

func (c *TCheckBox) SetBiDiMode(value TBiDiMode)

func (*TCheckBox) SetBorderSpacing

func (c *TCheckBox) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TCheckBox) SetBounds

func (c *TCheckBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TCheckBox) SetBoundsRect

func (c *TCheckBox) SetBoundsRect(value TRect)

func (*TCheckBox) SetCaption

func (c *TCheckBox) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TCheckBox) SetChecked

func (c *TCheckBox) SetChecked(value bool)

设置是否选中。

func (*TCheckBox) SetChildSizing

func (c *TCheckBox) SetChildSizing(value *TControlChildSizing)

func (*TCheckBox) SetClientHeight

func (c *TCheckBox) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TCheckBox) SetClientWidth

func (c *TCheckBox) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TCheckBox) SetColor

func (c *TCheckBox) SetColor(value TColor)

设置颜色。

Set color.

func (*TCheckBox) SetComponentIndex

func (c *TCheckBox) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TCheckBox) SetConstraints

func (c *TCheckBox) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TCheckBox) SetControlState

func (c *TCheckBox) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TCheckBox) SetControlStyle

func (c *TCheckBox) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TCheckBox) SetCursor

func (c *TCheckBox) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TCheckBox) SetDockSite

func (c *TCheckBox) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TCheckBox) SetDoubleBuffered

func (c *TCheckBox) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TCheckBox) SetDragCursor

func (c *TCheckBox) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TCheckBox) SetDragKind

func (c *TCheckBox) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TCheckBox) SetDragMode

func (c *TCheckBox) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TCheckBox) SetEnabled

func (c *TCheckBox) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TCheckBox) SetFocus

func (c *TCheckBox) SetFocus()

设置控件焦点。

Set control focus.

func (*TCheckBox) SetFont

func (c *TCheckBox) SetFont(value *TFont)

设置字体。

Set Font.

func (*TCheckBox) SetHeight

func (c *TCheckBox) SetHeight(value int32)

设置高度。

Set height.

func (*TCheckBox) SetHint

func (c *TCheckBox) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TCheckBox) SetLeft

func (c *TCheckBox) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TCheckBox) SetName

func (c *TCheckBox) SetName(value string)

设置组件名称。

Set the component name.

func (*TCheckBox) SetOnChange

func (c *TCheckBox) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TCheckBox) SetOnClick

func (c *TCheckBox) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TCheckBox) SetOnContextPopup

func (c *TCheckBox) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TCheckBox) SetOnDragDrop

func (c *TCheckBox) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TCheckBox) SetOnDragOver

func (c *TCheckBox) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TCheckBox) SetOnEndDrag

func (c *TCheckBox) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TCheckBox) SetOnEnter

func (c *TCheckBox) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TCheckBox) SetOnExit

func (c *TCheckBox) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TCheckBox) SetOnKeyDown

func (c *TCheckBox) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TCheckBox) SetOnKeyPress

func (c *TCheckBox) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TCheckBox) SetOnKeyUp

func (c *TCheckBox) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TCheckBox) SetOnMouseDown

func (c *TCheckBox) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TCheckBox) SetOnMouseEnter

func (c *TCheckBox) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TCheckBox) SetOnMouseLeave

func (c *TCheckBox) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TCheckBox) SetOnMouseMove

func (c *TCheckBox) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TCheckBox) SetOnMouseUp

func (c *TCheckBox) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TCheckBox) SetParent

func (c *TCheckBox) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TCheckBox) SetParentColor

func (c *TCheckBox) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TCheckBox) SetParentDoubleBuffered

func (c *TCheckBox) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TCheckBox) SetParentFont

func (c *TCheckBox) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TCheckBox) SetParentShowHint

func (c *TCheckBox) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TCheckBox) SetParentWindow

func (c *TCheckBox) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TCheckBox) SetPopupMenu

func (c *TCheckBox) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TCheckBox) SetShowHint

func (c *TCheckBox) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TCheckBox) SetState

func (c *TCheckBox) SetState(value TCheckBoxState)

func (*TCheckBox) SetTabOrder

func (c *TCheckBox) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TCheckBox) SetTabStop

func (c *TCheckBox) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TCheckBox) SetTag

func (c *TCheckBox) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TCheckBox) SetTextBuf

func (c *TCheckBox) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TCheckBox) SetTop

func (c *TCheckBox) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TCheckBox) SetUseDockManager

func (c *TCheckBox) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TCheckBox) SetVisible

func (c *TCheckBox) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TCheckBox) SetWidth

func (c *TCheckBox) SetWidth(value int32)

设置宽度。

Set width.

func (*TCheckBox) Show

func (c *TCheckBox) Show()

显示控件。

Show control.

func (*TCheckBox) ShowHint

func (c *TCheckBox) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TCheckBox) Showing

func (c *TCheckBox) Showing() bool

func (*TCheckBox) State

func (c *TCheckBox) State() TCheckBoxState

func (*TCheckBox) TabOrder

func (c *TCheckBox) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TCheckBox) TabStop

func (c *TCheckBox) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TCheckBox) Tag

func (c *TCheckBox) Tag() int

获取对象标记。

Get the control tag.

func (*TCheckBox) ToString

func (c *TCheckBox) ToString() string

文本类信息。

Text information.

func (*TCheckBox) Top

func (c *TCheckBox) Top() int32

获取顶边位置。

Get Top position.

func (*TCheckBox) UnsafeAddr

func (c *TCheckBox) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TCheckBox) Update

func (c *TCheckBox) Update()

控件更新。

Update.

func (*TCheckBox) UseDockManager

func (c *TCheckBox) UseDockManager() bool

获取使用停靠管理。

func (*TCheckBox) Visible

func (c *TCheckBox) Visible() bool

获取控件可视。

Get the control visible.

func (*TCheckBox) VisibleDockClientCount

func (c *TCheckBox) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TCheckBox) Width

func (c *TCheckBox) Width() int32

获取宽度。

Get width.

type TCheckComboBox

type TCheckComboBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsCheckComboBox

func AsCheckComboBox(obj interface{}) *TCheckComboBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func CheckComboBoxFromInst

func CheckComboBoxFromInst(inst uintptr) *TCheckComboBox

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsCheckComboBox.

func CheckComboBoxFromObj

func CheckComboBoxFromObj(obj IObject) *TCheckComboBox

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsCheckComboBox.

func CheckComboBoxFromUnsafePointer

func CheckComboBoxFromUnsafePointer(ptr unsafe.Pointer) *TCheckComboBox

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCheckComboBox.

func NewCheckComboBox

func NewCheckComboBox(owner IComponent) *TCheckComboBox

创建一个新的对象。

Create a new object.

func (*TCheckComboBox) Action

func (c *TCheckComboBox) Action() *TAction

func (*TCheckComboBox) AddItem

func (c *TCheckComboBox) AddItem(AItem string, AState TCheckBoxState, AEnabled bool)

func (*TCheckComboBox) Align

func (c *TCheckComboBox) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TCheckComboBox) AllowGrayed

func (c *TCheckComboBox) AllowGrayed() bool

func (*TCheckComboBox) AnchorAsAlign

func (c *TCheckComboBox) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TCheckComboBox) AnchorClient

func (c *TCheckComboBox) AnchorClient(ASpace int32)

func (*TCheckComboBox) AnchorHorizontalCenterTo

func (c *TCheckComboBox) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TCheckComboBox) AnchorParallel

func (c *TCheckComboBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TCheckComboBox) AnchorSame

func (c *TCheckComboBox) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TCheckComboBox) AnchorSide

func (c *TCheckComboBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TCheckComboBox) AnchorSideBottom

func (c *TCheckComboBox) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TCheckComboBox) AnchorSideLeft

func (c *TCheckComboBox) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TCheckComboBox) AnchorSideRight

func (c *TCheckComboBox) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TCheckComboBox) AnchorSideTop

func (c *TCheckComboBox) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TCheckComboBox) AnchorToNeighbour

func (c *TCheckComboBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TCheckComboBox) AnchorVerticalCenterTo

func (c *TCheckComboBox) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TCheckComboBox) Anchors

func (c *TCheckComboBox) Anchors() TAnchors

获取四个角位置的锚点。

func (*TCheckComboBox) Assign

func (c *TCheckComboBox) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCheckComboBox) AssignItems

func (c *TCheckComboBox) AssignItems(AItems IStrings)

func (*TCheckComboBox) AutoAdjustLayout

func (c *TCheckComboBox) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TCheckComboBox) AutoComplete

func (c *TCheckComboBox) AutoComplete() bool

func (*TCheckComboBox) AutoDropDown

func (c *TCheckComboBox) AutoDropDown() bool

func (*TCheckComboBox) AutoSize

func (c *TCheckComboBox) AutoSize() bool

获取自动调整大小。

func (*TCheckComboBox) BiDiMode

func (c *TCheckComboBox) BiDiMode() TBiDiMode

func (*TCheckComboBox) BorderSpacing

func (c *TCheckComboBox) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TCheckComboBox) BoundsRect

func (c *TCheckComboBox) BoundsRect() TRect

func (*TCheckComboBox) BringToFront

func (c *TCheckComboBox) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TCheckComboBox) Brush

func (c *TCheckComboBox) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TCheckComboBox) CanFocus

func (c *TCheckComboBox) CanFocus() bool

是否可以获得焦点。

func (*TCheckComboBox) Canvas

func (c *TCheckComboBox) Canvas() *TCanvas

获取画布。

func (*TCheckComboBox) CharCase

func (c *TCheckComboBox) CharCase() TEditCharCase

func (*TCheckComboBox) CheckAll

func (c *TCheckComboBox) CheckAll(AState TCheckBoxState, AAllowGrayed bool, AAllowDisabled bool)

func (*TCheckComboBox) Checked

func (c *TCheckComboBox) Checked(AIndex int32) bool

获取是否选中。

func (*TCheckComboBox) ChildSizing

func (c *TCheckComboBox) ChildSizing() *TControlChildSizing

func (*TCheckComboBox) ClassName

func (c *TCheckComboBox) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TCheckComboBox) ClassType

func (c *TCheckComboBox) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TCheckComboBox) Clear

func (c *TCheckComboBox) Clear()

清除。

func (*TCheckComboBox) ClearSelection

func (c *TCheckComboBox) ClearSelection()

清除选择。

func (*TCheckComboBox) ClientHeight

func (c *TCheckComboBox) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TCheckComboBox) ClientOrigin

func (c *TCheckComboBox) ClientOrigin() TPoint

func (*TCheckComboBox) ClientRect

func (c *TCheckComboBox) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TCheckComboBox) ClientToParent

func (c *TCheckComboBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TCheckComboBox) ClientToScreen

func (c *TCheckComboBox) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TCheckComboBox) ClientWidth

func (c *TCheckComboBox) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TCheckComboBox) Color

func (c *TCheckComboBox) Color() TColor

获取颜色。

Get color.

func (*TCheckComboBox) ComponentCount

func (c *TCheckComboBox) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TCheckComboBox) ComponentIndex

func (c *TCheckComboBox) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TCheckComboBox) Components

func (c *TCheckComboBox) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TCheckComboBox) Constraints

func (c *TCheckComboBox) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TCheckComboBox) ContainsControl

func (c *TCheckComboBox) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TCheckComboBox) ControlAtPos

func (c *TCheckComboBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TCheckComboBox) ControlCount

func (c *TCheckComboBox) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TCheckComboBox) ControlState

func (c *TCheckComboBox) ControlState() TControlState

获取控件状态。

Get control state.

func (*TCheckComboBox) ControlStyle

func (c *TCheckComboBox) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TCheckComboBox) Controls

func (c *TCheckComboBox) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TCheckComboBox) Count

func (c *TCheckComboBox) Count() int32

func (*TCheckComboBox) Cursor

func (c *TCheckComboBox) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TCheckComboBox) DeleteItem

func (c *TCheckComboBox) DeleteItem(AIndex int32)

func (*TCheckComboBox) DisableAlign

func (c *TCheckComboBox) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TCheckComboBox) DockClientCount

func (c *TCheckComboBox) DockClientCount() int32

获取依靠客户端总数。

func (*TCheckComboBox) DockClients

func (c *TCheckComboBox) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TCheckComboBox) DockSite

func (c *TCheckComboBox) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TCheckComboBox) DoubleBuffered

func (c *TCheckComboBox) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TCheckComboBox) DragCursor

func (c *TCheckComboBox) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TCheckComboBox) DragKind

func (c *TCheckComboBox) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TCheckComboBox) DragMode

func (c *TCheckComboBox) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TCheckComboBox) Dragging

func (c *TCheckComboBox) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TCheckComboBox) DropDownCount

func (c *TCheckComboBox) DropDownCount() int32

func (*TCheckComboBox) DroppedDown

func (c *TCheckComboBox) DroppedDown() bool

func (*TCheckComboBox) EnableAlign

func (c *TCheckComboBox) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TCheckComboBox) Enabled

func (c *TCheckComboBox) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TCheckComboBox) Equals

func (c *TCheckComboBox) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TCheckComboBox) FindChildControl

func (c *TCheckComboBox) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TCheckComboBox) FindComponent

func (c *TCheckComboBox) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TCheckComboBox) FixDesignFontsPPI

func (c *TCheckComboBox) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TCheckComboBox) FlipChildren

func (c *TCheckComboBox) FlipChildren(AllLevels bool)

func (*TCheckComboBox) Floating

func (c *TCheckComboBox) Floating() bool

func (*TCheckComboBox) Focused

func (c *TCheckComboBox) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TCheckComboBox) Font

func (c *TCheckComboBox) Font() *TFont

获取字体。

Get Font.

func (*TCheckComboBox) Free

func (c *TCheckComboBox) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TCheckComboBox) GetHashCode

func (c *TCheckComboBox) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TCheckComboBox) GetNamePath

func (c *TCheckComboBox) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TCheckComboBox) GetTextBuf

func (c *TCheckComboBox) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TCheckComboBox) GetTextLen

func (c *TCheckComboBox) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TCheckComboBox) Handle

func (c *TCheckComboBox) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TCheckComboBox) HandleAllocated

func (c *TCheckComboBox) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TCheckComboBox) HasParent

func (c *TCheckComboBox) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TCheckComboBox) Height

func (c *TCheckComboBox) Height() int32

获取高度。

Get height.

func (*TCheckComboBox) Hide

func (c *TCheckComboBox) Hide()

隐藏控件。

Hidden control.

func (*TCheckComboBox) Hint

func (c *TCheckComboBox) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TCheckComboBox) InheritsFrom

func (c *TCheckComboBox) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCheckComboBox) InsertControl

func (c *TCheckComboBox) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TCheckComboBox) Instance

func (c *TCheckComboBox) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TCheckComboBox) InstanceSize

func (c *TCheckComboBox) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TCheckComboBox) Invalidate

func (c *TCheckComboBox) Invalidate()

要求重绘。

Redraw.

func (*TCheckComboBox) Is

func (c *TCheckComboBox) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCheckComboBox) IsValid

func (c *TCheckComboBox) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TCheckComboBox) ItemEnabled

func (c *TCheckComboBox) ItemEnabled(AIndex int32) bool

func (*TCheckComboBox) ItemHeight

func (c *TCheckComboBox) ItemHeight() int32

func (*TCheckComboBox) ItemIndex

func (c *TCheckComboBox) ItemIndex() int32

func (*TCheckComboBox) ItemWidth

func (c *TCheckComboBox) ItemWidth() int32

func (*TCheckComboBox) Items

func (c *TCheckComboBox) Items() *TStrings

func (*TCheckComboBox) Left

func (c *TCheckComboBox) Left() int32

获取左边位置。

Get Left position.

func (*TCheckComboBox) MaxLength

func (c *TCheckComboBox) MaxLength() int32

获取最大长度。

func (*TCheckComboBox) MouseInClient

func (c *TCheckComboBox) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TCheckComboBox) Name

func (c *TCheckComboBox) Name() string

获取组件名称。

Get the component name.

func (*TCheckComboBox) Objects

func (c *TCheckComboBox) Objects(AIndex int32) *TObject

func (*TCheckComboBox) Owner

func (c *TCheckComboBox) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TCheckComboBox) PaintTo

func (c *TCheckComboBox) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TCheckComboBox) Parent

func (c *TCheckComboBox) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TCheckComboBox) ParentColor

func (c *TCheckComboBox) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TCheckComboBox) ParentDoubleBuffered

func (c *TCheckComboBox) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TCheckComboBox) ParentFont

func (c *TCheckComboBox) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TCheckComboBox) ParentShowHint

func (c *TCheckComboBox) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TCheckComboBox) ParentToClient

func (c *TCheckComboBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TCheckComboBox) ParentWindow

func (c *TCheckComboBox) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TCheckComboBox) Perform

func (c *TCheckComboBox) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TCheckComboBox) PopupMenu

func (c *TCheckComboBox) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TCheckComboBox) Realign

func (c *TCheckComboBox) Realign()

重新对齐。

Realign.

func (*TCheckComboBox) Refresh

func (c *TCheckComboBox) Refresh()

刷新控件。

Refresh control.

func (*TCheckComboBox) RemoveControl

func (c *TCheckComboBox) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TCheckComboBox) Repaint

func (c *TCheckComboBox) Repaint()

重绘。

Repaint.

func (*TCheckComboBox) Scale96ToFont

func (c *TCheckComboBox) Scale96ToFont(ASize int32) int32

func (*TCheckComboBox) Scale96ToForm

func (c *TCheckComboBox) Scale96ToForm(ASize int32) int32

func (*TCheckComboBox) Scale96ToScreen

func (c *TCheckComboBox) Scale96ToScreen(ASize int32) int32

func (*TCheckComboBox) ScaleBy

func (c *TCheckComboBox) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TCheckComboBox) ScaleDesignToForm

func (c *TCheckComboBox) ScaleDesignToForm(ASize int32) int32

func (*TCheckComboBox) ScaleFontTo96

func (c *TCheckComboBox) ScaleFontTo96(ASize int32) int32

func (*TCheckComboBox) ScaleFontToScreen

func (c *TCheckComboBox) ScaleFontToScreen(ASize int32) int32

func (*TCheckComboBox) ScaleFontsPPI

func (c *TCheckComboBox) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TCheckComboBox) ScaleFormTo96

func (c *TCheckComboBox) ScaleFormTo96(ASize int32) int32

func (*TCheckComboBox) ScaleFormToDesign

func (c *TCheckComboBox) ScaleFormToDesign(ASize int32) int32

func (*TCheckComboBox) ScaleScreenTo96

func (c *TCheckComboBox) ScaleScreenTo96(ASize int32) int32

func (*TCheckComboBox) ScaleScreenToFont

func (c *TCheckComboBox) ScaleScreenToFont(ASize int32) int32

func (*TCheckComboBox) ScreenToClient

func (c *TCheckComboBox) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TCheckComboBox) ScrollBy

func (c *TCheckComboBox) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TCheckComboBox) SelLength

func (c *TCheckComboBox) SelLength() int32

获取选择的长度。

func (*TCheckComboBox) SelStart

func (c *TCheckComboBox) SelStart() int32

获取选择的启始位置。

func (*TCheckComboBox) SelText

func (c *TCheckComboBox) SelText() string

获取选择的文本。

func (*TCheckComboBox) SelectAll

func (c *TCheckComboBox) SelectAll()

全选。

func (*TCheckComboBox) SendToBack

func (c *TCheckComboBox) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TCheckComboBox) SetAction

func (c *TCheckComboBox) SetAction(value IComponent)

func (*TCheckComboBox) SetAlign

func (c *TCheckComboBox) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TCheckComboBox) SetAllowGrayed

func (c *TCheckComboBox) SetAllowGrayed(value bool)

func (*TCheckComboBox) SetAnchorSideBottom

func (c *TCheckComboBox) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TCheckComboBox) SetAnchorSideLeft

func (c *TCheckComboBox) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TCheckComboBox) SetAnchorSideRight

func (c *TCheckComboBox) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TCheckComboBox) SetAnchorSideTop

func (c *TCheckComboBox) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TCheckComboBox) SetAnchors

func (c *TCheckComboBox) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TCheckComboBox) SetAutoComplete

func (c *TCheckComboBox) SetAutoComplete(value bool)

func (*TCheckComboBox) SetAutoDropDown

func (c *TCheckComboBox) SetAutoDropDown(value bool)

func (*TCheckComboBox) SetAutoSize

func (c *TCheckComboBox) SetAutoSize(value bool)

设置自动调整大小。

func (*TCheckComboBox) SetBiDiMode

func (c *TCheckComboBox) SetBiDiMode(value TBiDiMode)

func (*TCheckComboBox) SetBorderSpacing

func (c *TCheckComboBox) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TCheckComboBox) SetBounds

func (c *TCheckComboBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TCheckComboBox) SetBoundsRect

func (c *TCheckComboBox) SetBoundsRect(value TRect)

func (*TCheckComboBox) SetCharCase

func (c *TCheckComboBox) SetCharCase(value TEditCharCase)

func (*TCheckComboBox) SetChecked

func (c *TCheckComboBox) SetChecked(AIndex int32, value bool)

设置是否选中。

func (*TCheckComboBox) SetChildSizing

func (c *TCheckComboBox) SetChildSizing(value *TControlChildSizing)

func (*TCheckComboBox) SetClientHeight

func (c *TCheckComboBox) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TCheckComboBox) SetClientWidth

func (c *TCheckComboBox) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TCheckComboBox) SetColor

func (c *TCheckComboBox) SetColor(value TColor)

设置颜色。

Set color.

func (*TCheckComboBox) SetComponentIndex

func (c *TCheckComboBox) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TCheckComboBox) SetConstraints

func (c *TCheckComboBox) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TCheckComboBox) SetControlState

func (c *TCheckComboBox) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TCheckComboBox) SetControlStyle

func (c *TCheckComboBox) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TCheckComboBox) SetCursor

func (c *TCheckComboBox) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TCheckComboBox) SetDockSite

func (c *TCheckComboBox) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TCheckComboBox) SetDoubleBuffered

func (c *TCheckComboBox) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TCheckComboBox) SetDragCursor

func (c *TCheckComboBox) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TCheckComboBox) SetDragKind

func (c *TCheckComboBox) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TCheckComboBox) SetDragMode

func (c *TCheckComboBox) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TCheckComboBox) SetDropDownCount

func (c *TCheckComboBox) SetDropDownCount(value int32)

func (*TCheckComboBox) SetDroppedDown

func (c *TCheckComboBox) SetDroppedDown(value bool)

func (*TCheckComboBox) SetEnabled

func (c *TCheckComboBox) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TCheckComboBox) SetFocus

func (c *TCheckComboBox) SetFocus()

设置控件焦点。

Set control focus.

func (*TCheckComboBox) SetFont

func (c *TCheckComboBox) SetFont(value *TFont)

设置字体。

Set Font.

func (*TCheckComboBox) SetHeight

func (c *TCheckComboBox) SetHeight(value int32)

设置高度。

Set height.

func (*TCheckComboBox) SetHint

func (c *TCheckComboBox) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TCheckComboBox) SetItemEnabled

func (c *TCheckComboBox) SetItemEnabled(AIndex int32, value bool)

func (*TCheckComboBox) SetItemHeight

func (c *TCheckComboBox) SetItemHeight(value int32)

func (*TCheckComboBox) SetItemIndex

func (c *TCheckComboBox) SetItemIndex(value int32)

func (*TCheckComboBox) SetItemWidth

func (c *TCheckComboBox) SetItemWidth(value int32)

func (*TCheckComboBox) SetItems

func (c *TCheckComboBox) SetItems(value IStrings)

func (*TCheckComboBox) SetLeft

func (c *TCheckComboBox) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TCheckComboBox) SetMaxLength

func (c *TCheckComboBox) SetMaxLength(value int32)

设置最大长度。

func (*TCheckComboBox) SetName

func (c *TCheckComboBox) SetName(value string)

设置组件名称。

Set the component name.

func (*TCheckComboBox) SetObjects

func (c *TCheckComboBox) SetObjects(AIndex int32, value IObject)

func (*TCheckComboBox) SetOnChange

func (c *TCheckComboBox) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TCheckComboBox) SetOnClick

func (c *TCheckComboBox) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TCheckComboBox) SetOnCloseUp

func (c *TCheckComboBox) SetOnCloseUp(fn TNotifyEvent)

func (*TCheckComboBox) SetOnContextPopup

func (c *TCheckComboBox) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TCheckComboBox) SetOnDblClick

func (c *TCheckComboBox) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TCheckComboBox) SetOnDragDrop

func (c *TCheckComboBox) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TCheckComboBox) SetOnDragOver

func (c *TCheckComboBox) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TCheckComboBox) SetOnDropDown

func (c *TCheckComboBox) SetOnDropDown(fn TNotifyEvent)

func (*TCheckComboBox) SetOnEndDrag

func (c *TCheckComboBox) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TCheckComboBox) SetOnEnter

func (c *TCheckComboBox) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TCheckComboBox) SetOnExit

func (c *TCheckComboBox) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TCheckComboBox) SetOnItemChange

func (c *TCheckComboBox) SetOnItemChange(fn TCheckItemChange)

func (*TCheckComboBox) SetOnKeyDown

func (c *TCheckComboBox) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TCheckComboBox) SetOnKeyPress

func (c *TCheckComboBox) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TCheckComboBox) SetOnKeyUp

func (c *TCheckComboBox) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TCheckComboBox) SetOnMouseDown

func (c *TCheckComboBox) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TCheckComboBox) SetOnMouseEnter

func (c *TCheckComboBox) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TCheckComboBox) SetOnMouseLeave

func (c *TCheckComboBox) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TCheckComboBox) SetOnMouseMove

func (c *TCheckComboBox) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TCheckComboBox) SetOnMouseUp

func (c *TCheckComboBox) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TCheckComboBox) SetOnMouseWheel

func (c *TCheckComboBox) SetOnMouseWheel(fn TMouseWheelEvent)

设置鼠标滚轮事件。

func (*TCheckComboBox) SetOnMouseWheelDown

func (c *TCheckComboBox) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TCheckComboBox) SetOnMouseWheelUp

func (c *TCheckComboBox) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TCheckComboBox) SetOnSelect

func (c *TCheckComboBox) SetOnSelect(fn TNotifyEvent)

func (*TCheckComboBox) SetParent

func (c *TCheckComboBox) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TCheckComboBox) SetParentColor

func (c *TCheckComboBox) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TCheckComboBox) SetParentDoubleBuffered

func (c *TCheckComboBox) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TCheckComboBox) SetParentFont

func (c *TCheckComboBox) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TCheckComboBox) SetParentShowHint

func (c *TCheckComboBox) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TCheckComboBox) SetParentWindow

func (c *TCheckComboBox) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TCheckComboBox) SetPopupMenu

func (c *TCheckComboBox) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TCheckComboBox) SetSelLength

func (c *TCheckComboBox) SetSelLength(value int32)

设置选择的长度。

func (*TCheckComboBox) SetSelStart

func (c *TCheckComboBox) SetSelStart(value int32)

设置选择的启始位置。

func (*TCheckComboBox) SetSelText

func (c *TCheckComboBox) SetSelText(value string)

设置选择的文本。

func (*TCheckComboBox) SetShowHint

func (c *TCheckComboBox) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TCheckComboBox) SetSorted

func (c *TCheckComboBox) SetSorted(value bool)

func (*TCheckComboBox) SetState

func (c *TCheckComboBox) SetState(AIndex int32, value TCheckBoxState)

func (*TCheckComboBox) SetTabOrder

func (c *TCheckComboBox) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TCheckComboBox) SetTabStop

func (c *TCheckComboBox) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TCheckComboBox) SetTag

func (c *TCheckComboBox) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TCheckComboBox) SetText

func (c *TCheckComboBox) SetText(value string)

设置文本。

func (*TCheckComboBox) SetTextBuf

func (c *TCheckComboBox) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TCheckComboBox) SetTextHint

func (c *TCheckComboBox) SetTextHint(value string)

设置提示文本。

func (*TCheckComboBox) SetTop

func (c *TCheckComboBox) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TCheckComboBox) SetUseDockManager

func (c *TCheckComboBox) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TCheckComboBox) SetVisible

func (c *TCheckComboBox) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TCheckComboBox) SetWidth

func (c *TCheckComboBox) SetWidth(value int32)

设置宽度。

Set width.

func (*TCheckComboBox) Show

func (c *TCheckComboBox) Show()

显示控件。

Show control.

func (*TCheckComboBox) ShowHint

func (c *TCheckComboBox) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TCheckComboBox) Showing

func (c *TCheckComboBox) Showing() bool

func (*TCheckComboBox) Sorted

func (c *TCheckComboBox) Sorted() bool

func (*TCheckComboBox) State

func (c *TCheckComboBox) State(AIndex int32) TCheckBoxState

func (*TCheckComboBox) TabOrder

func (c *TCheckComboBox) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TCheckComboBox) TabStop

func (c *TCheckComboBox) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TCheckComboBox) Tag

func (c *TCheckComboBox) Tag() int

获取对象标记。

Get the control tag.

func (*TCheckComboBox) Text

func (c *TCheckComboBox) Text() string

获取文本。

func (*TCheckComboBox) TextHint

func (c *TCheckComboBox) TextHint() string

获取提示文本。

func (*TCheckComboBox) ToString

func (c *TCheckComboBox) ToString() string

文本类信息。

Text information.

func (*TCheckComboBox) Toggle

func (c *TCheckComboBox) Toggle(AIndex int32)

func (*TCheckComboBox) Top

func (c *TCheckComboBox) Top() int32

获取顶边位置。

Get Top position.

func (*TCheckComboBox) UnsafeAddr

func (c *TCheckComboBox) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TCheckComboBox) Update

func (c *TCheckComboBox) Update()

控件更新。

Update.

func (*TCheckComboBox) UseDockManager

func (c *TCheckComboBox) UseDockManager() bool

获取使用停靠管理。

func (*TCheckComboBox) Visible

func (c *TCheckComboBox) Visible() bool

获取控件可视。

Get the control visible.

func (*TCheckComboBox) VisibleDockClientCount

func (c *TCheckComboBox) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TCheckComboBox) Width

func (c *TCheckComboBox) Width() int32

获取宽度。

Get width.

type TCheckGroup

type TCheckGroup struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsCheckGroup

func AsCheckGroup(obj interface{}) *TCheckGroup

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func CheckGroupFromInst

func CheckGroupFromInst(inst uintptr) *TCheckGroup

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsCheckGroup.

func CheckGroupFromObj

func CheckGroupFromObj(obj IObject) *TCheckGroup

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsCheckGroup.

func CheckGroupFromUnsafePointer

func CheckGroupFromUnsafePointer(ptr unsafe.Pointer) *TCheckGroup

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCheckGroup.

func NewCheckGroup

func NewCheckGroup(owner IComponent) *TCheckGroup

创建一个新的对象。

Create a new object.

func (*TCheckGroup) Action

func (c *TCheckGroup) Action() *TAction

func (*TCheckGroup) Align

func (c *TCheckGroup) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TCheckGroup) AnchorAsAlign

func (c *TCheckGroup) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TCheckGroup) AnchorClient

func (c *TCheckGroup) AnchorClient(ASpace int32)

func (*TCheckGroup) AnchorHorizontalCenterTo

func (c *TCheckGroup) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TCheckGroup) AnchorParallel

func (c *TCheckGroup) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TCheckGroup) AnchorSame

func (c *TCheckGroup) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TCheckGroup) AnchorSide

func (c *TCheckGroup) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TCheckGroup) AnchorSideBottom

func (c *TCheckGroup) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TCheckGroup) AnchorSideLeft

func (c *TCheckGroup) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TCheckGroup) AnchorSideRight

func (c *TCheckGroup) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TCheckGroup) AnchorSideTop

func (c *TCheckGroup) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TCheckGroup) AnchorToNeighbour

func (c *TCheckGroup) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TCheckGroup) AnchorVerticalCenterTo

func (c *TCheckGroup) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TCheckGroup) Anchors

func (c *TCheckGroup) Anchors() TAnchors

获取四个角位置的锚点。

func (*TCheckGroup) Assign

func (c *TCheckGroup) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCheckGroup) AutoAdjustLayout

func (c *TCheckGroup) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TCheckGroup) AutoFill

func (c *TCheckGroup) AutoFill() bool

func (*TCheckGroup) AutoSize

func (c *TCheckGroup) AutoSize() bool

获取自动调整大小。

func (*TCheckGroup) BiDiMode

func (c *TCheckGroup) BiDiMode() TBiDiMode

func (*TCheckGroup) BorderSpacing

func (c *TCheckGroup) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TCheckGroup) BoundsRect

func (c *TCheckGroup) BoundsRect() TRect

func (*TCheckGroup) BringToFront

func (c *TCheckGroup) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TCheckGroup) Brush

func (c *TCheckGroup) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TCheckGroup) CanFocus

func (c *TCheckGroup) CanFocus() bool

是否可以获得焦点。

func (*TCheckGroup) Caption

func (c *TCheckGroup) Caption() string

获取控件标题。

Get the control title.

func (*TCheckGroup) CheckEnabled

func (c *TCheckGroup) CheckEnabled(Index int32) bool

func (*TCheckGroup) Checked

func (c *TCheckGroup) Checked(Index int32) bool

获取是否选中。

func (*TCheckGroup) ChildSizing

func (c *TCheckGroup) ChildSizing() *TControlChildSizing

func (*TCheckGroup) ClassName

func (c *TCheckGroup) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TCheckGroup) ClassType

func (c *TCheckGroup) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TCheckGroup) ClientHeight

func (c *TCheckGroup) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TCheckGroup) ClientOrigin

func (c *TCheckGroup) ClientOrigin() TPoint

func (*TCheckGroup) ClientRect

func (c *TCheckGroup) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TCheckGroup) ClientToParent

func (c *TCheckGroup) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TCheckGroup) ClientToScreen

func (c *TCheckGroup) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TCheckGroup) ClientWidth

func (c *TCheckGroup) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TCheckGroup) Color

func (c *TCheckGroup) Color() TColor

获取颜色。

Get color.

func (*TCheckGroup) ColumnLayout

func (c *TCheckGroup) ColumnLayout() TColumnLayout

func (*TCheckGroup) Columns

func (c *TCheckGroup) Columns() int32

func (*TCheckGroup) ComponentCount

func (c *TCheckGroup) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TCheckGroup) ComponentIndex

func (c *TCheckGroup) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TCheckGroup) Components

func (c *TCheckGroup) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TCheckGroup) Constraints

func (c *TCheckGroup) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TCheckGroup) ContainsControl

func (c *TCheckGroup) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TCheckGroup) ControlAtPos

func (c *TCheckGroup) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TCheckGroup) ControlCount

func (c *TCheckGroup) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TCheckGroup) ControlState

func (c *TCheckGroup) ControlState() TControlState

获取控件状态。

Get control state.

func (*TCheckGroup) ControlStyle

func (c *TCheckGroup) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TCheckGroup) Controls

func (c *TCheckGroup) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TCheckGroup) Cursor

func (c *TCheckGroup) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TCheckGroup) DisableAlign

func (c *TCheckGroup) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TCheckGroup) DockClientCount

func (c *TCheckGroup) DockClientCount() int32

获取依靠客户端总数。

func (*TCheckGroup) DockClients

func (c *TCheckGroup) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TCheckGroup) DockSite

func (c *TCheckGroup) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TCheckGroup) DoubleBuffered

func (c *TCheckGroup) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TCheckGroup) DragCursor

func (c *TCheckGroup) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TCheckGroup) DragMode

func (c *TCheckGroup) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TCheckGroup) Dragging

func (c *TCheckGroup) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TCheckGroup) EnableAlign

func (c *TCheckGroup) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TCheckGroup) Enabled

func (c *TCheckGroup) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TCheckGroup) Equals

func (c *TCheckGroup) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TCheckGroup) FindChildControl

func (c *TCheckGroup) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TCheckGroup) FindComponent

func (c *TCheckGroup) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TCheckGroup) FixDesignFontsPPI

func (c *TCheckGroup) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TCheckGroup) FlipChildren

func (c *TCheckGroup) FlipChildren(AllLevels bool)

func (*TCheckGroup) Floating

func (c *TCheckGroup) Floating() bool

func (*TCheckGroup) Focused

func (c *TCheckGroup) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TCheckGroup) Font

func (c *TCheckGroup) Font() *TFont

获取字体。

Get Font.

func (*TCheckGroup) Free

func (c *TCheckGroup) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TCheckGroup) GetHashCode

func (c *TCheckGroup) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TCheckGroup) GetNamePath

func (c *TCheckGroup) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TCheckGroup) GetTextBuf

func (c *TCheckGroup) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TCheckGroup) GetTextLen

func (c *TCheckGroup) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TCheckGroup) Handle

func (c *TCheckGroup) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TCheckGroup) HandleAllocated

func (c *TCheckGroup) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TCheckGroup) HasParent

func (c *TCheckGroup) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TCheckGroup) Height

func (c *TCheckGroup) Height() int32

获取高度。

Get height.

func (*TCheckGroup) Hide

func (c *TCheckGroup) Hide()

隐藏控件。

Hidden control.

func (*TCheckGroup) Hint

func (c *TCheckGroup) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TCheckGroup) InheritsFrom

func (c *TCheckGroup) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCheckGroup) InsertControl

func (c *TCheckGroup) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TCheckGroup) Instance

func (c *TCheckGroup) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TCheckGroup) InstanceSize

func (c *TCheckGroup) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TCheckGroup) Invalidate

func (c *TCheckGroup) Invalidate()

要求重绘。

Redraw.

func (*TCheckGroup) Is

func (c *TCheckGroup) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCheckGroup) IsValid

func (c *TCheckGroup) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TCheckGroup) Items

func (c *TCheckGroup) Items() *TStrings

func (*TCheckGroup) Left

func (c *TCheckGroup) Left() int32

获取左边位置。

Get Left position.

func (*TCheckGroup) MouseInClient

func (c *TCheckGroup) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TCheckGroup) Name

func (c *TCheckGroup) Name() string

获取组件名称。

Get the component name.

func (*TCheckGroup) Owner

func (c *TCheckGroup) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TCheckGroup) PaintTo

func (c *TCheckGroup) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TCheckGroup) Parent

func (c *TCheckGroup) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TCheckGroup) ParentBackground

func (c *TCheckGroup) ParentBackground() bool

func (*TCheckGroup) ParentColor

func (c *TCheckGroup) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TCheckGroup) ParentDoubleBuffered

func (c *TCheckGroup) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TCheckGroup) ParentFont

func (c *TCheckGroup) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TCheckGroup) ParentShowHint

func (c *TCheckGroup) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TCheckGroup) ParentToClient

func (c *TCheckGroup) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TCheckGroup) ParentWindow

func (c *TCheckGroup) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TCheckGroup) Perform

func (c *TCheckGroup) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TCheckGroup) PopupMenu

func (c *TCheckGroup) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TCheckGroup) Realign

func (c *TCheckGroup) Realign()

重新对齐。

Realign.

func (*TCheckGroup) Refresh

func (c *TCheckGroup) Refresh()

刷新控件。

Refresh control.

func (*TCheckGroup) RemoveControl

func (c *TCheckGroup) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TCheckGroup) Repaint

func (c *TCheckGroup) Repaint()

重绘。

Repaint.

func (*TCheckGroup) Rows

func (c *TCheckGroup) Rows() int32

func (*TCheckGroup) Scale96ToFont

func (c *TCheckGroup) Scale96ToFont(ASize int32) int32

func (*TCheckGroup) Scale96ToForm

func (c *TCheckGroup) Scale96ToForm(ASize int32) int32

func (*TCheckGroup) Scale96ToScreen

func (c *TCheckGroup) Scale96ToScreen(ASize int32) int32

func (*TCheckGroup) ScaleBy

func (c *TCheckGroup) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TCheckGroup) ScaleDesignToForm

func (c *TCheckGroup) ScaleDesignToForm(ASize int32) int32

func (*TCheckGroup) ScaleFontTo96

func (c *TCheckGroup) ScaleFontTo96(ASize int32) int32

func (*TCheckGroup) ScaleFontToScreen

func (c *TCheckGroup) ScaleFontToScreen(ASize int32) int32

func (*TCheckGroup) ScaleFontsPPI

func (c *TCheckGroup) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TCheckGroup) ScaleFormTo96

func (c *TCheckGroup) ScaleFormTo96(ASize int32) int32

func (*TCheckGroup) ScaleFormToDesign

func (c *TCheckGroup) ScaleFormToDesign(ASize int32) int32

func (*TCheckGroup) ScaleScreenTo96

func (c *TCheckGroup) ScaleScreenTo96(ASize int32) int32

func (*TCheckGroup) ScaleScreenToFont

func (c *TCheckGroup) ScaleScreenToFont(ASize int32) int32

func (*TCheckGroup) ScreenToClient

func (c *TCheckGroup) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TCheckGroup) ScrollBy

func (c *TCheckGroup) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TCheckGroup) SendToBack

func (c *TCheckGroup) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TCheckGroup) SetAction

func (c *TCheckGroup) SetAction(value IComponent)

func (*TCheckGroup) SetAlign

func (c *TCheckGroup) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TCheckGroup) SetAnchorSideBottom

func (c *TCheckGroup) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TCheckGroup) SetAnchorSideLeft

func (c *TCheckGroup) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TCheckGroup) SetAnchorSideRight

func (c *TCheckGroup) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TCheckGroup) SetAnchorSideTop

func (c *TCheckGroup) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TCheckGroup) SetAnchors

func (c *TCheckGroup) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TCheckGroup) SetAutoFill

func (c *TCheckGroup) SetAutoFill(value bool)

func (*TCheckGroup) SetAutoSize

func (c *TCheckGroup) SetAutoSize(value bool)

设置自动调整大小。

func (*TCheckGroup) SetBiDiMode

func (c *TCheckGroup) SetBiDiMode(value TBiDiMode)

func (*TCheckGroup) SetBorderSpacing

func (c *TCheckGroup) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TCheckGroup) SetBounds

func (c *TCheckGroup) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TCheckGroup) SetBoundsRect

func (c *TCheckGroup) SetBoundsRect(value TRect)

func (*TCheckGroup) SetCaption

func (c *TCheckGroup) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TCheckGroup) SetCheckEnabled

func (c *TCheckGroup) SetCheckEnabled(Index int32, value bool)

func (*TCheckGroup) SetChecked

func (c *TCheckGroup) SetChecked(Index int32, value bool)

设置是否选中。

func (*TCheckGroup) SetChildSizing

func (c *TCheckGroup) SetChildSizing(value *TControlChildSizing)

func (*TCheckGroup) SetClientHeight

func (c *TCheckGroup) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TCheckGroup) SetClientWidth

func (c *TCheckGroup) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TCheckGroup) SetColor

func (c *TCheckGroup) SetColor(value TColor)

设置颜色。

Set color.

func (*TCheckGroup) SetColumnLayout

func (c *TCheckGroup) SetColumnLayout(value TColumnLayout)

func (*TCheckGroup) SetColumns

func (c *TCheckGroup) SetColumns(value int32)

func (*TCheckGroup) SetComponentIndex

func (c *TCheckGroup) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TCheckGroup) SetConstraints

func (c *TCheckGroup) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TCheckGroup) SetControlState

func (c *TCheckGroup) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TCheckGroup) SetControlStyle

func (c *TCheckGroup) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TCheckGroup) SetCursor

func (c *TCheckGroup) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TCheckGroup) SetDockSite

func (c *TCheckGroup) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TCheckGroup) SetDoubleBuffered

func (c *TCheckGroup) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TCheckGroup) SetDragCursor

func (c *TCheckGroup) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TCheckGroup) SetDragMode

func (c *TCheckGroup) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TCheckGroup) SetEnabled

func (c *TCheckGroup) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TCheckGroup) SetFocus

func (c *TCheckGroup) SetFocus()

设置控件焦点。

Set control focus.

func (*TCheckGroup) SetFont

func (c *TCheckGroup) SetFont(value *TFont)

设置字体。

Set Font.

func (*TCheckGroup) SetHeight

func (c *TCheckGroup) SetHeight(value int32)

设置高度。

Set height.

func (*TCheckGroup) SetHint

func (c *TCheckGroup) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TCheckGroup) SetItems

func (c *TCheckGroup) SetItems(value IStrings)

func (*TCheckGroup) SetLeft

func (c *TCheckGroup) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TCheckGroup) SetName

func (c *TCheckGroup) SetName(value string)

设置组件名称。

Set the component name.

func (*TCheckGroup) SetOnClick

func (c *TCheckGroup) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TCheckGroup) SetOnDblClick

func (c *TCheckGroup) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TCheckGroup) SetOnDragDrop

func (c *TCheckGroup) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TCheckGroup) SetOnDragOver

func (c *TCheckGroup) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TCheckGroup) SetOnEndDrag

func (c *TCheckGroup) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TCheckGroup) SetOnEnter

func (c *TCheckGroup) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TCheckGroup) SetOnExit

func (c *TCheckGroup) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TCheckGroup) SetOnItemClick

func (c *TCheckGroup) SetOnItemClick(fn TCheckGroupClicked)

func (*TCheckGroup) SetOnKeyDown

func (c *TCheckGroup) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TCheckGroup) SetOnKeyPress

func (c *TCheckGroup) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TCheckGroup) SetOnKeyUp

func (c *TCheckGroup) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TCheckGroup) SetOnMouseDown

func (c *TCheckGroup) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TCheckGroup) SetOnMouseEnter

func (c *TCheckGroup) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TCheckGroup) SetOnMouseLeave

func (c *TCheckGroup) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TCheckGroup) SetOnMouseMove

func (c *TCheckGroup) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TCheckGroup) SetOnMouseUp

func (c *TCheckGroup) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TCheckGroup) SetOnMouseWheel

func (c *TCheckGroup) SetOnMouseWheel(fn TMouseWheelEvent)

设置鼠标滚轮事件。

func (*TCheckGroup) SetOnMouseWheelDown

func (c *TCheckGroup) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TCheckGroup) SetOnMouseWheelUp

func (c *TCheckGroup) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TCheckGroup) SetOnResize

func (c *TCheckGroup) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TCheckGroup) SetParent

func (c *TCheckGroup) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TCheckGroup) SetParentBackground

func (c *TCheckGroup) SetParentBackground(value bool)

func (*TCheckGroup) SetParentColor

func (c *TCheckGroup) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TCheckGroup) SetParentDoubleBuffered

func (c *TCheckGroup) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TCheckGroup) SetParentFont

func (c *TCheckGroup) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TCheckGroup) SetParentShowHint

func (c *TCheckGroup) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TCheckGroup) SetParentWindow

func (c *TCheckGroup) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TCheckGroup) SetPopupMenu

func (c *TCheckGroup) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TCheckGroup) SetShowHint

func (c *TCheckGroup) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TCheckGroup) SetTabOrder

func (c *TCheckGroup) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TCheckGroup) SetTabStop

func (c *TCheckGroup) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TCheckGroup) SetTag

func (c *TCheckGroup) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TCheckGroup) SetTextBuf

func (c *TCheckGroup) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TCheckGroup) SetTop

func (c *TCheckGroup) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TCheckGroup) SetUseDockManager

func (c *TCheckGroup) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TCheckGroup) SetVisible

func (c *TCheckGroup) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TCheckGroup) SetWidth

func (c *TCheckGroup) SetWidth(value int32)

设置宽度。

Set width.

func (*TCheckGroup) Show

func (c *TCheckGroup) Show()

显示控件。

Show control.

func (*TCheckGroup) ShowHint

func (c *TCheckGroup) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TCheckGroup) Showing

func (c *TCheckGroup) Showing() bool

func (*TCheckGroup) TabOrder

func (c *TCheckGroup) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TCheckGroup) TabStop

func (c *TCheckGroup) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TCheckGroup) Tag

func (c *TCheckGroup) Tag() int

获取对象标记。

Get the control tag.

func (*TCheckGroup) ToString

func (c *TCheckGroup) ToString() string

文本类信息。

Text information.

func (*TCheckGroup) Top

func (c *TCheckGroup) Top() int32

获取顶边位置。

Get Top position.

func (*TCheckGroup) UnsafeAddr

func (c *TCheckGroup) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TCheckGroup) Update

func (c *TCheckGroup) Update()

控件更新。

Update.

func (*TCheckGroup) UseDockManager

func (c *TCheckGroup) UseDockManager() bool

获取使用停靠管理。

func (*TCheckGroup) Visible

func (c *TCheckGroup) Visible() bool

获取控件可视。

Get the control visible.

func (*TCheckGroup) VisibleDockClientCount

func (c *TCheckGroup) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TCheckGroup) Width

func (c *TCheckGroup) Width() int32

获取宽度。

Get width.

type TCheckGroupClicked

type TCheckGroupClicked func(sender IObject, index int32)

TCheckGroupClicked = procedure(Sender: TObject; Index: integer) of object;

type TCheckItemChange

type TCheckItemChange = func(sender IObject, index int32)

procedure(Sender: TObject; AIndex: Integer) of object;

type TCheckListBox

type TCheckListBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsCheckListBox

func AsCheckListBox(obj interface{}) *TCheckListBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func CheckListBoxFromInst

func CheckListBoxFromInst(inst uintptr) *TCheckListBox

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsCheckListBox.

func CheckListBoxFromObj

func CheckListBoxFromObj(obj IObject) *TCheckListBox

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsCheckListBox.

func CheckListBoxFromUnsafePointer

func CheckListBoxFromUnsafePointer(ptr unsafe.Pointer) *TCheckListBox

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCheckListBox.

func NewCheckListBox

func NewCheckListBox(owner IComponent) *TCheckListBox

创建一个新的对象。

Create a new object.

func (*TCheckListBox) Action

func (c *TCheckListBox) Action() *TAction

func (*TCheckListBox) AddItem

func (c *TCheckListBox) AddItem(Item string, AObject IObject)

func (*TCheckListBox) Align

func (c *TCheckListBox) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TCheckListBox) AllowGrayed

func (c *TCheckListBox) AllowGrayed() bool

func (*TCheckListBox) AnchorAsAlign

func (c *TCheckListBox) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TCheckListBox) AnchorClient

func (c *TCheckListBox) AnchorClient(ASpace int32)

func (*TCheckListBox) AnchorHorizontalCenterTo

func (c *TCheckListBox) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TCheckListBox) AnchorParallel

func (c *TCheckListBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TCheckListBox) AnchorSame

func (c *TCheckListBox) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TCheckListBox) AnchorSide

func (c *TCheckListBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TCheckListBox) AnchorSideBottom

func (c *TCheckListBox) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TCheckListBox) AnchorSideLeft

func (c *TCheckListBox) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TCheckListBox) AnchorSideRight

func (c *TCheckListBox) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TCheckListBox) AnchorSideTop

func (c *TCheckListBox) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TCheckListBox) AnchorToNeighbour

func (c *TCheckListBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TCheckListBox) AnchorVerticalCenterTo

func (c *TCheckListBox) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TCheckListBox) Anchors

func (c *TCheckListBox) Anchors() TAnchors

获取四个角位置的锚点。

func (*TCheckListBox) Assign

func (c *TCheckListBox) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCheckListBox) AutoAdjustLayout

func (c *TCheckListBox) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TCheckListBox) BiDiMode

func (c *TCheckListBox) BiDiMode() TBiDiMode

func (*TCheckListBox) BorderSpacing

func (c *TCheckListBox) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TCheckListBox) BorderStyle

func (c *TCheckListBox) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TCheckListBox) BoundsRect

func (c *TCheckListBox) BoundsRect() TRect

func (*TCheckListBox) BringToFront

func (c *TCheckListBox) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TCheckListBox) Brush

func (c *TCheckListBox) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TCheckListBox) CanFocus

func (c *TCheckListBox) CanFocus() bool

是否可以获得焦点。

func (*TCheckListBox) Canvas

func (c *TCheckListBox) Canvas() *TCanvas

获取画布。

func (*TCheckListBox) CheckAll

func (c *TCheckListBox) CheckAll(AState TCheckBoxState, AllowGrayed bool, AllowDisabled bool)

func (*TCheckListBox) Checked

func (c *TCheckListBox) Checked(Index int32) bool

获取是否选中。

func (*TCheckListBox) ChildSizing

func (c *TCheckListBox) ChildSizing() *TControlChildSizing

func (*TCheckListBox) ClassName

func (c *TCheckListBox) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TCheckListBox) ClassType

func (c *TCheckListBox) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TCheckListBox) Clear

func (c *TCheckListBox) Clear()

清除。

func (*TCheckListBox) ClearSelection

func (c *TCheckListBox) ClearSelection()

清除选择。

func (*TCheckListBox) ClientHeight

func (c *TCheckListBox) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TCheckListBox) ClientOrigin

func (c *TCheckListBox) ClientOrigin() TPoint

func (*TCheckListBox) ClientRect

func (c *TCheckListBox) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TCheckListBox) ClientToParent

func (c *TCheckListBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TCheckListBox) ClientToScreen

func (c *TCheckListBox) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TCheckListBox) ClientWidth

func (c *TCheckListBox) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TCheckListBox) Color

func (c *TCheckListBox) Color() TColor

获取颜色。

Get color.

func (*TCheckListBox) Columns

func (c *TCheckListBox) Columns() int32

func (*TCheckListBox) ComponentCount

func (c *TCheckListBox) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TCheckListBox) ComponentIndex

func (c *TCheckListBox) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TCheckListBox) Components

func (c *TCheckListBox) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TCheckListBox) Constraints

func (c *TCheckListBox) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TCheckListBox) ContainsControl

func (c *TCheckListBox) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TCheckListBox) ControlAtPos

func (c *TCheckListBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TCheckListBox) ControlCount

func (c *TCheckListBox) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TCheckListBox) ControlState

func (c *TCheckListBox) ControlState() TControlState

获取控件状态。

Get control state.

func (*TCheckListBox) ControlStyle

func (c *TCheckListBox) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TCheckListBox) Controls

func (c *TCheckListBox) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TCheckListBox) Count

func (c *TCheckListBox) Count() int32

func (*TCheckListBox) Cursor

func (c *TCheckListBox) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TCheckListBox) DeleteSelected

func (c *TCheckListBox) DeleteSelected()

删除选择的。

func (*TCheckListBox) DisableAlign

func (c *TCheckListBox) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TCheckListBox) DockClientCount

func (c *TCheckListBox) DockClientCount() int32

获取依靠客户端总数。

func (*TCheckListBox) DockClients

func (c *TCheckListBox) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TCheckListBox) DockSite

func (c *TCheckListBox) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TCheckListBox) DoubleBuffered

func (c *TCheckListBox) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TCheckListBox) DragCursor

func (c *TCheckListBox) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TCheckListBox) DragMode

func (c *TCheckListBox) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TCheckListBox) Dragging

func (c *TCheckListBox) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TCheckListBox) EnableAlign

func (c *TCheckListBox) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TCheckListBox) Enabled

func (c *TCheckListBox) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TCheckListBox) Equals

func (c *TCheckListBox) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TCheckListBox) FindChildControl

func (c *TCheckListBox) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TCheckListBox) FindComponent

func (c *TCheckListBox) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TCheckListBox) FixDesignFontsPPI

func (c *TCheckListBox) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TCheckListBox) FlipChildren

func (c *TCheckListBox) FlipChildren(AllLevels bool)

func (*TCheckListBox) Floating

func (c *TCheckListBox) Floating() bool

func (*TCheckListBox) Focused

func (c *TCheckListBox) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TCheckListBox) Font

func (c *TCheckListBox) Font() *TFont

获取字体。

Get Font.

func (*TCheckListBox) Free

func (c *TCheckListBox) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TCheckListBox) GetHashCode

func (c *TCheckListBox) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TCheckListBox) GetNamePath

func (c *TCheckListBox) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TCheckListBox) GetTextBuf

func (c *TCheckListBox) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TCheckListBox) GetTextLen

func (c *TCheckListBox) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TCheckListBox) Handle

func (c *TCheckListBox) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TCheckListBox) HandleAllocated

func (c *TCheckListBox) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TCheckListBox) HasParent

func (c *TCheckListBox) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TCheckListBox) Header

func (c *TCheckListBox) Header(Index int32) bool

func (*TCheckListBox) Height

func (c *TCheckListBox) Height() int32

获取高度。

Get height.

func (*TCheckListBox) Hide

func (c *TCheckListBox) Hide()

隐藏控件。

Hidden control.

func (*TCheckListBox) Hint

func (c *TCheckListBox) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TCheckListBox) InheritsFrom

func (c *TCheckListBox) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCheckListBox) InsertControl

func (c *TCheckListBox) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TCheckListBox) Instance

func (c *TCheckListBox) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TCheckListBox) InstanceSize

func (c *TCheckListBox) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TCheckListBox) Invalidate

func (c *TCheckListBox) Invalidate()

要求重绘。

Redraw.

func (*TCheckListBox) Is

func (c *TCheckListBox) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCheckListBox) IsValid

func (c *TCheckListBox) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TCheckListBox) ItemAtPos

func (c *TCheckListBox) ItemAtPos(Pos TPoint, Existing bool) int32

func (*TCheckListBox) ItemEnabled

func (c *TCheckListBox) ItemEnabled(Index int32) bool

func (*TCheckListBox) ItemHeight

func (c *TCheckListBox) ItemHeight() int32

func (*TCheckListBox) ItemIndex

func (c *TCheckListBox) ItemIndex() int32

func (*TCheckListBox) ItemRect

func (c *TCheckListBox) ItemRect(Index int32) TRect

func (*TCheckListBox) Items

func (c *TCheckListBox) Items() *TStrings

func (*TCheckListBox) Left

func (c *TCheckListBox) Left() int32

获取左边位置。

Get Left position.

func (*TCheckListBox) MouseInClient

func (c *TCheckListBox) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TCheckListBox) MultiSelect

func (c *TCheckListBox) MultiSelect() bool

func (*TCheckListBox) Name

func (c *TCheckListBox) Name() string

获取组件名称。

Get the component name.

func (*TCheckListBox) Owner

func (c *TCheckListBox) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TCheckListBox) PaintTo

func (c *TCheckListBox) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TCheckListBox) Parent

func (c *TCheckListBox) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TCheckListBox) ParentColor

func (c *TCheckListBox) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TCheckListBox) ParentDoubleBuffered

func (c *TCheckListBox) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TCheckListBox) ParentFont

func (c *TCheckListBox) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TCheckListBox) ParentShowHint

func (c *TCheckListBox) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TCheckListBox) ParentToClient

func (c *TCheckListBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TCheckListBox) ParentWindow

func (c *TCheckListBox) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TCheckListBox) Perform

func (c *TCheckListBox) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TCheckListBox) PopupMenu

func (c *TCheckListBox) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TCheckListBox) Realign

func (c *TCheckListBox) Realign()

重新对齐。

Realign.

func (*TCheckListBox) Refresh

func (c *TCheckListBox) Refresh()

刷新控件。

Refresh control.

func (*TCheckListBox) RemoveControl

func (c *TCheckListBox) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TCheckListBox) Repaint

func (c *TCheckListBox) Repaint()

重绘。

Repaint.

func (*TCheckListBox) Scale96ToFont

func (c *TCheckListBox) Scale96ToFont(ASize int32) int32

func (*TCheckListBox) Scale96ToForm

func (c *TCheckListBox) Scale96ToForm(ASize int32) int32

func (*TCheckListBox) Scale96ToScreen

func (c *TCheckListBox) Scale96ToScreen(ASize int32) int32

func (*TCheckListBox) ScaleBy

func (c *TCheckListBox) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TCheckListBox) ScaleDesignToForm

func (c *TCheckListBox) ScaleDesignToForm(ASize int32) int32

func (*TCheckListBox) ScaleFontTo96

func (c *TCheckListBox) ScaleFontTo96(ASize int32) int32

func (*TCheckListBox) ScaleFontToScreen

func (c *TCheckListBox) ScaleFontToScreen(ASize int32) int32

func (*TCheckListBox) ScaleFontsPPI

func (c *TCheckListBox) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TCheckListBox) ScaleFormTo96

func (c *TCheckListBox) ScaleFormTo96(ASize int32) int32

func (*TCheckListBox) ScaleFormToDesign

func (c *TCheckListBox) ScaleFormToDesign(ASize int32) int32

func (*TCheckListBox) ScaleScreenTo96

func (c *TCheckListBox) ScaleScreenTo96(ASize int32) int32

func (*TCheckListBox) ScaleScreenToFont

func (c *TCheckListBox) ScaleScreenToFont(ASize int32) int32

func (*TCheckListBox) ScreenToClient

func (c *TCheckListBox) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TCheckListBox) ScrollBy

func (c *TCheckListBox) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TCheckListBox) SelCount

func (c *TCheckListBox) SelCount() int32

func (*TCheckListBox) SelectAll

func (c *TCheckListBox) SelectAll()

全选。

func (*TCheckListBox) Selected

func (c *TCheckListBox) Selected(Index int32) bool

func (*TCheckListBox) SendToBack

func (c *TCheckListBox) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TCheckListBox) SetAction

func (c *TCheckListBox) SetAction(value IComponent)

func (*TCheckListBox) SetAlign

func (c *TCheckListBox) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TCheckListBox) SetAllowGrayed

func (c *TCheckListBox) SetAllowGrayed(value bool)

func (*TCheckListBox) SetAnchorSideBottom

func (c *TCheckListBox) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TCheckListBox) SetAnchorSideLeft

func (c *TCheckListBox) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TCheckListBox) SetAnchorSideRight

func (c *TCheckListBox) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TCheckListBox) SetAnchorSideTop

func (c *TCheckListBox) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TCheckListBox) SetAnchors

func (c *TCheckListBox) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TCheckListBox) SetBiDiMode

func (c *TCheckListBox) SetBiDiMode(value TBiDiMode)

func (*TCheckListBox) SetBorderSpacing

func (c *TCheckListBox) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TCheckListBox) SetBorderStyle

func (c *TCheckListBox) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TCheckListBox) SetBounds

func (c *TCheckListBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TCheckListBox) SetBoundsRect

func (c *TCheckListBox) SetBoundsRect(value TRect)

func (*TCheckListBox) SetChecked

func (c *TCheckListBox) SetChecked(Index int32, value bool)

设置是否选中。

func (*TCheckListBox) SetChildSizing

func (c *TCheckListBox) SetChildSizing(value *TControlChildSizing)

func (*TCheckListBox) SetClientHeight

func (c *TCheckListBox) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TCheckListBox) SetClientWidth

func (c *TCheckListBox) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TCheckListBox) SetColor

func (c *TCheckListBox) SetColor(value TColor)

设置颜色。

Set color.

func (*TCheckListBox) SetColumns

func (c *TCheckListBox) SetColumns(value int32)

func (*TCheckListBox) SetComponentIndex

func (c *TCheckListBox) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TCheckListBox) SetConstraints

func (c *TCheckListBox) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TCheckListBox) SetControlState

func (c *TCheckListBox) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TCheckListBox) SetControlStyle

func (c *TCheckListBox) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TCheckListBox) SetCursor

func (c *TCheckListBox) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TCheckListBox) SetDockSite

func (c *TCheckListBox) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TCheckListBox) SetDoubleBuffered

func (c *TCheckListBox) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TCheckListBox) SetDragCursor

func (c *TCheckListBox) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TCheckListBox) SetDragMode

func (c *TCheckListBox) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TCheckListBox) SetEnabled

func (c *TCheckListBox) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TCheckListBox) SetFocus

func (c *TCheckListBox) SetFocus()

设置控件焦点。

Set control focus.

func (*TCheckListBox) SetFont

func (c *TCheckListBox) SetFont(value *TFont)

设置字体。

Set Font.

func (*TCheckListBox) SetHeader

func (c *TCheckListBox) SetHeader(Index int32, value bool)

func (*TCheckListBox) SetHeight

func (c *TCheckListBox) SetHeight(value int32)

设置高度。

Set height.

func (*TCheckListBox) SetHint

func (c *TCheckListBox) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TCheckListBox) SetItemEnabled

func (c *TCheckListBox) SetItemEnabled(Index int32, value bool)

func (*TCheckListBox) SetItemHeight

func (c *TCheckListBox) SetItemHeight(value int32)

func (*TCheckListBox) SetItemIndex

func (c *TCheckListBox) SetItemIndex(value int32)

func (*TCheckListBox) SetItems

func (c *TCheckListBox) SetItems(value IStrings)

func (*TCheckListBox) SetLeft

func (c *TCheckListBox) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TCheckListBox) SetMultiSelect

func (c *TCheckListBox) SetMultiSelect(value bool)

func (*TCheckListBox) SetName

func (c *TCheckListBox) SetName(value string)

设置组件名称。

Set the component name.

func (*TCheckListBox) SetOnClick

func (c *TCheckListBox) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TCheckListBox) SetOnClickCheck

func (c *TCheckListBox) SetOnClickCheck(fn TNotifyEvent)

func (*TCheckListBox) SetOnContextPopup

func (c *TCheckListBox) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TCheckListBox) SetOnDblClick

func (c *TCheckListBox) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TCheckListBox) SetOnDragDrop

func (c *TCheckListBox) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TCheckListBox) SetOnDragOver

func (c *TCheckListBox) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TCheckListBox) SetOnEndDrag

func (c *TCheckListBox) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TCheckListBox) SetOnEnter

func (c *TCheckListBox) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TCheckListBox) SetOnExit

func (c *TCheckListBox) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TCheckListBox) SetOnKeyDown

func (c *TCheckListBox) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TCheckListBox) SetOnKeyPress

func (c *TCheckListBox) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TCheckListBox) SetOnKeyUp

func (c *TCheckListBox) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TCheckListBox) SetOnMeasureItem

func (c *TCheckListBox) SetOnMeasureItem(fn TMeasureItemEvent)

func (*TCheckListBox) SetOnMouseDown

func (c *TCheckListBox) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TCheckListBox) SetOnMouseEnter

func (c *TCheckListBox) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TCheckListBox) SetOnMouseLeave

func (c *TCheckListBox) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TCheckListBox) SetOnMouseMove

func (c *TCheckListBox) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TCheckListBox) SetOnMouseUp

func (c *TCheckListBox) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TCheckListBox) SetParent

func (c *TCheckListBox) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TCheckListBox) SetParentColor

func (c *TCheckListBox) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TCheckListBox) SetParentDoubleBuffered

func (c *TCheckListBox) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TCheckListBox) SetParentFont

func (c *TCheckListBox) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TCheckListBox) SetParentShowHint

func (c *TCheckListBox) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TCheckListBox) SetParentWindow

func (c *TCheckListBox) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TCheckListBox) SetPopupMenu

func (c *TCheckListBox) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TCheckListBox) SetSelected

func (c *TCheckListBox) SetSelected(Index int32, value bool)

func (*TCheckListBox) SetShowHint

func (c *TCheckListBox) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TCheckListBox) SetSorted

func (c *TCheckListBox) SetSorted(value bool)

func (*TCheckListBox) SetState

func (c *TCheckListBox) SetState(Index int32, value TCheckBoxState)

func (*TCheckListBox) SetStyle

func (c *TCheckListBox) SetStyle(value TListBoxStyle)

func (*TCheckListBox) SetTabOrder

func (c *TCheckListBox) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TCheckListBox) SetTabStop

func (c *TCheckListBox) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TCheckListBox) SetTag

func (c *TCheckListBox) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TCheckListBox) SetTextBuf

func (c *TCheckListBox) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TCheckListBox) SetTop

func (c *TCheckListBox) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TCheckListBox) SetTopIndex

func (c *TCheckListBox) SetTopIndex(value int32)

func (*TCheckListBox) SetUseDockManager

func (c *TCheckListBox) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TCheckListBox) SetVisible

func (c *TCheckListBox) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TCheckListBox) SetWidth

func (c *TCheckListBox) SetWidth(value int32)

设置宽度。

Set width.

func (*TCheckListBox) Show

func (c *TCheckListBox) Show()

显示控件。

Show control.

func (*TCheckListBox) ShowHint

func (c *TCheckListBox) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TCheckListBox) Showing

func (c *TCheckListBox) Showing() bool

func (*TCheckListBox) Sorted

func (c *TCheckListBox) Sorted() bool

func (*TCheckListBox) State

func (c *TCheckListBox) State(Index int32) TCheckBoxState

func (*TCheckListBox) Style

func (c *TCheckListBox) Style() TListBoxStyle

func (*TCheckListBox) TabOrder

func (c *TCheckListBox) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TCheckListBox) TabStop

func (c *TCheckListBox) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TCheckListBox) Tag

func (c *TCheckListBox) Tag() int

获取对象标记。

Get the control tag.

func (*TCheckListBox) ToString

func (c *TCheckListBox) ToString() string

文本类信息。

Text information.

func (*TCheckListBox) Top

func (c *TCheckListBox) Top() int32

获取顶边位置。

Get Top position.

func (*TCheckListBox) TopIndex

func (c *TCheckListBox) TopIndex() int32

func (*TCheckListBox) UnsafeAddr

func (c *TCheckListBox) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TCheckListBox) Update

func (c *TCheckListBox) Update()

控件更新。

Update.

func (*TCheckListBox) UseDockManager

func (c *TCheckListBox) UseDockManager() bool

获取使用停靠管理。

func (*TCheckListBox) Visible

func (c *TCheckListBox) Visible() bool

获取控件可视。

Get the control visible.

func (*TCheckListBox) VisibleDockClientCount

func (c *TCheckListBox) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TCheckListBox) Width

func (c *TCheckListBox) Width() int32

获取宽度。

Get width.

type TClipboard

type TClipboard struct {
	IObject
	// contains filtered or unexported fields
}

func AsClipboard

func AsClipboard(obj interface{}) *TClipboard

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ClipboardFromInst

func ClipboardFromInst(inst uintptr) *TClipboard

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsClipboard.

func ClipboardFromObj

func ClipboardFromObj(obj IObject) *TClipboard

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsClipboard.

func ClipboardFromUnsafePointer

func ClipboardFromUnsafePointer(ptr unsafe.Pointer) *TClipboard

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsClipboard.

func NewClipboard

func NewClipboard() *TClipboard

创建一个新的对象。

Create a new object.

func SetClipboard

func SetClipboard(newClipboard IObject) *TClipboard

func (*TClipboard) AsText

func (c *TClipboard) AsText() string

func (*TClipboard) Assign

func (c *TClipboard) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TClipboard) ClassName

func (c *TClipboard) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TClipboard) ClassType

func (c *TClipboard) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TClipboard) Clear

func (c *TClipboard) Clear()

清除。

func (*TClipboard) Close

func (c *TClipboard) Close()

关闭。

func (*TClipboard) Equals

func (c *TClipboard) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TClipboard) FindFormatID

func (c *TClipboard) FindFormatID(FormatName string) TClipboardFormat

func (*TClipboard) FindPictureFormatID

func (c *TClipboard) FindPictureFormatID() TClipboardFormat

func (*TClipboard) FormatCount

func (c *TClipboard) FormatCount() int32

func (*TClipboard) Formats

func (c *TClipboard) Formats(Index int32) TClipboardFormat

func (*TClipboard) Free

func (c *TClipboard) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TClipboard) GetAsHtml

func (c *TClipboard) GetAsHtml(ExtractFragmentOnly bool) string

func (*TClipboard) GetFormat

func (c *TClipboard) GetFormat(FormatID TClipboardFormat, Stream IStream) bool

func (*TClipboard) GetHashCode

func (c *TClipboard) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TClipboard) GetNamePath

func (c *TClipboard) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TClipboard) GetTextBuf

func (c *TClipboard) GetTextBuf(Buffer *string, BufSize int32) int32

func (*TClipboard) HasFormat

func (c *TClipboard) HasFormat(aFormatID types.TClipboardFormat) bool

func (*TClipboard) HasFormatName

func (c *TClipboard) HasFormatName(FormatName string) bool

func (*TClipboard) HasPictureFormat

func (c *TClipboard) HasPictureFormat() bool

func (*TClipboard) InheritsFrom

func (c *TClipboard) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TClipboard) Instance

func (c *TClipboard) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TClipboard) InstanceSize

func (c *TClipboard) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TClipboard) Is

func (c *TClipboard) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TClipboard) IsValid

func (c *TClipboard) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TClipboard) Open

func (c *TClipboard) Open()

func (*TClipboard) SetAsHtml

func (c *TClipboard) SetAsHtml(Html string, PlainText string)

func (*TClipboard) SetAsText

func (c *TClipboard) SetAsText(value string)

func (*TClipboard) SetTextBuf

func (c *TClipboard) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TClipboard) SupportedFormats

func (c *TClipboard) SupportedFormats(List IStrings)

func (*TClipboard) ToString

func (c *TClipboard) ToString() string

文本类信息。

Text information.

func (*TClipboard) UnsafeAddr

func (c *TClipboard) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TCloseEvent

type TCloseEvent func(sender IObject, action *TCloseAction) // Action *uintptr

TCloseEvent Form

type TCloseQueryEvent

type TCloseQueryEvent func(sender IObject, canClose *bool) //CanClose *uintptr

TCloseQueryEvent Form

type TCollection

type TCollection struct {
	IObject
	// contains filtered or unexported fields
}

func AsCollection

func AsCollection(obj interface{}) *TCollection

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func CollectionFromInst

func CollectionFromInst(inst uintptr) *TCollection

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsCollection.

func CollectionFromObj

func CollectionFromObj(obj IObject) *TCollection

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsCollection.

func CollectionFromUnsafePointer

func CollectionFromUnsafePointer(ptr unsafe.Pointer) *TCollection

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCollection.

func NewCollection

func NewCollection(AOwner *TCollectionItem) *TCollection

创建一个新的对象。

Create a new object.

func (*TCollection) Add

func (c *TCollection) Add() *TCollectionItem

func (*TCollection) Assign

func (c *TCollection) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCollection) BeginUpdate

func (c *TCollection) BeginUpdate()

func (*TCollection) ClassName

func (c *TCollection) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TCollection) ClassType

func (c *TCollection) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TCollection) Clear

func (c *TCollection) Clear()

清除。

func (*TCollection) Count

func (c *TCollection) Count() int32

func (*TCollection) Delete

func (c *TCollection) Delete(Index int32)

func (*TCollection) EndUpdate

func (c *TCollection) EndUpdate()

func (*TCollection) Equals

func (c *TCollection) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TCollection) FindItemID

func (c *TCollection) FindItemID(ID int32) *TCollectionItem

func (*TCollection) Free

func (c *TCollection) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TCollection) GetHashCode

func (c *TCollection) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TCollection) GetNamePath

func (c *TCollection) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TCollection) InheritsFrom

func (c *TCollection) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCollection) Insert

func (c *TCollection) Insert(Index int32) *TCollectionItem

func (*TCollection) Instance

func (c *TCollection) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TCollection) InstanceSize

func (c *TCollection) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TCollection) Is

func (c *TCollection) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCollection) IsValid

func (c *TCollection) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TCollection) Items

func (c *TCollection) Items(Index int32) *TCollectionItem

func (*TCollection) Owner

func (c *TCollection) Owner() *TObject

组件所有者。

component owner.

func (*TCollection) SetItems

func (c *TCollection) SetItems(Index int32, value *TCollectionItem)

func (*TCollection) ToString

func (c *TCollection) ToString() string

文本类信息。

Text information.

func (*TCollection) UnsafeAddr

func (c *TCollection) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TCollectionItem

type TCollectionItem struct {
	IObject
	// contains filtered or unexported fields
}

func AsCollectionItem

func AsCollectionItem(obj interface{}) *TCollectionItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func CollectionItemFromInst

func CollectionItemFromInst(inst uintptr) *TCollectionItem

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsCollectionItem.

func CollectionItemFromObj

func CollectionItemFromObj(obj IObject) *TCollectionItem

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsCollectionItem.

func CollectionItemFromUnsafePointer

func CollectionItemFromUnsafePointer(ptr unsafe.Pointer) *TCollectionItem

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCollectionItem.

func NewCollectionItem

func NewCollectionItem(AOwner *TCollection) *TCollectionItem

创建一个新的对象。

Create a new object.

func (*TCollectionItem) Assign

func (c *TCollectionItem) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCollectionItem) ClassName

func (c *TCollectionItem) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TCollectionItem) ClassType

func (c *TCollectionItem) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TCollectionItem) Collection

func (c *TCollectionItem) Collection() *TCollection

func (*TCollectionItem) DisplayName

func (c *TCollectionItem) DisplayName() string

func (*TCollectionItem) Equals

func (c *TCollectionItem) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TCollectionItem) Free

func (c *TCollectionItem) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TCollectionItem) GetHashCode

func (c *TCollectionItem) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TCollectionItem) GetNamePath

func (c *TCollectionItem) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TCollectionItem) Index

func (c *TCollectionItem) Index() int32

func (*TCollectionItem) InheritsFrom

func (c *TCollectionItem) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCollectionItem) Instance

func (c *TCollectionItem) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TCollectionItem) InstanceSize

func (c *TCollectionItem) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TCollectionItem) Is

func (c *TCollectionItem) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCollectionItem) IsValid

func (c *TCollectionItem) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TCollectionItem) SetCollection

func (c *TCollectionItem) SetCollection(value *TCollection)

func (*TCollectionItem) SetDisplayName

func (c *TCollectionItem) SetDisplayName(value string)

func (*TCollectionItem) SetIndex

func (c *TCollectionItem) SetIndex(value int32)

func (*TCollectionItem) ToString

func (c *TCollectionItem) ToString() string

文本类信息。

Text information.

func (*TCollectionItem) UnsafeAddr

func (c *TCollectionItem) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TColorBox

type TColorBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsColorBox

func AsColorBox(obj interface{}) *TColorBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ColorBoxFromInst

func ColorBoxFromInst(inst uintptr) *TColorBox

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsColorBox.

func ColorBoxFromObj

func ColorBoxFromObj(obj IObject) *TColorBox

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsColorBox.

func ColorBoxFromUnsafePointer

func ColorBoxFromUnsafePointer(ptr unsafe.Pointer) *TColorBox

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsColorBox.

func NewColorBox

func NewColorBox(owner IComponent) *TColorBox

创建一个新的对象。

Create a new object.

func (*TColorBox) Action

func (c *TColorBox) Action() *TAction

func (*TColorBox) AddItem

func (c *TColorBox) AddItem(Item string, AObject IObject)

func (*TColorBox) Align

func (c *TColorBox) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TColorBox) AnchorAsAlign

func (c *TColorBox) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TColorBox) AnchorClient

func (c *TColorBox) AnchorClient(ASpace int32)

func (*TColorBox) AnchorHorizontalCenterTo

func (c *TColorBox) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TColorBox) AnchorParallel

func (c *TColorBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TColorBox) AnchorSame

func (c *TColorBox) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TColorBox) AnchorSide

func (c *TColorBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TColorBox) AnchorSideBottom

func (c *TColorBox) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TColorBox) AnchorSideLeft

func (c *TColorBox) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TColorBox) AnchorSideRight

func (c *TColorBox) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TColorBox) AnchorSideTop

func (c *TColorBox) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TColorBox) AnchorToNeighbour

func (c *TColorBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TColorBox) AnchorVerticalCenterTo

func (c *TColorBox) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TColorBox) Anchors

func (c *TColorBox) Anchors() TAnchors

获取四个角位置的锚点。

func (*TColorBox) Assign

func (c *TColorBox) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TColorBox) AutoAdjustLayout

func (c *TColorBox) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TColorBox) AutoComplete

func (c *TColorBox) AutoComplete() bool

func (*TColorBox) AutoDropDown

func (c *TColorBox) AutoDropDown() bool

func (*TColorBox) BiDiMode

func (c *TColorBox) BiDiMode() TBiDiMode

func (*TColorBox) BorderSpacing

func (c *TColorBox) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TColorBox) BoundsRect

func (c *TColorBox) BoundsRect() TRect

func (*TColorBox) BringToFront

func (c *TColorBox) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TColorBox) Brush

func (c *TColorBox) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TColorBox) CanFocus

func (c *TColorBox) CanFocus() bool

是否可以获得焦点。

func (*TColorBox) Canvas

func (c *TColorBox) Canvas() *TCanvas

获取画布。

func (*TColorBox) CharCase

func (c *TColorBox) CharCase() TEditCharCase

func (*TColorBox) ChildSizing

func (c *TColorBox) ChildSizing() *TControlChildSizing

func (*TColorBox) ClassName

func (c *TColorBox) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TColorBox) ClassType

func (c *TColorBox) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TColorBox) Clear

func (c *TColorBox) Clear()

清除。

func (*TColorBox) ClearSelection

func (c *TColorBox) ClearSelection()

清除选择。

func (*TColorBox) ClientHeight

func (c *TColorBox) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TColorBox) ClientOrigin

func (c *TColorBox) ClientOrigin() TPoint

func (*TColorBox) ClientRect

func (c *TColorBox) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TColorBox) ClientToParent

func (c *TColorBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TColorBox) ClientToScreen

func (c *TColorBox) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TColorBox) ClientWidth

func (c *TColorBox) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TColorBox) Color

func (c *TColorBox) Color() TColor

获取颜色。

Get color.

func (*TColorBox) ColorNames

func (c *TColorBox) ColorNames(Index int32) string

func (*TColorBox) Colors

func (c *TColorBox) Colors(Index int32) TColor

func (*TColorBox) ComponentCount

func (c *TColorBox) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TColorBox) ComponentIndex

func (c *TColorBox) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TColorBox) Components

func (c *TColorBox) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TColorBox) Constraints

func (c *TColorBox) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TColorBox) ContainsControl

func (c *TColorBox) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TColorBox) ControlAtPos

func (c *TColorBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TColorBox) ControlCount

func (c *TColorBox) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TColorBox) ControlState

func (c *TColorBox) ControlState() TControlState

获取控件状态。

Get control state.

func (*TColorBox) ControlStyle

func (c *TColorBox) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TColorBox) Controls

func (c *TColorBox) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TColorBox) Cursor

func (c *TColorBox) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TColorBox) DefaultColorColor

func (c *TColorBox) DefaultColorColor() TColor

func (*TColorBox) DeleteSelected

func (c *TColorBox) DeleteSelected()

删除选择的。

func (*TColorBox) DisableAlign

func (c *TColorBox) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TColorBox) DockClientCount

func (c *TColorBox) DockClientCount() int32

获取依靠客户端总数。

func (*TColorBox) DockClients

func (c *TColorBox) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TColorBox) DockSite

func (c *TColorBox) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TColorBox) DoubleBuffered

func (c *TColorBox) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TColorBox) Dragging

func (c *TColorBox) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TColorBox) DropDownCount

func (c *TColorBox) DropDownCount() int32

func (*TColorBox) DroppedDown

func (c *TColorBox) DroppedDown() bool

func (*TColorBox) EnableAlign

func (c *TColorBox) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TColorBox) Enabled

func (c *TColorBox) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TColorBox) Equals

func (c *TColorBox) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TColorBox) FindChildControl

func (c *TColorBox) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TColorBox) FindComponent

func (c *TColorBox) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TColorBox) FixDesignFontsPPI

func (c *TColorBox) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TColorBox) FlipChildren

func (c *TColorBox) FlipChildren(AllLevels bool)

func (*TColorBox) Floating

func (c *TColorBox) Floating() bool

func (*TColorBox) Focused

func (c *TColorBox) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TColorBox) Font

func (c *TColorBox) Font() *TFont

获取字体。

Get Font.

func (*TColorBox) Free

func (c *TColorBox) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TColorBox) GetHashCode

func (c *TColorBox) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TColorBox) GetNamePath

func (c *TColorBox) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TColorBox) GetTextBuf

func (c *TColorBox) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TColorBox) GetTextLen

func (c *TColorBox) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TColorBox) Handle

func (c *TColorBox) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TColorBox) HandleAllocated

func (c *TColorBox) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TColorBox) HasParent

func (c *TColorBox) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TColorBox) Height

func (c *TColorBox) Height() int32

获取高度。

Get height.

func (*TColorBox) Hide

func (c *TColorBox) Hide()

隐藏控件。

Hidden control.

func (*TColorBox) Hint

func (c *TColorBox) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TColorBox) InheritsFrom

func (c *TColorBox) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TColorBox) InsertControl

func (c *TColorBox) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TColorBox) Instance

func (c *TColorBox) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TColorBox) InstanceSize

func (c *TColorBox) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TColorBox) Invalidate

func (c *TColorBox) Invalidate()

要求重绘。

Redraw.

func (*TColorBox) Is

func (c *TColorBox) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TColorBox) IsValid

func (c *TColorBox) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TColorBox) ItemHeight

func (c *TColorBox) ItemHeight() int32

func (*TColorBox) ItemIndex

func (c *TColorBox) ItemIndex() int32

func (*TColorBox) Items

func (c *TColorBox) Items() *TStrings

func (*TColorBox) Left

func (c *TColorBox) Left() int32

获取左边位置。

Get Left position.

func (*TColorBox) MouseInClient

func (c *TColorBox) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TColorBox) Name

func (c *TColorBox) Name() string

获取组件名称。

Get the component name.

func (*TColorBox) NoneColorColor

func (c *TColorBox) NoneColorColor() TColor

func (*TColorBox) Owner

func (c *TColorBox) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TColorBox) PaintTo

func (c *TColorBox) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TColorBox) Parent

func (c *TColorBox) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TColorBox) ParentColor

func (c *TColorBox) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TColorBox) ParentDoubleBuffered

func (c *TColorBox) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TColorBox) ParentFont

func (c *TColorBox) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TColorBox) ParentShowHint

func (c *TColorBox) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TColorBox) ParentToClient

func (c *TColorBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TColorBox) ParentWindow

func (c *TColorBox) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TColorBox) Perform

func (c *TColorBox) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TColorBox) PopupMenu

func (c *TColorBox) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TColorBox) Realign

func (c *TColorBox) Realign()

重新对齐。

Realign.

func (*TColorBox) Refresh

func (c *TColorBox) Refresh()

刷新控件。

Refresh control.

func (*TColorBox) RemoveControl

func (c *TColorBox) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TColorBox) Repaint

func (c *TColorBox) Repaint()

重绘。

Repaint.

func (*TColorBox) Scale96ToFont

func (c *TColorBox) Scale96ToFont(ASize int32) int32

func (*TColorBox) Scale96ToForm

func (c *TColorBox) Scale96ToForm(ASize int32) int32

func (*TColorBox) Scale96ToScreen

func (c *TColorBox) Scale96ToScreen(ASize int32) int32

func (*TColorBox) ScaleBy

func (c *TColorBox) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TColorBox) ScaleDesignToForm

func (c *TColorBox) ScaleDesignToForm(ASize int32) int32

func (*TColorBox) ScaleFontTo96

func (c *TColorBox) ScaleFontTo96(ASize int32) int32

func (*TColorBox) ScaleFontToScreen

func (c *TColorBox) ScaleFontToScreen(ASize int32) int32

func (*TColorBox) ScaleFontsPPI

func (c *TColorBox) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TColorBox) ScaleFormTo96

func (c *TColorBox) ScaleFormTo96(ASize int32) int32

func (*TColorBox) ScaleFormToDesign

func (c *TColorBox) ScaleFormToDesign(ASize int32) int32

func (*TColorBox) ScaleScreenTo96

func (c *TColorBox) ScaleScreenTo96(ASize int32) int32

func (*TColorBox) ScaleScreenToFont

func (c *TColorBox) ScaleScreenToFont(ASize int32) int32

func (*TColorBox) ScreenToClient

func (c *TColorBox) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TColorBox) ScrollBy

func (c *TColorBox) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TColorBox) SelLength

func (c *TColorBox) SelLength() int32

获取选择的长度。

func (*TColorBox) SelStart

func (c *TColorBox) SelStart() int32

获取选择的启始位置。

func (*TColorBox) SelText

func (c *TColorBox) SelText() string

获取选择的文本。

func (*TColorBox) SelectAll

func (c *TColorBox) SelectAll()

全选。

func (*TColorBox) Selected

func (c *TColorBox) Selected() TColor

func (*TColorBox) SendToBack

func (c *TColorBox) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TColorBox) SetAction

func (c *TColorBox) SetAction(value IComponent)

func (*TColorBox) SetAlign

func (c *TColorBox) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TColorBox) SetAnchorSideBottom

func (c *TColorBox) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TColorBox) SetAnchorSideLeft

func (c *TColorBox) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TColorBox) SetAnchorSideRight

func (c *TColorBox) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TColorBox) SetAnchorSideTop

func (c *TColorBox) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TColorBox) SetAnchors

func (c *TColorBox) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TColorBox) SetAutoComplete

func (c *TColorBox) SetAutoComplete(value bool)

func (*TColorBox) SetAutoDropDown

func (c *TColorBox) SetAutoDropDown(value bool)

func (*TColorBox) SetBiDiMode

func (c *TColorBox) SetBiDiMode(value TBiDiMode)

func (*TColorBox) SetBorderSpacing

func (c *TColorBox) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TColorBox) SetBounds

func (c *TColorBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TColorBox) SetBoundsRect

func (c *TColorBox) SetBoundsRect(value TRect)

func (*TColorBox) SetCharCase

func (c *TColorBox) SetCharCase(value TEditCharCase)

func (*TColorBox) SetChildSizing

func (c *TColorBox) SetChildSizing(value *TControlChildSizing)

func (*TColorBox) SetClientHeight

func (c *TColorBox) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TColorBox) SetClientWidth

func (c *TColorBox) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TColorBox) SetColor

func (c *TColorBox) SetColor(value TColor)

设置颜色。

Set color.

func (*TColorBox) SetComponentIndex

func (c *TColorBox) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TColorBox) SetConstraints

func (c *TColorBox) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TColorBox) SetControlState

func (c *TColorBox) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TColorBox) SetControlStyle

func (c *TColorBox) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TColorBox) SetCursor

func (c *TColorBox) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TColorBox) SetDefaultColorColor

func (c *TColorBox) SetDefaultColorColor(value TColor)

func (*TColorBox) SetDockSite

func (c *TColorBox) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TColorBox) SetDoubleBuffered

func (c *TColorBox) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TColorBox) SetDropDownCount

func (c *TColorBox) SetDropDownCount(value int32)

func (*TColorBox) SetDroppedDown

func (c *TColorBox) SetDroppedDown(value bool)

func (*TColorBox) SetEnabled

func (c *TColorBox) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TColorBox) SetFocus

func (c *TColorBox) SetFocus()

设置控件焦点。

Set control focus.

func (*TColorBox) SetFont

func (c *TColorBox) SetFont(value *TFont)

设置字体。

Set Font.

func (*TColorBox) SetHeight

func (c *TColorBox) SetHeight(value int32)

设置高度。

Set height.

func (*TColorBox) SetHint

func (c *TColorBox) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TColorBox) SetItemHeight

func (c *TColorBox) SetItemHeight(value int32)

func (*TColorBox) SetItemIndex

func (c *TColorBox) SetItemIndex(value int32)

func (*TColorBox) SetItems

func (c *TColorBox) SetItems(value IStrings)

func (*TColorBox) SetLeft

func (c *TColorBox) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TColorBox) SetName

func (c *TColorBox) SetName(value string)

设置组件名称。

Set the component name.

func (*TColorBox) SetNoneColorColor

func (c *TColorBox) SetNoneColorColor(value TColor)

func (*TColorBox) SetOnChange

func (c *TColorBox) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TColorBox) SetOnClick

func (c *TColorBox) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TColorBox) SetOnCloseUp

func (c *TColorBox) SetOnCloseUp(fn TNotifyEvent)

func (*TColorBox) SetOnContextPopup

func (c *TColorBox) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TColorBox) SetOnDragDrop

func (c *TColorBox) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TColorBox) SetOnDragOver

func (c *TColorBox) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TColorBox) SetOnDropDown

func (c *TColorBox) SetOnDropDown(fn TNotifyEvent)

func (*TColorBox) SetOnEndDrag

func (c *TColorBox) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TColorBox) SetOnEnter

func (c *TColorBox) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TColorBox) SetOnExit

func (c *TColorBox) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TColorBox) SetOnKeyDown

func (c *TColorBox) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TColorBox) SetOnKeyPress

func (c *TColorBox) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TColorBox) SetOnKeyUp

func (c *TColorBox) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TColorBox) SetOnMouseEnter

func (c *TColorBox) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TColorBox) SetOnMouseLeave

func (c *TColorBox) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TColorBox) SetOnSelect

func (c *TColorBox) SetOnSelect(fn TNotifyEvent)

func (*TColorBox) SetParent

func (c *TColorBox) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TColorBox) SetParentColor

func (c *TColorBox) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TColorBox) SetParentDoubleBuffered

func (c *TColorBox) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TColorBox) SetParentFont

func (c *TColorBox) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TColorBox) SetParentShowHint

func (c *TColorBox) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TColorBox) SetParentWindow

func (c *TColorBox) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TColorBox) SetPopupMenu

func (c *TColorBox) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TColorBox) SetSelLength

func (c *TColorBox) SetSelLength(value int32)

设置选择的长度。

func (*TColorBox) SetSelStart

func (c *TColorBox) SetSelStart(value int32)

设置选择的启始位置。

func (*TColorBox) SetSelText

func (c *TColorBox) SetSelText(value string)

设置选择的文本。

func (*TColorBox) SetSelected

func (c *TColorBox) SetSelected(value TColor)

func (*TColorBox) SetShowHint

func (c *TColorBox) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TColorBox) SetStyle

func (c *TColorBox) SetStyle(value TColorBoxStyle)

func (*TColorBox) SetTabOrder

func (c *TColorBox) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TColorBox) SetTabStop

func (c *TColorBox) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TColorBox) SetTag

func (c *TColorBox) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TColorBox) SetTextBuf

func (c *TColorBox) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TColorBox) SetTop

func (c *TColorBox) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TColorBox) SetUseDockManager

func (c *TColorBox) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TColorBox) SetVisible

func (c *TColorBox) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TColorBox) SetWidth

func (c *TColorBox) SetWidth(value int32)

设置宽度。

Set width.

func (*TColorBox) Show

func (c *TColorBox) Show()

显示控件。

Show control.

func (*TColorBox) ShowHint

func (c *TColorBox) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TColorBox) Showing

func (c *TColorBox) Showing() bool

func (*TColorBox) Style

func (c *TColorBox) Style() TColorBoxStyle

func (*TColorBox) TabOrder

func (c *TColorBox) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TColorBox) TabStop

func (c *TColorBox) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TColorBox) Tag

func (c *TColorBox) Tag() int

获取对象标记。

Get the control tag.

func (*TColorBox) ToString

func (c *TColorBox) ToString() string

文本类信息。

Text information.

func (*TColorBox) Top

func (c *TColorBox) Top() int32

获取顶边位置。

Get Top position.

func (*TColorBox) UnsafeAddr

func (c *TColorBox) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TColorBox) Update

func (c *TColorBox) Update()

控件更新。

Update.

func (*TColorBox) UseDockManager

func (c *TColorBox) UseDockManager() bool

获取使用停靠管理。

func (*TColorBox) Visible

func (c *TColorBox) Visible() bool

获取控件可视。

Get the control visible.

func (*TColorBox) VisibleDockClientCount

func (c *TColorBox) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TColorBox) Width

func (c *TColorBox) Width() int32

获取宽度。

Get width.

type TColorButton

type TColorButton struct {
	IControl
	// contains filtered or unexported fields
}

func AsColorButton

func AsColorButton(obj interface{}) *TColorButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ColorButtonFromInst

func ColorButtonFromInst(inst uintptr) *TColorButton

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsColorButton.

func ColorButtonFromObj

func ColorButtonFromObj(obj IObject) *TColorButton

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsColorButton.

func ColorButtonFromUnsafePointer

func ColorButtonFromUnsafePointer(ptr unsafe.Pointer) *TColorButton

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsColorButton.

func NewColorButton

func NewColorButton(owner IComponent) *TColorButton

创建一个新的对象。

Create a new object.

func (*TColorButton) Action

func (c *TColorButton) Action() *TAction

func (*TColorButton) Align

func (c *TColorButton) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TColorButton) AllowAllUp

func (c *TColorButton) AllowAllUp() bool

func (*TColorButton) AnchorAsAlign

func (c *TColorButton) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TColorButton) AnchorClient

func (c *TColorButton) AnchorClient(ASpace int32)

func (*TColorButton) AnchorHorizontalCenterTo

func (c *TColorButton) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TColorButton) AnchorParallel

func (c *TColorButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TColorButton) AnchorSame

func (c *TColorButton) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TColorButton) AnchorSide

func (c *TColorButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TColorButton) AnchorSideBottom

func (c *TColorButton) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TColorButton) AnchorSideLeft

func (c *TColorButton) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TColorButton) AnchorSideRight

func (c *TColorButton) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TColorButton) AnchorSideTop

func (c *TColorButton) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TColorButton) AnchorToNeighbour

func (c *TColorButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TColorButton) AnchorVerticalCenterTo

func (c *TColorButton) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TColorButton) Anchors

func (c *TColorButton) Anchors() TAnchors

获取四个角位置的锚点。

func (*TColorButton) Assign

func (c *TColorButton) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TColorButton) AutoAdjustLayout

func (c *TColorButton) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TColorButton) BiDiMode

func (c *TColorButton) BiDiMode() TBiDiMode

func (*TColorButton) BorderSpacing

func (c *TColorButton) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TColorButton) BorderWidth

func (c *TColorButton) BorderWidth() int32

获取边框的宽度。

func (*TColorButton) BoundsRect

func (c *TColorButton) BoundsRect() TRect

func (*TColorButton) BringToFront

func (c *TColorButton) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TColorButton) ButtonColor

func (c *TColorButton) ButtonColor() TColor

func (*TColorButton) ButtonColorAutoSize

func (c *TColorButton) ButtonColorAutoSize() bool

func (*TColorButton) ButtonColorSize

func (c *TColorButton) ButtonColorSize() int32

func (*TColorButton) Caption

func (c *TColorButton) Caption() string

获取控件标题。

Get the control title.

func (*TColorButton) ClassName

func (c *TColorButton) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TColorButton) ClassType

func (c *TColorButton) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TColorButton) Click

func (c *TColorButton) Click()

单击。

func (*TColorButton) ClientHeight

func (c *TColorButton) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TColorButton) ClientOrigin

func (c *TColorButton) ClientOrigin() TPoint

func (*TColorButton) ClientRect

func (c *TColorButton) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TColorButton) ClientToParent

func (c *TColorButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TColorButton) ClientToScreen

func (c *TColorButton) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TColorButton) ClientWidth

func (c *TColorButton) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TColorButton) Color

func (c *TColorButton) Color() TColor

获取颜色。

Get color.

func (*TColorButton) ColorDialog

func (c *TColorButton) ColorDialog() *TColorDialog

func (*TColorButton) ComponentCount

func (c *TColorButton) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TColorButton) ComponentIndex

func (c *TColorButton) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TColorButton) Components

func (c *TColorButton) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TColorButton) Constraints

func (c *TColorButton) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TColorButton) ControlState

func (c *TColorButton) ControlState() TControlState

获取控件状态。

Get control state.

func (*TColorButton) ControlStyle

func (c *TColorButton) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TColorButton) Cursor

func (c *TColorButton) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TColorButton) Down

func (c *TColorButton) Down() bool

func (*TColorButton) Dragging

func (c *TColorButton) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TColorButton) Enabled

func (c *TColorButton) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TColorButton) Equals

func (c *TColorButton) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TColorButton) FindComponent

func (c *TColorButton) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TColorButton) FixDesignFontsPPI

func (c *TColorButton) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TColorButton) Flat

func (c *TColorButton) Flat() bool

获取平面样式。

func (*TColorButton) Floating

func (c *TColorButton) Floating() bool

func (*TColorButton) Font

func (c *TColorButton) Font() *TFont

获取字体。

Get Font.

func (*TColorButton) Free

func (c *TColorButton) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TColorButton) GetHashCode

func (c *TColorButton) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TColorButton) GetNamePath

func (c *TColorButton) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TColorButton) GetTextBuf

func (c *TColorButton) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TColorButton) GetTextLen

func (c *TColorButton) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TColorButton) Glyph

func (c *TColorButton) Glyph() *TBitmap

func (*TColorButton) GroupIndex

func (c *TColorButton) GroupIndex() int32

获取团组索引。

func (*TColorButton) HasParent

func (c *TColorButton) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TColorButton) Height

func (c *TColorButton) Height() int32

获取高度。

Get height.

func (*TColorButton) Hide

func (c *TColorButton) Hide()

隐藏控件。

Hidden control.

func (*TColorButton) Hint

func (c *TColorButton) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TColorButton) ImageIndex

func (c *TColorButton) ImageIndex() int32

获取图像在images中的索引。

func (*TColorButton) ImageWidth

func (c *TColorButton) ImageWidth() int32

func (*TColorButton) Images

func (c *TColorButton) Images() *TImageList

获取图标索引列表对象。

func (*TColorButton) InheritsFrom

func (c *TColorButton) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TColorButton) Instance

func (c *TColorButton) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TColorButton) InstanceSize

func (c *TColorButton) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TColorButton) Invalidate

func (c *TColorButton) Invalidate()

要求重绘。

Redraw.

func (*TColorButton) Is

func (c *TColorButton) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TColorButton) IsValid

func (c *TColorButton) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TColorButton) Layout

func (c *TColorButton) Layout() TButtonLayout

func (*TColorButton) Left

func (c *TColorButton) Left() int32

获取左边位置。

Get Left position.

func (*TColorButton) Name

func (c *TColorButton) Name() string

获取组件名称。

Get the component name.

func (*TColorButton) NumGlyphs

func (c *TColorButton) NumGlyphs() TNumGlyphs

func (*TColorButton) Owner

func (c *TColorButton) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TColorButton) Parent

func (c *TColorButton) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TColorButton) ParentFont

func (c *TColorButton) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TColorButton) ParentShowHint

func (c *TColorButton) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TColorButton) ParentToClient

func (c *TColorButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TColorButton) Perform

func (c *TColorButton) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TColorButton) PopupMenu

func (c *TColorButton) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TColorButton) Refresh

func (c *TColorButton) Refresh()

刷新控件。

Refresh control.

func (*TColorButton) Repaint

func (c *TColorButton) Repaint()

重绘。

Repaint.

func (*TColorButton) Scale96ToFont

func (c *TColorButton) Scale96ToFont(ASize int32) int32

func (*TColorButton) Scale96ToForm

func (c *TColorButton) Scale96ToForm(ASize int32) int32

func (*TColorButton) Scale96ToScreen

func (c *TColorButton) Scale96ToScreen(ASize int32) int32

func (*TColorButton) ScaleDesignToForm

func (c *TColorButton) ScaleDesignToForm(ASize int32) int32

func (*TColorButton) ScaleFontTo96

func (c *TColorButton) ScaleFontTo96(ASize int32) int32

func (*TColorButton) ScaleFontToScreen

func (c *TColorButton) ScaleFontToScreen(ASize int32) int32

func (*TColorButton) ScaleFontsPPI

func (c *TColorButton) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TColorButton) ScaleFormTo96

func (c *TColorButton) ScaleFormTo96(ASize int32) int32

func (*TColorButton) ScaleFormToDesign

func (c *TColorButton) ScaleFormToDesign(ASize int32) int32

func (*TColorButton) ScaleScreenTo96

func (c *TColorButton) ScaleScreenTo96(ASize int32) int32

func (*TColorButton) ScaleScreenToFont

func (c *TColorButton) ScaleScreenToFont(ASize int32) int32

func (*TColorButton) ScreenToClient

func (c *TColorButton) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TColorButton) SendToBack

func (c *TColorButton) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TColorButton) SetAction

func (c *TColorButton) SetAction(value IComponent)

func (*TColorButton) SetAlign

func (c *TColorButton) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TColorButton) SetAllowAllUp

func (c *TColorButton) SetAllowAllUp(value bool)

func (*TColorButton) SetAnchorSideBottom

func (c *TColorButton) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TColorButton) SetAnchorSideLeft

func (c *TColorButton) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TColorButton) SetAnchorSideRight

func (c *TColorButton) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TColorButton) SetAnchorSideTop

func (c *TColorButton) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TColorButton) SetAnchors

func (c *TColorButton) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TColorButton) SetBiDiMode

func (c *TColorButton) SetBiDiMode(value TBiDiMode)

func (*TColorButton) SetBorderSpacing

func (c *TColorButton) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TColorButton) SetBorderWidth

func (c *TColorButton) SetBorderWidth(value int32)

设置边框的宽度。

func (*TColorButton) SetBounds

func (c *TColorButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TColorButton) SetBoundsRect

func (c *TColorButton) SetBoundsRect(value TRect)

func (*TColorButton) SetButtonColor

func (c *TColorButton) SetButtonColor(value TColor)

func (*TColorButton) SetButtonColorAutoSize

func (c *TColorButton) SetButtonColorAutoSize(value bool)

func (*TColorButton) SetButtonColorSize

func (c *TColorButton) SetButtonColorSize(value int32)

func (*TColorButton) SetCaption

func (c *TColorButton) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TColorButton) SetClientHeight

func (c *TColorButton) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TColorButton) SetClientWidth

func (c *TColorButton) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TColorButton) SetColor

func (c *TColorButton) SetColor(value TColor)

设置颜色。

Set color.

func (*TColorButton) SetColorDialog

func (c *TColorButton) SetColorDialog(value IComponent)

func (*TColorButton) SetComponentIndex

func (c *TColorButton) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TColorButton) SetConstraints

func (c *TColorButton) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TColorButton) SetControlState

func (c *TColorButton) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TColorButton) SetControlStyle

func (c *TColorButton) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TColorButton) SetCursor

func (c *TColorButton) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TColorButton) SetDown

func (c *TColorButton) SetDown(value bool)

func (*TColorButton) SetEnabled

func (c *TColorButton) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TColorButton) SetFlat

func (c *TColorButton) SetFlat(value bool)

设置平面样式。

func (*TColorButton) SetFont

func (c *TColorButton) SetFont(value *TFont)

设置字体。

Set Font.

func (*TColorButton) SetGlyph

func (c *TColorButton) SetGlyph(value *TBitmap)

func (*TColorButton) SetGroupIndex

func (c *TColorButton) SetGroupIndex(value int32)

设置团组索引。

func (*TColorButton) SetHeight

func (c *TColorButton) SetHeight(value int32)

设置高度。

Set height.

func (*TColorButton) SetHint

func (c *TColorButton) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TColorButton) SetImageIndex

func (c *TColorButton) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TColorButton) SetImageWidth

func (c *TColorButton) SetImageWidth(value int32)

func (*TColorButton) SetImages

func (c *TColorButton) SetImages(value IComponent)

设置图标索引列表对象。

func (*TColorButton) SetLayout

func (c *TColorButton) SetLayout(value TButtonLayout)

func (*TColorButton) SetLeft

func (c *TColorButton) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TColorButton) SetName

func (c *TColorButton) SetName(value string)

设置组件名称。

Set the component name.

func (*TColorButton) SetNumGlyphs

func (c *TColorButton) SetNumGlyphs(value TNumGlyphs)

func (*TColorButton) SetOnClick

func (c *TColorButton) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TColorButton) SetOnColorChanged

func (c *TColorButton) SetOnColorChanged(fn TNotifyEvent)

func (*TColorButton) SetOnDblClick

func (c *TColorButton) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TColorButton) SetOnMouseDown

func (c *TColorButton) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TColorButton) SetOnMouseEnter

func (c *TColorButton) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TColorButton) SetOnMouseLeave

func (c *TColorButton) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TColorButton) SetOnMouseMove

func (c *TColorButton) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TColorButton) SetOnMouseUp

func (c *TColorButton) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TColorButton) SetOnMouseWheel

func (c *TColorButton) SetOnMouseWheel(fn TMouseWheelEvent)

设置鼠标滚轮事件。

func (*TColorButton) SetOnMouseWheelDown

func (c *TColorButton) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TColorButton) SetOnMouseWheelUp

func (c *TColorButton) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TColorButton) SetOnPaint

func (c *TColorButton) SetOnPaint(fn TNotifyEvent)

设置绘画事件。

func (*TColorButton) SetOnResize

func (c *TColorButton) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TColorButton) SetParent

func (c *TColorButton) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TColorButton) SetParentFont

func (c *TColorButton) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TColorButton) SetParentShowHint

func (c *TColorButton) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TColorButton) SetPopupMenu

func (c *TColorButton) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TColorButton) SetShowCaption

func (c *TColorButton) SetShowCaption(value bool)

func (*TColorButton) SetShowHint

func (c *TColorButton) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TColorButton) SetSpacing

func (c *TColorButton) SetSpacing(value int32)

func (*TColorButton) SetTag

func (c *TColorButton) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TColorButton) SetTextBuf

func (c *TColorButton) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TColorButton) SetTop

func (c *TColorButton) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TColorButton) SetTransparent

func (c *TColorButton) SetTransparent(value bool)

设置透明。

Set transparent.

func (*TColorButton) SetVisible

func (c *TColorButton) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TColorButton) SetWidth

func (c *TColorButton) SetWidth(value int32)

设置宽度。

Set width.

func (*TColorButton) Show

func (c *TColorButton) Show()

显示控件。

Show control.

func (*TColorButton) ShowCaption

func (c *TColorButton) ShowCaption() bool

func (*TColorButton) ShowHint

func (c *TColorButton) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TColorButton) Spacing

func (c *TColorButton) Spacing() int32

func (*TColorButton) Tag

func (c *TColorButton) Tag() int

获取对象标记。

Get the control tag.

func (*TColorButton) ToString

func (c *TColorButton) ToString() string

文本类信息。

Text information.

func (*TColorButton) Top

func (c *TColorButton) Top() int32

获取顶边位置。

Get Top position.

func (*TColorButton) Transparent

func (c *TColorButton) Transparent() bool

获取透明。

Get transparent.

func (*TColorButton) UnsafeAddr

func (c *TColorButton) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TColorButton) Update

func (c *TColorButton) Update()

控件更新。

Update.

func (*TColorButton) Visible

func (c *TColorButton) Visible() bool

获取控件可视。

Get the control visible.

func (*TColorButton) Width

func (c *TColorButton) Width() int32

获取宽度。

Get width.

type TColorDialog

type TColorDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsColorDialog

func AsColorDialog(obj interface{}) *TColorDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ColorDialogFromInst

func ColorDialogFromInst(inst uintptr) *TColorDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsColorDialog.

func ColorDialogFromObj

func ColorDialogFromObj(obj IObject) *TColorDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsColorDialog.

func ColorDialogFromUnsafePointer

func ColorDialogFromUnsafePointer(ptr unsafe.Pointer) *TColorDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsColorDialog.

func NewColorDialog

func NewColorDialog(owner IComponent) *TColorDialog

创建一个新的对象。

Create a new object.

func (*TColorDialog) Assign

func (c *TColorDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TColorDialog) ClassName

func (c *TColorDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TColorDialog) ClassType

func (c *TColorDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TColorDialog) Color

func (c *TColorDialog) Color() TColor

获取颜色。

Get color.

func (*TColorDialog) ComponentCount

func (c *TColorDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TColorDialog) ComponentIndex

func (c *TColorDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TColorDialog) Components

func (c *TColorDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TColorDialog) CustomColors

func (c *TColorDialog) CustomColors() *TStrings

func (*TColorDialog) Equals

func (c *TColorDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TColorDialog) Execute

func (c *TColorDialog) Execute() bool

执行。

func (*TColorDialog) FindComponent

func (c *TColorDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TColorDialog) Free

func (c *TColorDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TColorDialog) GetHashCode

func (c *TColorDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TColorDialog) GetNamePath

func (c *TColorDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TColorDialog) Handle

func (c *TColorDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TColorDialog) HasParent

func (c *TColorDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TColorDialog) InheritsFrom

func (c *TColorDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TColorDialog) Instance

func (c *TColorDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TColorDialog) InstanceSize

func (c *TColorDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TColorDialog) Is

func (c *TColorDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TColorDialog) IsValid

func (c *TColorDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TColorDialog) Name

func (c *TColorDialog) Name() string

获取组件名称。

Get the component name.

func (*TColorDialog) Owner

func (c *TColorDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TColorDialog) SetColor

func (c *TColorDialog) SetColor(value TColor)

设置颜色。

Set color.

func (*TColorDialog) SetComponentIndex

func (c *TColorDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TColorDialog) SetCustomColors

func (c *TColorDialog) SetCustomColors(value IStrings)

func (*TColorDialog) SetName

func (c *TColorDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TColorDialog) SetOnClose

func (c *TColorDialog) SetOnClose(fn TNotifyEvent)

func (*TColorDialog) SetOnShow

func (c *TColorDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TColorDialog) SetTag

func (c *TColorDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TColorDialog) Tag

func (c *TColorDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TColorDialog) ToString

func (c *TColorDialog) ToString() string

文本类信息。

Text information.

func (*TColorDialog) UnsafeAddr

func (c *TColorDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TColorListBox

type TColorListBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsColorListBox

func AsColorListBox(obj interface{}) *TColorListBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ColorListBoxFromInst

func ColorListBoxFromInst(inst uintptr) *TColorListBox

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsColorListBox.

func ColorListBoxFromObj

func ColorListBoxFromObj(obj IObject) *TColorListBox

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsColorListBox.

func ColorListBoxFromUnsafePointer

func ColorListBoxFromUnsafePointer(ptr unsafe.Pointer) *TColorListBox

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsColorListBox.

func NewColorListBox

func NewColorListBox(owner IComponent) *TColorListBox

创建一个新的对象。

Create a new object.

func (*TColorListBox) Action

func (c *TColorListBox) Action() *TAction

func (*TColorListBox) AddItem

func (c *TColorListBox) AddItem(Item string, AObject IObject)

func (*TColorListBox) Align

func (c *TColorListBox) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TColorListBox) AnchorAsAlign

func (c *TColorListBox) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TColorListBox) AnchorClient

func (c *TColorListBox) AnchorClient(ASpace int32)

func (*TColorListBox) AnchorHorizontalCenterTo

func (c *TColorListBox) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TColorListBox) AnchorParallel

func (c *TColorListBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TColorListBox) AnchorSame

func (c *TColorListBox) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TColorListBox) AnchorSide

func (c *TColorListBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TColorListBox) AnchorSideBottom

func (c *TColorListBox) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TColorListBox) AnchorSideLeft

func (c *TColorListBox) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TColorListBox) AnchorSideRight

func (c *TColorListBox) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TColorListBox) AnchorSideTop

func (c *TColorListBox) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TColorListBox) AnchorToNeighbour

func (c *TColorListBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TColorListBox) AnchorVerticalCenterTo

func (c *TColorListBox) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TColorListBox) Anchors

func (c *TColorListBox) Anchors() TAnchors

获取四个角位置的锚点。

func (*TColorListBox) Assign

func (c *TColorListBox) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TColorListBox) AutoAdjustLayout

func (c *TColorListBox) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TColorListBox) BiDiMode

func (c *TColorListBox) BiDiMode() TBiDiMode

func (*TColorListBox) BorderSpacing

func (c *TColorListBox) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TColorListBox) BoundsRect

func (c *TColorListBox) BoundsRect() TRect

func (*TColorListBox) BringToFront

func (c *TColorListBox) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TColorListBox) Brush

func (c *TColorListBox) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TColorListBox) CanFocus

func (c *TColorListBox) CanFocus() bool

是否可以获得焦点。

func (*TColorListBox) Canvas

func (c *TColorListBox) Canvas() *TCanvas

获取画布。

func (*TColorListBox) ChildSizing

func (c *TColorListBox) ChildSizing() *TControlChildSizing

func (*TColorListBox) ClassName

func (c *TColorListBox) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TColorListBox) ClassType

func (c *TColorListBox) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TColorListBox) Clear

func (c *TColorListBox) Clear()

清除。

func (*TColorListBox) ClearSelection

func (c *TColorListBox) ClearSelection()

清除选择。

func (*TColorListBox) ClientHeight

func (c *TColorListBox) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TColorListBox) ClientOrigin

func (c *TColorListBox) ClientOrigin() TPoint

func (*TColorListBox) ClientRect

func (c *TColorListBox) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TColorListBox) ClientToParent

func (c *TColorListBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TColorListBox) ClientToScreen

func (c *TColorListBox) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TColorListBox) ClientWidth

func (c *TColorListBox) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TColorListBox) Color

func (c *TColorListBox) Color() TColor

获取颜色。

Get color.

func (*TColorListBox) ColorNames

func (c *TColorListBox) ColorNames(Index int32) string

func (*TColorListBox) Colors

func (c *TColorListBox) Colors(Index int32) TColor

func (*TColorListBox) ComponentCount

func (c *TColorListBox) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TColorListBox) ComponentIndex

func (c *TColorListBox) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TColorListBox) Components

func (c *TColorListBox) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TColorListBox) Constraints

func (c *TColorListBox) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TColorListBox) ContainsControl

func (c *TColorListBox) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TColorListBox) ControlAtPos

func (c *TColorListBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TColorListBox) ControlCount

func (c *TColorListBox) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TColorListBox) ControlState

func (c *TColorListBox) ControlState() TControlState

获取控件状态。

Get control state.

func (*TColorListBox) ControlStyle

func (c *TColorListBox) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TColorListBox) Controls

func (c *TColorListBox) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TColorListBox) Count

func (c *TColorListBox) Count() int32

func (*TColorListBox) Cursor

func (c *TColorListBox) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TColorListBox) DefaultColorColor

func (c *TColorListBox) DefaultColorColor() TColor

func (*TColorListBox) DeleteSelected

func (c *TColorListBox) DeleteSelected()

删除选择的。

func (*TColorListBox) DisableAlign

func (c *TColorListBox) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TColorListBox) DockClientCount

func (c *TColorListBox) DockClientCount() int32

获取依靠客户端总数。

func (*TColorListBox) DockClients

func (c *TColorListBox) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TColorListBox) DockSite

func (c *TColorListBox) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TColorListBox) DoubleBuffered

func (c *TColorListBox) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TColorListBox) Dragging

func (c *TColorListBox) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TColorListBox) EnableAlign

func (c *TColorListBox) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TColorListBox) Enabled

func (c *TColorListBox) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TColorListBox) Equals

func (c *TColorListBox) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TColorListBox) FindChildControl

func (c *TColorListBox) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TColorListBox) FindComponent

func (c *TColorListBox) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TColorListBox) FixDesignFontsPPI

func (c *TColorListBox) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TColorListBox) FlipChildren

func (c *TColorListBox) FlipChildren(AllLevels bool)

func (*TColorListBox) Floating

func (c *TColorListBox) Floating() bool

func (*TColorListBox) Focused

func (c *TColorListBox) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TColorListBox) Font

func (c *TColorListBox) Font() *TFont

获取字体。

Get Font.

func (*TColorListBox) Free

func (c *TColorListBox) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TColorListBox) GetHashCode

func (c *TColorListBox) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TColorListBox) GetNamePath

func (c *TColorListBox) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TColorListBox) GetTextBuf

func (c *TColorListBox) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TColorListBox) GetTextLen

func (c *TColorListBox) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TColorListBox) Handle

func (c *TColorListBox) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TColorListBox) HandleAllocated

func (c *TColorListBox) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TColorListBox) HasParent

func (c *TColorListBox) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TColorListBox) Height

func (c *TColorListBox) Height() int32

获取高度。

Get height.

func (*TColorListBox) Hide

func (c *TColorListBox) Hide()

隐藏控件。

Hidden control.

func (*TColorListBox) Hint

func (c *TColorListBox) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TColorListBox) InheritsFrom

func (c *TColorListBox) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TColorListBox) InsertControl

func (c *TColorListBox) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TColorListBox) Instance

func (c *TColorListBox) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TColorListBox) InstanceSize

func (c *TColorListBox) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TColorListBox) Invalidate

func (c *TColorListBox) Invalidate()

要求重绘。

Redraw.

func (*TColorListBox) Is

func (c *TColorListBox) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TColorListBox) IsValid

func (c *TColorListBox) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TColorListBox) ItemAtPos

func (c *TColorListBox) ItemAtPos(Pos TPoint, Existing bool) int32

func (*TColorListBox) ItemHeight

func (c *TColorListBox) ItemHeight() int32

func (*TColorListBox) ItemIndex

func (c *TColorListBox) ItemIndex() int32

func (*TColorListBox) ItemRect

func (c *TColorListBox) ItemRect(Index int32) TRect

func (*TColorListBox) Items

func (c *TColorListBox) Items() *TStrings

func (*TColorListBox) Left

func (c *TColorListBox) Left() int32

获取左边位置。

Get Left position.

func (*TColorListBox) MouseInClient

func (c *TColorListBox) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TColorListBox) MultiSelect

func (c *TColorListBox) MultiSelect() bool

func (*TColorListBox) Name

func (c *TColorListBox) Name() string

获取组件名称。

Get the component name.

func (*TColorListBox) NoneColorColor

func (c *TColorListBox) NoneColorColor() TColor

func (*TColorListBox) Owner

func (c *TColorListBox) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TColorListBox) PaintTo

func (c *TColorListBox) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TColorListBox) Parent

func (c *TColorListBox) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TColorListBox) ParentColor

func (c *TColorListBox) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TColorListBox) ParentDoubleBuffered

func (c *TColorListBox) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TColorListBox) ParentFont

func (c *TColorListBox) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TColorListBox) ParentShowHint

func (c *TColorListBox) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TColorListBox) ParentToClient

func (c *TColorListBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TColorListBox) ParentWindow

func (c *TColorListBox) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TColorListBox) Perform

func (c *TColorListBox) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TColorListBox) PopupMenu

func (c *TColorListBox) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TColorListBox) Realign

func (c *TColorListBox) Realign()

重新对齐。

Realign.

func (*TColorListBox) Refresh

func (c *TColorListBox) Refresh()

刷新控件。

Refresh control.

func (*TColorListBox) RemoveControl

func (c *TColorListBox) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TColorListBox) Repaint

func (c *TColorListBox) Repaint()

重绘。

Repaint.

func (*TColorListBox) Scale96ToFont

func (c *TColorListBox) Scale96ToFont(ASize int32) int32

func (*TColorListBox) Scale96ToForm

func (c *TColorListBox) Scale96ToForm(ASize int32) int32

func (*TColorListBox) Scale96ToScreen

func (c *TColorListBox) Scale96ToScreen(ASize int32) int32

func (*TColorListBox) ScaleBy

func (c *TColorListBox) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TColorListBox) ScaleDesignToForm

func (c *TColorListBox) ScaleDesignToForm(ASize int32) int32

func (*TColorListBox) ScaleFontTo96

func (c *TColorListBox) ScaleFontTo96(ASize int32) int32

func (*TColorListBox) ScaleFontToScreen

func (c *TColorListBox) ScaleFontToScreen(ASize int32) int32

func (*TColorListBox) ScaleFontsPPI

func (c *TColorListBox) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TColorListBox) ScaleFormTo96

func (c *TColorListBox) ScaleFormTo96(ASize int32) int32

func (*TColorListBox) ScaleFormToDesign

func (c *TColorListBox) ScaleFormToDesign(ASize int32) int32

func (*TColorListBox) ScaleScreenTo96

func (c *TColorListBox) ScaleScreenTo96(ASize int32) int32

func (*TColorListBox) ScaleScreenToFont

func (c *TColorListBox) ScaleScreenToFont(ASize int32) int32

func (*TColorListBox) ScreenToClient

func (c *TColorListBox) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TColorListBox) ScrollBy

func (c *TColorListBox) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TColorListBox) SelCount

func (c *TColorListBox) SelCount() int32

func (*TColorListBox) SelectAll

func (c *TColorListBox) SelectAll()

全选。

func (*TColorListBox) Selected

func (c *TColorListBox) Selected() TColor

func (*TColorListBox) SendToBack

func (c *TColorListBox) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TColorListBox) SetAction

func (c *TColorListBox) SetAction(value IComponent)

func (*TColorListBox) SetAlign

func (c *TColorListBox) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TColorListBox) SetAnchorSideBottom

func (c *TColorListBox) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TColorListBox) SetAnchorSideLeft

func (c *TColorListBox) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TColorListBox) SetAnchorSideRight

func (c *TColorListBox) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TColorListBox) SetAnchorSideTop

func (c *TColorListBox) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TColorListBox) SetAnchors

func (c *TColorListBox) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TColorListBox) SetBiDiMode

func (c *TColorListBox) SetBiDiMode(value TBiDiMode)

func (*TColorListBox) SetBorderSpacing

func (c *TColorListBox) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TColorListBox) SetBounds

func (c *TColorListBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TColorListBox) SetBoundsRect

func (c *TColorListBox) SetBoundsRect(value TRect)

func (*TColorListBox) SetChildSizing

func (c *TColorListBox) SetChildSizing(value *TControlChildSizing)

func (*TColorListBox) SetClientHeight

func (c *TColorListBox) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TColorListBox) SetClientWidth

func (c *TColorListBox) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TColorListBox) SetColor

func (c *TColorListBox) SetColor(value TColor)

设置颜色。

Set color.

func (*TColorListBox) SetComponentIndex

func (c *TColorListBox) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TColorListBox) SetConstraints

func (c *TColorListBox) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TColorListBox) SetControlState

func (c *TColorListBox) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TColorListBox) SetControlStyle

func (c *TColorListBox) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TColorListBox) SetCursor

func (c *TColorListBox) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TColorListBox) SetDefaultColorColor

func (c *TColorListBox) SetDefaultColorColor(value TColor)

func (*TColorListBox) SetDockSite

func (c *TColorListBox) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TColorListBox) SetDoubleBuffered

func (c *TColorListBox) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TColorListBox) SetEnabled

func (c *TColorListBox) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TColorListBox) SetFocus

func (c *TColorListBox) SetFocus()

设置控件焦点。

Set control focus.

func (*TColorListBox) SetFont

func (c *TColorListBox) SetFont(value *TFont)

设置字体。

Set Font.

func (*TColorListBox) SetHeight

func (c *TColorListBox) SetHeight(value int32)

设置高度。

Set height.

func (*TColorListBox) SetHint

func (c *TColorListBox) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TColorListBox) SetItemHeight

func (c *TColorListBox) SetItemHeight(value int32)

func (*TColorListBox) SetItemIndex

func (c *TColorListBox) SetItemIndex(value int32)

func (*TColorListBox) SetItems

func (c *TColorListBox) SetItems(value IStrings)

func (*TColorListBox) SetLeft

func (c *TColorListBox) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TColorListBox) SetMultiSelect

func (c *TColorListBox) SetMultiSelect(value bool)

func (*TColorListBox) SetName

func (c *TColorListBox) SetName(value string)

设置组件名称。

Set the component name.

func (*TColorListBox) SetNoneColorColor

func (c *TColorListBox) SetNoneColorColor(value TColor)

func (*TColorListBox) SetOnClick

func (c *TColorListBox) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TColorListBox) SetOnContextPopup

func (c *TColorListBox) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TColorListBox) SetOnDblClick

func (c *TColorListBox) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TColorListBox) SetOnDragDrop

func (c *TColorListBox) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TColorListBox) SetOnDragOver

func (c *TColorListBox) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TColorListBox) SetOnEndDrag

func (c *TColorListBox) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TColorListBox) SetOnEnter

func (c *TColorListBox) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TColorListBox) SetOnExit

func (c *TColorListBox) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TColorListBox) SetOnKeyDown

func (c *TColorListBox) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TColorListBox) SetOnKeyPress

func (c *TColorListBox) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TColorListBox) SetOnKeyUp

func (c *TColorListBox) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TColorListBox) SetOnMouseDown

func (c *TColorListBox) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TColorListBox) SetOnMouseEnter

func (c *TColorListBox) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TColorListBox) SetOnMouseLeave

func (c *TColorListBox) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TColorListBox) SetOnMouseMove

func (c *TColorListBox) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TColorListBox) SetOnMouseUp

func (c *TColorListBox) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TColorListBox) SetParent

func (c *TColorListBox) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TColorListBox) SetParentColor

func (c *TColorListBox) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TColorListBox) SetParentDoubleBuffered

func (c *TColorListBox) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TColorListBox) SetParentFont

func (c *TColorListBox) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TColorListBox) SetParentShowHint

func (c *TColorListBox) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TColorListBox) SetParentWindow

func (c *TColorListBox) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TColorListBox) SetPopupMenu

func (c *TColorListBox) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TColorListBox) SetSelected

func (c *TColorListBox) SetSelected(value TColor)

func (*TColorListBox) SetShowHint

func (c *TColorListBox) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TColorListBox) SetStyle

func (c *TColorListBox) SetStyle(value TColorBoxStyle)

func (*TColorListBox) SetTabOrder

func (c *TColorListBox) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TColorListBox) SetTabStop

func (c *TColorListBox) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TColorListBox) SetTag

func (c *TColorListBox) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TColorListBox) SetTextBuf

func (c *TColorListBox) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TColorListBox) SetTop

func (c *TColorListBox) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TColorListBox) SetTopIndex

func (c *TColorListBox) SetTopIndex(value int32)

func (*TColorListBox) SetUseDockManager

func (c *TColorListBox) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TColorListBox) SetVisible

func (c *TColorListBox) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TColorListBox) SetWidth

func (c *TColorListBox) SetWidth(value int32)

设置宽度。

Set width.

func (*TColorListBox) Show

func (c *TColorListBox) Show()

显示控件。

Show control.

func (*TColorListBox) ShowHint

func (c *TColorListBox) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TColorListBox) Showing

func (c *TColorListBox) Showing() bool

func (*TColorListBox) Style

func (c *TColorListBox) Style() TColorBoxStyle

func (*TColorListBox) TabOrder

func (c *TColorListBox) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TColorListBox) TabStop

func (c *TColorListBox) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TColorListBox) Tag

func (c *TColorListBox) Tag() int

获取对象标记。

Get the control tag.

func (*TColorListBox) ToString

func (c *TColorListBox) ToString() string

文本类信息。

Text information.

func (*TColorListBox) Top

func (c *TColorListBox) Top() int32

获取顶边位置。

Get Top position.

func (*TColorListBox) TopIndex

func (c *TColorListBox) TopIndex() int32

func (*TColorListBox) UnsafeAddr

func (c *TColorListBox) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TColorListBox) Update

func (c *TColorListBox) Update()

控件更新。

Update.

func (*TColorListBox) UseDockManager

func (c *TColorListBox) UseDockManager() bool

获取使用停靠管理。

func (*TColorListBox) Visible

func (c *TColorListBox) Visible() bool

获取控件可视。

Get the control visible.

func (*TColorListBox) VisibleDockClientCount

func (c *TColorListBox) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TColorListBox) Width

func (c *TColorListBox) Width() int32

获取宽度。

Get width.

type TComboBox

type TComboBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsComboBox

func AsComboBox(obj interface{}) *TComboBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ComboBoxFromInst

func ComboBoxFromInst(inst uintptr) *TComboBox

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsComboBox.

func ComboBoxFromObj

func ComboBoxFromObj(obj IObject) *TComboBox

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsComboBox.

func ComboBoxFromUnsafePointer

func ComboBoxFromUnsafePointer(ptr unsafe.Pointer) *TComboBox

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsComboBox.

func NewComboBox

func NewComboBox(owner IComponent) *TComboBox

创建一个新的对象。

Create a new object.

func (*TComboBox) Action

func (c *TComboBox) Action() *TAction

func (*TComboBox) AddItem

func (c *TComboBox) AddItem(Item string, AObject IObject)

func (*TComboBox) Align

func (c *TComboBox) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TComboBox) AnchorAsAlign

func (c *TComboBox) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TComboBox) AnchorClient

func (c *TComboBox) AnchorClient(ASpace int32)

func (*TComboBox) AnchorHorizontalCenterTo

func (c *TComboBox) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TComboBox) AnchorParallel

func (c *TComboBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TComboBox) AnchorSame

func (c *TComboBox) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TComboBox) AnchorSide

func (c *TComboBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TComboBox) AnchorSideBottom

func (c *TComboBox) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TComboBox) AnchorSideLeft

func (c *TComboBox) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TComboBox) AnchorSideRight

func (c *TComboBox) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TComboBox) AnchorSideTop

func (c *TComboBox) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TComboBox) AnchorToNeighbour

func (c *TComboBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TComboBox) AnchorVerticalCenterTo

func (c *TComboBox) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TComboBox) Anchors

func (c *TComboBox) Anchors() TAnchors

获取四个角位置的锚点。

func (*TComboBox) Assign

func (c *TComboBox) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TComboBox) AutoAdjustLayout

func (c *TComboBox) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TComboBox) AutoComplete

func (c *TComboBox) AutoComplete() bool

func (*TComboBox) AutoDropDown

func (c *TComboBox) AutoDropDown() bool

func (*TComboBox) BiDiMode

func (c *TComboBox) BiDiMode() TBiDiMode

func (*TComboBox) BorderSpacing

func (c *TComboBox) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TComboBox) BoundsRect

func (c *TComboBox) BoundsRect() TRect

func (*TComboBox) BringToFront

func (c *TComboBox) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TComboBox) Brush

func (c *TComboBox) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TComboBox) CanFocus

func (c *TComboBox) CanFocus() bool

是否可以获得焦点。

func (*TComboBox) Canvas

func (c *TComboBox) Canvas() *TCanvas

获取画布。

func (*TComboBox) CharCase

func (c *TComboBox) CharCase() TEditCharCase

func (*TComboBox) ChildSizing

func (c *TComboBox) ChildSizing() *TControlChildSizing

func (*TComboBox) ClassName

func (c *TComboBox) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TComboBox) ClassType

func (c *TComboBox) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TComboBox) Clear

func (c *TComboBox) Clear()

清除。

func (*TComboBox) ClearSelection

func (c *TComboBox) ClearSelection()

清除选择。

func (*TComboBox) ClientHeight

func (c *TComboBox) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TComboBox) ClientOrigin

func (c *TComboBox) ClientOrigin() TPoint

func (*TComboBox) ClientRect

func (c *TComboBox) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TComboBox) ClientToParent

func (c *TComboBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TComboBox) ClientToScreen

func (c *TComboBox) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TComboBox) ClientWidth

func (c *TComboBox) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TComboBox) Color

func (c *TComboBox) Color() TColor

获取颜色。

Get color.

func (*TComboBox) ComponentCount

func (c *TComboBox) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TComboBox) ComponentIndex

func (c *TComboBox) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TComboBox) Components

func (c *TComboBox) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TComboBox) Constraints

func (c *TComboBox) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TComboBox) ContainsControl

func (c *TComboBox) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TComboBox) ControlAtPos

func (c *TComboBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TComboBox) ControlCount

func (c *TComboBox) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TComboBox) ControlState

func (c *TComboBox) ControlState() TControlState

获取控件状态。

Get control state.

func (*TComboBox) ControlStyle

func (c *TComboBox) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TComboBox) Controls

func (c *TComboBox) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TComboBox) Cursor

func (c *TComboBox) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TComboBox) DeleteSelected

func (c *TComboBox) DeleteSelected()

删除选择的。

func (*TComboBox) DisableAlign

func (c *TComboBox) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TComboBox) DockClientCount

func (c *TComboBox) DockClientCount() int32

获取依靠客户端总数。

func (*TComboBox) DockClients

func (c *TComboBox) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TComboBox) DockSite

func (c *TComboBox) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TComboBox) DoubleBuffered

func (c *TComboBox) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TComboBox) DragCursor

func (c *TComboBox) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TComboBox) DragKind

func (c *TComboBox) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TComboBox) DragMode

func (c *TComboBox) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TComboBox) Dragging

func (c *TComboBox) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TComboBox) DropDownCount

func (c *TComboBox) DropDownCount() int32

func (*TComboBox) DroppedDown

func (c *TComboBox) DroppedDown() bool

func (*TComboBox) EnableAlign

func (c *TComboBox) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TComboBox) Enabled

func (c *TComboBox) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TComboBox) Equals

func (c *TComboBox) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TComboBox) FindChildControl

func (c *TComboBox) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TComboBox) FindComponent

func (c *TComboBox) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TComboBox) FixDesignFontsPPI

func (c *TComboBox) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TComboBox) FlipChildren

func (c *TComboBox) FlipChildren(AllLevels bool)

func (*TComboBox) Floating

func (c *TComboBox) Floating() bool

func (*TComboBox) Focused

func (c *TComboBox) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TComboBox) Font

func (c *TComboBox) Font() *TFont

获取字体。

Get Font.

func (*TComboBox) Free

func (c *TComboBox) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TComboBox) GetHashCode

func (c *TComboBox) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TComboBox) GetNamePath

func (c *TComboBox) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TComboBox) GetTextBuf

func (c *TComboBox) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TComboBox) GetTextLen

func (c *TComboBox) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TComboBox) Handle

func (c *TComboBox) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TComboBox) HandleAllocated

func (c *TComboBox) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TComboBox) HasParent

func (c *TComboBox) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TComboBox) Height

func (c *TComboBox) Height() int32

获取高度。

Get height.

func (*TComboBox) Hide

func (c *TComboBox) Hide()

隐藏控件。

Hidden control.

func (*TComboBox) Hint

func (c *TComboBox) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TComboBox) InheritsFrom

func (c *TComboBox) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TComboBox) InsertControl

func (c *TComboBox) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TComboBox) Instance

func (c *TComboBox) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TComboBox) InstanceSize

func (c *TComboBox) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TComboBox) Invalidate

func (c *TComboBox) Invalidate()

要求重绘。

Redraw.

func (*TComboBox) Is

func (c *TComboBox) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TComboBox) IsValid

func (c *TComboBox) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TComboBox) ItemHeight

func (c *TComboBox) ItemHeight() int32

func (*TComboBox) ItemIndex

func (c *TComboBox) ItemIndex() int32

func (*TComboBox) Items

func (c *TComboBox) Items() *TStrings

func (*TComboBox) Left

func (c *TComboBox) Left() int32

获取左边位置。

Get Left position.

func (*TComboBox) MaxLength

func (c *TComboBox) MaxLength() int32

获取最大长度。

func (*TComboBox) MouseInClient

func (c *TComboBox) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TComboBox) Name

func (c *TComboBox) Name() string

获取组件名称。

Get the component name.

func (*TComboBox) Owner

func (c *TComboBox) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TComboBox) PaintTo

func (c *TComboBox) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TComboBox) Parent

func (c *TComboBox) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TComboBox) ParentColor

func (c *TComboBox) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TComboBox) ParentDoubleBuffered

func (c *TComboBox) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TComboBox) ParentFont

func (c *TComboBox) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TComboBox) ParentShowHint

func (c *TComboBox) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TComboBox) ParentToClient

func (c *TComboBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TComboBox) ParentWindow

func (c *TComboBox) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TComboBox) Perform

func (c *TComboBox) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TComboBox) PopupMenu

func (c *TComboBox) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TComboBox) ReadOnly

func (c *TComboBox) ReadOnly() bool

获取只读。

func (*TComboBox) Realign

func (c *TComboBox) Realign()

重新对齐。

Realign.

func (*TComboBox) Refresh

func (c *TComboBox) Refresh()

刷新控件。

Refresh control.

func (*TComboBox) RemoveControl

func (c *TComboBox) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TComboBox) Repaint

func (c *TComboBox) Repaint()

重绘。

Repaint.

func (*TComboBox) Scale96ToFont

func (c *TComboBox) Scale96ToFont(ASize int32) int32

func (*TComboBox) Scale96ToForm

func (c *TComboBox) Scale96ToForm(ASize int32) int32

func (*TComboBox) Scale96ToScreen

func (c *TComboBox) Scale96ToScreen(ASize int32) int32

func (*TComboBox) ScaleBy

func (c *TComboBox) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TComboBox) ScaleDesignToForm

func (c *TComboBox) ScaleDesignToForm(ASize int32) int32

func (*TComboBox) ScaleFontTo96

func (c *TComboBox) ScaleFontTo96(ASize int32) int32

func (*TComboBox) ScaleFontToScreen

func (c *TComboBox) ScaleFontToScreen(ASize int32) int32

func (*TComboBox) ScaleFontsPPI

func (c *TComboBox) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TComboBox) ScaleFormTo96

func (c *TComboBox) ScaleFormTo96(ASize int32) int32

func (*TComboBox) ScaleFormToDesign

func (c *TComboBox) ScaleFormToDesign(ASize int32) int32

func (*TComboBox) ScaleScreenTo96

func (c *TComboBox) ScaleScreenTo96(ASize int32) int32

func (*TComboBox) ScaleScreenToFont

func (c *TComboBox) ScaleScreenToFont(ASize int32) int32

func (*TComboBox) ScreenToClient

func (c *TComboBox) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TComboBox) ScrollBy

func (c *TComboBox) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TComboBox) SelLength

func (c *TComboBox) SelLength() int32

获取选择的长度。

func (*TComboBox) SelStart

func (c *TComboBox) SelStart() int32

获取选择的启始位置。

func (*TComboBox) SelText

func (c *TComboBox) SelText() string

获取选择的文本。

func (*TComboBox) SelectAll

func (c *TComboBox) SelectAll()

全选。

func (*TComboBox) SendToBack

func (c *TComboBox) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TComboBox) SetAction

func (c *TComboBox) SetAction(value IComponent)

func (*TComboBox) SetAlign

func (c *TComboBox) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TComboBox) SetAnchorSideBottom

func (c *TComboBox) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TComboBox) SetAnchorSideLeft

func (c *TComboBox) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TComboBox) SetAnchorSideRight

func (c *TComboBox) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TComboBox) SetAnchorSideTop

func (c *TComboBox) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TComboBox) SetAnchors

func (c *TComboBox) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TComboBox) SetAutoComplete

func (c *TComboBox) SetAutoComplete(value bool)

func (*TComboBox) SetAutoDropDown

func (c *TComboBox) SetAutoDropDown(value bool)

func (*TComboBox) SetBiDiMode

func (c *TComboBox) SetBiDiMode(value TBiDiMode)

func (*TComboBox) SetBorderSpacing

func (c *TComboBox) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TComboBox) SetBounds

func (c *TComboBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TComboBox) SetBoundsRect

func (c *TComboBox) SetBoundsRect(value TRect)

func (*TComboBox) SetCharCase

func (c *TComboBox) SetCharCase(value TEditCharCase)

func (*TComboBox) SetChildSizing

func (c *TComboBox) SetChildSizing(value *TControlChildSizing)

func (*TComboBox) SetClientHeight

func (c *TComboBox) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TComboBox) SetClientWidth

func (c *TComboBox) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TComboBox) SetColor

func (c *TComboBox) SetColor(value TColor)

设置颜色。

Set color.

func (*TComboBox) SetComponentIndex

func (c *TComboBox) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TComboBox) SetConstraints

func (c *TComboBox) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TComboBox) SetControlState

func (c *TComboBox) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TComboBox) SetControlStyle

func (c *TComboBox) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TComboBox) SetCursor

func (c *TComboBox) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TComboBox) SetDockSite

func (c *TComboBox) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TComboBox) SetDoubleBuffered

func (c *TComboBox) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TComboBox) SetDragCursor

func (c *TComboBox) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TComboBox) SetDragKind

func (c *TComboBox) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TComboBox) SetDragMode

func (c *TComboBox) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TComboBox) SetDropDownCount

func (c *TComboBox) SetDropDownCount(value int32)

func (*TComboBox) SetDroppedDown

func (c *TComboBox) SetDroppedDown(value bool)

func (*TComboBox) SetEnabled

func (c *TComboBox) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TComboBox) SetFocus

func (c *TComboBox) SetFocus()

设置控件焦点。

Set control focus.

func (*TComboBox) SetFont

func (c *TComboBox) SetFont(value *TFont)

设置字体。

Set Font.

func (*TComboBox) SetHeight

func (c *TComboBox) SetHeight(value int32)

设置高度。

Set height.

func (*TComboBox) SetHint

func (c *TComboBox) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TComboBox) SetItemHeight

func (c *TComboBox) SetItemHeight(value int32)

func (*TComboBox) SetItemIndex

func (c *TComboBox) SetItemIndex(value int32)

func (*TComboBox) SetItems

func (c *TComboBox) SetItems(value IStrings)

func (*TComboBox) SetLeft

func (c *TComboBox) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TComboBox) SetMaxLength

func (c *TComboBox) SetMaxLength(value int32)

设置最大长度。

func (*TComboBox) SetName

func (c *TComboBox) SetName(value string)

设置组件名称。

Set the component name.

func (*TComboBox) SetOnChange

func (c *TComboBox) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TComboBox) SetOnClick

func (c *TComboBox) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TComboBox) SetOnCloseUp

func (c *TComboBox) SetOnCloseUp(fn TNotifyEvent)

func (*TComboBox) SetOnContextPopup

func (c *TComboBox) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TComboBox) SetOnDblClick

func (c *TComboBox) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TComboBox) SetOnDragDrop

func (c *TComboBox) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TComboBox) SetOnDragOver

func (c *TComboBox) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TComboBox) SetOnDrawItem

func (c *TComboBox) SetOnDrawItem(fn TDrawItemEvent)

func (*TComboBox) SetOnDropDown

func (c *TComboBox) SetOnDropDown(fn TNotifyEvent)

func (*TComboBox) SetOnEndDrag

func (c *TComboBox) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TComboBox) SetOnEnter

func (c *TComboBox) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TComboBox) SetOnExit

func (c *TComboBox) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TComboBox) SetOnKeyDown

func (c *TComboBox) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TComboBox) SetOnKeyPress

func (c *TComboBox) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TComboBox) SetOnKeyUp

func (c *TComboBox) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TComboBox) SetOnMeasureItem

func (c *TComboBox) SetOnMeasureItem(fn TMeasureItemEvent)

func (*TComboBox) SetOnMouseEnter

func (c *TComboBox) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TComboBox) SetOnMouseLeave

func (c *TComboBox) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TComboBox) SetOnSelect

func (c *TComboBox) SetOnSelect(fn TNotifyEvent)

func (*TComboBox) SetParent

func (c *TComboBox) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TComboBox) SetParentColor

func (c *TComboBox) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TComboBox) SetParentDoubleBuffered

func (c *TComboBox) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TComboBox) SetParentFont

func (c *TComboBox) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TComboBox) SetParentShowHint

func (c *TComboBox) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TComboBox) SetParentWindow

func (c *TComboBox) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TComboBox) SetPopupMenu

func (c *TComboBox) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TComboBox) SetReadOnly

func (c *TComboBox) SetReadOnly(value bool)

设置只读。

func (*TComboBox) SetSelLength

func (c *TComboBox) SetSelLength(value int32)

设置选择的长度。

func (*TComboBox) SetSelStart

func (c *TComboBox) SetSelStart(value int32)

设置选择的启始位置。

func (*TComboBox) SetSelText

func (c *TComboBox) SetSelText(value string)

设置选择的文本。

func (*TComboBox) SetShowHint

func (c *TComboBox) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TComboBox) SetSorted

func (c *TComboBox) SetSorted(value bool)

func (*TComboBox) SetStyle

func (c *TComboBox) SetStyle(value TComboBoxStyle)

func (*TComboBox) SetTabOrder

func (c *TComboBox) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TComboBox) SetTabStop

func (c *TComboBox) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TComboBox) SetTag

func (c *TComboBox) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TComboBox) SetText

func (c *TComboBox) SetText(value string)

设置文本。

func (*TComboBox) SetTextBuf

func (c *TComboBox) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TComboBox) SetTop

func (c *TComboBox) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TComboBox) SetUseDockManager

func (c *TComboBox) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TComboBox) SetVisible

func (c *TComboBox) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TComboBox) SetWidth

func (c *TComboBox) SetWidth(value int32)

设置宽度。

Set width.

func (*TComboBox) Show

func (c *TComboBox) Show()

显示控件。

Show control.

func (*TComboBox) ShowHint

func (c *TComboBox) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TComboBox) Showing

func (c *TComboBox) Showing() bool

func (*TComboBox) Sorted

func (c *TComboBox) Sorted() bool

func (*TComboBox) Style

func (c *TComboBox) Style() TComboBoxStyle

func (*TComboBox) TabOrder

func (c *TComboBox) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TComboBox) TabStop

func (c *TComboBox) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TComboBox) Tag

func (c *TComboBox) Tag() int

获取对象标记。

Get the control tag.

func (*TComboBox) Text

func (c *TComboBox) Text() string

获取文本。

func (*TComboBox) ToString

func (c *TComboBox) ToString() string

文本类信息。

Text information.

func (*TComboBox) Top

func (c *TComboBox) Top() int32

获取顶边位置。

Get Top position.

func (*TComboBox) UnsafeAddr

func (c *TComboBox) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TComboBox) Update

func (c *TComboBox) Update()

控件更新。

Update.

func (*TComboBox) UseDockManager

func (c *TComboBox) UseDockManager() bool

获取使用停靠管理。

func (*TComboBox) Visible

func (c *TComboBox) Visible() bool

获取控件可视。

Get the control visible.

func (*TComboBox) VisibleDockClientCount

func (c *TComboBox) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TComboBox) Width

func (c *TComboBox) Width() int32

获取宽度。

Get width.

type TComboBoxEx

type TComboBoxEx struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsComboBoxEx

func AsComboBoxEx(obj interface{}) *TComboBoxEx

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ComboBoxExFromInst

func ComboBoxExFromInst(inst uintptr) *TComboBoxEx

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsComboBoxEx.

func ComboBoxExFromObj

func ComboBoxExFromObj(obj IObject) *TComboBoxEx

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsComboBoxEx.

func ComboBoxExFromUnsafePointer

func ComboBoxExFromUnsafePointer(ptr unsafe.Pointer) *TComboBoxEx

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsComboBoxEx.

func NewComboBoxEx

func NewComboBoxEx(owner IComponent) *TComboBoxEx

创建一个新的对象。

Create a new object.

func (*TComboBoxEx) Action

func (c *TComboBoxEx) Action() *TAction

func (*TComboBoxEx) AddItem

func (c *TComboBoxEx) AddItem(Item string, AObject IObject)

func (*TComboBoxEx) Align

func (c *TComboBoxEx) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TComboBoxEx) AnchorAsAlign

func (c *TComboBoxEx) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TComboBoxEx) AnchorClient

func (c *TComboBoxEx) AnchorClient(ASpace int32)

func (*TComboBoxEx) AnchorHorizontalCenterTo

func (c *TComboBoxEx) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TComboBoxEx) AnchorParallel

func (c *TComboBoxEx) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TComboBoxEx) AnchorSame

func (c *TComboBoxEx) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TComboBoxEx) AnchorSide

func (c *TComboBoxEx) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TComboBoxEx) AnchorSideBottom

func (c *TComboBoxEx) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TComboBoxEx) AnchorSideLeft

func (c *TComboBoxEx) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TComboBoxEx) AnchorSideRight

func (c *TComboBoxEx) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TComboBoxEx) AnchorSideTop

func (c *TComboBoxEx) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TComboBoxEx) AnchorToNeighbour

func (c *TComboBoxEx) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TComboBoxEx) AnchorVerticalCenterTo

func (c *TComboBoxEx) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TComboBoxEx) Anchors

func (c *TComboBoxEx) Anchors() TAnchors

获取四个角位置的锚点。

func (*TComboBoxEx) Assign

func (c *TComboBoxEx) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TComboBoxEx) AutoAdjustLayout

func (c *TComboBoxEx) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TComboBoxEx) AutoCompleteOptions

func (c *TComboBoxEx) AutoCompleteOptions() TAutoCompleteOptions

func (*TComboBoxEx) BiDiMode

func (c *TComboBoxEx) BiDiMode() TBiDiMode

func (*TComboBoxEx) BorderSpacing

func (c *TComboBoxEx) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TComboBoxEx) BoundsRect

func (c *TComboBoxEx) BoundsRect() TRect

func (*TComboBoxEx) BringToFront

func (c *TComboBoxEx) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TComboBoxEx) Brush

func (c *TComboBoxEx) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TComboBoxEx) CanFocus

func (c *TComboBoxEx) CanFocus() bool

是否可以获得焦点。

func (*TComboBoxEx) Canvas

func (c *TComboBoxEx) Canvas() *TCanvas

获取画布。

func (*TComboBoxEx) ChildSizing

func (c *TComboBoxEx) ChildSizing() *TControlChildSizing

func (*TComboBoxEx) ClassName

func (c *TComboBoxEx) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TComboBoxEx) ClassType

func (c *TComboBoxEx) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TComboBoxEx) Clear

func (c *TComboBoxEx) Clear()

清除。

func (*TComboBoxEx) ClearSelection

func (c *TComboBoxEx) ClearSelection()

清除选择。

func (*TComboBoxEx) ClientHeight

func (c *TComboBoxEx) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TComboBoxEx) ClientOrigin

func (c *TComboBoxEx) ClientOrigin() TPoint

func (*TComboBoxEx) ClientRect

func (c *TComboBoxEx) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TComboBoxEx) ClientToParent

func (c *TComboBoxEx) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TComboBoxEx) ClientToScreen

func (c *TComboBoxEx) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TComboBoxEx) ClientWidth

func (c *TComboBoxEx) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TComboBoxEx) Color

func (c *TComboBoxEx) Color() TColor

获取颜色。

Get color.

func (*TComboBoxEx) ComponentCount

func (c *TComboBoxEx) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TComboBoxEx) ComponentIndex

func (c *TComboBoxEx) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TComboBoxEx) Components

func (c *TComboBoxEx) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TComboBoxEx) Constraints

func (c *TComboBoxEx) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TComboBoxEx) ContainsControl

func (c *TComboBoxEx) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TComboBoxEx) ControlAtPos

func (c *TComboBoxEx) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TComboBoxEx) ControlCount

func (c *TComboBoxEx) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TComboBoxEx) ControlState

func (c *TComboBoxEx) ControlState() TControlState

获取控件状态。

Get control state.

func (*TComboBoxEx) ControlStyle

func (c *TComboBoxEx) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TComboBoxEx) Controls

func (c *TComboBoxEx) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TComboBoxEx) Cursor

func (c *TComboBoxEx) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TComboBoxEx) DeleteSelected

func (c *TComboBoxEx) DeleteSelected()

删除选择的。

func (*TComboBoxEx) DisableAlign

func (c *TComboBoxEx) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TComboBoxEx) DockClientCount

func (c *TComboBoxEx) DockClientCount() int32

获取依靠客户端总数。

func (*TComboBoxEx) DockClients

func (c *TComboBoxEx) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TComboBoxEx) DockSite

func (c *TComboBoxEx) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TComboBoxEx) DoubleBuffered

func (c *TComboBoxEx) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TComboBoxEx) DragCursor

func (c *TComboBoxEx) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TComboBoxEx) DragKind

func (c *TComboBoxEx) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TComboBoxEx) DragMode

func (c *TComboBoxEx) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TComboBoxEx) Dragging

func (c *TComboBoxEx) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TComboBoxEx) DropDownCount

func (c *TComboBoxEx) DropDownCount() int32

func (*TComboBoxEx) DroppedDown

func (c *TComboBoxEx) DroppedDown() bool

func (*TComboBoxEx) EnableAlign

func (c *TComboBoxEx) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TComboBoxEx) Enabled

func (c *TComboBoxEx) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TComboBoxEx) Equals

func (c *TComboBoxEx) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TComboBoxEx) FindChildControl

func (c *TComboBoxEx) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TComboBoxEx) FindComponent

func (c *TComboBoxEx) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TComboBoxEx) FixDesignFontsPPI

func (c *TComboBoxEx) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TComboBoxEx) FlipChildren

func (c *TComboBoxEx) FlipChildren(AllLevels bool)

func (*TComboBoxEx) Floating

func (c *TComboBoxEx) Floating() bool

func (*TComboBoxEx) Focused

func (c *TComboBoxEx) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TComboBoxEx) Font

func (c *TComboBoxEx) Font() *TFont

获取字体。

Get Font.

func (*TComboBoxEx) Free

func (c *TComboBoxEx) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TComboBoxEx) GetHashCode

func (c *TComboBoxEx) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TComboBoxEx) GetNamePath

func (c *TComboBoxEx) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TComboBoxEx) GetTextBuf

func (c *TComboBoxEx) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TComboBoxEx) GetTextLen

func (c *TComboBoxEx) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TComboBoxEx) Handle

func (c *TComboBoxEx) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TComboBoxEx) HandleAllocated

func (c *TComboBoxEx) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TComboBoxEx) HasParent

func (c *TComboBoxEx) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TComboBoxEx) Height

func (c *TComboBoxEx) Height() int32

获取高度。

Get height.

func (*TComboBoxEx) Hide

func (c *TComboBoxEx) Hide()

隐藏控件。

Hidden control.

func (*TComboBoxEx) Hint

func (c *TComboBoxEx) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TComboBoxEx) Images

func (c *TComboBoxEx) Images() *TImageList

获取图标索引列表对象。

func (*TComboBoxEx) InheritsFrom

func (c *TComboBoxEx) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TComboBoxEx) InsertControl

func (c *TComboBoxEx) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TComboBoxEx) Instance

func (c *TComboBoxEx) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TComboBoxEx) InstanceSize

func (c *TComboBoxEx) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TComboBoxEx) Invalidate

func (c *TComboBoxEx) Invalidate()

要求重绘。

Redraw.

func (*TComboBoxEx) Is

func (c *TComboBoxEx) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TComboBoxEx) IsValid

func (c *TComboBoxEx) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TComboBoxEx) ItemHeight

func (c *TComboBoxEx) ItemHeight() int32

func (*TComboBoxEx) ItemIndex

func (c *TComboBoxEx) ItemIndex() int32

func (*TComboBoxEx) Items

func (c *TComboBoxEx) Items() *TStrings

func (*TComboBoxEx) ItemsEx

func (c *TComboBoxEx) ItemsEx() *TComboExItems

func (*TComboBoxEx) Left

func (c *TComboBoxEx) Left() int32

获取左边位置。

Get Left position.

func (*TComboBoxEx) MaxLength

func (c *TComboBoxEx) MaxLength() int32

获取最大长度。

func (*TComboBoxEx) MouseInClient

func (c *TComboBoxEx) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TComboBoxEx) Name

func (c *TComboBoxEx) Name() string

获取组件名称。

Get the component name.

func (*TComboBoxEx) Owner

func (c *TComboBoxEx) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TComboBoxEx) PaintTo

func (c *TComboBoxEx) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TComboBoxEx) Parent

func (c *TComboBoxEx) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TComboBoxEx) ParentColor

func (c *TComboBoxEx) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TComboBoxEx) ParentDoubleBuffered

func (c *TComboBoxEx) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TComboBoxEx) ParentFont

func (c *TComboBoxEx) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TComboBoxEx) ParentShowHint

func (c *TComboBoxEx) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TComboBoxEx) ParentToClient

func (c *TComboBoxEx) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TComboBoxEx) ParentWindow

func (c *TComboBoxEx) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TComboBoxEx) Perform

func (c *TComboBoxEx) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TComboBoxEx) PopupMenu

func (c *TComboBoxEx) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TComboBoxEx) Realign

func (c *TComboBoxEx) Realign()

重新对齐。

Realign.

func (*TComboBoxEx) Refresh

func (c *TComboBoxEx) Refresh()

刷新控件。

Refresh control.

func (*TComboBoxEx) RemoveControl

func (c *TComboBoxEx) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TComboBoxEx) Repaint

func (c *TComboBoxEx) Repaint()

重绘。

Repaint.

func (*TComboBoxEx) Scale96ToFont

func (c *TComboBoxEx) Scale96ToFont(ASize int32) int32

func (*TComboBoxEx) Scale96ToForm

func (c *TComboBoxEx) Scale96ToForm(ASize int32) int32

func (*TComboBoxEx) Scale96ToScreen

func (c *TComboBoxEx) Scale96ToScreen(ASize int32) int32

func (*TComboBoxEx) ScaleBy

func (c *TComboBoxEx) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TComboBoxEx) ScaleDesignToForm

func (c *TComboBoxEx) ScaleDesignToForm(ASize int32) int32

func (*TComboBoxEx) ScaleFontTo96

func (c *TComboBoxEx) ScaleFontTo96(ASize int32) int32

func (*TComboBoxEx) ScaleFontToScreen

func (c *TComboBoxEx) ScaleFontToScreen(ASize int32) int32

func (*TComboBoxEx) ScaleFontsPPI

func (c *TComboBoxEx) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TComboBoxEx) ScaleFormTo96

func (c *TComboBoxEx) ScaleFormTo96(ASize int32) int32

func (*TComboBoxEx) ScaleFormToDesign

func (c *TComboBoxEx) ScaleFormToDesign(ASize int32) int32

func (*TComboBoxEx) ScaleScreenTo96

func (c *TComboBoxEx) ScaleScreenTo96(ASize int32) int32

func (*TComboBoxEx) ScaleScreenToFont

func (c *TComboBoxEx) ScaleScreenToFont(ASize int32) int32

func (*TComboBoxEx) ScreenToClient

func (c *TComboBoxEx) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TComboBoxEx) ScrollBy

func (c *TComboBoxEx) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TComboBoxEx) SelLength

func (c *TComboBoxEx) SelLength() int32

获取选择的长度。

func (*TComboBoxEx) SelStart

func (c *TComboBoxEx) SelStart() int32

获取选择的启始位置。

func (*TComboBoxEx) SelText

func (c *TComboBoxEx) SelText() string

获取选择的文本。

func (*TComboBoxEx) SelectAll

func (c *TComboBoxEx) SelectAll()

全选。

func (*TComboBoxEx) SendToBack

func (c *TComboBoxEx) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TComboBoxEx) SetAction

func (c *TComboBoxEx) SetAction(value IComponent)

func (*TComboBoxEx) SetAlign

func (c *TComboBoxEx) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TComboBoxEx) SetAnchorSideBottom

func (c *TComboBoxEx) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TComboBoxEx) SetAnchorSideLeft

func (c *TComboBoxEx) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TComboBoxEx) SetAnchorSideRight

func (c *TComboBoxEx) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TComboBoxEx) SetAnchorSideTop

func (c *TComboBoxEx) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TComboBoxEx) SetAnchors

func (c *TComboBoxEx) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TComboBoxEx) SetAutoCompleteOptions

func (c *TComboBoxEx) SetAutoCompleteOptions(value TAutoCompleteOptions)

func (*TComboBoxEx) SetBiDiMode

func (c *TComboBoxEx) SetBiDiMode(value TBiDiMode)

func (*TComboBoxEx) SetBorderSpacing

func (c *TComboBoxEx) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TComboBoxEx) SetBounds

func (c *TComboBoxEx) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TComboBoxEx) SetBoundsRect

func (c *TComboBoxEx) SetBoundsRect(value TRect)

func (*TComboBoxEx) SetChildSizing

func (c *TComboBoxEx) SetChildSizing(value *TControlChildSizing)

func (*TComboBoxEx) SetClientHeight

func (c *TComboBoxEx) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TComboBoxEx) SetClientWidth

func (c *TComboBoxEx) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TComboBoxEx) SetColor

func (c *TComboBoxEx) SetColor(value TColor)

设置颜色。

Set color.

func (*TComboBoxEx) SetComponentIndex

func (c *TComboBoxEx) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TComboBoxEx) SetConstraints

func (c *TComboBoxEx) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TComboBoxEx) SetControlState

func (c *TComboBoxEx) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TComboBoxEx) SetControlStyle

func (c *TComboBoxEx) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TComboBoxEx) SetCursor

func (c *TComboBoxEx) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TComboBoxEx) SetDockSite

func (c *TComboBoxEx) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TComboBoxEx) SetDoubleBuffered

func (c *TComboBoxEx) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TComboBoxEx) SetDragCursor

func (c *TComboBoxEx) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TComboBoxEx) SetDragKind

func (c *TComboBoxEx) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TComboBoxEx) SetDragMode

func (c *TComboBoxEx) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TComboBoxEx) SetDropDownCount

func (c *TComboBoxEx) SetDropDownCount(value int32)

func (*TComboBoxEx) SetDroppedDown

func (c *TComboBoxEx) SetDroppedDown(value bool)

func (*TComboBoxEx) SetEnabled

func (c *TComboBoxEx) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TComboBoxEx) SetFocus

func (c *TComboBoxEx) SetFocus()

设置控件焦点。

Set control focus.

func (*TComboBoxEx) SetFont

func (c *TComboBoxEx) SetFont(value *TFont)

设置字体。

Set Font.

func (*TComboBoxEx) SetHeight

func (c *TComboBoxEx) SetHeight(value int32)

设置高度。

Set height.

func (*TComboBoxEx) SetHint

func (c *TComboBoxEx) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TComboBoxEx) SetImages

func (c *TComboBoxEx) SetImages(value IComponent)

设置图标索引列表对象。

func (*TComboBoxEx) SetItemHeight

func (c *TComboBoxEx) SetItemHeight(value int32)

func (*TComboBoxEx) SetItemIndex

func (c *TComboBoxEx) SetItemIndex(value int32)

func (*TComboBoxEx) SetItems

func (c *TComboBoxEx) SetItems(value IStrings)

func (*TComboBoxEx) SetItemsEx

func (c *TComboBoxEx) SetItemsEx(value *TComboExItems)

func (*TComboBoxEx) SetLeft

func (c *TComboBoxEx) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TComboBoxEx) SetMaxLength

func (c *TComboBoxEx) SetMaxLength(value int32)

设置最大长度。

func (*TComboBoxEx) SetName

func (c *TComboBoxEx) SetName(value string)

设置组件名称。

Set the component name.

func (*TComboBoxEx) SetOnChange

func (c *TComboBoxEx) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TComboBoxEx) SetOnClick

func (c *TComboBoxEx) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TComboBoxEx) SetOnContextPopup

func (c *TComboBoxEx) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TComboBoxEx) SetOnDblClick

func (c *TComboBoxEx) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TComboBoxEx) SetOnDragDrop

func (c *TComboBoxEx) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TComboBoxEx) SetOnDragOver

func (c *TComboBoxEx) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TComboBoxEx) SetOnDropDown

func (c *TComboBoxEx) SetOnDropDown(fn TNotifyEvent)

func (*TComboBoxEx) SetOnEndDock

func (c *TComboBoxEx) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TComboBoxEx) SetOnEndDrag

func (c *TComboBoxEx) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TComboBoxEx) SetOnEnter

func (c *TComboBoxEx) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TComboBoxEx) SetOnExit

func (c *TComboBoxEx) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TComboBoxEx) SetOnKeyDown

func (c *TComboBoxEx) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TComboBoxEx) SetOnKeyPress

func (c *TComboBoxEx) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TComboBoxEx) SetOnKeyUp

func (c *TComboBoxEx) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TComboBoxEx) SetOnMouseMove

func (c *TComboBoxEx) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TComboBoxEx) SetOnSelect

func (c *TComboBoxEx) SetOnSelect(fn TNotifyEvent)

func (*TComboBoxEx) SetOnStartDock

func (c *TComboBoxEx) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TComboBoxEx) SetParent

func (c *TComboBoxEx) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TComboBoxEx) SetParentColor

func (c *TComboBoxEx) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TComboBoxEx) SetParentDoubleBuffered

func (c *TComboBoxEx) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TComboBoxEx) SetParentFont

func (c *TComboBoxEx) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TComboBoxEx) SetParentShowHint

func (c *TComboBoxEx) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TComboBoxEx) SetParentWindow

func (c *TComboBoxEx) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TComboBoxEx) SetPopupMenu

func (c *TComboBoxEx) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TComboBoxEx) SetSelLength

func (c *TComboBoxEx) SetSelLength(value int32)

设置选择的长度。

func (*TComboBoxEx) SetSelStart

func (c *TComboBoxEx) SetSelStart(value int32)

设置选择的启始位置。

func (*TComboBoxEx) SetSelText

func (c *TComboBoxEx) SetSelText(value string)

设置选择的文本。

func (*TComboBoxEx) SetShowHint

func (c *TComboBoxEx) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TComboBoxEx) SetStyle

func (c *TComboBoxEx) SetStyle(value TComboBoxExStyle)

func (*TComboBoxEx) SetStyleEx

func (c *TComboBoxEx) SetStyleEx(value TComboBoxExStyles)

func (*TComboBoxEx) SetTabOrder

func (c *TComboBoxEx) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TComboBoxEx) SetTabStop

func (c *TComboBoxEx) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TComboBoxEx) SetTag

func (c *TComboBoxEx) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TComboBoxEx) SetText

func (c *TComboBoxEx) SetText(value string)

设置文本。

func (*TComboBoxEx) SetTextBuf

func (c *TComboBoxEx) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TComboBoxEx) SetTop

func (c *TComboBoxEx) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TComboBoxEx) SetUseDockManager

func (c *TComboBoxEx) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TComboBoxEx) SetVisible

func (c *TComboBoxEx) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TComboBoxEx) SetWidth

func (c *TComboBoxEx) SetWidth(value int32)

设置宽度。

Set width.

func (*TComboBoxEx) Show

func (c *TComboBoxEx) Show()

显示控件。

Show control.

func (*TComboBoxEx) ShowHint

func (c *TComboBoxEx) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TComboBoxEx) Showing

func (c *TComboBoxEx) Showing() bool

func (*TComboBoxEx) Style

func (c *TComboBoxEx) Style() TComboBoxExStyle

func (*TComboBoxEx) StyleEx

func (c *TComboBoxEx) StyleEx() TComboBoxExStyles

func (*TComboBoxEx) TabOrder

func (c *TComboBoxEx) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TComboBoxEx) TabStop

func (c *TComboBoxEx) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TComboBoxEx) Tag

func (c *TComboBoxEx) Tag() int

获取对象标记。

Get the control tag.

func (*TComboBoxEx) Text

func (c *TComboBoxEx) Text() string

获取文本。

func (*TComboBoxEx) ToString

func (c *TComboBoxEx) ToString() string

文本类信息。

Text information.

func (*TComboBoxEx) Top

func (c *TComboBoxEx) Top() int32

获取顶边位置。

Get Top position.

func (*TComboBoxEx) UnsafeAddr

func (c *TComboBoxEx) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TComboBoxEx) Update

func (c *TComboBoxEx) Update()

控件更新。

Update.

func (*TComboBoxEx) UseDockManager

func (c *TComboBoxEx) UseDockManager() bool

获取使用停靠管理。

func (*TComboBoxEx) Visible

func (c *TComboBoxEx) Visible() bool

获取控件可视。

Get the control visible.

func (*TComboBoxEx) VisibleDockClientCount

func (c *TComboBoxEx) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TComboBoxEx) Width

func (c *TComboBoxEx) Width() int32

获取宽度。

Get width.

type TComboExItem

type TComboExItem struct {
	IObject
	// contains filtered or unexported fields
}

func AsComboExItem

func AsComboExItem(obj interface{}) *TComboExItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ComboExItemFromInst

func ComboExItemFromInst(inst uintptr) *TComboExItem

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsComboExItem.

func ComboExItemFromObj

func ComboExItemFromObj(obj IObject) *TComboExItem

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsComboExItem.

func ComboExItemFromUnsafePointer

func ComboExItemFromUnsafePointer(ptr unsafe.Pointer) *TComboExItem

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsComboExItem.

func (*TComboExItem) Assign

func (c *TComboExItem) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TComboExItem) Caption

func (c *TComboExItem) Caption() string

获取控件标题。

Get the control title.

func (*TComboExItem) ClassName

func (c *TComboExItem) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TComboExItem) ClassType

func (c *TComboExItem) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TComboExItem) Collection

func (c *TComboExItem) Collection() *TCollection

func (*TComboExItem) Data

func (c *TComboExItem) Data() unsafe.Pointer

func (*TComboExItem) DisplayName

func (c *TComboExItem) DisplayName() string

func (*TComboExItem) Equals

func (c *TComboExItem) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TComboExItem) GetHashCode

func (c *TComboExItem) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TComboExItem) GetNamePath

func (c *TComboExItem) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TComboExItem) ImageIndex

func (c *TComboExItem) ImageIndex() int32

获取图像在images中的索引。

func (*TComboExItem) Indent

func (c *TComboExItem) Indent() int32

func (*TComboExItem) Index

func (c *TComboExItem) Index() int32

func (*TComboExItem) InheritsFrom

func (c *TComboExItem) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TComboExItem) Instance

func (c *TComboExItem) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TComboExItem) InstanceSize

func (c *TComboExItem) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TComboExItem) Is

func (c *TComboExItem) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TComboExItem) IsValid

func (c *TComboExItem) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TComboExItem) OverlayImageIndex

func (c *TComboExItem) OverlayImageIndex() int32

func (*TComboExItem) SetCaption

func (c *TComboExItem) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TComboExItem) SetCollection

func (c *TComboExItem) SetCollection(value *TCollection)

func (*TComboExItem) SetData

func (c *TComboExItem) SetData(value unsafe.Pointer)

func (*TComboExItem) SetDisplayName

func (c *TComboExItem) SetDisplayName(value string)

func (*TComboExItem) SetImageIndex

func (c *TComboExItem) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TComboExItem) SetIndent

func (c *TComboExItem) SetIndent(value int32)

func (*TComboExItem) SetIndex

func (c *TComboExItem) SetIndex(value int32)

func (*TComboExItem) SetOverlayImageIndex

func (c *TComboExItem) SetOverlayImageIndex(value int32)

func (*TComboExItem) ToString

func (c *TComboExItem) ToString() string

文本类信息。

Text information.

func (*TComboExItem) UnsafeAddr

func (c *TComboExItem) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TComboExItems

type TComboExItems struct {
	IObject
	// contains filtered or unexported fields
}

func AsComboExItems

func AsComboExItems(obj interface{}) *TComboExItems

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ComboExItemsFromInst

func ComboExItemsFromInst(inst uintptr) *TComboExItems

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsComboExItems.

func ComboExItemsFromObj

func ComboExItemsFromObj(obj IObject) *TComboExItems

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsComboExItems.

func ComboExItemsFromUnsafePointer

func ComboExItemsFromUnsafePointer(ptr unsafe.Pointer) *TComboExItems

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsComboExItems.

func (*TComboExItems) Add

func (c *TComboExItems) Add() *TComboExItem

func (*TComboExItems) AddItem

func (c *TComboExItems) AddItem(Caption string, ImageIndex int32, SelectedImageIndex int32, OverlayImageIndex int32, Indent int32, Data uintptr) *TComboExItem

func (*TComboExItems) Assign

func (c *TComboExItems) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TComboExItems) BeginUpdate

func (c *TComboExItems) BeginUpdate()

func (*TComboExItems) ClassName

func (c *TComboExItems) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TComboExItems) ClassType

func (c *TComboExItems) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TComboExItems) Clear

func (c *TComboExItems) Clear()

清除。

func (*TComboExItems) ComboItems

func (c *TComboExItems) ComboItems(Index int32) *TComboExItem

func (*TComboExItems) Count

func (c *TComboExItems) Count() int32

func (*TComboExItems) Delete

func (c *TComboExItems) Delete(Index int32)

func (*TComboExItems) EndUpdate

func (c *TComboExItems) EndUpdate()

func (*TComboExItems) Equals

func (c *TComboExItems) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TComboExItems) FindItemID

func (c *TComboExItems) FindItemID(ID int32) *TCollectionItem

func (*TComboExItems) GetHashCode

func (c *TComboExItems) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TComboExItems) GetNamePath

func (c *TComboExItems) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TComboExItems) InheritsFrom

func (c *TComboExItems) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TComboExItems) Insert

func (c *TComboExItems) Insert(Index int32) *TComboExItem

func (*TComboExItems) Instance

func (c *TComboExItems) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TComboExItems) InstanceSize

func (c *TComboExItems) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TComboExItems) Is

func (c *TComboExItems) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TComboExItems) IsValid

func (c *TComboExItems) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TComboExItems) Owner

func (c *TComboExItems) Owner() *TObject

组件所有者。

component owner.

func (*TComboExItems) ToString

func (c *TComboExItems) ToString() string

文本类信息。

Text information.

func (*TComboExItems) UnsafeAddr

func (c *TComboExItems) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TComponent

type TComponent struct {
	IComponent
	// contains filtered or unexported fields
}

func AsComponent

func AsComponent(obj interface{}) *TComponent

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ComponentFromInst

func ComponentFromInst(inst uintptr) *TComponent

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsComponent.

func ComponentFromObj

func ComponentFromObj(obj IObject) *TComponent

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsComponent.

func ComponentFromUnsafePointer

func ComponentFromUnsafePointer(ptr unsafe.Pointer) *TComponent

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsComponent.

func NewComponent

func NewComponent(owner IComponent) *TComponent

创建一个新的对象。

Create a new object.

func (*TComponent) Assign

func (c *TComponent) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TComponent) ClassName

func (c *TComponent) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TComponent) ClassType

func (c *TComponent) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TComponent) ComponentCount

func (c *TComponent) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TComponent) ComponentIndex

func (c *TComponent) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TComponent) Components

func (c *TComponent) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TComponent) Equals

func (c *TComponent) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TComponent) FindComponent

func (c *TComponent) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TComponent) Free

func (c *TComponent) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TComponent) GetHashCode

func (c *TComponent) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TComponent) GetNamePath

func (c *TComponent) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TComponent) HasParent

func (c *TComponent) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TComponent) InheritsFrom

func (c *TComponent) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TComponent) Instance

func (c *TComponent) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TComponent) InstanceSize

func (c *TComponent) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TComponent) Is

func (c *TComponent) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TComponent) IsValid

func (c *TComponent) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TComponent) Name

func (c *TComponent) Name() string

获取组件名称。

Get the component name.

func (*TComponent) Owner

func (c *TComponent) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TComponent) SetComponentIndex

func (c *TComponent) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TComponent) SetName

func (c *TComponent) SetName(value string)

设置组件名称。

Set the component name.

func (*TComponent) SetTag

func (c *TComponent) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TComponent) Tag

func (c *TComponent) Tag() int

获取对象标记。

Get the control tag.

func (*TComponent) ToString

func (c *TComponent) ToString() string

文本类信息。

Text information.

func (*TComponent) UnsafeAddr

func (c *TComponent) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TConstrainedResizeEvent

type TConstrainedResizeEvent func(sender IObject, minWidth, minHeight, maxWidth, maxHeight *int32)

约束调整大小事件

type TContextPopupEvent

type TContextPopupEvent func(sender IObject, mousePos TPoint, handled *bool)

TContextPopupEvent = procedure(Sender: TObject; MousePos: TPoint; var Handled: Boolean) of object;

type TControl

type TControl struct {
	IControl
	// contains filtered or unexported fields
}

func AsControl

func AsControl(obj interface{}) *TControl

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ControlFromInst

func ControlFromInst(inst uintptr) *TControl

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsControl.

func ControlFromObj

func ControlFromObj(obj IObject) *TControl

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsControl.

func ControlFromUnsafePointer

func ControlFromUnsafePointer(ptr unsafe.Pointer) *TControl

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsControl.

func FindControlAtPosition

func FindControlAtPosition(position TPoint, allowDisabled bool) *TControl

func FindDragTarget

func FindDragTarget(position TPoint, allowDisabled bool) *TControl

func FindLCLControl

func FindLCLControl(screenPos TPoint) *TControl

func NewControl

func NewControl(owner IComponent) *TControl

创建一个新的对象。

Create a new object.

func (*TControl) Action

func (c *TControl) Action() *TAction

func (*TControl) Align

func (c *TControl) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TControl) AnchorAsAlign

func (c *TControl) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TControl) AnchorClient

func (c *TControl) AnchorClient(ASpace int32)

func (*TControl) AnchorHorizontalCenterTo

func (c *TControl) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TControl) AnchorParallel

func (c *TControl) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TControl) AnchorSame

func (c *TControl) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TControl) AnchorSide

func (c *TControl) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TControl) AnchorSideBottom

func (c *TControl) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TControl) AnchorSideLeft

func (c *TControl) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TControl) AnchorSideRight

func (c *TControl) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TControl) AnchorSideTop

func (c *TControl) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TControl) AnchorToNeighbour

func (c *TControl) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TControl) AnchorVerticalCenterTo

func (c *TControl) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TControl) Anchors

func (c *TControl) Anchors() TAnchors

获取四个角位置的锚点。

func (*TControl) Assign

func (c *TControl) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TControl) AutoAdjustLayout

func (c *TControl) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TControl) BiDiMode

func (c *TControl) BiDiMode() TBiDiMode

func (*TControl) BorderSpacing

func (c *TControl) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TControl) BoundsRect

func (c *TControl) BoundsRect() TRect

func (*TControl) BringToFront

func (c *TControl) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TControl) ClassName

func (c *TControl) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TControl) ClassType

func (c *TControl) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TControl) ClientHeight

func (c *TControl) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TControl) ClientOrigin

func (c *TControl) ClientOrigin() TPoint

func (*TControl) ClientRect

func (c *TControl) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TControl) ClientToParent

func (c *TControl) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TControl) ClientToScreen

func (c *TControl) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TControl) ClientWidth

func (c *TControl) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TControl) ComponentCount

func (c *TControl) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TControl) ComponentIndex

func (c *TControl) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TControl) Components

func (c *TControl) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TControl) Constraints

func (c *TControl) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TControl) ControlState

func (c *TControl) ControlState() TControlState

获取控件状态。

Get control state.

func (*TControl) ControlStyle

func (c *TControl) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TControl) Cursor

func (c *TControl) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TControl) Dragging

func (c *TControl) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TControl) Enabled

func (c *TControl) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TControl) Equals

func (c *TControl) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TControl) FindComponent

func (c *TControl) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TControl) FixDesignFontsPPI

func (c *TControl) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TControl) Floating

func (c *TControl) Floating() bool

func (*TControl) Free

func (c *TControl) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TControl) GetHashCode

func (c *TControl) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TControl) GetNamePath

func (c *TControl) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TControl) GetTextBuf

func (c *TControl) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TControl) GetTextLen

func (c *TControl) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TControl) HasParent

func (c *TControl) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TControl) Height

func (c *TControl) Height() int32

获取高度。

Get height.

func (*TControl) Hide

func (c *TControl) Hide()

隐藏控件。

Hidden control.

func (*TControl) Hint

func (c *TControl) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TControl) InheritsFrom

func (c *TControl) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TControl) Instance

func (c *TControl) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TControl) InstanceSize

func (c *TControl) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TControl) Invalidate

func (c *TControl) Invalidate()

要求重绘。

Redraw.

func (*TControl) Is

func (c *TControl) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TControl) IsValid

func (c *TControl) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TControl) Left

func (c *TControl) Left() int32

获取左边位置。

Get Left position.

func (*TControl) Name

func (c *TControl) Name() string

获取组件名称。

Get the component name.

func (*TControl) Owner

func (c *TControl) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TControl) Parent

func (c *TControl) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TControl) ParentToClient

func (c *TControl) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TControl) Perform

func (c *TControl) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TControl) Refresh

func (c *TControl) Refresh()

刷新控件。

Refresh control.

func (*TControl) Repaint

func (c *TControl) Repaint()

重绘。

Repaint.

func (*TControl) Scale96ToFont

func (c *TControl) Scale96ToFont(ASize int32) int32

func (*TControl) Scale96ToForm

func (c *TControl) Scale96ToForm(ASize int32) int32

func (*TControl) Scale96ToScreen

func (c *TControl) Scale96ToScreen(ASize int32) int32

func (*TControl) ScaleDesignToForm

func (c *TControl) ScaleDesignToForm(ASize int32) int32

func (*TControl) ScaleFontTo96

func (c *TControl) ScaleFontTo96(ASize int32) int32

func (*TControl) ScaleFontToScreen

func (c *TControl) ScaleFontToScreen(ASize int32) int32

func (*TControl) ScaleFontsPPI

func (c *TControl) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TControl) ScaleFormTo96

func (c *TControl) ScaleFormTo96(ASize int32) int32

func (*TControl) ScaleFormToDesign

func (c *TControl) ScaleFormToDesign(ASize int32) int32

func (*TControl) ScaleScreenTo96

func (c *TControl) ScaleScreenTo96(ASize int32) int32

func (*TControl) ScaleScreenToFont

func (c *TControl) ScaleScreenToFont(ASize int32) int32

func (*TControl) ScreenToClient

func (c *TControl) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TControl) SendToBack

func (c *TControl) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TControl) SetAction

func (c *TControl) SetAction(value IComponent)

func (*TControl) SetAlign

func (c *TControl) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TControl) SetAnchorSideBottom

func (c *TControl) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TControl) SetAnchorSideLeft

func (c *TControl) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TControl) SetAnchorSideRight

func (c *TControl) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TControl) SetAnchorSideTop

func (c *TControl) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TControl) SetAnchors

func (c *TControl) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TControl) SetBiDiMode

func (c *TControl) SetBiDiMode(value TBiDiMode)

func (*TControl) SetBorderSpacing

func (c *TControl) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TControl) SetBounds

func (c *TControl) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TControl) SetBoundsRect

func (c *TControl) SetBoundsRect(value TRect)

func (*TControl) SetClientHeight

func (c *TControl) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TControl) SetClientWidth

func (c *TControl) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TControl) SetComponentIndex

func (c *TControl) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TControl) SetConstraints

func (c *TControl) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TControl) SetControlState

func (c *TControl) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TControl) SetControlStyle

func (c *TControl) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TControl) SetCursor

func (c *TControl) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TControl) SetEnabled

func (c *TControl) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TControl) SetHeight

func (c *TControl) SetHeight(value int32)

设置高度。

Set height.

func (*TControl) SetHint

func (c *TControl) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TControl) SetLeft

func (c *TControl) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TControl) SetName

func (c *TControl) SetName(value string)

设置组件名称。

Set the component name.

func (*TControl) SetParent

func (c *TControl) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TControl) SetShowHint

func (c *TControl) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TControl) SetTag

func (c *TControl) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TControl) SetTextBuf

func (c *TControl) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TControl) SetTop

func (c *TControl) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TControl) SetVisible

func (c *TControl) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TControl) SetWidth

func (c *TControl) SetWidth(value int32)

设置宽度。

Set width.

func (*TControl) Show

func (c *TControl) Show()

显示控件。

Show control.

func (*TControl) ShowHint

func (c *TControl) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TControl) Tag

func (c *TControl) Tag() int

获取对象标记。

Get the control tag.

func (*TControl) ToString

func (c *TControl) ToString() string

文本类信息。

Text information.

func (*TControl) Top

func (c *TControl) Top() int32

获取顶边位置。

Get Top position.

func (*TControl) UnsafeAddr

func (c *TControl) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TControl) Update

func (c *TControl) Update()

控件更新。

Update.

func (*TControl) Visible

func (c *TControl) Visible() bool

获取控件可视。

Get the control visible.

func (*TControl) Width

func (c *TControl) Width() int32

获取宽度。

Get width.

type TControlBorderSpacing

type TControlBorderSpacing struct {
	IObject
	// contains filtered or unexported fields
}

func AsControlBorderSpacing

func AsControlBorderSpacing(obj interface{}) *TControlBorderSpacing

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ControlBorderSpacingFromInst

func ControlBorderSpacingFromInst(inst uintptr) *TControlBorderSpacing

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsControlBorderSpacing.

func ControlBorderSpacingFromObj

func ControlBorderSpacingFromObj(obj IObject) *TControlBorderSpacing

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsControlBorderSpacing.

func ControlBorderSpacingFromUnsafePointer

func ControlBorderSpacingFromUnsafePointer(ptr unsafe.Pointer) *TControlBorderSpacing

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsControlBorderSpacing.

func (*TControlBorderSpacing) Around

func (c *TControlBorderSpacing) Around() int32

func (*TControlBorderSpacing) AroundBottom

func (c *TControlBorderSpacing) AroundBottom() int32

func (*TControlBorderSpacing) AroundLeft

func (c *TControlBorderSpacing) AroundLeft() int32

func (*TControlBorderSpacing) AroundRight

func (c *TControlBorderSpacing) AroundRight() int32

func (*TControlBorderSpacing) AroundTop

func (c *TControlBorderSpacing) AroundTop() int32

func (*TControlBorderSpacing) Assign

func (c *TControlBorderSpacing) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TControlBorderSpacing) Bottom

func (c *TControlBorderSpacing) Bottom() int32

func (*TControlBorderSpacing) CellAlignHorizontal

func (c *TControlBorderSpacing) CellAlignHorizontal() TControlCellAlign

func (*TControlBorderSpacing) CellAlignVertical

func (c *TControlBorderSpacing) CellAlignVertical() TControlCellAlign

func (*TControlBorderSpacing) ClassName

func (c *TControlBorderSpacing) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TControlBorderSpacing) ClassType

func (c *TControlBorderSpacing) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TControlBorderSpacing) Control

func (c *TControlBorderSpacing) Control() *TControl

func (*TControlBorderSpacing) ControlBottom

func (c *TControlBorderSpacing) ControlBottom() int32

func (*TControlBorderSpacing) ControlHeight

func (c *TControlBorderSpacing) ControlHeight() int32

func (*TControlBorderSpacing) ControlLeft

func (c *TControlBorderSpacing) ControlLeft() int32

func (*TControlBorderSpacing) ControlRight

func (c *TControlBorderSpacing) ControlRight() int32

func (*TControlBorderSpacing) ControlTop

func (c *TControlBorderSpacing) ControlTop() int32

func (*TControlBorderSpacing) ControlWidth

func (c *TControlBorderSpacing) ControlWidth() int32

func (*TControlBorderSpacing) Equals

func (c *TControlBorderSpacing) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TControlBorderSpacing) GetHashCode

func (c *TControlBorderSpacing) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TControlBorderSpacing) GetNamePath

func (c *TControlBorderSpacing) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TControlBorderSpacing) InheritsFrom

func (c *TControlBorderSpacing) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TControlBorderSpacing) InnerBorder

func (c *TControlBorderSpacing) InnerBorder() int32

func (*TControlBorderSpacing) Instance

func (c *TControlBorderSpacing) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TControlBorderSpacing) InstanceSize

func (c *TControlBorderSpacing) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TControlBorderSpacing) Is

func (c *TControlBorderSpacing) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TControlBorderSpacing) IsValid

func (c *TControlBorderSpacing) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TControlBorderSpacing) Left

func (c *TControlBorderSpacing) Left() int32

获取左边位置。

Get Left position.

func (*TControlBorderSpacing) Right

func (c *TControlBorderSpacing) Right() int32

func (*TControlBorderSpacing) SetAround

func (c *TControlBorderSpacing) SetAround(value int32)

func (*TControlBorderSpacing) SetBottom

func (c *TControlBorderSpacing) SetBottom(value int32)

func (*TControlBorderSpacing) SetCellAlignHorizontal

func (c *TControlBorderSpacing) SetCellAlignHorizontal(value TControlCellAlign)

func (*TControlBorderSpacing) SetCellAlignVertical

func (c *TControlBorderSpacing) SetCellAlignVertical(value TControlCellAlign)

func (*TControlBorderSpacing) SetInnerBorder

func (c *TControlBorderSpacing) SetInnerBorder(value int32)

func (*TControlBorderSpacing) SetLeft

func (c *TControlBorderSpacing) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TControlBorderSpacing) SetOnChange

func (c *TControlBorderSpacing) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TControlBorderSpacing) SetRight

func (c *TControlBorderSpacing) SetRight(value int32)

func (*TControlBorderSpacing) SetSpace

func (c *TControlBorderSpacing) SetSpace(Kind TAnchorKind, value int32)

func (*TControlBorderSpacing) SetTop

func (c *TControlBorderSpacing) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TControlBorderSpacing) Space

func (c *TControlBorderSpacing) Space(Kind TAnchorKind) int32

func (*TControlBorderSpacing) ToString

func (c *TControlBorderSpacing) ToString() string

文本类信息。

Text information.

func (*TControlBorderSpacing) Top

func (c *TControlBorderSpacing) Top() int32

获取顶边位置。

Get Top position.

func (*TControlBorderSpacing) UnsafeAddr

func (c *TControlBorderSpacing) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TControlChildSizing

type TControlChildSizing struct {
	IObject
	// contains filtered or unexported fields
}

func AsControlChildSizing

func AsControlChildSizing(obj interface{}) *TControlChildSizing

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ControlChildSizingFromInst

func ControlChildSizingFromInst(inst uintptr) *TControlChildSizing

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsControlChildSizing.

func ControlChildSizingFromObj

func ControlChildSizingFromObj(obj IObject) *TControlChildSizing

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsControlChildSizing.

func ControlChildSizingFromUnsafePointer

func ControlChildSizingFromUnsafePointer(ptr unsafe.Pointer) *TControlChildSizing

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsControlChildSizing.

func (*TControlChildSizing) Assign

func (c *TControlChildSizing) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TControlChildSizing) ClassName

func (c *TControlChildSizing) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TControlChildSizing) ClassType

func (c *TControlChildSizing) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TControlChildSizing) Control

func (c *TControlChildSizing) Control() *TWinControl

func (*TControlChildSizing) ControlsPerLine

func (c *TControlChildSizing) ControlsPerLine() int32

func (*TControlChildSizing) EnlargeHorizontal

func (c *TControlChildSizing) EnlargeHorizontal() TChildControlResizeStyle

func (*TControlChildSizing) EnlargeVertical

func (c *TControlChildSizing) EnlargeVertical() TChildControlResizeStyle

func (*TControlChildSizing) Equals

func (c *TControlChildSizing) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TControlChildSizing) GetHashCode

func (c *TControlChildSizing) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TControlChildSizing) GetNamePath

func (c *TControlChildSizing) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TControlChildSizing) HorizontalSpacing

func (c *TControlChildSizing) HorizontalSpacing() int32

func (*TControlChildSizing) InheritsFrom

func (c *TControlChildSizing) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TControlChildSizing) Instance

func (c *TControlChildSizing) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TControlChildSizing) InstanceSize

func (c *TControlChildSizing) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TControlChildSizing) Is

func (c *TControlChildSizing) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TControlChildSizing) IsValid

func (c *TControlChildSizing) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TControlChildSizing) Layout

func (c *TControlChildSizing) Layout() TControlChildrenLayout

func (*TControlChildSizing) LeftRightSpacing

func (c *TControlChildSizing) LeftRightSpacing() int32

func (*TControlChildSizing) SetControlsPerLine

func (c *TControlChildSizing) SetControlsPerLine(value int32)

func (*TControlChildSizing) SetEnlargeHorizontal

func (c *TControlChildSizing) SetEnlargeHorizontal(value TChildControlResizeStyle)

func (*TControlChildSizing) SetEnlargeVertical

func (c *TControlChildSizing) SetEnlargeVertical(value TChildControlResizeStyle)

func (*TControlChildSizing) SetHorizontalSpacing

func (c *TControlChildSizing) SetHorizontalSpacing(value int32)

func (*TControlChildSizing) SetLayout

func (c *TControlChildSizing) SetLayout(value TControlChildrenLayout)

func (*TControlChildSizing) SetLeftRightSpacing

func (c *TControlChildSizing) SetLeftRightSpacing(value int32)

func (*TControlChildSizing) SetOnChange

func (c *TControlChildSizing) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TControlChildSizing) SetShrinkHorizontal

func (c *TControlChildSizing) SetShrinkHorizontal(value TChildControlResizeStyle)

func (*TControlChildSizing) SetShrinkVertical

func (c *TControlChildSizing) SetShrinkVertical(value TChildControlResizeStyle)

func (*TControlChildSizing) SetTopBottomSpacing

func (c *TControlChildSizing) SetTopBottomSpacing(value int32)

func (*TControlChildSizing) SetVerticalSpacing

func (c *TControlChildSizing) SetVerticalSpacing(value int32)

func (*TControlChildSizing) ShrinkHorizontal

func (c *TControlChildSizing) ShrinkHorizontal() TChildControlResizeStyle

func (*TControlChildSizing) ShrinkVertical

func (c *TControlChildSizing) ShrinkVertical() TChildControlResizeStyle

func (*TControlChildSizing) ToString

func (c *TControlChildSizing) ToString() string

文本类信息。

Text information.

func (*TControlChildSizing) TopBottomSpacing

func (c *TControlChildSizing) TopBottomSpacing() int32

func (*TControlChildSizing) UnsafeAddr

func (c *TControlChildSizing) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TControlChildSizing) VerticalSpacing

func (c *TControlChildSizing) VerticalSpacing() int32

type TControlScrollBar

type TControlScrollBar struct {
	IObject
	// contains filtered or unexported fields
}

func AsControlScrollBar

func AsControlScrollBar(obj interface{}) *TControlScrollBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ControlScrollBarFromInst

func ControlScrollBarFromInst(inst uintptr) *TControlScrollBar

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsControlScrollBar.

func ControlScrollBarFromObj

func ControlScrollBarFromObj(obj IObject) *TControlScrollBar

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsControlScrollBar.

func ControlScrollBarFromUnsafePointer

func ControlScrollBarFromUnsafePointer(ptr unsafe.Pointer) *TControlScrollBar

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsControlScrollBar.

func (*TControlScrollBar) Assign

func (c *TControlScrollBar) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TControlScrollBar) ClassName

func (c *TControlScrollBar) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TControlScrollBar) ClassType

func (c *TControlScrollBar) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TControlScrollBar) Equals

func (c *TControlScrollBar) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TControlScrollBar) GetHashCode

func (c *TControlScrollBar) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TControlScrollBar) GetNamePath

func (c *TControlScrollBar) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TControlScrollBar) Increment

func (c *TControlScrollBar) Increment() TScrollBarInc

func (*TControlScrollBar) InheritsFrom

func (c *TControlScrollBar) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TControlScrollBar) Instance

func (c *TControlScrollBar) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TControlScrollBar) InstanceSize

func (c *TControlScrollBar) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TControlScrollBar) Is

func (c *TControlScrollBar) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TControlScrollBar) IsScrollBarVisible

func (c *TControlScrollBar) IsScrollBarVisible() bool

func (*TControlScrollBar) IsValid

func (c *TControlScrollBar) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TControlScrollBar) Kind

func (c *TControlScrollBar) Kind() TScrollBarKind

func (*TControlScrollBar) Position

func (c *TControlScrollBar) Position() int32

func (*TControlScrollBar) Range

func (c *TControlScrollBar) Range() int32

func (*TControlScrollBar) ScrollPos

func (c *TControlScrollBar) ScrollPos() int32

func (*TControlScrollBar) SetIncrement

func (c *TControlScrollBar) SetIncrement(value TScrollBarInc)

func (*TControlScrollBar) SetPosition

func (c *TControlScrollBar) SetPosition(value int32)

func (*TControlScrollBar) SetRange

func (c *TControlScrollBar) SetRange(value int32)

func (*TControlScrollBar) SetSmooth

func (c *TControlScrollBar) SetSmooth(value bool)

func (*TControlScrollBar) SetTracking

func (c *TControlScrollBar) SetTracking(value bool)

func (*TControlScrollBar) SetVisible

func (c *TControlScrollBar) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TControlScrollBar) Smooth

func (c *TControlScrollBar) Smooth() bool

func (*TControlScrollBar) ToString

func (c *TControlScrollBar) ToString() string

文本类信息。

Text information.

func (*TControlScrollBar) Tracking

func (c *TControlScrollBar) Tracking() bool

func (*TControlScrollBar) UnsafeAddr

func (c *TControlScrollBar) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TControlScrollBar) Visible

func (c *TControlScrollBar) Visible() bool

获取控件可视。

Get the control visible.

type TCoolBand

type TCoolBand struct {
	IObject
	// contains filtered or unexported fields
}

func AsCoolBand

func AsCoolBand(obj interface{}) *TCoolBand

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func CoolBandFromInst

func CoolBandFromInst(inst uintptr) *TCoolBand

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsCoolBand.

func CoolBandFromObj

func CoolBandFromObj(obj IObject) *TCoolBand

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsCoolBand.

func CoolBandFromUnsafePointer

func CoolBandFromUnsafePointer(ptr unsafe.Pointer) *TCoolBand

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCoolBand.

func NewCoolBand

func NewCoolBand(AOwner *TCollection) *TCoolBand

创建一个新的对象。

Create a new object.

func (*TCoolBand) Assign

func (c *TCoolBand) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCoolBand) Bitmap

func (c *TCoolBand) Bitmap() *TBitmap

func (*TCoolBand) BorderStyle

func (c *TCoolBand) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TCoolBand) Break

func (c *TCoolBand) Break() bool

func (*TCoolBand) ClassName

func (c *TCoolBand) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TCoolBand) ClassType

func (c *TCoolBand) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TCoolBand) Collection

func (c *TCoolBand) Collection() *TCollection

func (*TCoolBand) Color

func (c *TCoolBand) Color() TColor

获取颜色。

Get color.

func (*TCoolBand) Control

func (c *TCoolBand) Control() *TWinControl

func (*TCoolBand) DisplayName

func (c *TCoolBand) DisplayName() string

func (*TCoolBand) Equals

func (c *TCoolBand) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TCoolBand) FixedBackground

func (c *TCoolBand) FixedBackground() bool

func (*TCoolBand) FixedSize

func (c *TCoolBand) FixedSize() bool

func (*TCoolBand) Free

func (c *TCoolBand) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TCoolBand) GetHashCode

func (c *TCoolBand) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TCoolBand) GetNamePath

func (c *TCoolBand) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TCoolBand) Height

func (c *TCoolBand) Height() int32

获取高度。

Get height.

func (*TCoolBand) HorizontalOnly

func (c *TCoolBand) HorizontalOnly() bool

func (*TCoolBand) ImageIndex

func (c *TCoolBand) ImageIndex() int32

获取图像在images中的索引。

func (*TCoolBand) Index

func (c *TCoolBand) Index() int32

func (*TCoolBand) InheritsFrom

func (c *TCoolBand) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCoolBand) Instance

func (c *TCoolBand) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TCoolBand) InstanceSize

func (c *TCoolBand) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TCoolBand) Is

func (c *TCoolBand) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCoolBand) IsValid

func (c *TCoolBand) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TCoolBand) MinHeight

func (c *TCoolBand) MinHeight() int32

func (*TCoolBand) MinWidth

func (c *TCoolBand) MinWidth() int32

func (*TCoolBand) ParentBitmap

func (c *TCoolBand) ParentBitmap() bool

func (*TCoolBand) ParentColor

func (c *TCoolBand) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TCoolBand) SetBitmap

func (c *TCoolBand) SetBitmap(value *TBitmap)

func (*TCoolBand) SetBorderStyle

func (c *TCoolBand) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TCoolBand) SetBreak

func (c *TCoolBand) SetBreak(value bool)

func (*TCoolBand) SetCollection

func (c *TCoolBand) SetCollection(value *TCollection)

func (*TCoolBand) SetColor

func (c *TCoolBand) SetColor(value TColor)

设置颜色。

Set color.

func (*TCoolBand) SetControl

func (c *TCoolBand) SetControl(value IWinControl)

func (*TCoolBand) SetDisplayName

func (c *TCoolBand) SetDisplayName(value string)

func (*TCoolBand) SetFixedBackground

func (c *TCoolBand) SetFixedBackground(value bool)

func (*TCoolBand) SetFixedSize

func (c *TCoolBand) SetFixedSize(value bool)

func (*TCoolBand) SetHorizontalOnly

func (c *TCoolBand) SetHorizontalOnly(value bool)

func (*TCoolBand) SetImageIndex

func (c *TCoolBand) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TCoolBand) SetIndex

func (c *TCoolBand) SetIndex(value int32)

func (*TCoolBand) SetMinHeight

func (c *TCoolBand) SetMinHeight(value int32)

func (*TCoolBand) SetMinWidth

func (c *TCoolBand) SetMinWidth(value int32)

func (*TCoolBand) SetParentBitmap

func (c *TCoolBand) SetParentBitmap(value bool)

func (*TCoolBand) SetParentColor

func (c *TCoolBand) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TCoolBand) SetText

func (c *TCoolBand) SetText(value string)

设置文本。

func (*TCoolBand) SetVisible

func (c *TCoolBand) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TCoolBand) SetWidth

func (c *TCoolBand) SetWidth(value int32)

设置宽度。

Set width.

func (*TCoolBand) Text

func (c *TCoolBand) Text() string

获取文本。

func (*TCoolBand) ToString

func (c *TCoolBand) ToString() string

文本类信息。

Text information.

func (*TCoolBand) UnsafeAddr

func (c *TCoolBand) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TCoolBand) Visible

func (c *TCoolBand) Visible() bool

获取控件可视。

Get the control visible.

func (*TCoolBand) Width

func (c *TCoolBand) Width() int32

获取宽度。

Get width.

type TCoolBands

type TCoolBands struct {
	IObject
	// contains filtered or unexported fields
}

func AsCoolBands

func AsCoolBands(obj interface{}) *TCoolBands

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func CoolBandsFromInst

func CoolBandsFromInst(inst uintptr) *TCoolBands

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsCoolBands.

func CoolBandsFromObj

func CoolBandsFromObj(obj IObject) *TCoolBands

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsCoolBands.

func CoolBandsFromUnsafePointer

func CoolBandsFromUnsafePointer(ptr unsafe.Pointer) *TCoolBands

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCoolBands.

func NewCoolBands

func NewCoolBands(AOwner *TCoolBar) *TCoolBands

创建一个新的对象。

Create a new object.

func (*TCoolBands) Add

func (c *TCoolBands) Add() *TCoolBand

func (*TCoolBands) Assign

func (c *TCoolBands) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCoolBands) BeginUpdate

func (c *TCoolBands) BeginUpdate()

func (*TCoolBands) ClassName

func (c *TCoolBands) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TCoolBands) ClassType

func (c *TCoolBands) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TCoolBands) Clear

func (c *TCoolBands) Clear()

清除。

func (*TCoolBands) Count

func (c *TCoolBands) Count() int32

func (*TCoolBands) Delete

func (c *TCoolBands) Delete(Index int32)

func (*TCoolBands) EndUpdate

func (c *TCoolBands) EndUpdate()

func (*TCoolBands) Equals

func (c *TCoolBands) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TCoolBands) FindBand

func (c *TCoolBands) FindBand(AControl IControl) *TCoolBand

func (*TCoolBands) FindItemID

func (c *TCoolBands) FindItemID(ID int32) *TCollectionItem

func (*TCoolBands) Free

func (c *TCoolBands) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TCoolBands) GetHashCode

func (c *TCoolBands) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TCoolBands) GetNamePath

func (c *TCoolBands) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TCoolBands) InheritsFrom

func (c *TCoolBands) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCoolBands) Insert

func (c *TCoolBands) Insert(Index int32) *TCollectionItem

func (*TCoolBands) Instance

func (c *TCoolBands) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TCoolBands) InstanceSize

func (c *TCoolBands) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TCoolBands) Is

func (c *TCoolBands) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCoolBands) IsValid

func (c *TCoolBands) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TCoolBands) Items

func (c *TCoolBands) Items(Index int32) *TCoolBand

func (*TCoolBands) Owner

func (c *TCoolBands) Owner() *TObject

组件所有者。

component owner.

func (*TCoolBands) SetItems

func (c *TCoolBands) SetItems(Index int32, value *TCoolBand)

func (*TCoolBands) ToString

func (c *TCoolBands) ToString() string

文本类信息。

Text information.

func (*TCoolBands) UnsafeAddr

func (c *TCoolBands) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TCoolBar

type TCoolBar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsCoolBar

func AsCoolBar(obj interface{}) *TCoolBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func CoolBarFromInst

func CoolBarFromInst(inst uintptr) *TCoolBar

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsCoolBar.

func CoolBarFromObj

func CoolBarFromObj(obj IObject) *TCoolBar

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsCoolBar.

func CoolBarFromUnsafePointer

func CoolBarFromUnsafePointer(ptr unsafe.Pointer) *TCoolBar

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCoolBar.

func NewCoolBar

func NewCoolBar(owner IComponent) *TCoolBar

创建一个新的对象。

Create a new object.

func (*TCoolBar) Action

func (c *TCoolBar) Action() *TAction

func (*TCoolBar) Align

func (c *TCoolBar) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TCoolBar) AnchorAsAlign

func (c *TCoolBar) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TCoolBar) AnchorClient

func (c *TCoolBar) AnchorClient(ASpace int32)

func (*TCoolBar) AnchorHorizontalCenterTo

func (c *TCoolBar) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TCoolBar) AnchorParallel

func (c *TCoolBar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TCoolBar) AnchorSame

func (c *TCoolBar) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TCoolBar) AnchorSide

func (c *TCoolBar) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TCoolBar) AnchorSideBottom

func (c *TCoolBar) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TCoolBar) AnchorSideLeft

func (c *TCoolBar) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TCoolBar) AnchorSideRight

func (c *TCoolBar) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TCoolBar) AnchorSideTop

func (c *TCoolBar) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TCoolBar) AnchorToNeighbour

func (c *TCoolBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TCoolBar) AnchorVerticalCenterTo

func (c *TCoolBar) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TCoolBar) Anchors

func (c *TCoolBar) Anchors() TAnchors

获取四个角位置的锚点。

func (*TCoolBar) Assign

func (c *TCoolBar) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCoolBar) AutoAdjustLayout

func (c *TCoolBar) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TCoolBar) AutoSize

func (c *TCoolBar) AutoSize() bool

获取自动调整大小。

func (*TCoolBar) BandBorderStyle

func (c *TCoolBar) BandBorderStyle() TBorderStyle

func (*TCoolBar) BandMaximize

func (c *TCoolBar) BandMaximize() TCoolBandMaximize

func (*TCoolBar) Bands

func (c *TCoolBar) Bands() *TCoolBands

func (*TCoolBar) BiDiMode

func (c *TCoolBar) BiDiMode() TBiDiMode

func (*TCoolBar) Bitmap

func (c *TCoolBar) Bitmap() *TBitmap

func (*TCoolBar) BorderSpacing

func (c *TCoolBar) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TCoolBar) BorderWidth

func (c *TCoolBar) BorderWidth() int32

获取边框的宽度。

func (*TCoolBar) BoundsRect

func (c *TCoolBar) BoundsRect() TRect

func (*TCoolBar) BringToFront

func (c *TCoolBar) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TCoolBar) Brush

func (c *TCoolBar) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TCoolBar) CanFocus

func (c *TCoolBar) CanFocus() bool

是否可以获得焦点。

func (*TCoolBar) ChildSizing

func (c *TCoolBar) ChildSizing() *TControlChildSizing

func (*TCoolBar) ClassName

func (c *TCoolBar) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TCoolBar) ClassType

func (c *TCoolBar) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TCoolBar) ClientHeight

func (c *TCoolBar) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TCoolBar) ClientOrigin

func (c *TCoolBar) ClientOrigin() TPoint

func (*TCoolBar) ClientRect

func (c *TCoolBar) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TCoolBar) ClientToParent

func (c *TCoolBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TCoolBar) ClientToScreen

func (c *TCoolBar) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TCoolBar) ClientWidth

func (c *TCoolBar) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TCoolBar) Color

func (c *TCoolBar) Color() TColor

获取颜色。

Get color.

func (*TCoolBar) ComponentCount

func (c *TCoolBar) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TCoolBar) ComponentIndex

func (c *TCoolBar) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TCoolBar) Components

func (c *TCoolBar) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TCoolBar) Constraints

func (c *TCoolBar) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TCoolBar) ContainsControl

func (c *TCoolBar) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TCoolBar) ControlAtPos

func (c *TCoolBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TCoolBar) ControlCount

func (c *TCoolBar) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TCoolBar) ControlState

func (c *TCoolBar) ControlState() TControlState

获取控件状态。

Get control state.

func (*TCoolBar) ControlStyle

func (c *TCoolBar) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TCoolBar) Controls

func (c *TCoolBar) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TCoolBar) Cursor

func (c *TCoolBar) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TCoolBar) DisableAlign

func (c *TCoolBar) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TCoolBar) DockClientCount

func (c *TCoolBar) DockClientCount() int32

获取依靠客户端总数。

func (*TCoolBar) DockClients

func (c *TCoolBar) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TCoolBar) DockSite

func (c *TCoolBar) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TCoolBar) DoubleBuffered

func (c *TCoolBar) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TCoolBar) DragCursor

func (c *TCoolBar) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TCoolBar) DragKind

func (c *TCoolBar) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TCoolBar) DragMode

func (c *TCoolBar) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TCoolBar) Dragging

func (c *TCoolBar) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TCoolBar) EdgeBorders

func (c *TCoolBar) EdgeBorders() TEdgeBorders

func (*TCoolBar) EdgeInner

func (c *TCoolBar) EdgeInner() TEdgeStyle

func (*TCoolBar) EdgeOuter

func (c *TCoolBar) EdgeOuter() TEdgeStyle

func (*TCoolBar) EnableAlign

func (c *TCoolBar) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TCoolBar) Enabled

func (c *TCoolBar) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TCoolBar) Equals

func (c *TCoolBar) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TCoolBar) FindChildControl

func (c *TCoolBar) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TCoolBar) FindComponent

func (c *TCoolBar) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TCoolBar) FixDesignFontsPPI

func (c *TCoolBar) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TCoolBar) FixedOrder

func (c *TCoolBar) FixedOrder() bool

func (*TCoolBar) FixedSize

func (c *TCoolBar) FixedSize() bool

func (*TCoolBar) FlipChildren

func (c *TCoolBar) FlipChildren(AllLevels bool)

func (*TCoolBar) Floating

func (c *TCoolBar) Floating() bool

func (*TCoolBar) Focused

func (c *TCoolBar) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TCoolBar) Font

func (c *TCoolBar) Font() *TFont

获取字体。

Get Font.

func (*TCoolBar) Free

func (c *TCoolBar) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TCoolBar) GetHashCode

func (c *TCoolBar) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TCoolBar) GetNamePath

func (c *TCoolBar) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TCoolBar) GetTextBuf

func (c *TCoolBar) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TCoolBar) GetTextLen

func (c *TCoolBar) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TCoolBar) Handle

func (c *TCoolBar) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TCoolBar) HandleAllocated

func (c *TCoolBar) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TCoolBar) HasParent

func (c *TCoolBar) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TCoolBar) Height

func (c *TCoolBar) Height() int32

获取高度。

Get height.

func (*TCoolBar) Hide

func (c *TCoolBar) Hide()

隐藏控件。

Hidden control.

func (*TCoolBar) Hint

func (c *TCoolBar) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TCoolBar) Images

func (c *TCoolBar) Images() *TImageList

获取图标索引列表对象。

func (*TCoolBar) InheritsFrom

func (c *TCoolBar) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCoolBar) Instance

func (c *TCoolBar) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TCoolBar) InstanceSize

func (c *TCoolBar) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TCoolBar) Invalidate

func (c *TCoolBar) Invalidate()

要求重绘。

Redraw.

func (*TCoolBar) Is

func (c *TCoolBar) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCoolBar) IsValid

func (c *TCoolBar) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TCoolBar) Left

func (c *TCoolBar) Left() int32

获取左边位置。

Get Left position.

func (*TCoolBar) MouseInClient

func (c *TCoolBar) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TCoolBar) Name

func (c *TCoolBar) Name() string

获取组件名称。

Get the component name.

func (*TCoolBar) Owner

func (c *TCoolBar) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TCoolBar) PaintTo

func (c *TCoolBar) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TCoolBar) Parent

func (c *TCoolBar) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TCoolBar) ParentColor

func (c *TCoolBar) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TCoolBar) ParentDoubleBuffered

func (c *TCoolBar) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TCoolBar) ParentFont

func (c *TCoolBar) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TCoolBar) ParentShowHint

func (c *TCoolBar) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TCoolBar) ParentToClient

func (c *TCoolBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TCoolBar) ParentWindow

func (c *TCoolBar) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TCoolBar) Perform

func (c *TCoolBar) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TCoolBar) PopupMenu

func (c *TCoolBar) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TCoolBar) Realign

func (c *TCoolBar) Realign()

重新对齐。

Realign.

func (*TCoolBar) Refresh

func (c *TCoolBar) Refresh()

刷新控件。

Refresh control.

func (*TCoolBar) RemoveControl

func (c *TCoolBar) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TCoolBar) Repaint

func (c *TCoolBar) Repaint()

重绘。

Repaint.

func (*TCoolBar) Scale96ToFont

func (c *TCoolBar) Scale96ToFont(ASize int32) int32

func (*TCoolBar) Scale96ToForm

func (c *TCoolBar) Scale96ToForm(ASize int32) int32

func (*TCoolBar) Scale96ToScreen

func (c *TCoolBar) Scale96ToScreen(ASize int32) int32

func (*TCoolBar) ScaleBy

func (c *TCoolBar) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TCoolBar) ScaleDesignToForm

func (c *TCoolBar) ScaleDesignToForm(ASize int32) int32

func (*TCoolBar) ScaleFontTo96

func (c *TCoolBar) ScaleFontTo96(ASize int32) int32

func (*TCoolBar) ScaleFontToScreen

func (c *TCoolBar) ScaleFontToScreen(ASize int32) int32

func (*TCoolBar) ScaleFontsPPI

func (c *TCoolBar) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TCoolBar) ScaleFormTo96

func (c *TCoolBar) ScaleFormTo96(ASize int32) int32

func (*TCoolBar) ScaleFormToDesign

func (c *TCoolBar) ScaleFormToDesign(ASize int32) int32

func (*TCoolBar) ScaleScreenTo96

func (c *TCoolBar) ScaleScreenTo96(ASize int32) int32

func (*TCoolBar) ScaleScreenToFont

func (c *TCoolBar) ScaleScreenToFont(ASize int32) int32

func (*TCoolBar) ScreenToClient

func (c *TCoolBar) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TCoolBar) ScrollBy

func (c *TCoolBar) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TCoolBar) SendToBack

func (c *TCoolBar) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TCoolBar) SetAction

func (c *TCoolBar) SetAction(value IComponent)

func (*TCoolBar) SetAlign

func (c *TCoolBar) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TCoolBar) SetAnchorSideBottom

func (c *TCoolBar) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TCoolBar) SetAnchorSideLeft

func (c *TCoolBar) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TCoolBar) SetAnchorSideRight

func (c *TCoolBar) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TCoolBar) SetAnchorSideTop

func (c *TCoolBar) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TCoolBar) SetAnchors

func (c *TCoolBar) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TCoolBar) SetAutoSize

func (c *TCoolBar) SetAutoSize(value bool)

设置自动调整大小。

func (*TCoolBar) SetBandBorderStyle

func (c *TCoolBar) SetBandBorderStyle(value TBorderStyle)

func (*TCoolBar) SetBandMaximize

func (c *TCoolBar) SetBandMaximize(value TCoolBandMaximize)

func (*TCoolBar) SetBands

func (c *TCoolBar) SetBands(value *TCoolBands)

func (*TCoolBar) SetBiDiMode

func (c *TCoolBar) SetBiDiMode(value TBiDiMode)

func (*TCoolBar) SetBitmap

func (c *TCoolBar) SetBitmap(value *TBitmap)

func (*TCoolBar) SetBorderSpacing

func (c *TCoolBar) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TCoolBar) SetBorderWidth

func (c *TCoolBar) SetBorderWidth(value int32)

设置边框的宽度。

func (*TCoolBar) SetBounds

func (c *TCoolBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TCoolBar) SetBoundsRect

func (c *TCoolBar) SetBoundsRect(value TRect)

func (*TCoolBar) SetChildSizing

func (c *TCoolBar) SetChildSizing(value *TControlChildSizing)

func (*TCoolBar) SetClientHeight

func (c *TCoolBar) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TCoolBar) SetClientWidth

func (c *TCoolBar) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TCoolBar) SetColor

func (c *TCoolBar) SetColor(value TColor)

设置颜色。

Set color.

func (*TCoolBar) SetComponentIndex

func (c *TCoolBar) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TCoolBar) SetConstraints

func (c *TCoolBar) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TCoolBar) SetControlState

func (c *TCoolBar) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TCoolBar) SetControlStyle

func (c *TCoolBar) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TCoolBar) SetCursor

func (c *TCoolBar) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TCoolBar) SetDockSite

func (c *TCoolBar) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TCoolBar) SetDoubleBuffered

func (c *TCoolBar) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TCoolBar) SetDragCursor

func (c *TCoolBar) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TCoolBar) SetDragKind

func (c *TCoolBar) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TCoolBar) SetDragMode

func (c *TCoolBar) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TCoolBar) SetEdgeBorders

func (c *TCoolBar) SetEdgeBorders(value TEdgeBorders)

func (*TCoolBar) SetEdgeInner

func (c *TCoolBar) SetEdgeInner(value TEdgeStyle)

func (*TCoolBar) SetEdgeOuter

func (c *TCoolBar) SetEdgeOuter(value TEdgeStyle)

func (*TCoolBar) SetEnabled

func (c *TCoolBar) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TCoolBar) SetFixedOrder

func (c *TCoolBar) SetFixedOrder(value bool)

func (*TCoolBar) SetFixedSize

func (c *TCoolBar) SetFixedSize(value bool)

func (*TCoolBar) SetFocus

func (c *TCoolBar) SetFocus()

设置控件焦点。

Set control focus.

func (*TCoolBar) SetFont

func (c *TCoolBar) SetFont(value *TFont)

设置字体。

Set Font.

func (*TCoolBar) SetHeight

func (c *TCoolBar) SetHeight(value int32)

设置高度。

Set height.

func (*TCoolBar) SetHint

func (c *TCoolBar) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TCoolBar) SetImages

func (c *TCoolBar) SetImages(value IComponent)

设置图标索引列表对象。

func (*TCoolBar) SetLeft

func (c *TCoolBar) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TCoolBar) SetName

func (c *TCoolBar) SetName(value string)

设置组件名称。

Set the component name.

func (*TCoolBar) SetOnChange

func (c *TCoolBar) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TCoolBar) SetOnClick

func (c *TCoolBar) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TCoolBar) SetOnContextPopup

func (c *TCoolBar) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TCoolBar) SetOnDblClick

func (c *TCoolBar) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TCoolBar) SetOnDockDrop

func (c *TCoolBar) SetOnDockDrop(fn TDockDropEvent)

func (*TCoolBar) SetOnDragDrop

func (c *TCoolBar) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TCoolBar) SetOnDragOver

func (c *TCoolBar) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TCoolBar) SetOnEndDock

func (c *TCoolBar) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TCoolBar) SetOnEndDrag

func (c *TCoolBar) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TCoolBar) SetOnGetSiteInfo

func (c *TCoolBar) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TCoolBar) SetOnMouseDown

func (c *TCoolBar) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TCoolBar) SetOnMouseEnter

func (c *TCoolBar) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TCoolBar) SetOnMouseLeave

func (c *TCoolBar) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TCoolBar) SetOnMouseMove

func (c *TCoolBar) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TCoolBar) SetOnMouseUp

func (c *TCoolBar) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TCoolBar) SetOnResize

func (c *TCoolBar) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TCoolBar) SetOnStartDock

func (c *TCoolBar) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TCoolBar) SetOnUnDock

func (c *TCoolBar) SetOnUnDock(fn TUnDockEvent)

func (*TCoolBar) SetParent

func (c *TCoolBar) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TCoolBar) SetParentColor

func (c *TCoolBar) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TCoolBar) SetParentDoubleBuffered

func (c *TCoolBar) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TCoolBar) SetParentFont

func (c *TCoolBar) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TCoolBar) SetParentShowHint

func (c *TCoolBar) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TCoolBar) SetParentWindow

func (c *TCoolBar) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TCoolBar) SetPopupMenu

func (c *TCoolBar) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TCoolBar) SetShowHint

func (c *TCoolBar) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TCoolBar) SetShowText

func (c *TCoolBar) SetShowText(value bool)

func (*TCoolBar) SetTabOrder

func (c *TCoolBar) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TCoolBar) SetTabStop

func (c *TCoolBar) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TCoolBar) SetTag

func (c *TCoolBar) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TCoolBar) SetTextBuf

func (c *TCoolBar) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TCoolBar) SetTop

func (c *TCoolBar) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TCoolBar) SetUseDockManager

func (c *TCoolBar) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TCoolBar) SetVertical

func (c *TCoolBar) SetVertical(value bool)

func (*TCoolBar) SetVisible

func (c *TCoolBar) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TCoolBar) SetWidth

func (c *TCoolBar) SetWidth(value int32)

设置宽度。

Set width.

func (*TCoolBar) Show

func (c *TCoolBar) Show()

显示控件。

Show control.

func (*TCoolBar) ShowHint

func (c *TCoolBar) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TCoolBar) ShowText

func (c *TCoolBar) ShowText() bool

func (*TCoolBar) Showing

func (c *TCoolBar) Showing() bool

func (*TCoolBar) TabOrder

func (c *TCoolBar) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TCoolBar) TabStop

func (c *TCoolBar) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TCoolBar) Tag

func (c *TCoolBar) Tag() int

获取对象标记。

Get the control tag.

func (*TCoolBar) ToString

func (c *TCoolBar) ToString() string

文本类信息。

Text information.

func (*TCoolBar) Top

func (c *TCoolBar) Top() int32

获取顶边位置。

Get Top position.

func (*TCoolBar) UnsafeAddr

func (c *TCoolBar) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TCoolBar) Update

func (c *TCoolBar) Update()

控件更新。

Update.

func (*TCoolBar) UseDockManager

func (c *TCoolBar) UseDockManager() bool

获取使用停靠管理。

func (*TCoolBar) Vertical

func (c *TCoolBar) Vertical() bool

func (*TCoolBar) Visible

func (c *TCoolBar) Visible() bool

获取控件可视。

Get the control visible.

func (*TCoolBar) VisibleDockClientCount

func (c *TCoolBar) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TCoolBar) Width

func (c *TCoolBar) Width() int32

获取宽度。

Get width.

type TCreatingListErrorEvent

type TCreatingListErrorEvent func(sender IObject, winErrorCode uint32, errorDescription string, handled *bool)

TCreatingListErrorEvent = procedure (Sender: TObject; WinErrorCode: Cardinal; const ErrorDescription: string; var Handled: Boolean) of object;

type TCustomSectionNotifyEvent

type TCustomSectionNotifyEvent func(headerControl *THeaderControl, section *THeaderSection)

TCustomSectionNotifyEvent = procedure(HeaderControl: TCustomHeaderControl; Section: THeaderSection) of object;

type TDateTimePicker

type TDateTimePicker struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsDateTimePicker

func AsDateTimePicker(obj interface{}) *TDateTimePicker

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func DateTimePickerFromInst

func DateTimePickerFromInst(inst uintptr) *TDateTimePicker

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsDateTimePicker.

func DateTimePickerFromObj

func DateTimePickerFromObj(obj IObject) *TDateTimePicker

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsDateTimePicker.

func DateTimePickerFromUnsafePointer

func DateTimePickerFromUnsafePointer(ptr unsafe.Pointer) *TDateTimePicker

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsDateTimePicker.

func NewDateTimePicker

func NewDateTimePicker(owner IComponent) *TDateTimePicker

创建一个新的对象。

Create a new object.

func (*TDateTimePicker) Action

func (d *TDateTimePicker) Action() *TAction

func (*TDateTimePicker) Align

func (d *TDateTimePicker) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TDateTimePicker) AnchorAsAlign

func (d *TDateTimePicker) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TDateTimePicker) AnchorClient

func (d *TDateTimePicker) AnchorClient(ASpace int32)

func (*TDateTimePicker) AnchorHorizontalCenterTo

func (d *TDateTimePicker) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TDateTimePicker) AnchorParallel

func (d *TDateTimePicker) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDateTimePicker) AnchorSame

func (d *TDateTimePicker) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TDateTimePicker) AnchorSide

func (d *TDateTimePicker) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TDateTimePicker) AnchorSideBottom

func (d *TDateTimePicker) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TDateTimePicker) AnchorSideLeft

func (d *TDateTimePicker) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TDateTimePicker) AnchorSideRight

func (d *TDateTimePicker) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TDateTimePicker) AnchorSideTop

func (d *TDateTimePicker) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TDateTimePicker) AnchorToNeighbour

func (d *TDateTimePicker) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDateTimePicker) AnchorVerticalCenterTo

func (d *TDateTimePicker) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TDateTimePicker) Anchors

func (d *TDateTimePicker) Anchors() TAnchors

获取四个角位置的锚点。

func (*TDateTimePicker) ArrowShape

func (d *TDateTimePicker) ArrowShape() TArrowShape

func (*TDateTimePicker) Assign

func (d *TDateTimePicker) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TDateTimePicker) AutoAdjustLayout

func (d *TDateTimePicker) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TDateTimePicker) AutoAdvance

func (d *TDateTimePicker) AutoAdvance() bool

func (*TDateTimePicker) AutoButtonSize

func (d *TDateTimePicker) AutoButtonSize() bool

func (*TDateTimePicker) BiDiMode

func (d *TDateTimePicker) BiDiMode() TBiDiMode

func (*TDateTimePicker) BorderSpacing

func (d *TDateTimePicker) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TDateTimePicker) BoundsRect

func (d *TDateTimePicker) BoundsRect() TRect

func (*TDateTimePicker) BringToFront

func (d *TDateTimePicker) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TDateTimePicker) Brush

func (d *TDateTimePicker) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TDateTimePicker) CalAlignment

func (d *TDateTimePicker) CalAlignment() TDTCalAlignment

func (*TDateTimePicker) CanFocus

func (d *TDateTimePicker) CanFocus() bool

是否可以获得焦点。

func (*TDateTimePicker) Cascade

func (d *TDateTimePicker) Cascade() bool

func (*TDateTimePicker) CenturyFrom

func (d *TDateTimePicker) CenturyFrom() uint16

func (*TDateTimePicker) Checked

func (d *TDateTimePicker) Checked() bool

获取是否选中。

func (*TDateTimePicker) ChildSizing

func (d *TDateTimePicker) ChildSizing() *TControlChildSizing

func (*TDateTimePicker) ClassName

func (d *TDateTimePicker) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TDateTimePicker) ClassType

func (d *TDateTimePicker) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TDateTimePicker) ClientHeight

func (d *TDateTimePicker) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TDateTimePicker) ClientOrigin

func (d *TDateTimePicker) ClientOrigin() TPoint

func (*TDateTimePicker) ClientRect

func (d *TDateTimePicker) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TDateTimePicker) ClientToParent

func (d *TDateTimePicker) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TDateTimePicker) ClientToScreen

func (d *TDateTimePicker) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TDateTimePicker) ClientWidth

func (d *TDateTimePicker) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TDateTimePicker) Color

func (d *TDateTimePicker) Color() TColor

获取颜色。

Get color.

func (*TDateTimePicker) ComponentCount

func (d *TDateTimePicker) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TDateTimePicker) ComponentIndex

func (d *TDateTimePicker) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TDateTimePicker) Components

func (d *TDateTimePicker) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TDateTimePicker) Constraints

func (d *TDateTimePicker) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TDateTimePicker) ContainsControl

func (d *TDateTimePicker) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TDateTimePicker) ControlAtPos

func (d *TDateTimePicker) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TDateTimePicker) ControlCount

func (d *TDateTimePicker) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TDateTimePicker) ControlState

func (d *TDateTimePicker) ControlState() TControlState

获取控件状态。

Get control state.

func (*TDateTimePicker) ControlStyle

func (d *TDateTimePicker) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TDateTimePicker) Controls

func (d *TDateTimePicker) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TDateTimePicker) Cursor

func (d *TDateTimePicker) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TDateTimePicker) Date

func (d *TDateTimePicker) Date() time.Time

func (*TDateTimePicker) DateDisplayOrder

func (d *TDateTimePicker) DateDisplayOrder() TDateDisplayOrder

func (*TDateTimePicker) DateIsNull

func (d *TDateTimePicker) DateIsNull() bool

func (*TDateTimePicker) DateMode

func (d *TDateTimePicker) DateMode() TDTDateMode

func (*TDateTimePicker) DateSeparator

func (d *TDateTimePicker) DateSeparator() string

func (*TDateTimePicker) DateTime

func (d *TDateTimePicker) DateTime() time.Time

func (*TDateTimePicker) DisableAlign

func (d *TDateTimePicker) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TDateTimePicker) DockClientCount

func (d *TDateTimePicker) DockClientCount() int32

获取依靠客户端总数。

func (*TDateTimePicker) DockClients

func (d *TDateTimePicker) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TDateTimePicker) DockSite

func (d *TDateTimePicker) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TDateTimePicker) DoubleBuffered

func (d *TDateTimePicker) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TDateTimePicker) Dragging

func (d *TDateTimePicker) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TDateTimePicker) DroppedDown

func (d *TDateTimePicker) DroppedDown() bool

func (*TDateTimePicker) EnableAlign

func (d *TDateTimePicker) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TDateTimePicker) Enabled

func (d *TDateTimePicker) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TDateTimePicker) Equals

func (d *TDateTimePicker) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TDateTimePicker) FindChildControl

func (d *TDateTimePicker) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TDateTimePicker) FindComponent

func (d *TDateTimePicker) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TDateTimePicker) FixDesignFontsPPI

func (d *TDateTimePicker) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TDateTimePicker) FlipChildren

func (d *TDateTimePicker) FlipChildren(AllLevels bool)

func (*TDateTimePicker) Floating

func (d *TDateTimePicker) Floating() bool

func (*TDateTimePicker) Focused

func (d *TDateTimePicker) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TDateTimePicker) Font

func (d *TDateTimePicker) Font() *TFont

获取字体。

Get Font.

func (*TDateTimePicker) Free

func (d *TDateTimePicker) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TDateTimePicker) GetHashCode

func (d *TDateTimePicker) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TDateTimePicker) GetNamePath

func (d *TDateTimePicker) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TDateTimePicker) GetTextBuf

func (d *TDateTimePicker) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TDateTimePicker) GetTextLen

func (d *TDateTimePicker) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TDateTimePicker) Handle

func (d *TDateTimePicker) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TDateTimePicker) HandleAllocated

func (d *TDateTimePicker) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TDateTimePicker) HasParent

func (d *TDateTimePicker) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TDateTimePicker) Height

func (d *TDateTimePicker) Height() int32

获取高度。

Get height.

func (*TDateTimePicker) Hide

func (d *TDateTimePicker) Hide()

隐藏控件。

Hidden control.

func (*TDateTimePicker) HideDateTimeParts

func (d *TDateTimePicker) HideDateTimeParts() TDateTimeParts

func (*TDateTimePicker) Hint

func (d *TDateTimePicker) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TDateTimePicker) InheritsFrom

func (d *TDateTimePicker) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TDateTimePicker) InsertControl

func (d *TDateTimePicker) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TDateTimePicker) Instance

func (d *TDateTimePicker) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TDateTimePicker) InstanceSize

func (d *TDateTimePicker) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TDateTimePicker) Invalidate

func (d *TDateTimePicker) Invalidate()

要求重绘。

Redraw.

func (*TDateTimePicker) Is

func (d *TDateTimePicker) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TDateTimePicker) IsValid

func (d *TDateTimePicker) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TDateTimePicker) Kind

func (d *TDateTimePicker) Kind() TDateTimeKind

func (*TDateTimePicker) LeadingZeros

func (d *TDateTimePicker) LeadingZeros() bool

func (*TDateTimePicker) Left

func (d *TDateTimePicker) Left() int32

获取左边位置。

Get Left position.

func (*TDateTimePicker) MaxDate

func (d *TDateTimePicker) MaxDate() time.Time

func (*TDateTimePicker) MinDate

func (d *TDateTimePicker) MinDate() time.Time

func (*TDateTimePicker) MonthNames

func (d *TDateTimePicker) MonthNames() string

func (*TDateTimePicker) MouseInClient

func (d *TDateTimePicker) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TDateTimePicker) Name

func (d *TDateTimePicker) Name() string

获取组件名称。

Get the component name.

func (*TDateTimePicker) NullInputAllowed

func (d *TDateTimePicker) NullInputAllowed() bool

func (*TDateTimePicker) Options

func (d *TDateTimePicker) Options() TDateTimePickerOptions

func (*TDateTimePicker) Owner

func (d *TDateTimePicker) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TDateTimePicker) PaintTo

func (d *TDateTimePicker) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TDateTimePicker) Parent

func (d *TDateTimePicker) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TDateTimePicker) ParentColor

func (d *TDateTimePicker) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TDateTimePicker) ParentDoubleBuffered

func (d *TDateTimePicker) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TDateTimePicker) ParentFont

func (d *TDateTimePicker) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TDateTimePicker) ParentShowHint

func (d *TDateTimePicker) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TDateTimePicker) ParentToClient

func (d *TDateTimePicker) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TDateTimePicker) ParentWindow

func (d *TDateTimePicker) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TDateTimePicker) Perform

func (d *TDateTimePicker) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TDateTimePicker) PopupMenu

func (d *TDateTimePicker) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TDateTimePicker) ReadOnly

func (d *TDateTimePicker) ReadOnly() bool

获取只读。

func (*TDateTimePicker) Realign

func (d *TDateTimePicker) Realign()

重新对齐。

Realign.

func (*TDateTimePicker) Refresh

func (d *TDateTimePicker) Refresh()

刷新控件。

Refresh control.

func (*TDateTimePicker) RemoveControl

func (d *TDateTimePicker) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TDateTimePicker) Repaint

func (d *TDateTimePicker) Repaint()

重绘。

Repaint.

func (*TDateTimePicker) Scale96ToFont

func (d *TDateTimePicker) Scale96ToFont(ASize int32) int32

func (*TDateTimePicker) Scale96ToForm

func (d *TDateTimePicker) Scale96ToForm(ASize int32) int32

func (*TDateTimePicker) Scale96ToScreen

func (d *TDateTimePicker) Scale96ToScreen(ASize int32) int32

func (*TDateTimePicker) ScaleBy

func (d *TDateTimePicker) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TDateTimePicker) ScaleDesignToForm

func (d *TDateTimePicker) ScaleDesignToForm(ASize int32) int32

func (*TDateTimePicker) ScaleFontTo96

func (d *TDateTimePicker) ScaleFontTo96(ASize int32) int32

func (*TDateTimePicker) ScaleFontToScreen

func (d *TDateTimePicker) ScaleFontToScreen(ASize int32) int32

func (*TDateTimePicker) ScaleFontsPPI

func (d *TDateTimePicker) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TDateTimePicker) ScaleFormTo96

func (d *TDateTimePicker) ScaleFormTo96(ASize int32) int32

func (*TDateTimePicker) ScaleFormToDesign

func (d *TDateTimePicker) ScaleFormToDesign(ASize int32) int32

func (*TDateTimePicker) ScaleScreenTo96

func (d *TDateTimePicker) ScaleScreenTo96(ASize int32) int32

func (*TDateTimePicker) ScaleScreenToFont

func (d *TDateTimePicker) ScaleScreenToFont(ASize int32) int32

func (*TDateTimePicker) ScreenToClient

func (d *TDateTimePicker) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TDateTimePicker) ScrollBy

func (d *TDateTimePicker) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TDateTimePicker) SelectDate

func (d *TDateTimePicker) SelectDate()

func (*TDateTimePicker) SelectTime

func (d *TDateTimePicker) SelectTime()

func (*TDateTimePicker) SendToBack

func (d *TDateTimePicker) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TDateTimePicker) SetAction

func (d *TDateTimePicker) SetAction(value IComponent)

func (*TDateTimePicker) SetAlign

func (d *TDateTimePicker) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TDateTimePicker) SetAnchorSideBottom

func (d *TDateTimePicker) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TDateTimePicker) SetAnchorSideLeft

func (d *TDateTimePicker) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TDateTimePicker) SetAnchorSideRight

func (d *TDateTimePicker) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TDateTimePicker) SetAnchorSideTop

func (d *TDateTimePicker) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TDateTimePicker) SetAnchors

func (d *TDateTimePicker) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TDateTimePicker) SetArrowShape

func (d *TDateTimePicker) SetArrowShape(value TArrowShape)

func (*TDateTimePicker) SetAutoAdvance

func (d *TDateTimePicker) SetAutoAdvance(value bool)

func (*TDateTimePicker) SetAutoButtonSize

func (d *TDateTimePicker) SetAutoButtonSize(value bool)

func (*TDateTimePicker) SetBiDiMode

func (d *TDateTimePicker) SetBiDiMode(value TBiDiMode)

func (*TDateTimePicker) SetBorderSpacing

func (d *TDateTimePicker) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TDateTimePicker) SetBounds

func (d *TDateTimePicker) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TDateTimePicker) SetBoundsRect

func (d *TDateTimePicker) SetBoundsRect(value TRect)

func (*TDateTimePicker) SetCalAlignment

func (d *TDateTimePicker) SetCalAlignment(value TDTCalAlignment)

func (*TDateTimePicker) SetCascade

func (d *TDateTimePicker) SetCascade(value bool)

func (*TDateTimePicker) SetCenturyFrom

func (d *TDateTimePicker) SetCenturyFrom(value uint16)

func (*TDateTimePicker) SetChecked

func (d *TDateTimePicker) SetChecked(value bool)

设置是否选中。

func (*TDateTimePicker) SetChildSizing

func (d *TDateTimePicker) SetChildSizing(value *TControlChildSizing)

func (*TDateTimePicker) SetClientHeight

func (d *TDateTimePicker) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TDateTimePicker) SetClientWidth

func (d *TDateTimePicker) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TDateTimePicker) SetColor

func (d *TDateTimePicker) SetColor(value TColor)

设置颜色。

Set color.

func (*TDateTimePicker) SetComponentIndex

func (d *TDateTimePicker) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TDateTimePicker) SetConstraints

func (d *TDateTimePicker) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TDateTimePicker) SetControlState

func (d *TDateTimePicker) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TDateTimePicker) SetControlStyle

func (d *TDateTimePicker) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TDateTimePicker) SetCursor

func (d *TDateTimePicker) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TDateTimePicker) SetDate

func (d *TDateTimePicker) SetDate(value time.Time)

func (*TDateTimePicker) SetDateDisplayOrder

func (d *TDateTimePicker) SetDateDisplayOrder(value TDateDisplayOrder)

func (*TDateTimePicker) SetDateMode

func (d *TDateTimePicker) SetDateMode(value TDTDateMode)

func (*TDateTimePicker) SetDateSeparator

func (d *TDateTimePicker) SetDateSeparator(value string)

func (*TDateTimePicker) SetDateTime

func (d *TDateTimePicker) SetDateTime(value time.Time)

func (*TDateTimePicker) SetDockSite

func (d *TDateTimePicker) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TDateTimePicker) SetDoubleBuffered

func (d *TDateTimePicker) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TDateTimePicker) SetEnabled

func (d *TDateTimePicker) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TDateTimePicker) SetFocus

func (d *TDateTimePicker) SetFocus()

设置控件焦点。

Set control focus.

func (*TDateTimePicker) SetFont

func (d *TDateTimePicker) SetFont(value *TFont)

设置字体。

Set Font.

func (*TDateTimePicker) SetHeight

func (d *TDateTimePicker) SetHeight(value int32)

设置高度。

Set height.

func (*TDateTimePicker) SetHideDateTimeParts

func (d *TDateTimePicker) SetHideDateTimeParts(value TDateTimeParts)

func (*TDateTimePicker) SetHint

func (d *TDateTimePicker) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TDateTimePicker) SetKind

func (d *TDateTimePicker) SetKind(value TDateTimeKind)

func (*TDateTimePicker) SetLeadingZeros

func (d *TDateTimePicker) SetLeadingZeros(value bool)

func (*TDateTimePicker) SetLeft

func (d *TDateTimePicker) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TDateTimePicker) SetMaxDate

func (d *TDateTimePicker) SetMaxDate(value time.Time)

func (*TDateTimePicker) SetMinDate

func (d *TDateTimePicker) SetMinDate(value time.Time)

func (*TDateTimePicker) SetMonthNames

func (d *TDateTimePicker) SetMonthNames(value string)

func (*TDateTimePicker) SetName

func (d *TDateTimePicker) SetName(value string)

设置组件名称。

Set the component name.

func (*TDateTimePicker) SetNullInputAllowed

func (d *TDateTimePicker) SetNullInputAllowed(value bool)

func (*TDateTimePicker) SetOnChange

func (d *TDateTimePicker) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TDateTimePicker) SetOnClick

func (d *TDateTimePicker) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TDateTimePicker) SetOnCloseUp

func (d *TDateTimePicker) SetOnCloseUp(fn TNotifyEvent)

func (*TDateTimePicker) SetOnContextPopup

func (d *TDateTimePicker) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TDateTimePicker) SetOnDropDown

func (d *TDateTimePicker) SetOnDropDown(fn TNotifyEvent)

func (*TDateTimePicker) SetOnEnter

func (d *TDateTimePicker) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TDateTimePicker) SetOnExit

func (d *TDateTimePicker) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TDateTimePicker) SetOnKeyDown

func (d *TDateTimePicker) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TDateTimePicker) SetOnKeyPress

func (d *TDateTimePicker) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TDateTimePicker) SetOnKeyUp

func (d *TDateTimePicker) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TDateTimePicker) SetOnMouseEnter

func (d *TDateTimePicker) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TDateTimePicker) SetOnMouseLeave

func (d *TDateTimePicker) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TDateTimePicker) SetOptions

func (d *TDateTimePicker) SetOptions(value TDateTimePickerOptions)

func (*TDateTimePicker) SetParent

func (d *TDateTimePicker) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TDateTimePicker) SetParentColor

func (d *TDateTimePicker) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TDateTimePicker) SetParentDoubleBuffered

func (d *TDateTimePicker) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TDateTimePicker) SetParentFont

func (d *TDateTimePicker) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TDateTimePicker) SetParentShowHint

func (d *TDateTimePicker) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TDateTimePicker) SetParentWindow

func (d *TDateTimePicker) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TDateTimePicker) SetPopupMenu

func (d *TDateTimePicker) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TDateTimePicker) SetReadOnly

func (d *TDateTimePicker) SetReadOnly(value bool)

设置只读。

func (*TDateTimePicker) SetShowCheckBox

func (d *TDateTimePicker) SetShowCheckBox(value bool)

func (*TDateTimePicker) SetShowHint

func (d *TDateTimePicker) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TDateTimePicker) SetShowMonthNames

func (d *TDateTimePicker) SetShowMonthNames(value bool)

func (*TDateTimePicker) SetTabOrder

func (d *TDateTimePicker) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TDateTimePicker) SetTabStop

func (d *TDateTimePicker) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TDateTimePicker) SetTag

func (d *TDateTimePicker) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TDateTimePicker) SetTextBuf

func (d *TDateTimePicker) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TDateTimePicker) SetTextForNullDate

func (d *TDateTimePicker) SetTextForNullDate(value string)

func (*TDateTimePicker) SetTime

func (d *TDateTimePicker) SetTime(value time.Time)

func (*TDateTimePicker) SetTimeDisplay

func (d *TDateTimePicker) SetTimeDisplay(value TTimeDisplay)

func (*TDateTimePicker) SetTimeFormat

func (d *TDateTimePicker) SetTimeFormat(value TTimeFormat)

func (*TDateTimePicker) SetTimeSeparator

func (d *TDateTimePicker) SetTimeSeparator(value string)

func (*TDateTimePicker) SetTop

func (d *TDateTimePicker) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TDateTimePicker) SetTrailingSeparator

func (d *TDateTimePicker) SetTrailingSeparator(value bool)

func (*TDateTimePicker) SetUseDefaultSeparators

func (d *TDateTimePicker) SetUseDefaultSeparators(value bool)

func (*TDateTimePicker) SetUseDockManager

func (d *TDateTimePicker) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TDateTimePicker) SetVisible

func (d *TDateTimePicker) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TDateTimePicker) SetWidth

func (d *TDateTimePicker) SetWidth(value int32)

设置宽度。

Set width.

func (*TDateTimePicker) Show

func (d *TDateTimePicker) Show()

显示控件。

Show control.

func (*TDateTimePicker) ShowCheckBox

func (d *TDateTimePicker) ShowCheckBox() bool

func (*TDateTimePicker) ShowHint

func (d *TDateTimePicker) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TDateTimePicker) ShowMonthNames

func (d *TDateTimePicker) ShowMonthNames() bool

func (*TDateTimePicker) Showing

func (d *TDateTimePicker) Showing() bool

func (*TDateTimePicker) TabOrder

func (d *TDateTimePicker) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TDateTimePicker) TabStop

func (d *TDateTimePicker) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TDateTimePicker) Tag

func (d *TDateTimePicker) Tag() int

获取对象标记。

Get the control tag.

func (*TDateTimePicker) TextForNullDate

func (d *TDateTimePicker) TextForNullDate() string

func (*TDateTimePicker) Time

func (d *TDateTimePicker) Time() time.Time

func (*TDateTimePicker) TimeDisplay

func (d *TDateTimePicker) TimeDisplay() TTimeDisplay

func (*TDateTimePicker) TimeFormat

func (d *TDateTimePicker) TimeFormat() TTimeFormat

func (*TDateTimePicker) TimeSeparator

func (d *TDateTimePicker) TimeSeparator() string

func (*TDateTimePicker) ToString

func (d *TDateTimePicker) ToString() string

文本类信息。

Text information.

func (*TDateTimePicker) Top

func (d *TDateTimePicker) Top() int32

获取顶边位置。

Get Top position.

func (*TDateTimePicker) TrailingSeparator

func (d *TDateTimePicker) TrailingSeparator() bool

func (*TDateTimePicker) UnsafeAddr

func (d *TDateTimePicker) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TDateTimePicker) Update

func (d *TDateTimePicker) Update()

控件更新。

Update.

func (*TDateTimePicker) UseDefaultSeparators

func (d *TDateTimePicker) UseDefaultSeparators() bool

func (*TDateTimePicker) UseDockManager

func (d *TDateTimePicker) UseDockManager() bool

获取使用停靠管理。

func (*TDateTimePicker) Visible

func (d *TDateTimePicker) Visible() bool

获取控件可视。

Get the control visible.

func (*TDateTimePicker) VisibleDockClientCount

func (d *TDateTimePicker) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TDateTimePicker) Width

func (d *TDateTimePicker) Width() int32

获取宽度。

Get width.

type TDirectoryEdit

type TDirectoryEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsDirectoryEdit

func AsDirectoryEdit(obj interface{}) *TDirectoryEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func DirectoryEditFromInst

func DirectoryEditFromInst(inst uintptr) *TDirectoryEdit

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsDirectoryEdit.

func DirectoryEditFromObj

func DirectoryEditFromObj(obj IObject) *TDirectoryEdit

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsDirectoryEdit.

func DirectoryEditFromUnsafePointer

func DirectoryEditFromUnsafePointer(ptr unsafe.Pointer) *TDirectoryEdit

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsDirectoryEdit.

func NewDirectoryEdit

func NewDirectoryEdit(owner IComponent) *TDirectoryEdit

创建一个新的对象。

Create a new object.

func (*TDirectoryEdit) Action

func (d *TDirectoryEdit) Action() *TAction

func (*TDirectoryEdit) Align

func (d *TDirectoryEdit) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TDirectoryEdit) Alignment

func (d *TDirectoryEdit) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TDirectoryEdit) AnchorAsAlign

func (d *TDirectoryEdit) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TDirectoryEdit) AnchorClient

func (d *TDirectoryEdit) AnchorClient(ASpace int32)

func (*TDirectoryEdit) AnchorHorizontalCenterTo

func (d *TDirectoryEdit) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TDirectoryEdit) AnchorParallel

func (d *TDirectoryEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDirectoryEdit) AnchorSame

func (d *TDirectoryEdit) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TDirectoryEdit) AnchorSide

func (d *TDirectoryEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TDirectoryEdit) AnchorSideBottom

func (d *TDirectoryEdit) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TDirectoryEdit) AnchorSideLeft

func (d *TDirectoryEdit) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TDirectoryEdit) AnchorSideRight

func (d *TDirectoryEdit) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TDirectoryEdit) AnchorSideTop

func (d *TDirectoryEdit) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TDirectoryEdit) AnchorToNeighbour

func (d *TDirectoryEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDirectoryEdit) AnchorVerticalCenterTo

func (d *TDirectoryEdit) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TDirectoryEdit) Anchors

func (d *TDirectoryEdit) Anchors() TAnchors

获取四个角位置的锚点。

func (*TDirectoryEdit) Assign

func (d *TDirectoryEdit) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TDirectoryEdit) AutoAdjustLayout

func (d *TDirectoryEdit) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TDirectoryEdit) AutoSelect

func (d *TDirectoryEdit) AutoSelect() bool

获取自动选择。

func (*TDirectoryEdit) AutoSelected

func (d *TDirectoryEdit) AutoSelected() bool

func (*TDirectoryEdit) AutoSize

func (d *TDirectoryEdit) AutoSize() bool

获取自动调整大小。

func (*TDirectoryEdit) BiDiMode

func (d *TDirectoryEdit) BiDiMode() TBiDiMode

func (*TDirectoryEdit) BorderSpacing

func (d *TDirectoryEdit) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TDirectoryEdit) BoundsRect

func (d *TDirectoryEdit) BoundsRect() TRect

func (*TDirectoryEdit) BringToFront

func (d *TDirectoryEdit) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TDirectoryEdit) Brush

func (d *TDirectoryEdit) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TDirectoryEdit) ButtonCaption

func (d *TDirectoryEdit) ButtonCaption() string

func (*TDirectoryEdit) ButtonCursor

func (d *TDirectoryEdit) ButtonCursor() TCursor

func (*TDirectoryEdit) ButtonHint

func (d *TDirectoryEdit) ButtonHint() string

func (*TDirectoryEdit) ButtonOnlyWhenFocused

func (d *TDirectoryEdit) ButtonOnlyWhenFocused() bool

func (*TDirectoryEdit) ButtonWidth

func (d *TDirectoryEdit) ButtonWidth() int32

func (*TDirectoryEdit) CanFocus

func (d *TDirectoryEdit) CanFocus() bool

是否可以获得焦点。

func (*TDirectoryEdit) CanUndo

func (d *TDirectoryEdit) CanUndo() bool

获取能否撤销。

func (*TDirectoryEdit) CaretPos

func (d *TDirectoryEdit) CaretPos() TPoint

func (*TDirectoryEdit) CharCase

func (d *TDirectoryEdit) CharCase() TEditCharCase

func (*TDirectoryEdit) ChildSizing

func (d *TDirectoryEdit) ChildSizing() *TControlChildSizing

func (*TDirectoryEdit) ClassName

func (d *TDirectoryEdit) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TDirectoryEdit) ClassType

func (d *TDirectoryEdit) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TDirectoryEdit) Clear

func (d *TDirectoryEdit) Clear()

清除。

func (*TDirectoryEdit) ClearSelection

func (d *TDirectoryEdit) ClearSelection()

清除选择。

func (*TDirectoryEdit) ClientHeight

func (d *TDirectoryEdit) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TDirectoryEdit) ClientOrigin

func (d *TDirectoryEdit) ClientOrigin() TPoint

func (*TDirectoryEdit) ClientRect

func (d *TDirectoryEdit) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TDirectoryEdit) ClientToParent

func (d *TDirectoryEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TDirectoryEdit) ClientToScreen

func (d *TDirectoryEdit) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TDirectoryEdit) ClientWidth

func (d *TDirectoryEdit) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TDirectoryEdit) Color

func (d *TDirectoryEdit) Color() TColor

获取颜色。

Get color.

func (*TDirectoryEdit) ComponentCount

func (d *TDirectoryEdit) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TDirectoryEdit) ComponentIndex

func (d *TDirectoryEdit) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TDirectoryEdit) Components

func (d *TDirectoryEdit) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TDirectoryEdit) Constraints

func (d *TDirectoryEdit) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TDirectoryEdit) ContainsControl

func (d *TDirectoryEdit) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TDirectoryEdit) ControlAtPos

func (d *TDirectoryEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TDirectoryEdit) ControlCount

func (d *TDirectoryEdit) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TDirectoryEdit) ControlState

func (d *TDirectoryEdit) ControlState() TControlState

获取控件状态。

Get control state.

func (*TDirectoryEdit) ControlStyle

func (d *TDirectoryEdit) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TDirectoryEdit) Controls

func (d *TDirectoryEdit) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TDirectoryEdit) CopyToClipboard

func (d *TDirectoryEdit) CopyToClipboard()

复制到粘贴板。

func (*TDirectoryEdit) Cursor

func (d *TDirectoryEdit) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TDirectoryEdit) CutToClipboard

func (d *TDirectoryEdit) CutToClipboard()

剪切到粘贴板。

func (*TDirectoryEdit) DialogOptions

func (d *TDirectoryEdit) DialogOptions() TOpenOptions

func (*TDirectoryEdit) DialogTitle

func (d *TDirectoryEdit) DialogTitle() string

func (*TDirectoryEdit) DirectInput

func (d *TDirectoryEdit) DirectInput() bool

func (*TDirectoryEdit) Directory

func (d *TDirectoryEdit) Directory() string

func (*TDirectoryEdit) DisableAlign

func (d *TDirectoryEdit) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TDirectoryEdit) DockClientCount

func (d *TDirectoryEdit) DockClientCount() int32

获取依靠客户端总数。

func (*TDirectoryEdit) DockClients

func (d *TDirectoryEdit) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TDirectoryEdit) DockSite

func (d *TDirectoryEdit) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TDirectoryEdit) DoubleBuffered

func (d *TDirectoryEdit) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TDirectoryEdit) DragCursor

func (d *TDirectoryEdit) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TDirectoryEdit) DragMode

func (d *TDirectoryEdit) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TDirectoryEdit) Dragging

func (d *TDirectoryEdit) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TDirectoryEdit) EnableAlign

func (d *TDirectoryEdit) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TDirectoryEdit) Enabled

func (d *TDirectoryEdit) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TDirectoryEdit) Equals

func (d *TDirectoryEdit) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TDirectoryEdit) FindChildControl

func (d *TDirectoryEdit) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TDirectoryEdit) FindComponent

func (d *TDirectoryEdit) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TDirectoryEdit) FixDesignFontsPPI

func (d *TDirectoryEdit) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TDirectoryEdit) Flat

func (d *TDirectoryEdit) Flat() bool

获取平面样式。

func (*TDirectoryEdit) FlipChildren

func (d *TDirectoryEdit) FlipChildren(AllLevels bool)

func (*TDirectoryEdit) Floating

func (d *TDirectoryEdit) Floating() bool

func (*TDirectoryEdit) FocusOnButtonClick

func (d *TDirectoryEdit) FocusOnButtonClick() bool

func (*TDirectoryEdit) Focused

func (d *TDirectoryEdit) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TDirectoryEdit) Font

func (d *TDirectoryEdit) Font() *TFont

获取字体。

Get Font.

func (*TDirectoryEdit) Free

func (d *TDirectoryEdit) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TDirectoryEdit) GetHashCode

func (d *TDirectoryEdit) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TDirectoryEdit) GetNamePath

func (d *TDirectoryEdit) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TDirectoryEdit) GetTextBuf

func (d *TDirectoryEdit) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TDirectoryEdit) GetTextLen

func (d *TDirectoryEdit) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TDirectoryEdit) Glyph

func (d *TDirectoryEdit) Glyph() *TBitmap

func (*TDirectoryEdit) Handle

func (d *TDirectoryEdit) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TDirectoryEdit) HandleAllocated

func (d *TDirectoryEdit) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TDirectoryEdit) HasParent

func (d *TDirectoryEdit) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TDirectoryEdit) Height

func (d *TDirectoryEdit) Height() int32

获取高度。

Get height.

func (*TDirectoryEdit) Hide

func (d *TDirectoryEdit) Hide()

隐藏控件。

Hidden control.

func (*TDirectoryEdit) HideSelection

func (d *TDirectoryEdit) HideSelection() bool

获取隐藏选择。

func (*TDirectoryEdit) Hint

func (d *TDirectoryEdit) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TDirectoryEdit) ImageIndex

func (d *TDirectoryEdit) ImageIndex() int32

获取图像在images中的索引。

func (*TDirectoryEdit) ImageWidth

func (d *TDirectoryEdit) ImageWidth() int32

func (*TDirectoryEdit) Images

func (d *TDirectoryEdit) Images() *TImageList

获取图标索引列表对象。

func (*TDirectoryEdit) InheritsFrom

func (d *TDirectoryEdit) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TDirectoryEdit) InsertControl

func (d *TDirectoryEdit) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TDirectoryEdit) Instance

func (d *TDirectoryEdit) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TDirectoryEdit) InstanceSize

func (d *TDirectoryEdit) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TDirectoryEdit) Invalidate

func (d *TDirectoryEdit) Invalidate()

要求重绘。

Redraw.

func (*TDirectoryEdit) Is

func (d *TDirectoryEdit) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TDirectoryEdit) IsValid

func (d *TDirectoryEdit) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TDirectoryEdit) Layout

func (d *TDirectoryEdit) Layout() TLeftRight

func (*TDirectoryEdit) Left

func (d *TDirectoryEdit) Left() int32

获取左边位置。

Get Left position.

func (*TDirectoryEdit) MaxLength

func (d *TDirectoryEdit) MaxLength() int32

获取最大长度。

func (*TDirectoryEdit) Modified

func (d *TDirectoryEdit) Modified() bool

获取修改。

Get modified.

func (*TDirectoryEdit) MouseInClient

func (d *TDirectoryEdit) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TDirectoryEdit) Name

func (d *TDirectoryEdit) Name() string

获取组件名称。

Get the component name.

func (*TDirectoryEdit) NumGlyphs

func (d *TDirectoryEdit) NumGlyphs() int32

func (*TDirectoryEdit) NumbersOnly

func (d *TDirectoryEdit) NumbersOnly() bool

获取只能输入数字。

func (*TDirectoryEdit) Owner

func (d *TDirectoryEdit) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TDirectoryEdit) PaintTo

func (d *TDirectoryEdit) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TDirectoryEdit) Parent

func (d *TDirectoryEdit) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TDirectoryEdit) ParentColor

func (d *TDirectoryEdit) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TDirectoryEdit) ParentDoubleBuffered

func (d *TDirectoryEdit) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TDirectoryEdit) ParentFont

func (d *TDirectoryEdit) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TDirectoryEdit) ParentShowHint

func (d *TDirectoryEdit) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TDirectoryEdit) ParentToClient

func (d *TDirectoryEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TDirectoryEdit) ParentWindow

func (d *TDirectoryEdit) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TDirectoryEdit) PasswordChar

func (d *TDirectoryEdit) PasswordChar() uint16

获取密码掩码字符。

func (*TDirectoryEdit) PasteFromClipboard

func (d *TDirectoryEdit) PasteFromClipboard()

从剪切板粘贴。

func (*TDirectoryEdit) Perform

func (d *TDirectoryEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TDirectoryEdit) PopupMenu

func (d *TDirectoryEdit) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TDirectoryEdit) ReadOnly

func (d *TDirectoryEdit) ReadOnly() bool

获取只读。

func (*TDirectoryEdit) Realign

func (d *TDirectoryEdit) Realign()

重新对齐。

Realign.

func (*TDirectoryEdit) Refresh

func (d *TDirectoryEdit) Refresh()

刷新控件。

Refresh control.

func (*TDirectoryEdit) RemoveControl

func (d *TDirectoryEdit) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TDirectoryEdit) Repaint

func (d *TDirectoryEdit) Repaint()

重绘。

Repaint.

func (*TDirectoryEdit) RootDir

func (d *TDirectoryEdit) RootDir() string

func (*TDirectoryEdit) Scale96ToFont

func (d *TDirectoryEdit) Scale96ToFont(ASize int32) int32

func (*TDirectoryEdit) Scale96ToForm

func (d *TDirectoryEdit) Scale96ToForm(ASize int32) int32

func (*TDirectoryEdit) Scale96ToScreen

func (d *TDirectoryEdit) Scale96ToScreen(ASize int32) int32

func (*TDirectoryEdit) ScaleBy

func (d *TDirectoryEdit) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TDirectoryEdit) ScaleDesignToForm

func (d *TDirectoryEdit) ScaleDesignToForm(ASize int32) int32

func (*TDirectoryEdit) ScaleFontTo96

func (d *TDirectoryEdit) ScaleFontTo96(ASize int32) int32

func (*TDirectoryEdit) ScaleFontToScreen

func (d *TDirectoryEdit) ScaleFontToScreen(ASize int32) int32

func (*TDirectoryEdit) ScaleFontsPPI

func (d *TDirectoryEdit) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TDirectoryEdit) ScaleFormTo96

func (d *TDirectoryEdit) ScaleFormTo96(ASize int32) int32

func (*TDirectoryEdit) ScaleFormToDesign

func (d *TDirectoryEdit) ScaleFormToDesign(ASize int32) int32

func (*TDirectoryEdit) ScaleScreenTo96

func (d *TDirectoryEdit) ScaleScreenTo96(ASize int32) int32

func (*TDirectoryEdit) ScaleScreenToFont

func (d *TDirectoryEdit) ScaleScreenToFont(ASize int32) int32

func (*TDirectoryEdit) ScreenToClient

func (d *TDirectoryEdit) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TDirectoryEdit) ScrollBy

func (d *TDirectoryEdit) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TDirectoryEdit) SelLength

func (d *TDirectoryEdit) SelLength() int32

获取选择的长度。

func (*TDirectoryEdit) SelStart

func (d *TDirectoryEdit) SelStart() int32

获取选择的启始位置。

func (*TDirectoryEdit) SelText

func (d *TDirectoryEdit) SelText() string

获取选择的文本。

func (*TDirectoryEdit) SelectAll

func (d *TDirectoryEdit) SelectAll()

全选。

func (*TDirectoryEdit) SendToBack

func (d *TDirectoryEdit) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TDirectoryEdit) SetAction

func (d *TDirectoryEdit) SetAction(value IComponent)

func (*TDirectoryEdit) SetAlign

func (d *TDirectoryEdit) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TDirectoryEdit) SetAlignment

func (d *TDirectoryEdit) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TDirectoryEdit) SetAnchorSideBottom

func (d *TDirectoryEdit) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TDirectoryEdit) SetAnchorSideLeft

func (d *TDirectoryEdit) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TDirectoryEdit) SetAnchorSideRight

func (d *TDirectoryEdit) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TDirectoryEdit) SetAnchorSideTop

func (d *TDirectoryEdit) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TDirectoryEdit) SetAnchors

func (d *TDirectoryEdit) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TDirectoryEdit) SetAutoSelect

func (d *TDirectoryEdit) SetAutoSelect(value bool)

设置自动选择。

func (*TDirectoryEdit) SetAutoSelected

func (d *TDirectoryEdit) SetAutoSelected(value bool)

func (*TDirectoryEdit) SetAutoSize

func (d *TDirectoryEdit) SetAutoSize(value bool)

设置自动调整大小。

func (*TDirectoryEdit) SetBiDiMode

func (d *TDirectoryEdit) SetBiDiMode(value TBiDiMode)

func (*TDirectoryEdit) SetBorderSpacing

func (d *TDirectoryEdit) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TDirectoryEdit) SetBounds

func (d *TDirectoryEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TDirectoryEdit) SetBoundsRect

func (d *TDirectoryEdit) SetBoundsRect(value TRect)

func (*TDirectoryEdit) SetButtonCaption

func (d *TDirectoryEdit) SetButtonCaption(value string)

func (*TDirectoryEdit) SetButtonCursor

func (d *TDirectoryEdit) SetButtonCursor(value TCursor)

func (*TDirectoryEdit) SetButtonHint

func (d *TDirectoryEdit) SetButtonHint(value string)

func (*TDirectoryEdit) SetButtonOnlyWhenFocused

func (d *TDirectoryEdit) SetButtonOnlyWhenFocused(value bool)

func (*TDirectoryEdit) SetButtonWidth

func (d *TDirectoryEdit) SetButtonWidth(value int32)

func (*TDirectoryEdit) SetCaretPos

func (d *TDirectoryEdit) SetCaretPos(value TPoint)

func (*TDirectoryEdit) SetCharCase

func (d *TDirectoryEdit) SetCharCase(value TEditCharCase)

func (*TDirectoryEdit) SetChildSizing

func (d *TDirectoryEdit) SetChildSizing(value *TControlChildSizing)

func (*TDirectoryEdit) SetClientHeight

func (d *TDirectoryEdit) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TDirectoryEdit) SetClientWidth

func (d *TDirectoryEdit) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TDirectoryEdit) SetColor

func (d *TDirectoryEdit) SetColor(value TColor)

设置颜色。

Set color.

func (*TDirectoryEdit) SetComponentIndex

func (d *TDirectoryEdit) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TDirectoryEdit) SetConstraints

func (d *TDirectoryEdit) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TDirectoryEdit) SetControlState

func (d *TDirectoryEdit) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TDirectoryEdit) SetControlStyle

func (d *TDirectoryEdit) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TDirectoryEdit) SetCursor

func (d *TDirectoryEdit) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TDirectoryEdit) SetDialogOptions

func (d *TDirectoryEdit) SetDialogOptions(value TOpenOptions)

func (*TDirectoryEdit) SetDialogTitle

func (d *TDirectoryEdit) SetDialogTitle(value string)

func (*TDirectoryEdit) SetDirectInput

func (d *TDirectoryEdit) SetDirectInput(value bool)

func (*TDirectoryEdit) SetDirectory

func (d *TDirectoryEdit) SetDirectory(value string)

func (*TDirectoryEdit) SetDockSite

func (d *TDirectoryEdit) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TDirectoryEdit) SetDoubleBuffered

func (d *TDirectoryEdit) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TDirectoryEdit) SetDragCursor

func (d *TDirectoryEdit) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TDirectoryEdit) SetDragMode

func (d *TDirectoryEdit) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TDirectoryEdit) SetEnabled

func (d *TDirectoryEdit) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TDirectoryEdit) SetFlat

func (d *TDirectoryEdit) SetFlat(value bool)

设置平面样式。

func (*TDirectoryEdit) SetFocus

func (d *TDirectoryEdit) SetFocus()

设置控件焦点。

Set control focus.

func (*TDirectoryEdit) SetFocusOnButtonClick

func (d *TDirectoryEdit) SetFocusOnButtonClick(value bool)

func (*TDirectoryEdit) SetFont

func (d *TDirectoryEdit) SetFont(value *TFont)

设置字体。

Set Font.

func (*TDirectoryEdit) SetGlyph

func (d *TDirectoryEdit) SetGlyph(value *TBitmap)

func (*TDirectoryEdit) SetHeight

func (d *TDirectoryEdit) SetHeight(value int32)

设置高度。

Set height.

func (*TDirectoryEdit) SetHideSelection

func (d *TDirectoryEdit) SetHideSelection(value bool)

设置隐藏选择。

func (*TDirectoryEdit) SetHint

func (d *TDirectoryEdit) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TDirectoryEdit) SetImageIndex

func (d *TDirectoryEdit) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TDirectoryEdit) SetImageWidth

func (d *TDirectoryEdit) SetImageWidth(value int32)

func (*TDirectoryEdit) SetImages

func (d *TDirectoryEdit) SetImages(value IComponent)

设置图标索引列表对象。

func (*TDirectoryEdit) SetLayout

func (d *TDirectoryEdit) SetLayout(value TLeftRight)

func (*TDirectoryEdit) SetLeft

func (d *TDirectoryEdit) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TDirectoryEdit) SetMaxLength

func (d *TDirectoryEdit) SetMaxLength(value int32)

设置最大长度。

func (*TDirectoryEdit) SetModified

func (d *TDirectoryEdit) SetModified(value bool)

设置修改。

Set modified.

func (*TDirectoryEdit) SetName

func (d *TDirectoryEdit) SetName(value string)

设置组件名称。

Set the component name.

func (*TDirectoryEdit) SetNumGlyphs

func (d *TDirectoryEdit) SetNumGlyphs(value int32)

func (*TDirectoryEdit) SetNumbersOnly

func (d *TDirectoryEdit) SetNumbersOnly(value bool)

设置只能输入数字。

func (*TDirectoryEdit) SetOnAcceptDirectory

func (d *TDirectoryEdit) SetOnAcceptDirectory(fn TAcceptFileNameEvent)

func (*TDirectoryEdit) SetOnButtonClick

func (d *TDirectoryEdit) SetOnButtonClick(fn TNotifyEvent)

func (*TDirectoryEdit) SetOnChange

func (d *TDirectoryEdit) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TDirectoryEdit) SetOnClick

func (d *TDirectoryEdit) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TDirectoryEdit) SetOnContextPopup

func (d *TDirectoryEdit) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TDirectoryEdit) SetOnDblClick

func (d *TDirectoryEdit) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TDirectoryEdit) SetOnDragDrop

func (d *TDirectoryEdit) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TDirectoryEdit) SetOnDragOver

func (d *TDirectoryEdit) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TDirectoryEdit) SetOnEditingDone

func (d *TDirectoryEdit) SetOnEditingDone(fn TNotifyEvent)

func (*TDirectoryEdit) SetOnEndDrag

func (d *TDirectoryEdit) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TDirectoryEdit) SetOnEnter

func (d *TDirectoryEdit) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TDirectoryEdit) SetOnExit

func (d *TDirectoryEdit) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TDirectoryEdit) SetOnKeyDown

func (d *TDirectoryEdit) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TDirectoryEdit) SetOnKeyPress

func (d *TDirectoryEdit) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TDirectoryEdit) SetOnKeyUp

func (d *TDirectoryEdit) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TDirectoryEdit) SetOnMouseDown

func (d *TDirectoryEdit) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TDirectoryEdit) SetOnMouseEnter

func (d *TDirectoryEdit) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TDirectoryEdit) SetOnMouseLeave

func (d *TDirectoryEdit) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TDirectoryEdit) SetOnMouseMove

func (d *TDirectoryEdit) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TDirectoryEdit) SetOnMouseUp

func (d *TDirectoryEdit) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TDirectoryEdit) SetOnMouseWheel

func (d *TDirectoryEdit) SetOnMouseWheel(fn TMouseWheelEvent)

设置鼠标滚轮事件。

func (*TDirectoryEdit) SetOnMouseWheelDown

func (d *TDirectoryEdit) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TDirectoryEdit) SetOnMouseWheelUp

func (d *TDirectoryEdit) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TDirectoryEdit) SetParent

func (d *TDirectoryEdit) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TDirectoryEdit) SetParentColor

func (d *TDirectoryEdit) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TDirectoryEdit) SetParentDoubleBuffered

func (d *TDirectoryEdit) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TDirectoryEdit) SetParentFont

func (d *TDirectoryEdit) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TDirectoryEdit) SetParentShowHint

func (d *TDirectoryEdit) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TDirectoryEdit) SetParentWindow

func (d *TDirectoryEdit) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TDirectoryEdit) SetPasswordChar

func (d *TDirectoryEdit) SetPasswordChar(value uint16)

设置密码掩码字符。

func (*TDirectoryEdit) SetPopupMenu

func (d *TDirectoryEdit) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TDirectoryEdit) SetReadOnly

func (d *TDirectoryEdit) SetReadOnly(value bool)

设置只读。

func (*TDirectoryEdit) SetRootDir

func (d *TDirectoryEdit) SetRootDir(value string)

func (*TDirectoryEdit) SetSelLength

func (d *TDirectoryEdit) SetSelLength(value int32)

设置选择的长度。

func (*TDirectoryEdit) SetSelStart

func (d *TDirectoryEdit) SetSelStart(value int32)

设置选择的启始位置。

func (*TDirectoryEdit) SetSelText

func (d *TDirectoryEdit) SetSelText(value string)

设置选择的文本。

func (*TDirectoryEdit) SetShowHidden

func (d *TDirectoryEdit) SetShowHidden(value bool)

func (*TDirectoryEdit) SetShowHint

func (d *TDirectoryEdit) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TDirectoryEdit) SetSpacing

func (d *TDirectoryEdit) SetSpacing(value int32)

func (*TDirectoryEdit) SetTabOrder

func (d *TDirectoryEdit) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TDirectoryEdit) SetTabStop

func (d *TDirectoryEdit) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TDirectoryEdit) SetTag

func (d *TDirectoryEdit) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TDirectoryEdit) SetText

func (d *TDirectoryEdit) SetText(value string)

设置文本。

func (*TDirectoryEdit) SetTextBuf

func (d *TDirectoryEdit) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TDirectoryEdit) SetTextHint

func (d *TDirectoryEdit) SetTextHint(value string)

设置提示文本。

func (*TDirectoryEdit) SetTop

func (d *TDirectoryEdit) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TDirectoryEdit) SetUseDockManager

func (d *TDirectoryEdit) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TDirectoryEdit) SetVisible

func (d *TDirectoryEdit) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TDirectoryEdit) SetWidth

func (d *TDirectoryEdit) SetWidth(value int32)

设置宽度。

Set width.

func (*TDirectoryEdit) Show

func (d *TDirectoryEdit) Show()

显示控件。

Show control.

func (*TDirectoryEdit) ShowHidden

func (d *TDirectoryEdit) ShowHidden() bool

func (*TDirectoryEdit) ShowHint

func (d *TDirectoryEdit) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TDirectoryEdit) Showing

func (d *TDirectoryEdit) Showing() bool

func (*TDirectoryEdit) Spacing

func (d *TDirectoryEdit) Spacing() int32

func (*TDirectoryEdit) TabOrder

func (d *TDirectoryEdit) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TDirectoryEdit) TabStop

func (d *TDirectoryEdit) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TDirectoryEdit) Tag

func (d *TDirectoryEdit) Tag() int

获取对象标记。

Get the control tag.

func (*TDirectoryEdit) Text

func (d *TDirectoryEdit) Text() string

获取文本。

func (*TDirectoryEdit) TextHint

func (d *TDirectoryEdit) TextHint() string

获取提示文本。

func (*TDirectoryEdit) ToString

func (d *TDirectoryEdit) ToString() string

文本类信息。

Text information.

func (*TDirectoryEdit) Top

func (d *TDirectoryEdit) Top() int32

获取顶边位置。

Get Top position.

func (*TDirectoryEdit) Undo

func (d *TDirectoryEdit) Undo()

撤销上一次操作。

func (*TDirectoryEdit) UnsafeAddr

func (d *TDirectoryEdit) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TDirectoryEdit) Update

func (d *TDirectoryEdit) Update()

控件更新。

Update.

func (*TDirectoryEdit) UseDockManager

func (d *TDirectoryEdit) UseDockManager() bool

获取使用停靠管理。

func (*TDirectoryEdit) ValidateEdit

func (d *TDirectoryEdit) ValidateEdit()

func (*TDirectoryEdit) Visible

func (d *TDirectoryEdit) Visible() bool

获取控件可视。

Get the control visible.

func (*TDirectoryEdit) VisibleDockClientCount

func (d *TDirectoryEdit) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TDirectoryEdit) Width

func (d *TDirectoryEdit) Width() int32

获取宽度。

Get width.

type TDockDropEvent

type TDockDropEvent func(sender IObject, source *TDragDockObject, x, y int32)

TDockDropEvent = procedure(Sender: TObject; Source: TDragDockObject; X, Y: Integer) of object;

type TDockOverEvent

type TDockOverEvent func(sender IObject, source *TDragDockObject, x, y int32, state TDragState, accept *bool)

TDockOverEvent = procedure(Sender: TObject; Source: TDragDockObject; X, Y: Integer; State: TDragState; var Accept: Boolean) of object;

type TDragDockObject

type TDragDockObject struct {
	IObject
	// contains filtered or unexported fields
}

func AsDragDockObject

func AsDragDockObject(obj interface{}) *TDragDockObject

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func DragDockObjectFromInst

func DragDockObjectFromInst(inst uintptr) *TDragDockObject

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsDragDockObject.

func DragDockObjectFromObj

func DragDockObjectFromObj(obj IObject) *TDragDockObject

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsDragDockObject.

func DragDockObjectFromUnsafePointer

func DragDockObjectFromUnsafePointer(ptr unsafe.Pointer) *TDragDockObject

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsDragDockObject.

func NewDragDockObject

func NewDragDockObject(AOwner IControl) *TDragDockObject

创建一个新的对象。

Create a new object.

func (*TDragDockObject) AlwaysShowDragImages

func (d *TDragDockObject) AlwaysShowDragImages() bool

func (*TDragDockObject) Assign

func (d *TDragDockObject) Assign(Source *TDragObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TDragDockObject) ClassName

func (d *TDragDockObject) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TDragDockObject) ClassType

func (d *TDragDockObject) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TDragDockObject) Control

func (d *TDragDockObject) Control() *TControl

func (*TDragDockObject) DockRect

func (d *TDragDockObject) DockRect() TRect

func (*TDragDockObject) DragPos

func (d *TDragDockObject) DragPos() TPoint

func (*TDragDockObject) DragTarget

func (d *TDragDockObject) DragTarget() uintptr

func (*TDragDockObject) DragTargetPos

func (d *TDragDockObject) DragTargetPos() TPoint

func (*TDragDockObject) DropAlign

func (d *TDragDockObject) DropAlign() TAlign

func (*TDragDockObject) DropOnControl

func (d *TDragDockObject) DropOnControl() *TControl

func (*TDragDockObject) Dropped

func (d *TDragDockObject) Dropped() bool

func (*TDragDockObject) Equals

func (d *TDragDockObject) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TDragDockObject) EraseDockRect

func (d *TDragDockObject) EraseDockRect() TRect

func (*TDragDockObject) Floating

func (d *TDragDockObject) Floating() bool

func (*TDragDockObject) Free

func (d *TDragDockObject) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TDragDockObject) GetHashCode

func (d *TDragDockObject) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TDragDockObject) HideDragImage

func (d *TDragDockObject) HideDragImage()

func (*TDragDockObject) InheritsFrom

func (d *TDragDockObject) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TDragDockObject) Instance

func (d *TDragDockObject) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TDragDockObject) InstanceSize

func (d *TDragDockObject) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TDragDockObject) Is

func (d *TDragDockObject) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TDragDockObject) IsValid

func (d *TDragDockObject) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TDragDockObject) SetAlwaysShowDragImages

func (d *TDragDockObject) SetAlwaysShowDragImages(value bool)

func (*TDragDockObject) SetControl

func (d *TDragDockObject) SetControl(value IControl)

func (*TDragDockObject) SetDockRect

func (d *TDragDockObject) SetDockRect(value TRect)

func (*TDragDockObject) SetDragPos

func (d *TDragDockObject) SetDragPos(value TPoint)

func (*TDragDockObject) SetDragTarget

func (d *TDragDockObject) SetDragTarget(value uintptr)

func (*TDragDockObject) SetDragTargetPos

func (d *TDragDockObject) SetDragTargetPos(value TPoint)

func (*TDragDockObject) SetEraseDockRect

func (d *TDragDockObject) SetEraseDockRect(value TRect)

func (*TDragDockObject) SetFloating

func (d *TDragDockObject) SetFloating(value bool)

func (*TDragDockObject) ShowDragImage

func (d *TDragDockObject) ShowDragImage()

func (*TDragDockObject) ToString

func (d *TDragDockObject) ToString() string

文本类信息。

Text information.

func (*TDragDockObject) UnsafeAddr

func (d *TDragDockObject) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TDragDropEvent

type TDragDropEvent func(sender, source IObject, x, y int32)

TDragDropEvent = procedure(Sender, Source: TObject; X, Y: Integer) of object;

type TDragObject

type TDragObject struct {
	IObject
	// contains filtered or unexported fields
}

func AsDragObject

func AsDragObject(obj interface{}) *TDragObject

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func DragObjectFromInst

func DragObjectFromInst(inst uintptr) *TDragObject

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsDragObject.

func DragObjectFromObj

func DragObjectFromObj(obj IObject) *TDragObject

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsDragObject.

func DragObjectFromUnsafePointer

func DragObjectFromUnsafePointer(ptr unsafe.Pointer) *TDragObject

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsDragObject.

func NewDragObject

func NewDragObject(AOwner IControl) *TDragObject

创建一个新的对象。

Create a new object.

func (*TDragObject) AlwaysShowDragImages

func (d *TDragObject) AlwaysShowDragImages() bool

func (*TDragObject) Assign

func (d *TDragObject) Assign(Source *TDragObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TDragObject) ClassName

func (d *TDragObject) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TDragObject) ClassType

func (d *TDragObject) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TDragObject) DragPos

func (d *TDragObject) DragPos() TPoint

func (*TDragObject) DragTarget

func (d *TDragObject) DragTarget() uintptr

func (*TDragObject) DragTargetPos

func (d *TDragObject) DragTargetPos() TPoint

func (*TDragObject) Dropped

func (d *TDragObject) Dropped() bool

func (*TDragObject) Equals

func (d *TDragObject) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TDragObject) Free

func (d *TDragObject) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TDragObject) GetHashCode

func (d *TDragObject) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TDragObject) HideDragImage

func (d *TDragObject) HideDragImage()

func (*TDragObject) InheritsFrom

func (d *TDragObject) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TDragObject) Instance

func (d *TDragObject) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TDragObject) InstanceSize

func (d *TDragObject) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TDragObject) Is

func (d *TDragObject) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TDragObject) IsValid

func (d *TDragObject) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TDragObject) SetAlwaysShowDragImages

func (d *TDragObject) SetAlwaysShowDragImages(value bool)

func (*TDragObject) SetDragPos

func (d *TDragObject) SetDragPos(value TPoint)

func (*TDragObject) SetDragTarget

func (d *TDragObject) SetDragTarget(value uintptr)

func (*TDragObject) SetDragTargetPos

func (d *TDragObject) SetDragTargetPos(value TPoint)

func (*TDragObject) ShowDragImage

func (d *TDragObject) ShowDragImage()

func (*TDragObject) ToString

func (d *TDragObject) ToString() string

文本类信息。

Text information.

func (*TDragObject) UnsafeAddr

func (d *TDragObject) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TDragOverEvent

type TDragOverEvent func(sender, source IObject, x, y int32, state TDragState, accept *bool)

TDragOverEvent = procedure(Sender, Source: TObject; X, Y: Integer; State: TDragState; var Accept: Boolean) of object;

type TDrawCellEvent

type TDrawCellEvent func(sender IObject, aCol, aRow int32, aRect TRect, state TGridDrawState)

TDrawCellEvent = procedure (Sender: TObject; ACol, ARow: Longint; Rect: TRect; State: TGridDrawState) of object;

type TDrawGrid

type TDrawGrid struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsDrawGrid

func AsDrawGrid(obj interface{}) *TDrawGrid

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func DrawGridFromInst

func DrawGridFromInst(inst uintptr) *TDrawGrid

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsDrawGrid.

func DrawGridFromObj

func DrawGridFromObj(obj IObject) *TDrawGrid

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsDrawGrid.

func DrawGridFromUnsafePointer

func DrawGridFromUnsafePointer(ptr unsafe.Pointer) *TDrawGrid

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsDrawGrid.

func NewDrawGrid

func NewDrawGrid(owner IComponent) *TDrawGrid

创建一个新的对象。

Create a new object.

func (*TDrawGrid) Action

func (d *TDrawGrid) Action() *TAction

func (*TDrawGrid) Align

func (d *TDrawGrid) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TDrawGrid) AnchorAsAlign

func (d *TDrawGrid) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TDrawGrid) AnchorClient

func (d *TDrawGrid) AnchorClient(ASpace int32)

func (*TDrawGrid) AnchorHorizontalCenterTo

func (d *TDrawGrid) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TDrawGrid) AnchorParallel

func (d *TDrawGrid) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDrawGrid) AnchorSame

func (d *TDrawGrid) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TDrawGrid) AnchorSide

func (d *TDrawGrid) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TDrawGrid) AnchorSideBottom

func (d *TDrawGrid) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TDrawGrid) AnchorSideLeft

func (d *TDrawGrid) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TDrawGrid) AnchorSideRight

func (d *TDrawGrid) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TDrawGrid) AnchorSideTop

func (d *TDrawGrid) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TDrawGrid) AnchorToNeighbour

func (d *TDrawGrid) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDrawGrid) AnchorVerticalCenterTo

func (d *TDrawGrid) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TDrawGrid) Anchors

func (d *TDrawGrid) Anchors() TAnchors

获取四个角位置的锚点。

func (*TDrawGrid) Assign

func (d *TDrawGrid) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TDrawGrid) AutoAdjustLayout

func (d *TDrawGrid) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TDrawGrid) BiDiMode

func (d *TDrawGrid) BiDiMode() TBiDiMode

func (*TDrawGrid) BorderSpacing

func (d *TDrawGrid) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TDrawGrid) BorderStyle

func (d *TDrawGrid) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TDrawGrid) BoundsRect

func (d *TDrawGrid) BoundsRect() TRect

func (*TDrawGrid) BringToFront

func (d *TDrawGrid) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TDrawGrid) Brush

func (d *TDrawGrid) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TDrawGrid) CanFocus

func (d *TDrawGrid) CanFocus() bool

是否可以获得焦点。

func (*TDrawGrid) Canvas

func (d *TDrawGrid) Canvas() *TCanvas

获取画布。

func (*TDrawGrid) CellRect

func (d *TDrawGrid) CellRect(ACol int32, ARow int32) TRect

func (*TDrawGrid) ChildSizing

func (d *TDrawGrid) ChildSizing() *TControlChildSizing

func (*TDrawGrid) ClassName

func (d *TDrawGrid) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TDrawGrid) ClassType

func (d *TDrawGrid) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TDrawGrid) ClientHeight

func (d *TDrawGrid) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TDrawGrid) ClientOrigin

func (d *TDrawGrid) ClientOrigin() TPoint

func (*TDrawGrid) ClientRect

func (d *TDrawGrid) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TDrawGrid) ClientToParent

func (d *TDrawGrid) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TDrawGrid) ClientToScreen

func (d *TDrawGrid) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TDrawGrid) ClientWidth

func (d *TDrawGrid) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TDrawGrid) Col

func (d *TDrawGrid) Col() int32

func (*TDrawGrid) ColCount

func (d *TDrawGrid) ColCount() int32

func (*TDrawGrid) ColWidths

func (d *TDrawGrid) ColWidths(Index int32) int32

func (*TDrawGrid) Color

func (d *TDrawGrid) Color() TColor

获取颜色。

Get color.

func (*TDrawGrid) ComponentCount

func (d *TDrawGrid) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TDrawGrid) ComponentIndex

func (d *TDrawGrid) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TDrawGrid) Components

func (d *TDrawGrid) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TDrawGrid) Constraints

func (d *TDrawGrid) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TDrawGrid) ContainsControl

func (d *TDrawGrid) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TDrawGrid) ControlAtPos

func (d *TDrawGrid) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TDrawGrid) ControlCount

func (d *TDrawGrid) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TDrawGrid) ControlState

func (d *TDrawGrid) ControlState() TControlState

获取控件状态。

Get control state.

func (*TDrawGrid) ControlStyle

func (d *TDrawGrid) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TDrawGrid) Controls

func (d *TDrawGrid) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TDrawGrid) Cursor

func (d *TDrawGrid) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TDrawGrid) DefaultColWidth

func (d *TDrawGrid) DefaultColWidth() int32

func (*TDrawGrid) DefaultDrawing

func (d *TDrawGrid) DefaultDrawing() bool

func (*TDrawGrid) DefaultRowHeight

func (d *TDrawGrid) DefaultRowHeight() int32

func (*TDrawGrid) DisableAlign

func (d *TDrawGrid) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TDrawGrid) DockClientCount

func (d *TDrawGrid) DockClientCount() int32

获取依靠客户端总数。

func (*TDrawGrid) DockClients

func (d *TDrawGrid) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TDrawGrid) DockSite

func (d *TDrawGrid) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TDrawGrid) DoubleBuffered

func (d *TDrawGrid) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TDrawGrid) DragCursor

func (d *TDrawGrid) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TDrawGrid) DragKind

func (d *TDrawGrid) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TDrawGrid) DragMode

func (d *TDrawGrid) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TDrawGrid) Dragging

func (d *TDrawGrid) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TDrawGrid) EditorMode

func (d *TDrawGrid) EditorMode() bool

func (*TDrawGrid) EnableAlign

func (d *TDrawGrid) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TDrawGrid) Enabled

func (d *TDrawGrid) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TDrawGrid) Equals

func (d *TDrawGrid) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TDrawGrid) FindChildControl

func (d *TDrawGrid) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TDrawGrid) FindComponent

func (d *TDrawGrid) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TDrawGrid) FixDesignFontsPPI

func (d *TDrawGrid) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TDrawGrid) FixedColor

func (d *TDrawGrid) FixedColor() TColor

func (*TDrawGrid) FixedCols

func (d *TDrawGrid) FixedCols() int32

func (*TDrawGrid) FixedRows

func (d *TDrawGrid) FixedRows() int32

func (*TDrawGrid) FlipChildren

func (d *TDrawGrid) FlipChildren(AllLevels bool)

func (*TDrawGrid) Floating

func (d *TDrawGrid) Floating() bool

func (*TDrawGrid) Focused

func (d *TDrawGrid) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TDrawGrid) Font

func (d *TDrawGrid) Font() *TFont

获取字体。

Get Font.

func (*TDrawGrid) Free

func (d *TDrawGrid) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TDrawGrid) GetHashCode

func (d *TDrawGrid) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TDrawGrid) GetNamePath

func (d *TDrawGrid) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TDrawGrid) GetTextBuf

func (d *TDrawGrid) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TDrawGrid) GetTextLen

func (d *TDrawGrid) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TDrawGrid) GridHeight

func (d *TDrawGrid) GridHeight() int32

func (*TDrawGrid) GridLineWidth

func (d *TDrawGrid) GridLineWidth() int32

func (*TDrawGrid) GridWidth

func (d *TDrawGrid) GridWidth() int32

func (*TDrawGrid) Handle

func (d *TDrawGrid) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TDrawGrid) HandleAllocated

func (d *TDrawGrid) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TDrawGrid) HasParent

func (d *TDrawGrid) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TDrawGrid) Height

func (d *TDrawGrid) Height() int32

获取高度。

Get height.

func (*TDrawGrid) Hide

func (d *TDrawGrid) Hide()

隐藏控件。

Hidden control.

func (*TDrawGrid) Hint

func (d *TDrawGrid) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TDrawGrid) InheritsFrom

func (d *TDrawGrid) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TDrawGrid) InsertControl

func (d *TDrawGrid) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TDrawGrid) Instance

func (d *TDrawGrid) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TDrawGrid) InstanceSize

func (d *TDrawGrid) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TDrawGrid) Invalidate

func (d *TDrawGrid) Invalidate()

要求重绘。

Redraw.

func (*TDrawGrid) Is

func (d *TDrawGrid) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TDrawGrid) IsValid

func (d *TDrawGrid) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TDrawGrid) Left

func (d *TDrawGrid) Left() int32

获取左边位置。

Get Left position.

func (*TDrawGrid) LeftCol

func (d *TDrawGrid) LeftCol() int32

func (*TDrawGrid) MouseCoord

func (d *TDrawGrid) MouseCoord(X int32, Y int32) TGridCoord

func (*TDrawGrid) MouseInClient

func (d *TDrawGrid) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TDrawGrid) MouseToCell

func (d *TDrawGrid) MouseToCell(X int32, Y int32, ACol *int32, ARow *int32)

func (*TDrawGrid) Name

func (d *TDrawGrid) Name() string

获取组件名称。

Get the component name.

func (*TDrawGrid) Options

func (d *TDrawGrid) Options() TGridOptions

func (*TDrawGrid) Owner

func (d *TDrawGrid) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TDrawGrid) PaintTo

func (d *TDrawGrid) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TDrawGrid) Parent

func (d *TDrawGrid) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TDrawGrid) ParentColor

func (d *TDrawGrid) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TDrawGrid) ParentDoubleBuffered

func (d *TDrawGrid) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TDrawGrid) ParentFont

func (d *TDrawGrid) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TDrawGrid) ParentShowHint

func (d *TDrawGrid) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TDrawGrid) ParentToClient

func (d *TDrawGrid) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TDrawGrid) ParentWindow

func (d *TDrawGrid) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TDrawGrid) Perform

func (d *TDrawGrid) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TDrawGrid) PopupMenu

func (d *TDrawGrid) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TDrawGrid) Realign

func (d *TDrawGrid) Realign()

重新对齐。

Realign.

func (*TDrawGrid) Refresh

func (d *TDrawGrid) Refresh()

刷新控件。

Refresh control.

func (*TDrawGrid) RemoveControl

func (d *TDrawGrid) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TDrawGrid) Repaint

func (d *TDrawGrid) Repaint()

重绘。

Repaint.

func (*TDrawGrid) Row

func (d *TDrawGrid) Row() int32

func (*TDrawGrid) RowCount

func (d *TDrawGrid) RowCount() int32

func (*TDrawGrid) RowHeights

func (d *TDrawGrid) RowHeights(Index int32) int32

func (*TDrawGrid) Scale96ToFont

func (d *TDrawGrid) Scale96ToFont(ASize int32) int32

func (*TDrawGrid) Scale96ToForm

func (d *TDrawGrid) Scale96ToForm(ASize int32) int32

func (*TDrawGrid) Scale96ToScreen

func (d *TDrawGrid) Scale96ToScreen(ASize int32) int32

func (*TDrawGrid) ScaleBy

func (d *TDrawGrid) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TDrawGrid) ScaleDesignToForm

func (d *TDrawGrid) ScaleDesignToForm(ASize int32) int32

func (*TDrawGrid) ScaleFontTo96

func (d *TDrawGrid) ScaleFontTo96(ASize int32) int32

func (*TDrawGrid) ScaleFontToScreen

func (d *TDrawGrid) ScaleFontToScreen(ASize int32) int32

func (*TDrawGrid) ScaleFontsPPI

func (d *TDrawGrid) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TDrawGrid) ScaleFormTo96

func (d *TDrawGrid) ScaleFormTo96(ASize int32) int32

func (*TDrawGrid) ScaleFormToDesign

func (d *TDrawGrid) ScaleFormToDesign(ASize int32) int32

func (*TDrawGrid) ScaleScreenTo96

func (d *TDrawGrid) ScaleScreenTo96(ASize int32) int32

func (*TDrawGrid) ScaleScreenToFont

func (d *TDrawGrid) ScaleScreenToFont(ASize int32) int32

func (*TDrawGrid) ScreenToClient

func (d *TDrawGrid) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TDrawGrid) ScrollBars

func (d *TDrawGrid) ScrollBars() TScrollStyle

func (*TDrawGrid) ScrollBy

func (d *TDrawGrid) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TDrawGrid) Selection

func (d *TDrawGrid) Selection() TGridRect

func (*TDrawGrid) SendToBack

func (d *TDrawGrid) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TDrawGrid) SetAction

func (d *TDrawGrid) SetAction(value IComponent)

func (*TDrawGrid) SetAlign

func (d *TDrawGrid) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TDrawGrid) SetAnchorSideBottom

func (d *TDrawGrid) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TDrawGrid) SetAnchorSideLeft

func (d *TDrawGrid) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TDrawGrid) SetAnchorSideRight

func (d *TDrawGrid) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TDrawGrid) SetAnchorSideTop

func (d *TDrawGrid) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TDrawGrid) SetAnchors

func (d *TDrawGrid) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TDrawGrid) SetBiDiMode

func (d *TDrawGrid) SetBiDiMode(value TBiDiMode)

func (*TDrawGrid) SetBorderSpacing

func (d *TDrawGrid) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TDrawGrid) SetBorderStyle

func (d *TDrawGrid) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TDrawGrid) SetBounds

func (d *TDrawGrid) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TDrawGrid) SetBoundsRect

func (d *TDrawGrid) SetBoundsRect(value TRect)

func (*TDrawGrid) SetChildSizing

func (d *TDrawGrid) SetChildSizing(value *TControlChildSizing)

func (*TDrawGrid) SetClientHeight

func (d *TDrawGrid) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TDrawGrid) SetClientWidth

func (d *TDrawGrid) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TDrawGrid) SetCol

func (d *TDrawGrid) SetCol(value int32)

func (*TDrawGrid) SetColCount

func (d *TDrawGrid) SetColCount(value int32)

func (*TDrawGrid) SetColWidths

func (d *TDrawGrid) SetColWidths(Index int32, value int32)

func (*TDrawGrid) SetColor

func (d *TDrawGrid) SetColor(value TColor)

设置颜色。

Set color.

func (*TDrawGrid) SetComponentIndex

func (d *TDrawGrid) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TDrawGrid) SetConstraints

func (d *TDrawGrid) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TDrawGrid) SetControlState

func (d *TDrawGrid) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TDrawGrid) SetControlStyle

func (d *TDrawGrid) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TDrawGrid) SetCursor

func (d *TDrawGrid) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TDrawGrid) SetDefaultColWidth

func (d *TDrawGrid) SetDefaultColWidth(value int32)

func (*TDrawGrid) SetDefaultDrawing

func (d *TDrawGrid) SetDefaultDrawing(value bool)

func (*TDrawGrid) SetDefaultRowHeight

func (d *TDrawGrid) SetDefaultRowHeight(value int32)

func (*TDrawGrid) SetDockSite

func (d *TDrawGrid) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TDrawGrid) SetDoubleBuffered

func (d *TDrawGrid) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TDrawGrid) SetDragCursor

func (d *TDrawGrid) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TDrawGrid) SetDragKind

func (d *TDrawGrid) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TDrawGrid) SetDragMode

func (d *TDrawGrid) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TDrawGrid) SetEditorMode

func (d *TDrawGrid) SetEditorMode(value bool)

func (*TDrawGrid) SetEnabled

func (d *TDrawGrid) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TDrawGrid) SetFixedColor

func (d *TDrawGrid) SetFixedColor(value TColor)

func (*TDrawGrid) SetFixedCols

func (d *TDrawGrid) SetFixedCols(value int32)

func (*TDrawGrid) SetFixedRows

func (d *TDrawGrid) SetFixedRows(value int32)

func (*TDrawGrid) SetFocus

func (d *TDrawGrid) SetFocus()

设置控件焦点。

Set control focus.

func (*TDrawGrid) SetFont

func (d *TDrawGrid) SetFont(value *TFont)

设置字体。

Set Font.

func (*TDrawGrid) SetGridLineWidth

func (d *TDrawGrid) SetGridLineWidth(value int32)

func (*TDrawGrid) SetHeight

func (d *TDrawGrid) SetHeight(value int32)

设置高度。

Set height.

func (*TDrawGrid) SetHint

func (d *TDrawGrid) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TDrawGrid) SetLeft

func (d *TDrawGrid) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TDrawGrid) SetLeftCol

func (d *TDrawGrid) SetLeftCol(value int32)

func (*TDrawGrid) SetName

func (d *TDrawGrid) SetName(value string)

设置组件名称。

Set the component name.

func (*TDrawGrid) SetOnClick

func (d *TDrawGrid) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TDrawGrid) SetOnColRowMoved

func (d *TDrawGrid) SetOnColRowMoved(fn TGridOperationEvent)

func (*TDrawGrid) SetOnContextPopup

func (d *TDrawGrid) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TDrawGrid) SetOnDblClick

func (d *TDrawGrid) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TDrawGrid) SetOnDragDrop

func (d *TDrawGrid) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TDrawGrid) SetOnDragOver

func (d *TDrawGrid) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TDrawGrid) SetOnDrawCell

func (d *TDrawGrid) SetOnDrawCell(fn TDrawCellEvent)

func (*TDrawGrid) SetOnEndDock

func (d *TDrawGrid) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TDrawGrid) SetOnEndDrag

func (d *TDrawGrid) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TDrawGrid) SetOnEnter

func (d *TDrawGrid) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TDrawGrid) SetOnExit

func (d *TDrawGrid) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TDrawGrid) SetOnGetEditMask

func (d *TDrawGrid) SetOnGetEditMask(fn TGetEditEvent)

func (*TDrawGrid) SetOnGetEditText

func (d *TDrawGrid) SetOnGetEditText(fn TGetEditEvent)

func (*TDrawGrid) SetOnKeyDown

func (d *TDrawGrid) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TDrawGrid) SetOnKeyPress

func (d *TDrawGrid) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TDrawGrid) SetOnKeyUp

func (d *TDrawGrid) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TDrawGrid) SetOnMouseDown

func (d *TDrawGrid) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TDrawGrid) SetOnMouseEnter

func (d *TDrawGrid) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TDrawGrid) SetOnMouseLeave

func (d *TDrawGrid) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TDrawGrid) SetOnMouseMove

func (d *TDrawGrid) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TDrawGrid) SetOnMouseUp

func (d *TDrawGrid) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TDrawGrid) SetOnMouseWheelDown

func (d *TDrawGrid) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TDrawGrid) SetOnMouseWheelUp

func (d *TDrawGrid) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TDrawGrid) SetOnPrepareCanvas

func (d *TDrawGrid) SetOnPrepareCanvas(fn TOnPrepareCanvasEvent)

func (*TDrawGrid) SetOnSelectCell

func (d *TDrawGrid) SetOnSelectCell(fn TSelectCellEvent)

func (*TDrawGrid) SetOnSetEditText

func (d *TDrawGrid) SetOnSetEditText(fn TSetEditEvent)

func (*TDrawGrid) SetOnStartDock

func (d *TDrawGrid) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TDrawGrid) SetOnTopLeftChanged

func (d *TDrawGrid) SetOnTopLeftChanged(fn TNotifyEvent)

func (*TDrawGrid) SetOptions

func (d *TDrawGrid) SetOptions(value TGridOptions)

func (*TDrawGrid) SetParent

func (d *TDrawGrid) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TDrawGrid) SetParentColor

func (d *TDrawGrid) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TDrawGrid) SetParentDoubleBuffered

func (d *TDrawGrid) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TDrawGrid) SetParentFont

func (d *TDrawGrid) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TDrawGrid) SetParentShowHint

func (d *TDrawGrid) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TDrawGrid) SetParentWindow

func (d *TDrawGrid) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TDrawGrid) SetPopupMenu

func (d *TDrawGrid) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TDrawGrid) SetRow

func (d *TDrawGrid) SetRow(value int32)

func (*TDrawGrid) SetRowCount

func (d *TDrawGrid) SetRowCount(value int32)

func (*TDrawGrid) SetRowHeights

func (d *TDrawGrid) SetRowHeights(Index int32, value int32)

func (*TDrawGrid) SetScrollBars

func (d *TDrawGrid) SetScrollBars(value TScrollStyle)

func (*TDrawGrid) SetSelection

func (d *TDrawGrid) SetSelection(value TGridRect)

func (*TDrawGrid) SetShowHint

func (d *TDrawGrid) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TDrawGrid) SetTabOrder

func (d *TDrawGrid) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TDrawGrid) SetTabStop

func (d *TDrawGrid) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TDrawGrid) SetTag

func (d *TDrawGrid) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TDrawGrid) SetTextBuf

func (d *TDrawGrid) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TDrawGrid) SetTop

func (d *TDrawGrid) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TDrawGrid) SetTopRow

func (d *TDrawGrid) SetTopRow(value int32)

func (*TDrawGrid) SetUseDockManager

func (d *TDrawGrid) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TDrawGrid) SetVisible

func (d *TDrawGrid) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TDrawGrid) SetWidth

func (d *TDrawGrid) SetWidth(value int32)

设置宽度。

Set width.

func (*TDrawGrid) Show

func (d *TDrawGrid) Show()

显示控件。

Show control.

func (*TDrawGrid) ShowHint

func (d *TDrawGrid) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TDrawGrid) Showing

func (d *TDrawGrid) Showing() bool

func (*TDrawGrid) TabOrder

func (d *TDrawGrid) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TDrawGrid) TabStop

func (d *TDrawGrid) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TDrawGrid) Tag

func (d *TDrawGrid) Tag() int

获取对象标记。

Get the control tag.

func (*TDrawGrid) ToString

func (d *TDrawGrid) ToString() string

文本类信息。

Text information.

func (*TDrawGrid) Top

func (d *TDrawGrid) Top() int32

获取顶边位置。

Get Top position.

func (*TDrawGrid) TopRow

func (d *TDrawGrid) TopRow() int32

func (*TDrawGrid) UnsafeAddr

func (d *TDrawGrid) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TDrawGrid) Update

func (d *TDrawGrid) Update()

控件更新。

Update.

func (*TDrawGrid) UseDockManager

func (d *TDrawGrid) UseDockManager() bool

获取使用停靠管理。

func (*TDrawGrid) Visible

func (d *TDrawGrid) Visible() bool

获取控件可视。

Get the control visible.

func (*TDrawGrid) VisibleColCount

func (d *TDrawGrid) VisibleColCount() int32

func (*TDrawGrid) VisibleDockClientCount

func (d *TDrawGrid) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TDrawGrid) VisibleRowCount

func (d *TDrawGrid) VisibleRowCount() int32

func (*TDrawGrid) Width

func (d *TDrawGrid) Width() int32

获取宽度。

Get width.

type TDrawItemEvent

type TDrawItemEvent func(control IWinControl, index int32, aRect TRect, state TOwnerDrawState)

TDrawItemEvent = procedure(Control: TWinControl; Index: Integer;

Rect: TRect; State: TOwnerDrawState) of object;

type TDrawSectionEvent

type TDrawSectionEvent func(headerControl *THeaderControl, section *THeaderSection, aRect TRect, pressed bool)

TDrawSectionEvent = procedure(HeaderControl: THeaderControl; Section: THeaderSection; const Rect: TRect; Pressed: Boolean) of object;

type TDropFilesEvent

type TDropFilesEvent func(sender IObject, aFileNames []string)

TDropFilesEvent 注意,当在Windows上使用时如果使用了UAC,则无法收到消息 需要使用未公开的winapi ChangeWindowMessageFilter 或 ChangeWindowMessageFilterEx 根据系统版本不同使用其中的,然后添加 ChangeWindowMessageFilterEx(pnl_Drag.Handle, WM_DROPFILES, MSGFLT_ALLOW, LChangeFilterStruct);消息

type TEdit

type TEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsEdit

func AsEdit(obj interface{}) *TEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func EditFromInst

func EditFromInst(inst uintptr) *TEdit

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsEdit.

func EditFromObj

func EditFromObj(obj IObject) *TEdit

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsEdit.

func EditFromUnsafePointer

func EditFromUnsafePointer(ptr unsafe.Pointer) *TEdit

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsEdit.

func NewEdit

func NewEdit(owner IComponent) *TEdit

创建一个新的对象。

Create a new object.

func (*TEdit) Action

func (e *TEdit) Action() *TAction

func (*TEdit) Align

func (e *TEdit) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TEdit) Alignment

func (e *TEdit) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TEdit) AnchorAsAlign

func (e *TEdit) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TEdit) AnchorClient

func (e *TEdit) AnchorClient(ASpace int32)

func (*TEdit) AnchorHorizontalCenterTo

func (e *TEdit) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TEdit) AnchorParallel

func (e *TEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TEdit) AnchorSame

func (e *TEdit) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TEdit) AnchorSide

func (e *TEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TEdit) AnchorSideBottom

func (e *TEdit) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TEdit) AnchorSideLeft

func (e *TEdit) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TEdit) AnchorSideRight

func (e *TEdit) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TEdit) AnchorSideTop

func (e *TEdit) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TEdit) AnchorToNeighbour

func (e *TEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TEdit) AnchorVerticalCenterTo

func (e *TEdit) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TEdit) Anchors

func (e *TEdit) Anchors() TAnchors

获取四个角位置的锚点。

func (*TEdit) Assign

func (e *TEdit) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TEdit) AutoAdjustLayout

func (e *TEdit) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TEdit) AutoSelect

func (e *TEdit) AutoSelect() bool

获取自动选择。

func (*TEdit) AutoSize

func (e *TEdit) AutoSize() bool

获取自动调整大小。

func (*TEdit) BiDiMode

func (e *TEdit) BiDiMode() TBiDiMode

func (*TEdit) BorderSpacing

func (e *TEdit) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TEdit) BorderStyle

func (e *TEdit) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TEdit) BoundsRect

func (e *TEdit) BoundsRect() TRect

func (*TEdit) BringToFront

func (e *TEdit) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TEdit) Brush

func (e *TEdit) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TEdit) CanFocus

func (e *TEdit) CanFocus() bool

是否可以获得焦点。

func (*TEdit) CanUndo

func (e *TEdit) CanUndo() bool

获取能否撤销。

func (*TEdit) CharCase

func (e *TEdit) CharCase() TEditCharCase

func (*TEdit) ChildSizing

func (e *TEdit) ChildSizing() *TControlChildSizing

func (*TEdit) ClassName

func (e *TEdit) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TEdit) ClassType

func (e *TEdit) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TEdit) Clear

func (e *TEdit) Clear()

清除。

func (*TEdit) ClearSelection

func (e *TEdit) ClearSelection()

清除选择。

func (*TEdit) ClientHeight

func (e *TEdit) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TEdit) ClientOrigin

func (e *TEdit) ClientOrigin() TPoint

func (*TEdit) ClientRect

func (e *TEdit) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TEdit) ClientToParent

func (e *TEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TEdit) ClientToScreen

func (e *TEdit) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TEdit) ClientWidth

func (e *TEdit) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TEdit) Color

func (e *TEdit) Color() TColor

获取颜色。

Get color.

func (*TEdit) ComponentCount

func (e *TEdit) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TEdit) ComponentIndex

func (e *TEdit) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TEdit) Components

func (e *TEdit) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TEdit) Constraints

func (e *TEdit) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TEdit) ContainsControl

func (e *TEdit) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TEdit) ControlAtPos

func (e *TEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TEdit) ControlCount

func (e *TEdit) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TEdit) ControlState

func (e *TEdit) ControlState() TControlState

获取控件状态。

Get control state.

func (*TEdit) ControlStyle

func (e *TEdit) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TEdit) Controls

func (e *TEdit) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TEdit) CopyToClipboard

func (e *TEdit) CopyToClipboard()

复制到粘贴板。

func (*TEdit) Cursor

func (e *TEdit) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TEdit) CutToClipboard

func (e *TEdit) CutToClipboard()

剪切到粘贴板。

func (*TEdit) DisableAlign

func (e *TEdit) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TEdit) DockClientCount

func (e *TEdit) DockClientCount() int32

获取依靠客户端总数。

func (*TEdit) DockClients

func (e *TEdit) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TEdit) DockSite

func (e *TEdit) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TEdit) DoubleBuffered

func (e *TEdit) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TEdit) DragCursor

func (e *TEdit) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TEdit) DragKind

func (e *TEdit) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TEdit) DragMode

func (e *TEdit) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TEdit) Dragging

func (e *TEdit) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TEdit) EnableAlign

func (e *TEdit) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TEdit) Enabled

func (e *TEdit) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TEdit) Equals

func (e *TEdit) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TEdit) FindChildControl

func (e *TEdit) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TEdit) FindComponent

func (e *TEdit) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TEdit) FixDesignFontsPPI

func (e *TEdit) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TEdit) FlipChildren

func (e *TEdit) FlipChildren(AllLevels bool)

func (*TEdit) Floating

func (e *TEdit) Floating() bool

func (*TEdit) Focused

func (e *TEdit) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TEdit) Font

func (e *TEdit) Font() *TFont

获取字体。

Get Font.

func (*TEdit) Free

func (e *TEdit) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TEdit) GetHashCode

func (e *TEdit) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TEdit) GetNamePath

func (e *TEdit) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TEdit) GetTextBuf

func (e *TEdit) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TEdit) GetTextLen

func (e *TEdit) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TEdit) Handle

func (e *TEdit) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TEdit) HandleAllocated

func (e *TEdit) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TEdit) HasParent

func (e *TEdit) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TEdit) Height

func (e *TEdit) Height() int32

获取高度。

Get height.

func (*TEdit) Hide

func (e *TEdit) Hide()

隐藏控件。

Hidden control.

func (*TEdit) HideSelection

func (e *TEdit) HideSelection() bool

获取隐藏选择。

func (*TEdit) Hint

func (e *TEdit) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TEdit) InheritsFrom

func (e *TEdit) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TEdit) InsertControl

func (e *TEdit) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TEdit) Instance

func (e *TEdit) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TEdit) InstanceSize

func (e *TEdit) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TEdit) Invalidate

func (e *TEdit) Invalidate()

要求重绘。

Redraw.

func (*TEdit) Is

func (e *TEdit) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TEdit) IsValid

func (e *TEdit) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TEdit) Left

func (e *TEdit) Left() int32

获取左边位置。

Get Left position.

func (*TEdit) MaxLength

func (e *TEdit) MaxLength() int32

获取最大长度。

func (*TEdit) Modified

func (e *TEdit) Modified() bool

获取修改。

Get modified.

func (*TEdit) MouseInClient

func (e *TEdit) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TEdit) Name

func (e *TEdit) Name() string

获取组件名称。

Get the component name.

func (*TEdit) NumbersOnly

func (e *TEdit) NumbersOnly() bool

获取只能输入数字。

func (*TEdit) Owner

func (e *TEdit) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TEdit) PaintTo

func (e *TEdit) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TEdit) Parent

func (e *TEdit) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TEdit) ParentColor

func (e *TEdit) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TEdit) ParentDoubleBuffered

func (e *TEdit) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TEdit) ParentFont

func (e *TEdit) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TEdit) ParentShowHint

func (e *TEdit) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TEdit) ParentToClient

func (e *TEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TEdit) ParentWindow

func (e *TEdit) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TEdit) PasswordChar

func (e *TEdit) PasswordChar() uint16

获取密码掩码字符。

func (*TEdit) PasteFromClipboard

func (e *TEdit) PasteFromClipboard()

从剪切板粘贴。

func (*TEdit) Perform

func (e *TEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TEdit) PopupMenu

func (e *TEdit) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TEdit) ReadOnly

func (e *TEdit) ReadOnly() bool

获取只读。

func (*TEdit) Realign

func (e *TEdit) Realign()

重新对齐。

Realign.

func (*TEdit) Refresh

func (e *TEdit) Refresh()

刷新控件。

Refresh control.

func (*TEdit) RemoveControl

func (e *TEdit) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TEdit) Repaint

func (e *TEdit) Repaint()

重绘。

Repaint.

func (*TEdit) Scale96ToFont

func (e *TEdit) Scale96ToFont(ASize int32) int32

func (*TEdit) Scale96ToForm

func (e *TEdit) Scale96ToForm(ASize int32) int32

func (*TEdit) Scale96ToScreen

func (e *TEdit) Scale96ToScreen(ASize int32) int32

func (*TEdit) ScaleBy

func (e *TEdit) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TEdit) ScaleDesignToForm

func (e *TEdit) ScaleDesignToForm(ASize int32) int32

func (*TEdit) ScaleFontTo96

func (e *TEdit) ScaleFontTo96(ASize int32) int32

func (*TEdit) ScaleFontToScreen

func (e *TEdit) ScaleFontToScreen(ASize int32) int32

func (*TEdit) ScaleFontsPPI

func (e *TEdit) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TEdit) ScaleFormTo96

func (e *TEdit) ScaleFormTo96(ASize int32) int32

func (*TEdit) ScaleFormToDesign

func (e *TEdit) ScaleFormToDesign(ASize int32) int32

func (*TEdit) ScaleScreenTo96

func (e *TEdit) ScaleScreenTo96(ASize int32) int32

func (*TEdit) ScaleScreenToFont

func (e *TEdit) ScaleScreenToFont(ASize int32) int32

func (*TEdit) ScreenToClient

func (e *TEdit) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TEdit) ScrollBy

func (e *TEdit) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TEdit) SelLength

func (e *TEdit) SelLength() int32

获取选择的长度。

func (*TEdit) SelStart

func (e *TEdit) SelStart() int32

获取选择的启始位置。

func (*TEdit) SelText

func (e *TEdit) SelText() string

获取选择的文本。

func (*TEdit) SelectAll

func (e *TEdit) SelectAll()

全选。

func (*TEdit) SendToBack

func (e *TEdit) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TEdit) SetAction

func (e *TEdit) SetAction(value IComponent)

func (*TEdit) SetAlign

func (e *TEdit) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TEdit) SetAlignment

func (e *TEdit) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TEdit) SetAnchorSideBottom

func (e *TEdit) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TEdit) SetAnchorSideLeft

func (e *TEdit) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TEdit) SetAnchorSideRight

func (e *TEdit) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TEdit) SetAnchorSideTop

func (e *TEdit) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TEdit) SetAnchors

func (e *TEdit) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TEdit) SetAutoSelect

func (e *TEdit) SetAutoSelect(value bool)

设置自动选择。

func (*TEdit) SetAutoSize

func (e *TEdit) SetAutoSize(value bool)

设置自动调整大小。

func (*TEdit) SetBiDiMode

func (e *TEdit) SetBiDiMode(value TBiDiMode)

func (*TEdit) SetBorderSpacing

func (e *TEdit) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TEdit) SetBorderStyle

func (e *TEdit) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TEdit) SetBounds

func (e *TEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TEdit) SetBoundsRect

func (e *TEdit) SetBoundsRect(value TRect)

func (*TEdit) SetCharCase

func (e *TEdit) SetCharCase(value TEditCharCase)

func (*TEdit) SetChildSizing

func (e *TEdit) SetChildSizing(value *TControlChildSizing)

func (*TEdit) SetClientHeight

func (e *TEdit) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TEdit) SetClientWidth

func (e *TEdit) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TEdit) SetColor

func (e *TEdit) SetColor(value TColor)

设置颜色。

Set color.

func (*TEdit) SetComponentIndex

func (e *TEdit) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TEdit) SetConstraints

func (e *TEdit) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TEdit) SetControlState

func (e *TEdit) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TEdit) SetControlStyle

func (e *TEdit) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TEdit) SetCursor

func (e *TEdit) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TEdit) SetDockSite

func (e *TEdit) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TEdit) SetDoubleBuffered

func (e *TEdit) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TEdit) SetDragCursor

func (e *TEdit) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TEdit) SetDragKind

func (e *TEdit) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TEdit) SetDragMode

func (e *TEdit) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TEdit) SetEnabled

func (e *TEdit) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TEdit) SetFocus

func (e *TEdit) SetFocus()

设置控件焦点。

Set control focus.

func (*TEdit) SetFont

func (e *TEdit) SetFont(value *TFont)

设置字体。

Set Font.

func (*TEdit) SetHeight

func (e *TEdit) SetHeight(value int32)

设置高度。

Set height.

func (*TEdit) SetHideSelection

func (e *TEdit) SetHideSelection(value bool)

设置隐藏选择。

func (*TEdit) SetHint

func (e *TEdit) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TEdit) SetLeft

func (e *TEdit) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TEdit) SetMaxLength

func (e *TEdit) SetMaxLength(value int32)

设置最大长度。

func (*TEdit) SetModified

func (e *TEdit) SetModified(value bool)

设置修改。

Set modified.

func (*TEdit) SetName

func (e *TEdit) SetName(value string)

设置组件名称。

Set the component name.

func (*TEdit) SetNumbersOnly

func (e *TEdit) SetNumbersOnly(value bool)

设置只能输入数字。

func (*TEdit) SetOnChange

func (e *TEdit) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TEdit) SetOnClick

func (e *TEdit) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TEdit) SetOnContextPopup

func (e *TEdit) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TEdit) SetOnDblClick

func (e *TEdit) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TEdit) SetOnDragDrop

func (e *TEdit) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TEdit) SetOnDragOver

func (e *TEdit) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TEdit) SetOnEndDrag

func (e *TEdit) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TEdit) SetOnEnter

func (e *TEdit) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TEdit) SetOnExit

func (e *TEdit) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TEdit) SetOnKeyDown

func (e *TEdit) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TEdit) SetOnKeyPress

func (e *TEdit) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TEdit) SetOnKeyUp

func (e *TEdit) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TEdit) SetOnMouseDown

func (e *TEdit) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TEdit) SetOnMouseEnter

func (e *TEdit) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TEdit) SetOnMouseLeave

func (e *TEdit) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TEdit) SetOnMouseMove

func (e *TEdit) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TEdit) SetOnMouseUp

func (e *TEdit) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TEdit) SetParent

func (e *TEdit) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TEdit) SetParentColor

func (e *TEdit) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TEdit) SetParentDoubleBuffered

func (e *TEdit) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TEdit) SetParentFont

func (e *TEdit) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TEdit) SetParentShowHint

func (e *TEdit) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TEdit) SetParentWindow

func (e *TEdit) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TEdit) SetPasswordChar

func (e *TEdit) SetPasswordChar(value uint16)

设置密码掩码字符。

func (*TEdit) SetPopupMenu

func (e *TEdit) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TEdit) SetReadOnly

func (e *TEdit) SetReadOnly(value bool)

设置只读。

func (*TEdit) SetSelLength

func (e *TEdit) SetSelLength(value int32)

设置选择的长度。

func (*TEdit) SetSelStart

func (e *TEdit) SetSelStart(value int32)

设置选择的启始位置。

func (*TEdit) SetSelText

func (e *TEdit) SetSelText(value string)

设置选择的文本。

func (*TEdit) SetShowHint

func (e *TEdit) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TEdit) SetTabOrder

func (e *TEdit) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TEdit) SetTabStop

func (e *TEdit) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TEdit) SetTag

func (e *TEdit) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TEdit) SetText

func (e *TEdit) SetText(value string)

设置文本。

func (*TEdit) SetTextBuf

func (e *TEdit) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TEdit) SetTextHint

func (e *TEdit) SetTextHint(value string)

设置提示文本。

func (*TEdit) SetTop

func (e *TEdit) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TEdit) SetUseDockManager

func (e *TEdit) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TEdit) SetVisible

func (e *TEdit) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TEdit) SetWidth

func (e *TEdit) SetWidth(value int32)

设置宽度。

Set width.

func (*TEdit) Show

func (e *TEdit) Show()

显示控件。

Show control.

func (*TEdit) ShowHint

func (e *TEdit) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TEdit) Showing

func (e *TEdit) Showing() bool

func (*TEdit) TabOrder

func (e *TEdit) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TEdit) TabStop

func (e *TEdit) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TEdit) Tag

func (e *TEdit) Tag() int

获取对象标记。

Get the control tag.

func (*TEdit) Text

func (e *TEdit) Text() string

获取文本。

func (*TEdit) TextHint

func (e *TEdit) TextHint() string

获取提示文本。

func (*TEdit) ToString

func (e *TEdit) ToString() string

文本类信息。

Text information.

func (*TEdit) Top

func (e *TEdit) Top() int32

获取顶边位置。

Get Top position.

func (*TEdit) Undo

func (e *TEdit) Undo()

撤销上一次操作。

func (*TEdit) UnsafeAddr

func (e *TEdit) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TEdit) Update

func (e *TEdit) Update()

控件更新。

Update.

func (*TEdit) UseDockManager

func (e *TEdit) UseDockManager() bool

获取使用停靠管理。

func (*TEdit) Visible

func (e *TEdit) Visible() bool

获取控件可视。

Get the control visible.

func (*TEdit) VisibleDockClientCount

func (e *TEdit) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TEdit) Width

func (e *TEdit) Width() int32

获取宽度。

Get width.

type TEndDragEvent

type TEndDragEvent func(sender, target IObject, x, y int32)

TEndDragEvent = procedure(Sender, Target: TObject; X, Y: Integer) of object;

type TExceptionEvent

type TExceptionEvent func(sender IObject, e *Exception)

TExceptionEvent TApplication

type TExtEventCallback

type TExtEventCallback func(fn interface{}, getVal func(idx int) uintptr) bool

外部回调事件 参数一:函数地址 参数二:获取参数值的函数 返回值:如果为true则终止事件传递,如果为false则继续向后转发事件。

type TFindDialog

type TFindDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsFindDialog

func AsFindDialog(obj interface{}) *TFindDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func FindDialogFromInst

func FindDialogFromInst(inst uintptr) *TFindDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsFindDialog.

func FindDialogFromObj

func FindDialogFromObj(obj IObject) *TFindDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsFindDialog.

func FindDialogFromUnsafePointer

func FindDialogFromUnsafePointer(ptr unsafe.Pointer) *TFindDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsFindDialog.

func NewFindDialog

func NewFindDialog(owner IComponent) *TFindDialog

创建一个新的对象。

Create a new object.

func (*TFindDialog) Assign

func (f *TFindDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TFindDialog) ClassName

func (f *TFindDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TFindDialog) ClassType

func (f *TFindDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TFindDialog) CloseDialog

func (f *TFindDialog) CloseDialog()

func (*TFindDialog) ComponentCount

func (f *TFindDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TFindDialog) ComponentIndex

func (f *TFindDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TFindDialog) Components

func (f *TFindDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TFindDialog) Equals

func (f *TFindDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TFindDialog) Execute

func (f *TFindDialog) Execute() bool

执行。

func (*TFindDialog) FindComponent

func (f *TFindDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TFindDialog) FindText

func (f *TFindDialog) FindText() string

func (*TFindDialog) Free

func (f *TFindDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TFindDialog) GetHashCode

func (f *TFindDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TFindDialog) GetNamePath

func (f *TFindDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TFindDialog) Handle

func (f *TFindDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TFindDialog) HasParent

func (f *TFindDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TFindDialog) InheritsFrom

func (f *TFindDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFindDialog) Instance

func (f *TFindDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TFindDialog) InstanceSize

func (f *TFindDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TFindDialog) Is

func (f *TFindDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFindDialog) IsValid

func (f *TFindDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TFindDialog) Left

func (f *TFindDialog) Left() int32

获取左边位置。

Get Left position.

func (*TFindDialog) Name

func (f *TFindDialog) Name() string

获取组件名称。

Get the component name.

func (*TFindDialog) Options

func (f *TFindDialog) Options() TFindOptions

func (*TFindDialog) Owner

func (f *TFindDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TFindDialog) Position

func (f *TFindDialog) Position() TPoint

func (*TFindDialog) SetComponentIndex

func (f *TFindDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TFindDialog) SetFindText

func (f *TFindDialog) SetFindText(value string)

func (*TFindDialog) SetLeft

func (f *TFindDialog) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TFindDialog) SetName

func (f *TFindDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TFindDialog) SetOnClose

func (f *TFindDialog) SetOnClose(fn TNotifyEvent)

func (*TFindDialog) SetOnFind

func (f *TFindDialog) SetOnFind(fn TNotifyEvent)

func (*TFindDialog) SetOnShow

func (f *TFindDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TFindDialog) SetOptions

func (f *TFindDialog) SetOptions(value TFindOptions)

func (*TFindDialog) SetPosition

func (f *TFindDialog) SetPosition(value TPoint)

func (*TFindDialog) SetTag

func (f *TFindDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TFindDialog) SetTop

func (f *TFindDialog) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TFindDialog) Tag

func (f *TFindDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TFindDialog) ToString

func (f *TFindDialog) ToString() string

文本类信息。

Text information.

func (*TFindDialog) Top

func (f *TFindDialog) Top() int32

获取顶边位置。

Get Top position.

func (*TFindDialog) UnsafeAddr

func (f *TFindDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TFixedCellClickEvent

type TFixedCellClickEvent func(sender IObject, aCol, aRow int32)

TFixedCellClickEvent = procedure (Sender: TObject; ACol, ARow: Longint) of object;

type TFloatSpinEdit

type TFloatSpinEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsFloatSpinEdit

func AsFloatSpinEdit(obj interface{}) *TFloatSpinEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func FloatSpinEditFromInst

func FloatSpinEditFromInst(inst uintptr) *TFloatSpinEdit

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsFloatSpinEdit.

func FloatSpinEditFromObj

func FloatSpinEditFromObj(obj IObject) *TFloatSpinEdit

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsFloatSpinEdit.

func FloatSpinEditFromUnsafePointer

func FloatSpinEditFromUnsafePointer(ptr unsafe.Pointer) *TFloatSpinEdit

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsFloatSpinEdit.

func NewFloatSpinEdit

func NewFloatSpinEdit(owner IComponent) *TFloatSpinEdit

创建一个新的对象。

Create a new object.

func (*TFloatSpinEdit) Action

func (f *TFloatSpinEdit) Action() *TAction

func (*TFloatSpinEdit) Align

func (f *TFloatSpinEdit) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TFloatSpinEdit) Alignment

func (f *TFloatSpinEdit) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TFloatSpinEdit) AnchorAsAlign

func (f *TFloatSpinEdit) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TFloatSpinEdit) AnchorClient

func (f *TFloatSpinEdit) AnchorClient(ASpace int32)

func (*TFloatSpinEdit) AnchorHorizontalCenterTo

func (f *TFloatSpinEdit) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TFloatSpinEdit) AnchorParallel

func (f *TFloatSpinEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFloatSpinEdit) AnchorSame

func (f *TFloatSpinEdit) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TFloatSpinEdit) AnchorSide

func (f *TFloatSpinEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TFloatSpinEdit) AnchorSideBottom

func (f *TFloatSpinEdit) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TFloatSpinEdit) AnchorSideLeft

func (f *TFloatSpinEdit) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TFloatSpinEdit) AnchorSideRight

func (f *TFloatSpinEdit) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TFloatSpinEdit) AnchorSideTop

func (f *TFloatSpinEdit) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TFloatSpinEdit) AnchorToNeighbour

func (f *TFloatSpinEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFloatSpinEdit) AnchorVerticalCenterTo

func (f *TFloatSpinEdit) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TFloatSpinEdit) Anchors

func (f *TFloatSpinEdit) Anchors() TAnchors

获取四个角位置的锚点。

func (*TFloatSpinEdit) Assign

func (f *TFloatSpinEdit) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TFloatSpinEdit) AutoAdjustLayout

func (f *TFloatSpinEdit) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TFloatSpinEdit) AutoSelect

func (f *TFloatSpinEdit) AutoSelect() bool

获取自动选择。

func (*TFloatSpinEdit) AutoSelected

func (f *TFloatSpinEdit) AutoSelected() bool

func (*TFloatSpinEdit) AutoSize

func (f *TFloatSpinEdit) AutoSize() bool

获取自动调整大小。

func (*TFloatSpinEdit) BiDiMode

func (f *TFloatSpinEdit) BiDiMode() TBiDiMode

func (*TFloatSpinEdit) BorderSpacing

func (f *TFloatSpinEdit) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TFloatSpinEdit) BoundsRect

func (f *TFloatSpinEdit) BoundsRect() TRect

func (*TFloatSpinEdit) BringToFront

func (f *TFloatSpinEdit) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TFloatSpinEdit) Brush

func (f *TFloatSpinEdit) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TFloatSpinEdit) CanFocus

func (f *TFloatSpinEdit) CanFocus() bool

是否可以获得焦点。

func (*TFloatSpinEdit) CanUndo

func (f *TFloatSpinEdit) CanUndo() bool

获取能否撤销。

func (*TFloatSpinEdit) ChildSizing

func (f *TFloatSpinEdit) ChildSizing() *TControlChildSizing

func (*TFloatSpinEdit) ClassName

func (f *TFloatSpinEdit) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TFloatSpinEdit) ClassType

func (f *TFloatSpinEdit) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TFloatSpinEdit) Clear

func (f *TFloatSpinEdit) Clear()

清除。

func (*TFloatSpinEdit) ClearSelection

func (f *TFloatSpinEdit) ClearSelection()

清除选择。

func (*TFloatSpinEdit) ClientHeight

func (f *TFloatSpinEdit) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TFloatSpinEdit) ClientOrigin

func (f *TFloatSpinEdit) ClientOrigin() TPoint

func (*TFloatSpinEdit) ClientRect

func (f *TFloatSpinEdit) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TFloatSpinEdit) ClientToParent

func (f *TFloatSpinEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TFloatSpinEdit) ClientToScreen

func (f *TFloatSpinEdit) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TFloatSpinEdit) ClientWidth

func (f *TFloatSpinEdit) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TFloatSpinEdit) Color

func (f *TFloatSpinEdit) Color() TColor

获取颜色。

Get color.

func (*TFloatSpinEdit) ComponentCount

func (f *TFloatSpinEdit) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TFloatSpinEdit) ComponentIndex

func (f *TFloatSpinEdit) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TFloatSpinEdit) Components

func (f *TFloatSpinEdit) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TFloatSpinEdit) Constraints

func (f *TFloatSpinEdit) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TFloatSpinEdit) ContainsControl

func (f *TFloatSpinEdit) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TFloatSpinEdit) ControlAtPos

func (f *TFloatSpinEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TFloatSpinEdit) ControlCount

func (f *TFloatSpinEdit) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TFloatSpinEdit) ControlState

func (f *TFloatSpinEdit) ControlState() TControlState

获取控件状态。

Get control state.

func (*TFloatSpinEdit) ControlStyle

func (f *TFloatSpinEdit) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TFloatSpinEdit) Controls

func (f *TFloatSpinEdit) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TFloatSpinEdit) CopyToClipboard

func (f *TFloatSpinEdit) CopyToClipboard()

复制到粘贴板。

func (*TFloatSpinEdit) Cursor

func (f *TFloatSpinEdit) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TFloatSpinEdit) CutToClipboard

func (f *TFloatSpinEdit) CutToClipboard()

剪切到粘贴板。

func (*TFloatSpinEdit) DisableAlign

func (f *TFloatSpinEdit) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TFloatSpinEdit) DockClientCount

func (f *TFloatSpinEdit) DockClientCount() int32

获取依靠客户端总数。

func (*TFloatSpinEdit) DockClients

func (f *TFloatSpinEdit) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TFloatSpinEdit) DockSite

func (f *TFloatSpinEdit) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TFloatSpinEdit) DoubleBuffered

func (f *TFloatSpinEdit) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TFloatSpinEdit) Dragging

func (f *TFloatSpinEdit) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TFloatSpinEdit) EnableAlign

func (f *TFloatSpinEdit) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TFloatSpinEdit) Enabled

func (f *TFloatSpinEdit) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TFloatSpinEdit) Equals

func (f *TFloatSpinEdit) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TFloatSpinEdit) FindChildControl

func (f *TFloatSpinEdit) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TFloatSpinEdit) FindComponent

func (f *TFloatSpinEdit) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TFloatSpinEdit) FixDesignFontsPPI

func (f *TFloatSpinEdit) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TFloatSpinEdit) FlipChildren

func (f *TFloatSpinEdit) FlipChildren(AllLevels bool)

func (*TFloatSpinEdit) Floating

func (f *TFloatSpinEdit) Floating() bool

func (*TFloatSpinEdit) Focused

func (f *TFloatSpinEdit) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TFloatSpinEdit) Font

func (f *TFloatSpinEdit) Font() *TFont

获取字体。

Get Font.

func (*TFloatSpinEdit) Free

func (f *TFloatSpinEdit) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TFloatSpinEdit) GetHashCode

func (f *TFloatSpinEdit) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TFloatSpinEdit) GetNamePath

func (f *TFloatSpinEdit) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TFloatSpinEdit) GetTextBuf

func (f *TFloatSpinEdit) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TFloatSpinEdit) GetTextLen

func (f *TFloatSpinEdit) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TFloatSpinEdit) Handle

func (f *TFloatSpinEdit) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TFloatSpinEdit) HandleAllocated

func (f *TFloatSpinEdit) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TFloatSpinEdit) HasParent

func (f *TFloatSpinEdit) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TFloatSpinEdit) Height

func (f *TFloatSpinEdit) Height() int32

获取高度。

Get height.

func (*TFloatSpinEdit) Hide

func (f *TFloatSpinEdit) Hide()

隐藏控件。

Hidden control.

func (*TFloatSpinEdit) Hint

func (f *TFloatSpinEdit) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TFloatSpinEdit) Increment

func (f *TFloatSpinEdit) Increment() float64

func (*TFloatSpinEdit) InheritsFrom

func (f *TFloatSpinEdit) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFloatSpinEdit) InsertControl

func (f *TFloatSpinEdit) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TFloatSpinEdit) Instance

func (f *TFloatSpinEdit) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TFloatSpinEdit) InstanceSize

func (f *TFloatSpinEdit) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TFloatSpinEdit) Invalidate

func (f *TFloatSpinEdit) Invalidate()

要求重绘。

Redraw.

func (*TFloatSpinEdit) Is

func (f *TFloatSpinEdit) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFloatSpinEdit) IsValid

func (f *TFloatSpinEdit) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TFloatSpinEdit) Left

func (f *TFloatSpinEdit) Left() int32

获取左边位置。

Get Left position.

func (*TFloatSpinEdit) MaxValue

func (f *TFloatSpinEdit) MaxValue() float64

func (*TFloatSpinEdit) MinValue

func (f *TFloatSpinEdit) MinValue() float64

func (*TFloatSpinEdit) Modified

func (f *TFloatSpinEdit) Modified() bool

获取修改。

Get modified.

func (*TFloatSpinEdit) MouseInClient

func (f *TFloatSpinEdit) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TFloatSpinEdit) Name

func (f *TFloatSpinEdit) Name() string

获取组件名称。

Get the component name.

func (*TFloatSpinEdit) Owner

func (f *TFloatSpinEdit) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TFloatSpinEdit) PaintTo

func (f *TFloatSpinEdit) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TFloatSpinEdit) Parent

func (f *TFloatSpinEdit) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TFloatSpinEdit) ParentColor

func (f *TFloatSpinEdit) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TFloatSpinEdit) ParentDoubleBuffered

func (f *TFloatSpinEdit) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TFloatSpinEdit) ParentFont

func (f *TFloatSpinEdit) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TFloatSpinEdit) ParentShowHint

func (f *TFloatSpinEdit) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TFloatSpinEdit) ParentToClient

func (f *TFloatSpinEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TFloatSpinEdit) ParentWindow

func (f *TFloatSpinEdit) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TFloatSpinEdit) PasteFromClipboard

func (f *TFloatSpinEdit) PasteFromClipboard()

从剪切板粘贴。

func (*TFloatSpinEdit) Perform

func (f *TFloatSpinEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TFloatSpinEdit) PopupMenu

func (f *TFloatSpinEdit) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TFloatSpinEdit) ReadOnly

func (f *TFloatSpinEdit) ReadOnly() bool

获取只读。

func (*TFloatSpinEdit) Realign

func (f *TFloatSpinEdit) Realign()

重新对齐。

Realign.

func (*TFloatSpinEdit) Refresh

func (f *TFloatSpinEdit) Refresh()

刷新控件。

Refresh control.

func (*TFloatSpinEdit) RemoveControl

func (f *TFloatSpinEdit) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TFloatSpinEdit) Repaint

func (f *TFloatSpinEdit) Repaint()

重绘。

Repaint.

func (*TFloatSpinEdit) Scale96ToFont

func (f *TFloatSpinEdit) Scale96ToFont(ASize int32) int32

func (*TFloatSpinEdit) Scale96ToForm

func (f *TFloatSpinEdit) Scale96ToForm(ASize int32) int32

func (*TFloatSpinEdit) Scale96ToScreen

func (f *TFloatSpinEdit) Scale96ToScreen(ASize int32) int32

func (*TFloatSpinEdit) ScaleBy

func (f *TFloatSpinEdit) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TFloatSpinEdit) ScaleDesignToForm

func (f *TFloatSpinEdit) ScaleDesignToForm(ASize int32) int32

func (*TFloatSpinEdit) ScaleFontTo96

func (f *TFloatSpinEdit) ScaleFontTo96(ASize int32) int32

func (*TFloatSpinEdit) ScaleFontToScreen

func (f *TFloatSpinEdit) ScaleFontToScreen(ASize int32) int32

func (*TFloatSpinEdit) ScaleFontsPPI

func (f *TFloatSpinEdit) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TFloatSpinEdit) ScaleFormTo96

func (f *TFloatSpinEdit) ScaleFormTo96(ASize int32) int32

func (*TFloatSpinEdit) ScaleFormToDesign

func (f *TFloatSpinEdit) ScaleFormToDesign(ASize int32) int32

func (*TFloatSpinEdit) ScaleScreenTo96

func (f *TFloatSpinEdit) ScaleScreenTo96(ASize int32) int32

func (*TFloatSpinEdit) ScaleScreenToFont

func (f *TFloatSpinEdit) ScaleScreenToFont(ASize int32) int32

func (*TFloatSpinEdit) ScreenToClient

func (f *TFloatSpinEdit) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TFloatSpinEdit) ScrollBy

func (f *TFloatSpinEdit) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TFloatSpinEdit) SelLength

func (f *TFloatSpinEdit) SelLength() int32

获取选择的长度。

func (*TFloatSpinEdit) SelStart

func (f *TFloatSpinEdit) SelStart() int32

获取选择的启始位置。

func (*TFloatSpinEdit) SelText

func (f *TFloatSpinEdit) SelText() string

获取选择的文本。

func (*TFloatSpinEdit) SelectAll

func (f *TFloatSpinEdit) SelectAll()

全选。

func (*TFloatSpinEdit) SendToBack

func (f *TFloatSpinEdit) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TFloatSpinEdit) SetAction

func (f *TFloatSpinEdit) SetAction(value IComponent)

func (*TFloatSpinEdit) SetAlign

func (f *TFloatSpinEdit) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TFloatSpinEdit) SetAlignment

func (f *TFloatSpinEdit) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TFloatSpinEdit) SetAnchorSideBottom

func (f *TFloatSpinEdit) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TFloatSpinEdit) SetAnchorSideLeft

func (f *TFloatSpinEdit) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TFloatSpinEdit) SetAnchorSideRight

func (f *TFloatSpinEdit) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TFloatSpinEdit) SetAnchorSideTop

func (f *TFloatSpinEdit) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TFloatSpinEdit) SetAnchors

func (f *TFloatSpinEdit) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TFloatSpinEdit) SetAutoSelect

func (f *TFloatSpinEdit) SetAutoSelect(value bool)

设置自动选择。

func (*TFloatSpinEdit) SetAutoSelected

func (f *TFloatSpinEdit) SetAutoSelected(value bool)

func (*TFloatSpinEdit) SetAutoSize

func (f *TFloatSpinEdit) SetAutoSize(value bool)

设置自动调整大小。

func (*TFloatSpinEdit) SetBiDiMode

func (f *TFloatSpinEdit) SetBiDiMode(value TBiDiMode)

func (*TFloatSpinEdit) SetBorderSpacing

func (f *TFloatSpinEdit) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TFloatSpinEdit) SetBounds

func (f *TFloatSpinEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TFloatSpinEdit) SetBoundsRect

func (f *TFloatSpinEdit) SetBoundsRect(value TRect)

func (*TFloatSpinEdit) SetChildSizing

func (f *TFloatSpinEdit) SetChildSizing(value *TControlChildSizing)

func (*TFloatSpinEdit) SetClientHeight

func (f *TFloatSpinEdit) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TFloatSpinEdit) SetClientWidth

func (f *TFloatSpinEdit) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TFloatSpinEdit) SetColor

func (f *TFloatSpinEdit) SetColor(value TColor)

设置颜色。

Set color.

func (*TFloatSpinEdit) SetComponentIndex

func (f *TFloatSpinEdit) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TFloatSpinEdit) SetConstraints

func (f *TFloatSpinEdit) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TFloatSpinEdit) SetControlState

func (f *TFloatSpinEdit) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TFloatSpinEdit) SetControlStyle

func (f *TFloatSpinEdit) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TFloatSpinEdit) SetCursor

func (f *TFloatSpinEdit) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TFloatSpinEdit) SetDockSite

func (f *TFloatSpinEdit) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TFloatSpinEdit) SetDoubleBuffered

func (f *TFloatSpinEdit) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TFloatSpinEdit) SetEnabled

func (f *TFloatSpinEdit) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TFloatSpinEdit) SetFocus

func (f *TFloatSpinEdit) SetFocus()

设置控件焦点。

Set control focus.

func (*TFloatSpinEdit) SetFont

func (f *TFloatSpinEdit) SetFont(value *TFont)

设置字体。

Set Font.

func (*TFloatSpinEdit) SetHeight

func (f *TFloatSpinEdit) SetHeight(value int32)

设置高度。

Set height.

func (*TFloatSpinEdit) SetHint

func (f *TFloatSpinEdit) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TFloatSpinEdit) SetIncrement

func (f *TFloatSpinEdit) SetIncrement(value float64)

func (*TFloatSpinEdit) SetLeft

func (f *TFloatSpinEdit) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TFloatSpinEdit) SetMaxValue

func (f *TFloatSpinEdit) SetMaxValue(value float64)

func (*TFloatSpinEdit) SetMinValue

func (f *TFloatSpinEdit) SetMinValue(value float64)

func (*TFloatSpinEdit) SetModified

func (f *TFloatSpinEdit) SetModified(value bool)

设置修改。

Set modified.

func (*TFloatSpinEdit) SetName

func (f *TFloatSpinEdit) SetName(value string)

设置组件名称。

Set the component name.

func (*TFloatSpinEdit) SetOnChange

func (f *TFloatSpinEdit) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TFloatSpinEdit) SetOnClick

func (f *TFloatSpinEdit) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TFloatSpinEdit) SetOnEnter

func (f *TFloatSpinEdit) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TFloatSpinEdit) SetOnExit

func (f *TFloatSpinEdit) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TFloatSpinEdit) SetOnKeyDown

func (f *TFloatSpinEdit) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TFloatSpinEdit) SetOnKeyPress

func (f *TFloatSpinEdit) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TFloatSpinEdit) SetOnKeyUp

func (f *TFloatSpinEdit) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TFloatSpinEdit) SetOnMouseDown

func (f *TFloatSpinEdit) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TFloatSpinEdit) SetOnMouseEnter

func (f *TFloatSpinEdit) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TFloatSpinEdit) SetOnMouseLeave

func (f *TFloatSpinEdit) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TFloatSpinEdit) SetOnMouseMove

func (f *TFloatSpinEdit) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TFloatSpinEdit) SetOnMouseUp

func (f *TFloatSpinEdit) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TFloatSpinEdit) SetOnMouseWheel

func (f *TFloatSpinEdit) SetOnMouseWheel(fn TMouseWheelEvent)

设置鼠标滚轮事件。

func (*TFloatSpinEdit) SetOnMouseWheelDown

func (f *TFloatSpinEdit) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TFloatSpinEdit) SetOnMouseWheelUp

func (f *TFloatSpinEdit) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TFloatSpinEdit) SetOnResize

func (f *TFloatSpinEdit) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TFloatSpinEdit) SetParent

func (f *TFloatSpinEdit) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TFloatSpinEdit) SetParentColor

func (f *TFloatSpinEdit) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TFloatSpinEdit) SetParentDoubleBuffered

func (f *TFloatSpinEdit) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TFloatSpinEdit) SetParentFont

func (f *TFloatSpinEdit) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TFloatSpinEdit) SetParentShowHint

func (f *TFloatSpinEdit) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TFloatSpinEdit) SetParentWindow

func (f *TFloatSpinEdit) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TFloatSpinEdit) SetPopupMenu

func (f *TFloatSpinEdit) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TFloatSpinEdit) SetReadOnly

func (f *TFloatSpinEdit) SetReadOnly(value bool)

设置只读。

func (*TFloatSpinEdit) SetSelLength

func (f *TFloatSpinEdit) SetSelLength(value int32)

设置选择的长度。

func (*TFloatSpinEdit) SetSelStart

func (f *TFloatSpinEdit) SetSelStart(value int32)

设置选择的启始位置。

func (*TFloatSpinEdit) SetSelText

func (f *TFloatSpinEdit) SetSelText(value string)

设置选择的文本。

func (*TFloatSpinEdit) SetShowHint

func (f *TFloatSpinEdit) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TFloatSpinEdit) SetTabOrder

func (f *TFloatSpinEdit) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TFloatSpinEdit) SetTabStop

func (f *TFloatSpinEdit) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TFloatSpinEdit) SetTag

func (f *TFloatSpinEdit) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TFloatSpinEdit) SetText

func (f *TFloatSpinEdit) SetText(value string)

设置文本。

func (*TFloatSpinEdit) SetTextBuf

func (f *TFloatSpinEdit) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TFloatSpinEdit) SetTextHint

func (f *TFloatSpinEdit) SetTextHint(value string)

设置提示文本。

func (*TFloatSpinEdit) SetTop

func (f *TFloatSpinEdit) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TFloatSpinEdit) SetUseDockManager

func (f *TFloatSpinEdit) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TFloatSpinEdit) SetValue

func (f *TFloatSpinEdit) SetValue(value float64)

func (*TFloatSpinEdit) SetVisible

func (f *TFloatSpinEdit) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TFloatSpinEdit) SetWidth

func (f *TFloatSpinEdit) SetWidth(value int32)

设置宽度。

Set width.

func (*TFloatSpinEdit) Show

func (f *TFloatSpinEdit) Show()

显示控件。

Show control.

func (*TFloatSpinEdit) ShowHint

func (f *TFloatSpinEdit) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TFloatSpinEdit) Showing

func (f *TFloatSpinEdit) Showing() bool

func (*TFloatSpinEdit) TabOrder

func (f *TFloatSpinEdit) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TFloatSpinEdit) TabStop

func (f *TFloatSpinEdit) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TFloatSpinEdit) Tag

func (f *TFloatSpinEdit) Tag() int

获取对象标记。

Get the control tag.

func (*TFloatSpinEdit) Text

func (f *TFloatSpinEdit) Text() string

获取文本。

func (*TFloatSpinEdit) TextHint

func (f *TFloatSpinEdit) TextHint() string

获取提示文本。

func (*TFloatSpinEdit) ToString

func (f *TFloatSpinEdit) ToString() string

文本类信息。

Text information.

func (*TFloatSpinEdit) Top

func (f *TFloatSpinEdit) Top() int32

获取顶边位置。

Get Top position.

func (*TFloatSpinEdit) Undo

func (f *TFloatSpinEdit) Undo()

撤销上一次操作。

func (*TFloatSpinEdit) UnsafeAddr

func (f *TFloatSpinEdit) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TFloatSpinEdit) Update

func (f *TFloatSpinEdit) Update()

控件更新。

Update.

func (*TFloatSpinEdit) UseDockManager

func (f *TFloatSpinEdit) UseDockManager() bool

获取使用停靠管理。

func (*TFloatSpinEdit) Value

func (f *TFloatSpinEdit) Value() float64

func (*TFloatSpinEdit) Visible

func (f *TFloatSpinEdit) Visible() bool

获取控件可视。

Get the control visible.

func (*TFloatSpinEdit) VisibleDockClientCount

func (f *TFloatSpinEdit) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TFloatSpinEdit) Width

func (f *TFloatSpinEdit) Width() int32

获取宽度。

Get width.

type TFlowPanel

type TFlowPanel struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsFlowPanel

func AsFlowPanel(obj interface{}) *TFlowPanel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func FlowPanelFromInst

func FlowPanelFromInst(inst uintptr) *TFlowPanel

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsFlowPanel.

func FlowPanelFromObj

func FlowPanelFromObj(obj IObject) *TFlowPanel

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsFlowPanel.

func FlowPanelFromUnsafePointer

func FlowPanelFromUnsafePointer(ptr unsafe.Pointer) *TFlowPanel

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsFlowPanel.

func NewFlowPanel

func NewFlowPanel(owner IComponent) *TFlowPanel

创建一个新的对象。

Create a new object.

func (*TFlowPanel) Action

func (f *TFlowPanel) Action() *TAction

func (*TFlowPanel) Align

func (f *TFlowPanel) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TFlowPanel) Alignment

func (f *TFlowPanel) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TFlowPanel) AnchorAsAlign

func (f *TFlowPanel) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TFlowPanel) AnchorClient

func (f *TFlowPanel) AnchorClient(ASpace int32)

func (*TFlowPanel) AnchorHorizontalCenterTo

func (f *TFlowPanel) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TFlowPanel) AnchorParallel

func (f *TFlowPanel) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFlowPanel) AnchorSame

func (f *TFlowPanel) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TFlowPanel) AnchorSide

func (f *TFlowPanel) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TFlowPanel) AnchorSideBottom

func (f *TFlowPanel) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TFlowPanel) AnchorSideLeft

func (f *TFlowPanel) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TFlowPanel) AnchorSideRight

func (f *TFlowPanel) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TFlowPanel) AnchorSideTop

func (f *TFlowPanel) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TFlowPanel) AnchorToNeighbour

func (f *TFlowPanel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFlowPanel) AnchorVerticalCenterTo

func (f *TFlowPanel) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TFlowPanel) Anchors

func (f *TFlowPanel) Anchors() TAnchors

获取四个角位置的锚点。

func (*TFlowPanel) Assign

func (f *TFlowPanel) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TFlowPanel) AutoAdjustLayout

func (f *TFlowPanel) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TFlowPanel) AutoSize

func (f *TFlowPanel) AutoSize() bool

获取自动调整大小。

func (*TFlowPanel) AutoWrap

func (f *TFlowPanel) AutoWrap() bool

func (*TFlowPanel) BiDiMode

func (f *TFlowPanel) BiDiMode() TBiDiMode

func (*TFlowPanel) BorderSpacing

func (f *TFlowPanel) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TFlowPanel) BorderStyle

func (f *TFlowPanel) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TFlowPanel) BorderWidth

func (f *TFlowPanel) BorderWidth() int32

获取边框的宽度。

func (*TFlowPanel) BoundsRect

func (f *TFlowPanel) BoundsRect() TRect

func (*TFlowPanel) BringToFront

func (f *TFlowPanel) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TFlowPanel) Brush

func (f *TFlowPanel) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TFlowPanel) CanFocus

func (f *TFlowPanel) CanFocus() bool

是否可以获得焦点。

func (*TFlowPanel) Caption

func (f *TFlowPanel) Caption() string

获取控件标题。

Get the control title.

func (*TFlowPanel) ChildSizing

func (f *TFlowPanel) ChildSizing() *TControlChildSizing

func (*TFlowPanel) ClassName

func (f *TFlowPanel) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TFlowPanel) ClassType

func (f *TFlowPanel) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TFlowPanel) ClientHeight

func (f *TFlowPanel) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TFlowPanel) ClientOrigin

func (f *TFlowPanel) ClientOrigin() TPoint

func (*TFlowPanel) ClientRect

func (f *TFlowPanel) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TFlowPanel) ClientToParent

func (f *TFlowPanel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TFlowPanel) ClientToScreen

func (f *TFlowPanel) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TFlowPanel) ClientWidth

func (f *TFlowPanel) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TFlowPanel) Color

func (f *TFlowPanel) Color() TColor

获取颜色。

Get color.

func (*TFlowPanel) ComponentCount

func (f *TFlowPanel) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TFlowPanel) ComponentIndex

func (f *TFlowPanel) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TFlowPanel) Components

func (f *TFlowPanel) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TFlowPanel) Constraints

func (f *TFlowPanel) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TFlowPanel) ContainsControl

func (f *TFlowPanel) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TFlowPanel) ControlAtPos

func (f *TFlowPanel) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TFlowPanel) ControlCount

func (f *TFlowPanel) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TFlowPanel) ControlState

func (f *TFlowPanel) ControlState() TControlState

获取控件状态。

Get control state.

func (*TFlowPanel) ControlStyle

func (f *TFlowPanel) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TFlowPanel) Controls

func (f *TFlowPanel) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TFlowPanel) Cursor

func (f *TFlowPanel) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TFlowPanel) DisableAlign

func (f *TFlowPanel) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TFlowPanel) DockClientCount

func (f *TFlowPanel) DockClientCount() int32

获取依靠客户端总数。

func (*TFlowPanel) DockClients

func (f *TFlowPanel) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TFlowPanel) DockSite

func (f *TFlowPanel) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TFlowPanel) DoubleBuffered

func (f *TFlowPanel) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TFlowPanel) DragCursor

func (f *TFlowPanel) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TFlowPanel) DragKind

func (f *TFlowPanel) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TFlowPanel) DragMode

func (f *TFlowPanel) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TFlowPanel) Dragging

func (f *TFlowPanel) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TFlowPanel) EnableAlign

func (f *TFlowPanel) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TFlowPanel) Enabled

func (f *TFlowPanel) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TFlowPanel) Equals

func (f *TFlowPanel) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TFlowPanel) FindChildControl

func (f *TFlowPanel) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TFlowPanel) FindComponent

func (f *TFlowPanel) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TFlowPanel) FixDesignFontsPPI

func (f *TFlowPanel) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TFlowPanel) FlipChildren

func (f *TFlowPanel) FlipChildren(AllLevels bool)

func (*TFlowPanel) Floating

func (f *TFlowPanel) Floating() bool

func (*TFlowPanel) FlowStyle

func (f *TFlowPanel) FlowStyle() TFlowStyle

func (*TFlowPanel) Focused

func (f *TFlowPanel) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TFlowPanel) Font

func (f *TFlowPanel) Font() *TFont

获取字体。

Get Font.

func (*TFlowPanel) Free

func (f *TFlowPanel) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TFlowPanel) FullRepaint

func (f *TFlowPanel) FullRepaint() bool

func (*TFlowPanel) GetControlIndex

func (f *TFlowPanel) GetControlIndex(AControl IControl) int32

func (*TFlowPanel) GetHashCode

func (f *TFlowPanel) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TFlowPanel) GetNamePath

func (f *TFlowPanel) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TFlowPanel) GetTextBuf

func (f *TFlowPanel) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TFlowPanel) GetTextLen

func (f *TFlowPanel) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TFlowPanel) Handle

func (f *TFlowPanel) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TFlowPanel) HandleAllocated

func (f *TFlowPanel) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TFlowPanel) HasParent

func (f *TFlowPanel) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TFlowPanel) Height

func (f *TFlowPanel) Height() int32

获取高度。

Get height.

func (*TFlowPanel) Hide

func (f *TFlowPanel) Hide()

隐藏控件。

Hidden control.

func (*TFlowPanel) Hint

func (f *TFlowPanel) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TFlowPanel) InheritsFrom

func (f *TFlowPanel) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFlowPanel) InsertControl

func (f *TFlowPanel) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TFlowPanel) Instance

func (f *TFlowPanel) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TFlowPanel) InstanceSize

func (f *TFlowPanel) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TFlowPanel) Invalidate

func (f *TFlowPanel) Invalidate()

要求重绘。

Redraw.

func (*TFlowPanel) Is

func (f *TFlowPanel) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFlowPanel) IsValid

func (f *TFlowPanel) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TFlowPanel) Left

func (f *TFlowPanel) Left() int32

获取左边位置。

Get Left position.

func (*TFlowPanel) MouseInClient

func (f *TFlowPanel) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TFlowPanel) Name

func (f *TFlowPanel) Name() string

获取组件名称。

Get the component name.

func (*TFlowPanel) Owner

func (f *TFlowPanel) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TFlowPanel) PaintTo

func (f *TFlowPanel) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TFlowPanel) Parent

func (f *TFlowPanel) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TFlowPanel) ParentBackground

func (f *TFlowPanel) ParentBackground() bool

func (*TFlowPanel) ParentColor

func (f *TFlowPanel) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TFlowPanel) ParentDoubleBuffered

func (f *TFlowPanel) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TFlowPanel) ParentFont

func (f *TFlowPanel) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TFlowPanel) ParentShowHint

func (f *TFlowPanel) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TFlowPanel) ParentToClient

func (f *TFlowPanel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TFlowPanel) ParentWindow

func (f *TFlowPanel) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TFlowPanel) Perform

func (f *TFlowPanel) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TFlowPanel) PopupMenu

func (f *TFlowPanel) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TFlowPanel) Realign

func (f *TFlowPanel) Realign()

重新对齐。

Realign.

func (*TFlowPanel) Refresh

func (f *TFlowPanel) Refresh()

刷新控件。

Refresh control.

func (*TFlowPanel) RemoveControl

func (f *TFlowPanel) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TFlowPanel) Repaint

func (f *TFlowPanel) Repaint()

重绘。

Repaint.

func (*TFlowPanel) Scale96ToFont

func (f *TFlowPanel) Scale96ToFont(ASize int32) int32

func (*TFlowPanel) Scale96ToForm

func (f *TFlowPanel) Scale96ToForm(ASize int32) int32

func (*TFlowPanel) Scale96ToScreen

func (f *TFlowPanel) Scale96ToScreen(ASize int32) int32

func (*TFlowPanel) ScaleBy

func (f *TFlowPanel) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TFlowPanel) ScaleDesignToForm

func (f *TFlowPanel) ScaleDesignToForm(ASize int32) int32

func (*TFlowPanel) ScaleFontTo96

func (f *TFlowPanel) ScaleFontTo96(ASize int32) int32

func (*TFlowPanel) ScaleFontToScreen

func (f *TFlowPanel) ScaleFontToScreen(ASize int32) int32

func (*TFlowPanel) ScaleFontsPPI

func (f *TFlowPanel) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TFlowPanel) ScaleFormTo96

func (f *TFlowPanel) ScaleFormTo96(ASize int32) int32

func (*TFlowPanel) ScaleFormToDesign

func (f *TFlowPanel) ScaleFormToDesign(ASize int32) int32

func (*TFlowPanel) ScaleScreenTo96

func (f *TFlowPanel) ScaleScreenTo96(ASize int32) int32

func (*TFlowPanel) ScaleScreenToFont

func (f *TFlowPanel) ScaleScreenToFont(ASize int32) int32

func (*TFlowPanel) ScreenToClient

func (f *TFlowPanel) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TFlowPanel) ScrollBy

func (f *TFlowPanel) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TFlowPanel) SendToBack

func (f *TFlowPanel) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TFlowPanel) SetAction

func (f *TFlowPanel) SetAction(value IComponent)

func (*TFlowPanel) SetAlign

func (f *TFlowPanel) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TFlowPanel) SetAlignment

func (f *TFlowPanel) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TFlowPanel) SetAnchorSideBottom

func (f *TFlowPanel) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TFlowPanel) SetAnchorSideLeft

func (f *TFlowPanel) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TFlowPanel) SetAnchorSideRight

func (f *TFlowPanel) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TFlowPanel) SetAnchorSideTop

func (f *TFlowPanel) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TFlowPanel) SetAnchors

func (f *TFlowPanel) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TFlowPanel) SetAutoSize

func (f *TFlowPanel) SetAutoSize(value bool)

设置自动调整大小。

func (*TFlowPanel) SetAutoWrap

func (f *TFlowPanel) SetAutoWrap(value bool)

func (*TFlowPanel) SetBiDiMode

func (f *TFlowPanel) SetBiDiMode(value TBiDiMode)

func (*TFlowPanel) SetBorderSpacing

func (f *TFlowPanel) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TFlowPanel) SetBorderStyle

func (f *TFlowPanel) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TFlowPanel) SetBorderWidth

func (f *TFlowPanel) SetBorderWidth(value int32)

设置边框的宽度。

func (*TFlowPanel) SetBounds

func (f *TFlowPanel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TFlowPanel) SetBoundsRect

func (f *TFlowPanel) SetBoundsRect(value TRect)

func (*TFlowPanel) SetCaption

func (f *TFlowPanel) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TFlowPanel) SetChildSizing

func (f *TFlowPanel) SetChildSizing(value *TControlChildSizing)

func (*TFlowPanel) SetClientHeight

func (f *TFlowPanel) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TFlowPanel) SetClientWidth

func (f *TFlowPanel) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TFlowPanel) SetColor

func (f *TFlowPanel) SetColor(value TColor)

设置颜色。

Set color.

func (*TFlowPanel) SetComponentIndex

func (f *TFlowPanel) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TFlowPanel) SetConstraints

func (f *TFlowPanel) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TFlowPanel) SetControlIndex

func (f *TFlowPanel) SetControlIndex(AControl IControl, Index int32)

func (*TFlowPanel) SetControlState

func (f *TFlowPanel) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TFlowPanel) SetControlStyle

func (f *TFlowPanel) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TFlowPanel) SetCursor

func (f *TFlowPanel) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TFlowPanel) SetDockSite

func (f *TFlowPanel) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TFlowPanel) SetDoubleBuffered

func (f *TFlowPanel) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TFlowPanel) SetDragCursor

func (f *TFlowPanel) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TFlowPanel) SetDragKind

func (f *TFlowPanel) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TFlowPanel) SetDragMode

func (f *TFlowPanel) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TFlowPanel) SetEnabled

func (f *TFlowPanel) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TFlowPanel) SetFlowStyle

func (f *TFlowPanel) SetFlowStyle(value TFlowStyle)

func (*TFlowPanel) SetFocus

func (f *TFlowPanel) SetFocus()

设置控件焦点。

Set control focus.

func (*TFlowPanel) SetFont

func (f *TFlowPanel) SetFont(value *TFont)

设置字体。

Set Font.

func (*TFlowPanel) SetFullRepaint

func (f *TFlowPanel) SetFullRepaint(value bool)

func (*TFlowPanel) SetHeight

func (f *TFlowPanel) SetHeight(value int32)

设置高度。

Set height.

func (*TFlowPanel) SetHint

func (f *TFlowPanel) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TFlowPanel) SetLeft

func (f *TFlowPanel) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TFlowPanel) SetName

func (f *TFlowPanel) SetName(value string)

设置组件名称。

Set the component name.

func (*TFlowPanel) SetOnAlignPosition

func (f *TFlowPanel) SetOnAlignPosition(fn TAlignPositionEvent)

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TFlowPanel) SetOnClick

func (f *TFlowPanel) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TFlowPanel) SetOnConstrainedResize

func (f *TFlowPanel) SetOnConstrainedResize(fn TConstrainedResizeEvent)

func (*TFlowPanel) SetOnContextPopup

func (f *TFlowPanel) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TFlowPanel) SetOnDblClick

func (f *TFlowPanel) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TFlowPanel) SetOnDockDrop

func (f *TFlowPanel) SetOnDockDrop(fn TDockDropEvent)

func (*TFlowPanel) SetOnDragDrop

func (f *TFlowPanel) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TFlowPanel) SetOnDragOver

func (f *TFlowPanel) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TFlowPanel) SetOnEndDock

func (f *TFlowPanel) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TFlowPanel) SetOnEndDrag

func (f *TFlowPanel) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TFlowPanel) SetOnEnter

func (f *TFlowPanel) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TFlowPanel) SetOnExit

func (f *TFlowPanel) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TFlowPanel) SetOnGetSiteInfo

func (f *TFlowPanel) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TFlowPanel) SetOnMouseDown

func (f *TFlowPanel) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TFlowPanel) SetOnMouseEnter

func (f *TFlowPanel) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TFlowPanel) SetOnMouseLeave

func (f *TFlowPanel) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TFlowPanel) SetOnMouseMove

func (f *TFlowPanel) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TFlowPanel) SetOnMouseUp

func (f *TFlowPanel) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TFlowPanel) SetOnResize

func (f *TFlowPanel) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TFlowPanel) SetOnStartDock

func (f *TFlowPanel) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TFlowPanel) SetOnUnDock

func (f *TFlowPanel) SetOnUnDock(fn TUnDockEvent)

func (*TFlowPanel) SetParent

func (f *TFlowPanel) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TFlowPanel) SetParentBackground

func (f *TFlowPanel) SetParentBackground(value bool)

func (*TFlowPanel) SetParentColor

func (f *TFlowPanel) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TFlowPanel) SetParentDoubleBuffered

func (f *TFlowPanel) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TFlowPanel) SetParentFont

func (f *TFlowPanel) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TFlowPanel) SetParentShowHint

func (f *TFlowPanel) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TFlowPanel) SetParentWindow

func (f *TFlowPanel) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TFlowPanel) SetPopupMenu

func (f *TFlowPanel) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TFlowPanel) SetShowHint

func (f *TFlowPanel) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TFlowPanel) SetTabOrder

func (f *TFlowPanel) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TFlowPanel) SetTabStop

func (f *TFlowPanel) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TFlowPanel) SetTag

func (f *TFlowPanel) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TFlowPanel) SetTextBuf

func (f *TFlowPanel) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TFlowPanel) SetTop

func (f *TFlowPanel) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TFlowPanel) SetUseDockManager

func (f *TFlowPanel) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TFlowPanel) SetVisible

func (f *TFlowPanel) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TFlowPanel) SetWidth

func (f *TFlowPanel) SetWidth(value int32)

设置宽度。

Set width.

func (*TFlowPanel) Show

func (f *TFlowPanel) Show()

显示控件。

Show control.

func (*TFlowPanel) ShowHint

func (f *TFlowPanel) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TFlowPanel) Showing

func (f *TFlowPanel) Showing() bool

func (*TFlowPanel) TabOrder

func (f *TFlowPanel) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TFlowPanel) TabStop

func (f *TFlowPanel) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TFlowPanel) Tag

func (f *TFlowPanel) Tag() int

获取对象标记。

Get the control tag.

func (*TFlowPanel) ToString

func (f *TFlowPanel) ToString() string

文本类信息。

Text information.

func (*TFlowPanel) Top

func (f *TFlowPanel) Top() int32

获取顶边位置。

Get Top position.

func (*TFlowPanel) UnsafeAddr

func (f *TFlowPanel) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TFlowPanel) Update

func (f *TFlowPanel) Update()

控件更新。

Update.

func (*TFlowPanel) UseDockManager

func (f *TFlowPanel) UseDockManager() bool

获取使用停靠管理。

func (*TFlowPanel) Visible

func (f *TFlowPanel) Visible() bool

获取控件可视。

Get the control visible.

func (*TFlowPanel) VisibleDockClientCount

func (f *TFlowPanel) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TFlowPanel) Width

func (f *TFlowPanel) Width() int32

获取宽度。

Get width.

type TFont

type TFont struct {
	IObject
	// contains filtered or unexported fields
}

func AsFont

func AsFont(obj interface{}) *TFont

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func FontFromInst

func FontFromInst(inst uintptr) *TFont

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsFont.

func FontFromObj

func FontFromObj(obj IObject) *TFont

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsFont.

func FontFromUnsafePointer

func FontFromUnsafePointer(ptr unsafe.Pointer) *TFont

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsFont.

func NewFont

func NewFont() *TFont

创建一个新的对象。

Create a new object.

func (*TFont) Assign

func (f *TFont) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TFont) Charset

func (f *TFont) Charset() TFontCharset

func (*TFont) ClassName

func (f *TFont) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TFont) ClassType

func (f *TFont) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TFont) Color

func (f *TFont) Color() TColor

获取颜色。

Get color.

func (*TFont) Equals

func (f *TFont) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TFont) Free

func (f *TFont) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TFont) GetHashCode

func (f *TFont) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TFont) GetNamePath

func (f *TFont) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TFont) Handle

func (f *TFont) Handle() HFONT

获取控件句柄。

Get Control handle.

func (*TFont) HandleAllocated

func (f *TFont) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TFont) Height

func (f *TFont) Height() int32

获取高度。

Get height.

func (*TFont) InheritsFrom

func (f *TFont) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFont) Instance

func (f *TFont) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TFont) InstanceSize

func (f *TFont) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TFont) Is

func (f *TFont) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFont) IsValid

func (f *TFont) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TFont) Name

func (f *TFont) Name() string

获取组件名称。

Get the component name.

func (*TFont) Orientation

func (f *TFont) Orientation() int32

func (*TFont) Pitch

func (f *TFont) Pitch() TFontPitch

func (*TFont) PixelsPerInch

func (f *TFont) PixelsPerInch() int32

func (*TFont) Quality

func (f *TFont) Quality() TFontQuality

func (*TFont) SetCharset

func (f *TFont) SetCharset(value TFontCharset)

func (*TFont) SetColor

func (f *TFont) SetColor(value TColor)

设置颜色。

Set color.

func (*TFont) SetHandle

func (f *TFont) SetHandle(value HFONT)

设置控件句柄。

Set Control handle.

func (*TFont) SetHeight

func (f *TFont) SetHeight(value int32)

设置高度。

Set height.

func (*TFont) SetName

func (f *TFont) SetName(value string)

设置组件名称。

Set the component name.

func (*TFont) SetOnChange

func (f *TFont) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TFont) SetOrientation

func (f *TFont) SetOrientation(value int32)

func (*TFont) SetPitch

func (f *TFont) SetPitch(value TFontPitch)

func (*TFont) SetPixelsPerInch

func (f *TFont) SetPixelsPerInch(value int32)

func (*TFont) SetQuality

func (f *TFont) SetQuality(value TFontQuality)

func (*TFont) SetSize

func (f *TFont) SetSize(value int32)

func (*TFont) SetStyle

func (f *TFont) SetStyle(value TFontStyles)

func (*TFont) Size

func (f *TFont) Size() int32

func (*TFont) Style

func (f *TFont) Style() TFontStyles

func (*TFont) ToString

func (f *TFont) ToString() string

文本类信息。

Text information.

func (*TFont) UnsafeAddr

func (f *TFont) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TFontDialog

type TFontDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsFontDialog

func AsFontDialog(obj interface{}) *TFontDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func FontDialogFromInst

func FontDialogFromInst(inst uintptr) *TFontDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsFontDialog.

func FontDialogFromObj

func FontDialogFromObj(obj IObject) *TFontDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsFontDialog.

func FontDialogFromUnsafePointer

func FontDialogFromUnsafePointer(ptr unsafe.Pointer) *TFontDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsFontDialog.

func NewFontDialog

func NewFontDialog(owner IComponent) *TFontDialog

创建一个新的对象。

Create a new object.

func (*TFontDialog) Assign

func (f *TFontDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TFontDialog) ClassName

func (f *TFontDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TFontDialog) ClassType

func (f *TFontDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TFontDialog) ComponentCount

func (f *TFontDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TFontDialog) ComponentIndex

func (f *TFontDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TFontDialog) Components

func (f *TFontDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TFontDialog) Equals

func (f *TFontDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TFontDialog) Execute

func (f *TFontDialog) Execute() bool

执行。

func (*TFontDialog) FindComponent

func (f *TFontDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TFontDialog) Font

func (f *TFontDialog) Font() *TFont

获取字体。

Get Font.

func (*TFontDialog) Free

func (f *TFontDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TFontDialog) GetHashCode

func (f *TFontDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TFontDialog) GetNamePath

func (f *TFontDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TFontDialog) Handle

func (f *TFontDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TFontDialog) HasParent

func (f *TFontDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TFontDialog) InheritsFrom

func (f *TFontDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFontDialog) Instance

func (f *TFontDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TFontDialog) InstanceSize

func (f *TFontDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TFontDialog) Is

func (f *TFontDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFontDialog) IsValid

func (f *TFontDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TFontDialog) Name

func (f *TFontDialog) Name() string

获取组件名称。

Get the component name.

func (*TFontDialog) Options

func (f *TFontDialog) Options() TFontDialogOptions

func (*TFontDialog) Owner

func (f *TFontDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TFontDialog) SetComponentIndex

func (f *TFontDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TFontDialog) SetFont

func (f *TFontDialog) SetFont(value *TFont)

设置字体。

Set Font.

func (*TFontDialog) SetName

func (f *TFontDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TFontDialog) SetOnClose

func (f *TFontDialog) SetOnClose(fn TNotifyEvent)

func (*TFontDialog) SetOnShow

func (f *TFontDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TFontDialog) SetOptions

func (f *TFontDialog) SetOptions(value TFontDialogOptions)

func (*TFontDialog) SetTag

func (f *TFontDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TFontDialog) Tag

func (f *TFontDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TFontDialog) ToString

func (f *TFontDialog) ToString() string

文本类信息。

Text information.

func (*TFontDialog) UnsafeAddr

func (f *TFontDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TForm

type TForm struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsForm

func AsForm(obj interface{}) *TForm

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func FormFromInst

func FormFromInst(inst uintptr) *TForm

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsForm.

func FormFromObj

func FormFromObj(obj IObject) *TForm

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsForm.

func FormFromUnsafePointer

func FormFromUnsafePointer(ptr unsafe.Pointer) *TForm

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsForm.

func NewForm

func NewForm(owner IComponent) *TForm

创建一个新的对象。

Create a new object.

func (*TForm) Action

func (f *TForm) Action() *TAction

func (*TForm) ActiveControl

func (f *TForm) ActiveControl() *TWinControl

获取当前动控件。

func (*TForm) Align

func (f *TForm) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TForm) AllowDropFiles

func (f *TForm) AllowDropFiles() bool

获取允许拖放文件。

func (*TForm) AlphaBlend

func (f *TForm) AlphaBlend() bool

获取半透明。

func (*TForm) AlphaBlendValue

func (f *TForm) AlphaBlendValue() uint8

获取半透明值-0-255。

func (*TForm) AnchorAsAlign

func (f *TForm) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TForm) AnchorClient

func (f *TForm) AnchorClient(ASpace int32)

func (*TForm) AnchorHorizontalCenterTo

func (f *TForm) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TForm) AnchorParallel

func (f *TForm) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TForm) AnchorSame

func (f *TForm) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TForm) AnchorSide

func (f *TForm) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TForm) AnchorSideBottom

func (f *TForm) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TForm) AnchorSideLeft

func (f *TForm) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TForm) AnchorSideRight

func (f *TForm) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TForm) AnchorSideTop

func (f *TForm) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TForm) AnchorToNeighbour

func (f *TForm) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TForm) AnchorVerticalCenterTo

func (f *TForm) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TForm) Anchors

func (f *TForm) Anchors() TAnchors

获取四个角位置的锚点。

func (*TForm) Assign

func (f *TForm) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TForm) AutoAdjustLayout

func (f *TForm) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TForm) AutoScroll

func (f *TForm) AutoScroll() bool

func (*TForm) AutoSize

func (f *TForm) AutoSize() bool

获取自动调整大小。

func (*TForm) BiDiMode

func (f *TForm) BiDiMode() TBiDiMode

func (*TForm) BorderIcons

func (f *TForm) BorderIcons() TBorderIcons

获取窗口标题栏图标设置。比如:关闭,最大化,最小化等。

func (*TForm) BorderSpacing

func (f *TForm) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TForm) BorderStyle

func (f *TForm) BorderStyle() TFormBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TForm) BorderWidth

func (f *TForm) BorderWidth() int32

获取边框的宽度。

func (*TForm) BoundsRect

func (f *TForm) BoundsRect() TRect

func (*TForm) BringToFront

func (f *TForm) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TForm) Brush

func (f *TForm) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TForm) CanFocus

func (f *TForm) CanFocus() bool

是否可以获得焦点。

func (*TForm) Canvas

func (f *TForm) Canvas() *TCanvas

获取画布。

func (*TForm) Caption

func (f *TForm) Caption() string

获取控件标题。

Get the control title.

func (*TForm) Cascade

func (f *TForm) Cascade()

func (*TForm) ChildSizing

func (f *TForm) ChildSizing() *TControlChildSizing

func (*TForm) ClassName

func (f *TForm) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TForm) ClassType

func (f *TForm) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TForm) ClientHeight

func (f *TForm) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TForm) ClientOrigin

func (f *TForm) ClientOrigin() TPoint

func (*TForm) ClientRect

func (f *TForm) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TForm) ClientToParent

func (f *TForm) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TForm) ClientToScreen

func (f *TForm) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TForm) ClientWidth

func (f *TForm) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TForm) Close

func (f *TForm) Close()

关闭。

func (*TForm) Color

func (f *TForm) Color() TColor

获取颜色。

Get color.

func (*TForm) ComponentCount

func (f *TForm) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TForm) ComponentIndex

func (f *TForm) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TForm) Components

func (f *TForm) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TForm) Constraints

func (f *TForm) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TForm) ContainsControl

func (f *TForm) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TForm) ControlAtPos

func (f *TForm) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TForm) ControlCount

func (f *TForm) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TForm) ControlState

func (f *TForm) ControlState() TControlState

获取控件状态。

Get control state.

func (*TForm) ControlStyle

func (f *TForm) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TForm) Controls

func (f *TForm) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TForm) Cursor

func (f *TForm) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TForm) DefaultMonitor

func (f *TForm) DefaultMonitor() TDefaultMonitor

获取默认监视器。

func (*TForm) DesignTimePPI

func (f *TForm) DesignTimePPI() int32

func (*TForm) DisableAlign

func (f *TForm) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TForm) DockClientCount

func (f *TForm) DockClientCount() int32

获取依靠客户端总数。

func (*TForm) DockClients

func (f *TForm) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TForm) DockSite

func (f *TForm) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TForm) DoubleBuffered

func (f *TForm) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TForm) DragKind

func (f *TForm) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TForm) DragMode

func (f *TForm) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TForm) Dragging

func (f *TForm) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TForm) EnableAlign

func (f *TForm) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TForm) Enabled

func (f *TForm) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TForm) EnabledMaximize

func (f *TForm) EnabledMaximize(AValue bool)

启用/禁用 标题栏最大化按钮。

func (*TForm) EnabledMinimize

func (f *TForm) EnabledMinimize(AValue bool)

启用/禁用 标题栏最小化按钮。

func (*TForm) EnabledSystemMenu

func (f *TForm) EnabledSystemMenu(AValue bool)

启用/禁用 标题栏系统菜单。

func (*TForm) Equals

func (f *TForm) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TForm) FindChildControl

func (f *TForm) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TForm) FindComponent

func (f *TForm) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TForm) FixDesignFontsPPI

func (f *TForm) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TForm) FlipChildren

func (f *TForm) FlipChildren(AllLevels bool)

func (*TForm) Floating

func (f *TForm) Floating() bool

func (*TForm) FocusControl

func (f *TForm) FocusControl(Control IWinControl)

func (*TForm) Focused

func (f *TForm) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TForm) Font

func (f *TForm) Font() *TFont

获取字体。

Get Font.

func (*TForm) FormStyle

func (f *TForm) FormStyle() TFormStyle

获取窗口样式。比如:置顶,MID窗口。

func (*TForm) Free

func (f *TForm) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TForm) GetHashCode

func (f *TForm) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TForm) GetNamePath

func (f *TForm) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TForm) GetTextBuf

func (f *TForm) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TForm) GetTextLen

func (f *TForm) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TForm) Handle

func (f *TForm) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TForm) HandleAllocated

func (f *TForm) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TForm) HasParent

func (f *TForm) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TForm) Height

func (f *TForm) Height() int32

获取高度。

Get height.

func (*TForm) Hide

func (f *TForm) Hide()

隐藏控件。

Hidden control.

func (*TForm) Hint

func (f *TForm) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TForm) HorzScrollBar

func (f *TForm) HorzScrollBar() *TControlScrollBar

func (*TForm) Icon

func (f *TForm) Icon() *TIcon

获取图标。

Get icon.

func (*TForm) InheritedWndProc

func (f *TForm) InheritedWndProc(TheMessage *TMessage)

OnWndProc必须要调用的, 内部为 inherited WndProc(msg)。

func (*TForm) InheritsFrom

func (f *TForm) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TForm) InsertControl

func (f *TForm) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TForm) Instance

func (f *TForm) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TForm) InstanceSize

func (f *TForm) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TForm) Invalidate

func (f *TForm) Invalidate()

要求重绘。

Redraw.

func (*TForm) Is

func (f *TForm) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TForm) IsValid

func (f *TForm) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TForm) KeyPreview

func (f *TForm) KeyPreview() bool

获取窗口优先接收键盘按盘消息。

func (*TForm) Left

func (f *TForm) Left() int32

获取左边位置。

Get Left position.

func (*TForm) Menu

func (f *TForm) Menu() *TMainMenu

获取窗口主菜单。

func (*TForm) ModalResult

func (f *TForm) ModalResult() TModalResult

获取模态对话框显示结果。

func (*TForm) Monitor

func (f *TForm) Monitor() *TMonitor

获取监视器。

func (*TForm) MouseInClient

func (f *TForm) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TForm) Name

func (f *TForm) Name() string

获取组件名称。

Get the component name.

func (*TForm) Owner

func (f *TForm) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TForm) PaintTo

func (f *TForm) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TForm) Parent

func (f *TForm) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TForm) ParentDoubleBuffered

func (f *TForm) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TForm) ParentFont

func (f *TForm) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TForm) ParentToClient

func (f *TForm) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TForm) ParentWindow

func (f *TForm) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TForm) Perform

func (f *TForm) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TForm) PixelsPerInch

func (f *TForm) PixelsPerInch() int32

获取每英寸像素数。

func (*TForm) PlatformWindow

func (f *TForm) PlatformWindow() GdkWindow

func (*TForm) PopupMenu

func (f *TForm) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TForm) Position

func (f *TForm) Position() TPosition

获取窗口的位置。比如:居中等。。

func (*TForm) Realign

func (f *TForm) Realign()

重新对齐。

Realign.

func (*TForm) Refresh

func (f *TForm) Refresh()

刷新控件。

Refresh control.

func (*TForm) RemoveControl

func (f *TForm) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TForm) Repaint

func (f *TForm) Repaint()

重绘。

Repaint.

func (*TForm) Scale96ToFont

func (f *TForm) Scale96ToFont(ASize int32) int32

func (*TForm) Scale96ToForm

func (f *TForm) Scale96ToForm(ASize int32) int32

func (*TForm) Scale96ToScreen

func (f *TForm) Scale96ToScreen(ASize int32) int32

func (*TForm) ScaleBy

func (f *TForm) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TForm) ScaleDesignToForm

func (f *TForm) ScaleDesignToForm(ASize int32) int32

func (*TForm) ScaleFontTo96

func (f *TForm) ScaleFontTo96(ASize int32) int32

func (*TForm) ScaleFontToScreen

func (f *TForm) ScaleFontToScreen(ASize int32) int32

func (*TForm) ScaleFontsPPI

func (f *TForm) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TForm) ScaleForCurrentDpi

func (f *TForm) ScaleForCurrentDpi()

func (*TForm) ScaleForPPI

func (f *TForm) ScaleForPPI(ANewPPI int32)

func (*TForm) ScaleFormTo96

func (f *TForm) ScaleFormTo96(ASize int32) int32

func (*TForm) ScaleFormToDesign

func (f *TForm) ScaleFormToDesign(ASize int32) int32

func (*TForm) ScaleScreenTo96

func (f *TForm) ScaleScreenTo96(ASize int32) int32

func (*TForm) ScaleScreenToFont

func (f *TForm) ScaleScreenToFont(ASize int32) int32

func (*TForm) ScaleSelf

func (f *TForm) ScaleSelf()

这个方法主要是用于当不使用资源窗口创建时用,这个方法要用于设置了Width, Height或者ClientWidth、ClientHeight之后

func (*TForm) Scaled

func (f *TForm) Scaled() bool

获取自动缩放。

func (*TForm) ScreenCenter

func (f *TForm) ScreenCenter()

居于当前屏幕中心。

func (*TForm) ScreenToClient

func (f *TForm) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TForm) ScrollBy

func (f *TForm) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TForm) ScrollInView

func (f *TForm) ScrollInView(AControl IControl)

func (*TForm) SendToBack

func (f *TForm) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TForm) SetAction

func (f *TForm) SetAction(value IComponent)

func (*TForm) SetActiveControl

func (f *TForm) SetActiveControl(value IWinControl)

设置当前动控件。

func (*TForm) SetAlign

func (f *TForm) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TForm) SetAllowDropFiles

func (f *TForm) SetAllowDropFiles(value bool)

设置允许拖放文件。

func (*TForm) SetAlphaBlend

func (f *TForm) SetAlphaBlend(value bool)

设置半透明。

func (*TForm) SetAlphaBlendValue

func (f *TForm) SetAlphaBlendValue(value uint8)

设置半透明值-0-255。

func (*TForm) SetAnchorSideBottom

func (f *TForm) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TForm) SetAnchorSideLeft

func (f *TForm) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TForm) SetAnchorSideRight

func (f *TForm) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TForm) SetAnchorSideTop

func (f *TForm) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TForm) SetAnchors

func (f *TForm) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TForm) SetAutoScroll

func (f *TForm) SetAutoScroll(value bool)

func (*TForm) SetAutoSize

func (f *TForm) SetAutoSize(value bool)

设置自动调整大小。

func (*TForm) SetBiDiMode

func (f *TForm) SetBiDiMode(value TBiDiMode)

func (*TForm) SetBorderIcons

func (f *TForm) SetBorderIcons(value TBorderIcons)

设置窗口标题栏图标设置。比如:关闭,最大化,最小化等。

func (*TForm) SetBorderSpacing

func (f *TForm) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TForm) SetBorderStyle

func (f *TForm) SetBorderStyle(value TFormBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TForm) SetBorderWidth

func (f *TForm) SetBorderWidth(value int32)

设置边框的宽度。

func (*TForm) SetBounds

func (f *TForm) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TForm) SetBoundsRect

func (f *TForm) SetBoundsRect(value TRect)

func (*TForm) SetCaption

func (f *TForm) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TForm) SetChildSizing

func (f *TForm) SetChildSizing(value *TControlChildSizing)

func (*TForm) SetClientHeight

func (f *TForm) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TForm) SetClientWidth

func (f *TForm) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TForm) SetColor

func (f *TForm) SetColor(value TColor)

设置颜色。

Set color.

func (*TForm) SetComponentIndex

func (f *TForm) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TForm) SetConstraints

func (f *TForm) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TForm) SetControlState

func (f *TForm) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TForm) SetControlStyle

func (f *TForm) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TForm) SetCursor

func (f *TForm) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TForm) SetDefaultMonitor

func (f *TForm) SetDefaultMonitor(value TDefaultMonitor)

设置默认监视器。

func (*TForm) SetDesignTimePPI

func (f *TForm) SetDesignTimePPI(value int32)

func (*TForm) SetDockSite

func (f *TForm) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TForm) SetDoubleBuffered

func (f *TForm) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TForm) SetDragKind

func (f *TForm) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TForm) SetDragMode

func (f *TForm) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TForm) SetEnabled

func (f *TForm) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TForm) SetFocus

func (f *TForm) SetFocus()

设置控件焦点。

Set control focus.

func (*TForm) SetFont

func (f *TForm) SetFont(value *TFont)

设置字体。

Set Font.

func (*TForm) SetFormStyle

func (f *TForm) SetFormStyle(value TFormStyle)

设置窗口样式。比如:置顶,MID窗口。

func (*TForm) SetHeight

func (f *TForm) SetHeight(value int32)

设置高度。

Set height.

func (*TForm) SetHint

func (f *TForm) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TForm) SetHorzScrollBar

func (f *TForm) SetHorzScrollBar(value *TControlScrollBar)

func (*TForm) SetIcon

func (f *TForm) SetIcon(value *TIcon)

设置图标。

Set icon.

func (*TForm) SetKeyPreview

func (f *TForm) SetKeyPreview(value bool)

设置窗口优先接收键盘按盘消息。

func (*TForm) SetLeft

func (f *TForm) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TForm) SetMenu

func (f *TForm) SetMenu(value IComponent)

设置窗口主菜单。

func (*TForm) SetModalResult

func (f *TForm) SetModalResult(value TModalResult)

设置模态对话框显示结果。

func (*TForm) SetName

func (f *TForm) SetName(value string)

设置组件名称。

Set the component name.

func (*TForm) SetOnActivate

func (f *TForm) SetOnActivate(fn TNotifyEvent)

设置窗口激活事件。

func (*TForm) SetOnAlignPosition

func (f *TForm) SetOnAlignPosition(fn TAlignPositionEvent)

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TForm) SetOnClick

func (f *TForm) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TForm) SetOnClose

func (f *TForm) SetOnClose(fn TCloseEvent)

设置窗口关闭事件。

func (*TForm) SetOnCloseQuery

func (f *TForm) SetOnCloseQuery(fn TCloseQueryEvent)

设置窗口关闭询问事件。

func (*TForm) SetOnConstrainedResize

func (f *TForm) SetOnConstrainedResize(fn TConstrainedResizeEvent)

func (*TForm) SetOnContextPopup

func (f *TForm) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TForm) SetOnDblClick

func (f *TForm) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TForm) SetOnDeactivate

func (f *TForm) SetOnDeactivate(fn TNotifyEvent)

设置窗口失去激状态。

func (*TForm) SetOnDestroy

func (f *TForm) SetOnDestroy(fn TNotifyEvent)

func (*TForm) SetOnDockDrop

func (f *TForm) SetOnDockDrop(fn TDockDropEvent)

func (*TForm) SetOnDragDrop

func (f *TForm) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TForm) SetOnDragOver

func (f *TForm) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TForm) SetOnDropFiles

func (f *TForm) SetOnDropFiles(fn TDropFilesEvent)

设置拖放文件事件。

func (*TForm) SetOnEndDock

func (f *TForm) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TForm) SetOnGetSiteInfo

func (f *TForm) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TForm) SetOnHelp

func (f *TForm) SetOnHelp(fn THelpEvent)

func (*TForm) SetOnHide

func (f *TForm) SetOnHide(fn TNotifyEvent)

设置隐藏事件。

func (*TForm) SetOnKeyDown

func (f *TForm) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TForm) SetOnKeyPress

func (f *TForm) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TForm) SetOnKeyUp

func (f *TForm) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TForm) SetOnMouseDown

func (f *TForm) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TForm) SetOnMouseEnter

func (f *TForm) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TForm) SetOnMouseLeave

func (f *TForm) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TForm) SetOnMouseMove

func (f *TForm) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TForm) SetOnMouseUp

func (f *TForm) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TForm) SetOnMouseWheel

func (f *TForm) SetOnMouseWheel(fn TMouseWheelEvent)

设置鼠标滚轮事件。

func (*TForm) SetOnMouseWheelDown

func (f *TForm) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TForm) SetOnMouseWheelUp

func (f *TForm) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TForm) SetOnPaint

func (f *TForm) SetOnPaint(fn TNotifyEvent)

设置绘画事件。

func (*TForm) SetOnResize

func (f *TForm) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TForm) SetOnShortCut

func (f *TForm) SetOnShortCut(fn TShortCutEvent)

func (*TForm) SetOnShow

func (f *TForm) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TForm) SetOnStartDock

func (f *TForm) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TForm) SetOnUTF8KeyPress

func (f *TForm) SetOnUTF8KeyPress(fn TUTF8KeyPressEvent)

func (*TForm) SetOnUnDock

func (f *TForm) SetOnUnDock(fn TUnDockEvent)

func (*TForm) SetOnWndProc

func (f *TForm) SetOnWndProc(fn TWndProcEvent)

窗口消息过程

func (*TForm) SetParent

func (f *TForm) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TForm) SetParentDoubleBuffered

func (f *TForm) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TForm) SetParentFont

func (f *TForm) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TForm) SetParentWindow

func (f *TForm) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TForm) SetPixelsPerInch

func (f *TForm) SetPixelsPerInch(value int32)

设置每英寸像素数。

func (*TForm) SetPopupMenu

func (f *TForm) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TForm) SetPosition

func (f *TForm) SetPosition(value TPosition)

设置窗口的位置。比如:居中等。。

func (*TForm) SetScaled

func (f *TForm) SetScaled(value bool)

设置自动缩放。

func (*TForm) SetShowHint

func (f *TForm) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TForm) SetShowInTaskBar

func (f *TForm) SetShowInTaskBar(value TShowInTaskbar)

设置显示在任务栏上。

func (*TForm) SetTabOrder

func (f *TForm) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TForm) SetTabStop

func (f *TForm) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TForm) SetTag

func (f *TForm) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TForm) SetTextBuf

func (f *TForm) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TForm) SetTop

func (f *TForm) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TForm) SetUseDockManager

func (f *TForm) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TForm) SetVertScrollBar

func (f *TForm) SetVertScrollBar(value *TControlScrollBar)

func (*TForm) SetVisible

func (f *TForm) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TForm) SetWidth

func (f *TForm) SetWidth(value int32)

设置宽度。

Set width.

func (*TForm) SetWindowState

func (f *TForm) SetWindowState(value TWindowState)

设置窗口样式。比如:最大化,最小化等。

func (*TForm) Show

func (f *TForm) Show()

显示控件。

Show control.

func (*TForm) ShowHint

func (f *TForm) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TForm) ShowInTaskBar

func (f *TForm) ShowInTaskBar() TShowInTaskbar

获取显示在任务栏上。

func (*TForm) ShowModal

func (f *TForm) ShowModal() int32

以模态模式显示对话框。

func (*TForm) Showing

func (f *TForm) Showing() bool

func (*TForm) TabOrder

func (f *TForm) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TForm) TabStop

func (f *TForm) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TForm) Tag

func (f *TForm) Tag() int

获取对象标记。

Get the control tag.

func (*TForm) ToString

func (f *TForm) ToString() string

文本类信息。

Text information.

func (*TForm) Top

func (f *TForm) Top() int32

获取顶边位置。

Get Top position.

func (*TForm) UnsafeAddr

func (f *TForm) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TForm) Update

func (f *TForm) Update()

控件更新。

Update.

func (*TForm) UseDockManager

func (f *TForm) UseDockManager() bool

获取使用停靠管理。

func (*TForm) VertScrollBar

func (f *TForm) VertScrollBar() *TControlScrollBar

func (*TForm) Visible

func (f *TForm) Visible() bool

获取控件可视。

Get the control visible.

func (*TForm) VisibleDockClientCount

func (f *TForm) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TForm) Width

func (f *TForm) Width() int32

获取宽度。

Get width.

func (*TForm) WindowState

func (f *TForm) WindowState() TWindowState

获取窗口样式。比如:最大化,最小化等。

func (*TForm) WorkAreaCenter

func (f *TForm) WorkAreaCenter()

窗口居于工作区中心,工作区为当前屏幕 - 任务栏空间。

type TFrame

type TFrame struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsFrame

func AsFrame(obj interface{}) *TFrame

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func FrameFromInst

func FrameFromInst(inst uintptr) *TFrame

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsFrame.

func FrameFromObj

func FrameFromObj(obj IObject) *TFrame

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsFrame.

func FrameFromUnsafePointer

func FrameFromUnsafePointer(ptr unsafe.Pointer) *TFrame

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsFrame.

func NewFrame

func NewFrame(owner IComponent) *TFrame

创建一个新的对象。

Create a new object.

func (*TFrame) Action

func (f *TFrame) Action() *TAction

func (*TFrame) Align

func (f *TFrame) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TFrame) AnchorAsAlign

func (f *TFrame) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TFrame) AnchorClient

func (f *TFrame) AnchorClient(ASpace int32)

func (*TFrame) AnchorHorizontalCenterTo

func (f *TFrame) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TFrame) AnchorParallel

func (f *TFrame) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFrame) AnchorSame

func (f *TFrame) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TFrame) AnchorSide

func (f *TFrame) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TFrame) AnchorSideBottom

func (f *TFrame) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TFrame) AnchorSideLeft

func (f *TFrame) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TFrame) AnchorSideRight

func (f *TFrame) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TFrame) AnchorSideTop

func (f *TFrame) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TFrame) AnchorToNeighbour

func (f *TFrame) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFrame) AnchorVerticalCenterTo

func (f *TFrame) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TFrame) Anchors

func (f *TFrame) Anchors() TAnchors

获取四个角位置的锚点。

func (*TFrame) Assign

func (f *TFrame) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TFrame) AutoAdjustLayout

func (f *TFrame) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TFrame) AutoScroll

func (f *TFrame) AutoScroll() bool

func (*TFrame) AutoSize

func (f *TFrame) AutoSize() bool

获取自动调整大小。

func (*TFrame) BiDiMode

func (f *TFrame) BiDiMode() TBiDiMode

func (*TFrame) BorderSpacing

func (f *TFrame) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TFrame) BoundsRect

func (f *TFrame) BoundsRect() TRect

func (*TFrame) BringToFront

func (f *TFrame) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TFrame) Brush

func (f *TFrame) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TFrame) CanFocus

func (f *TFrame) CanFocus() bool

是否可以获得焦点。

func (*TFrame) ChildSizing

func (f *TFrame) ChildSizing() *TControlChildSizing

func (*TFrame) ClassName

func (f *TFrame) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TFrame) ClassType

func (f *TFrame) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TFrame) ClientHeight

func (f *TFrame) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TFrame) ClientOrigin

func (f *TFrame) ClientOrigin() TPoint

func (*TFrame) ClientRect

func (f *TFrame) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TFrame) ClientToParent

func (f *TFrame) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TFrame) ClientToScreen

func (f *TFrame) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TFrame) ClientWidth

func (f *TFrame) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TFrame) Color

func (f *TFrame) Color() TColor

获取颜色。

Get color.

func (*TFrame) ComponentCount

func (f *TFrame) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TFrame) ComponentIndex

func (f *TFrame) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TFrame) Components

func (f *TFrame) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TFrame) Constraints

func (f *TFrame) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TFrame) ContainsControl

func (f *TFrame) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TFrame) ControlAtPos

func (f *TFrame) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TFrame) ControlCount

func (f *TFrame) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TFrame) ControlState

func (f *TFrame) ControlState() TControlState

获取控件状态。

Get control state.

func (*TFrame) ControlStyle

func (f *TFrame) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TFrame) Controls

func (f *TFrame) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TFrame) Cursor

func (f *TFrame) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TFrame) DesignTimePPI

func (f *TFrame) DesignTimePPI() int32

func (*TFrame) DisableAlign

func (f *TFrame) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TFrame) DockClientCount

func (f *TFrame) DockClientCount() int32

获取依靠客户端总数。

func (*TFrame) DockClients

func (f *TFrame) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TFrame) DockSite

func (f *TFrame) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TFrame) DoubleBuffered

func (f *TFrame) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TFrame) DragCursor

func (f *TFrame) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TFrame) DragKind

func (f *TFrame) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TFrame) DragMode

func (f *TFrame) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TFrame) Dragging

func (f *TFrame) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TFrame) EnableAlign

func (f *TFrame) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TFrame) Enabled

func (f *TFrame) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TFrame) Equals

func (f *TFrame) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TFrame) FindChildControl

func (f *TFrame) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TFrame) FindComponent

func (f *TFrame) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TFrame) FixDesignFontsPPI

func (f *TFrame) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TFrame) FlipChildren

func (f *TFrame) FlipChildren(AllLevels bool)

func (*TFrame) Floating

func (f *TFrame) Floating() bool

func (*TFrame) Focused

func (f *TFrame) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TFrame) Font

func (f *TFrame) Font() *TFont

获取字体。

Get Font.

func (*TFrame) Free

func (f *TFrame) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TFrame) GetHashCode

func (f *TFrame) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TFrame) GetNamePath

func (f *TFrame) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TFrame) GetTextBuf

func (f *TFrame) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TFrame) GetTextLen

func (f *TFrame) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TFrame) Handle

func (f *TFrame) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TFrame) HandleAllocated

func (f *TFrame) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TFrame) HasParent

func (f *TFrame) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TFrame) Height

func (f *TFrame) Height() int32

获取高度。

Get height.

func (*TFrame) Hide

func (f *TFrame) Hide()

隐藏控件。

Hidden control.

func (*TFrame) Hint

func (f *TFrame) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TFrame) HorzScrollBar

func (f *TFrame) HorzScrollBar() *TControlScrollBar

func (*TFrame) InheritsFrom

func (f *TFrame) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFrame) InsertControl

func (f *TFrame) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TFrame) Instance

func (f *TFrame) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TFrame) InstanceSize

func (f *TFrame) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TFrame) Invalidate

func (f *TFrame) Invalidate()

要求重绘。

Redraw.

func (*TFrame) Is

func (f *TFrame) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFrame) IsValid

func (f *TFrame) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TFrame) Left

func (f *TFrame) Left() int32

获取左边位置。

Get Left position.

func (*TFrame) MouseInClient

func (f *TFrame) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TFrame) Name

func (f *TFrame) Name() string

获取组件名称。

Get the component name.

func (*TFrame) Owner

func (f *TFrame) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TFrame) PaintTo

func (f *TFrame) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TFrame) Parent

func (f *TFrame) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TFrame) ParentBackground

func (f *TFrame) ParentBackground() bool

func (*TFrame) ParentColor

func (f *TFrame) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TFrame) ParentDoubleBuffered

func (f *TFrame) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TFrame) ParentFont

func (f *TFrame) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TFrame) ParentShowHint

func (f *TFrame) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TFrame) ParentToClient

func (f *TFrame) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TFrame) ParentWindow

func (f *TFrame) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TFrame) Perform

func (f *TFrame) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TFrame) PopupMenu

func (f *TFrame) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TFrame) Realign

func (f *TFrame) Realign()

重新对齐。

Realign.

func (*TFrame) Refresh

func (f *TFrame) Refresh()

刷新控件。

Refresh control.

func (*TFrame) RemoveControl

func (f *TFrame) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TFrame) Repaint

func (f *TFrame) Repaint()

重绘。

Repaint.

func (*TFrame) Scale96ToFont

func (f *TFrame) Scale96ToFont(ASize int32) int32

func (*TFrame) Scale96ToForm

func (f *TFrame) Scale96ToForm(ASize int32) int32

func (*TFrame) Scale96ToScreen

func (f *TFrame) Scale96ToScreen(ASize int32) int32

func (*TFrame) ScaleBy

func (f *TFrame) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TFrame) ScaleDesignToForm

func (f *TFrame) ScaleDesignToForm(ASize int32) int32

func (*TFrame) ScaleFontTo96

func (f *TFrame) ScaleFontTo96(ASize int32) int32

func (*TFrame) ScaleFontToScreen

func (f *TFrame) ScaleFontToScreen(ASize int32) int32

func (*TFrame) ScaleFontsPPI

func (f *TFrame) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TFrame) ScaleFormTo96

func (f *TFrame) ScaleFormTo96(ASize int32) int32

func (*TFrame) ScaleFormToDesign

func (f *TFrame) ScaleFormToDesign(ASize int32) int32

func (*TFrame) ScaleScreenTo96

func (f *TFrame) ScaleScreenTo96(ASize int32) int32

func (*TFrame) ScaleScreenToFont

func (f *TFrame) ScaleScreenToFont(ASize int32) int32

func (*TFrame) ScreenToClient

func (f *TFrame) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TFrame) ScrollBy

func (f *TFrame) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TFrame) ScrollInView

func (f *TFrame) ScrollInView(AControl IControl)

func (*TFrame) SendToBack

func (f *TFrame) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TFrame) SetAction

func (f *TFrame) SetAction(value IComponent)

func (*TFrame) SetAlign

func (f *TFrame) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TFrame) SetAnchorSideBottom

func (f *TFrame) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TFrame) SetAnchorSideLeft

func (f *TFrame) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TFrame) SetAnchorSideRight

func (f *TFrame) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TFrame) SetAnchorSideTop

func (f *TFrame) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TFrame) SetAnchors

func (f *TFrame) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TFrame) SetAutoScroll

func (f *TFrame) SetAutoScroll(value bool)

func (*TFrame) SetAutoSize

func (f *TFrame) SetAutoSize(value bool)

设置自动调整大小。

func (*TFrame) SetBiDiMode

func (f *TFrame) SetBiDiMode(value TBiDiMode)

func (*TFrame) SetBorderSpacing

func (f *TFrame) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TFrame) SetBounds

func (f *TFrame) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TFrame) SetBoundsRect

func (f *TFrame) SetBoundsRect(value TRect)

func (*TFrame) SetChildSizing

func (f *TFrame) SetChildSizing(value *TControlChildSizing)

func (*TFrame) SetClientHeight

func (f *TFrame) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TFrame) SetClientWidth

func (f *TFrame) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TFrame) SetColor

func (f *TFrame) SetColor(value TColor)

设置颜色。

Set color.

func (*TFrame) SetComponentIndex

func (f *TFrame) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TFrame) SetConstraints

func (f *TFrame) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TFrame) SetControlState

func (f *TFrame) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TFrame) SetControlStyle

func (f *TFrame) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TFrame) SetCursor

func (f *TFrame) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TFrame) SetDesignTimePPI

func (f *TFrame) SetDesignTimePPI(value int32)

func (*TFrame) SetDockSite

func (f *TFrame) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TFrame) SetDoubleBuffered

func (f *TFrame) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TFrame) SetDragCursor

func (f *TFrame) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TFrame) SetDragKind

func (f *TFrame) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TFrame) SetDragMode

func (f *TFrame) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TFrame) SetEnabled

func (f *TFrame) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TFrame) SetFocus

func (f *TFrame) SetFocus()

设置控件焦点。

Set control focus.

func (*TFrame) SetFont

func (f *TFrame) SetFont(value *TFont)

设置字体。

Set Font.

func (*TFrame) SetHeight

func (f *TFrame) SetHeight(value int32)

设置高度。

Set height.

func (*TFrame) SetHint

func (f *TFrame) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TFrame) SetHorzScrollBar

func (f *TFrame) SetHorzScrollBar(value *TControlScrollBar)

func (*TFrame) SetLeft

func (f *TFrame) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TFrame) SetName

func (f *TFrame) SetName(value string)

设置组件名称。

Set the component name.

func (*TFrame) SetOnAlignPosition

func (f *TFrame) SetOnAlignPosition(fn TAlignPositionEvent)

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TFrame) SetOnClick

func (f *TFrame) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TFrame) SetOnConstrainedResize

func (f *TFrame) SetOnConstrainedResize(fn TConstrainedResizeEvent)

func (*TFrame) SetOnContextPopup

func (f *TFrame) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TFrame) SetOnDblClick

func (f *TFrame) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TFrame) SetOnDockDrop

func (f *TFrame) SetOnDockDrop(fn TDockDropEvent)

func (*TFrame) SetOnDragDrop

func (f *TFrame) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TFrame) SetOnDragOver

func (f *TFrame) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TFrame) SetOnEndDock

func (f *TFrame) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TFrame) SetOnEndDrag

func (f *TFrame) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TFrame) SetOnEnter

func (f *TFrame) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TFrame) SetOnExit

func (f *TFrame) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TFrame) SetOnGetSiteInfo

func (f *TFrame) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TFrame) SetOnMouseDown

func (f *TFrame) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TFrame) SetOnMouseEnter

func (f *TFrame) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TFrame) SetOnMouseLeave

func (f *TFrame) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TFrame) SetOnMouseMove

func (f *TFrame) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TFrame) SetOnMouseUp

func (f *TFrame) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TFrame) SetOnMouseWheel

func (f *TFrame) SetOnMouseWheel(fn TMouseWheelEvent)

设置鼠标滚轮事件。

func (*TFrame) SetOnMouseWheelDown

func (f *TFrame) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TFrame) SetOnMouseWheelUp

func (f *TFrame) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TFrame) SetOnResize

func (f *TFrame) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TFrame) SetOnStartDock

func (f *TFrame) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TFrame) SetOnUnDock

func (f *TFrame) SetOnUnDock(fn TUnDockEvent)

func (*TFrame) SetParent

func (f *TFrame) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TFrame) SetParentBackground

func (f *TFrame) SetParentBackground(value bool)

func (*TFrame) SetParentColor

func (f *TFrame) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TFrame) SetParentDoubleBuffered

func (f *TFrame) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TFrame) SetParentFont

func (f *TFrame) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TFrame) SetParentShowHint

func (f *TFrame) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TFrame) SetParentWindow

func (f *TFrame) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TFrame) SetPopupMenu

func (f *TFrame) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TFrame) SetShowHint

func (f *TFrame) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TFrame) SetTabOrder

func (f *TFrame) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TFrame) SetTabStop

func (f *TFrame) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TFrame) SetTag

func (f *TFrame) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TFrame) SetTextBuf

func (f *TFrame) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TFrame) SetTop

func (f *TFrame) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TFrame) SetUseDockManager

func (f *TFrame) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TFrame) SetVertScrollBar

func (f *TFrame) SetVertScrollBar(value *TControlScrollBar)

func (*TFrame) SetVisible

func (f *TFrame) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TFrame) SetWidth

func (f *TFrame) SetWidth(value int32)

设置宽度。

Set width.

func (*TFrame) Show

func (f *TFrame) Show()

显示控件。

Show control.

func (*TFrame) ShowHint

func (f *TFrame) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TFrame) Showing

func (f *TFrame) Showing() bool

func (*TFrame) TabOrder

func (f *TFrame) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TFrame) TabStop

func (f *TFrame) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TFrame) Tag

func (f *TFrame) Tag() int

获取对象标记。

Get the control tag.

func (*TFrame) ToString

func (f *TFrame) ToString() string

文本类信息。

Text information.

func (*TFrame) Top

func (f *TFrame) Top() int32

获取顶边位置。

Get Top position.

func (*TFrame) UnsafeAddr

func (f *TFrame) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TFrame) Update

func (f *TFrame) Update()

控件更新。

Update.

func (*TFrame) UseDockManager

func (f *TFrame) UseDockManager() bool

获取使用停靠管理。

func (*TFrame) VertScrollBar

func (f *TFrame) VertScrollBar() *TControlScrollBar

func (*TFrame) Visible

func (f *TFrame) Visible() bool

获取控件可视。

Get the control visible.

func (*TFrame) VisibleDockClientCount

func (f *TFrame) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TFrame) Width

func (f *TFrame) Width() int32

获取宽度。

Get width.

type TGIFImage

type TGIFImage struct {
	IGraphic
	// contains filtered or unexported fields
}

func AsGIFImage

func AsGIFImage(obj interface{}) *TGIFImage

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func GIFImageFromInst

func GIFImageFromInst(inst uintptr) *TGIFImage

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsGIFImage.

func GIFImageFromObj

func GIFImageFromObj(obj IObject) *TGIFImage

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsGIFImage.

func GIFImageFromUnsafePointer

func GIFImageFromUnsafePointer(ptr unsafe.Pointer) *TGIFImage

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsGIFImage.

func NewGIFImage

func NewGIFImage() *TGIFImage

创建一个新的对象。

Create a new object.

func (*TGIFImage) Assign

func (g *TGIFImage) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TGIFImage) BitsPerPixel

func (g *TGIFImage) BitsPerPixel() int32

func (*TGIFImage) ClassName

func (g *TGIFImage) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TGIFImage) ClassType

func (g *TGIFImage) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TGIFImage) Clear

func (g *TGIFImage) Clear()

清除。

func (*TGIFImage) Empty

func (g *TGIFImage) Empty() bool

func (*TGIFImage) Equals

func (g *TGIFImage) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TGIFImage) Free

func (g *TGIFImage) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TGIFImage) GetHashCode

func (g *TGIFImage) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TGIFImage) GetNamePath

func (g *TGIFImage) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TGIFImage) Height

func (g *TGIFImage) Height() int32

获取高度。

Get height.

func (*TGIFImage) InheritsFrom

func (g *TGIFImage) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGIFImage) Instance

func (g *TGIFImage) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TGIFImage) InstanceSize

func (g *TGIFImage) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TGIFImage) Is

func (g *TGIFImage) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TGIFImage) IsValid

func (g *TGIFImage) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TGIFImage) LoadFromBytes

func (g *TGIFImage) LoadFromBytes(data []byte)

func (*TGIFImage) LoadFromFile

func (g *TGIFImage) LoadFromFile(Filename string)

从文件加载。

func (*TGIFImage) LoadFromStream

func (g *TGIFImage) LoadFromStream(Stream IStream)

文件流加载。

func (*TGIFImage) Modified

func (g *TGIFImage) Modified() bool

获取修改。

Get modified.

func (*TGIFImage) Palette

func (g *TGIFImage) Palette() HPALETTE

func (*TGIFImage) PaletteModified

func (g *TGIFImage) PaletteModified() bool

func (*TGIFImage) SaveToFile

func (g *TGIFImage) SaveToFile(Filename string)

保存至文件。

func (*TGIFImage) SaveToStream

func (g *TGIFImage) SaveToStream(Stream IStream)

保存至流。

func (*TGIFImage) SetHeight

func (g *TGIFImage) SetHeight(value int32)

设置高度。

Set height.

func (*TGIFImage) SetModified

func (g *TGIFImage) SetModified(value bool)

设置修改。

Set modified.

func (*TGIFImage) SetOnChange

func (g *TGIFImage) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TGIFImage) SetPalette

func (g *TGIFImage) SetPalette(value HPALETTE)

func (*TGIFImage) SetPaletteModified

func (g *TGIFImage) SetPaletteModified(value bool)

func (*TGIFImage) SetSize

func (g *TGIFImage) SetSize(AWidth int32, AHeight int32)

func (*TGIFImage) SetWidth

func (g *TGIFImage) SetWidth(value int32)

设置宽度。

Set width.

func (*TGIFImage) ToString

func (g *TGIFImage) ToString() string

文本类信息。

Text information.

func (*TGIFImage) Transparent

func (g *TGIFImage) Transparent() bool

获取透明。

Get transparent.

func (*TGIFImage) UnsafeAddr

func (g *TGIFImage) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TGIFImage) Width

func (g *TGIFImage) Width() int32

获取宽度。

Get width.

type TGauge

type TGauge struct {
	IControl
	// contains filtered or unexported fields
}

func AsGauge

func AsGauge(obj interface{}) *TGauge

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func GaugeFromInst

func GaugeFromInst(inst uintptr) *TGauge

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsGauge.

func GaugeFromObj

func GaugeFromObj(obj IObject) *TGauge

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsGauge.

func GaugeFromUnsafePointer

func GaugeFromUnsafePointer(ptr unsafe.Pointer) *TGauge

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsGauge.

func NewGauge

func NewGauge(owner IComponent) *TGauge

创建一个新的对象。

Create a new object.

func (*TGauge) Action

func (g *TGauge) Action() *TAction

func (*TGauge) AddProgress

func (g *TGauge) AddProgress(Value int32)

func (*TGauge) Align

func (g *TGauge) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TGauge) AnchorAsAlign

func (g *TGauge) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TGauge) AnchorClient

func (g *TGauge) AnchorClient(ASpace int32)

func (*TGauge) AnchorHorizontalCenterTo

func (g *TGauge) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TGauge) AnchorParallel

func (g *TGauge) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TGauge) AnchorSame

func (g *TGauge) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TGauge) AnchorSide

func (g *TGauge) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TGauge) AnchorSideBottom

func (g *TGauge) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TGauge) AnchorSideLeft

func (g *TGauge) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TGauge) AnchorSideRight

func (g *TGauge) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TGauge) AnchorSideTop

func (g *TGauge) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TGauge) AnchorToNeighbour

func (g *TGauge) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TGauge) AnchorVerticalCenterTo

func (g *TGauge) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TGauge) Anchors

func (g *TGauge) Anchors() TAnchors

获取四个角位置的锚点。

func (*TGauge) Assign

func (g *TGauge) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TGauge) AutoAdjustLayout

func (g *TGauge) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TGauge) BackColor

func (g *TGauge) BackColor() TColor

func (*TGauge) BiDiMode

func (g *TGauge) BiDiMode() TBiDiMode

func (*TGauge) BorderSpacing

func (g *TGauge) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TGauge) BorderStyle

func (g *TGauge) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TGauge) BoundsRect

func (g *TGauge) BoundsRect() TRect

func (*TGauge) BringToFront

func (g *TGauge) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TGauge) ClassName

func (g *TGauge) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TGauge) ClassType

func (g *TGauge) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TGauge) ClientHeight

func (g *TGauge) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TGauge) ClientOrigin

func (g *TGauge) ClientOrigin() TPoint

func (*TGauge) ClientRect

func (g *TGauge) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TGauge) ClientToParent

func (g *TGauge) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TGauge) ClientToScreen

func (g *TGauge) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TGauge) ClientWidth

func (g *TGauge) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TGauge) Color

func (g *TGauge) Color() TColor

获取颜色。

Get color.

func (*TGauge) ComponentCount

func (g *TGauge) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TGauge) ComponentIndex

func (g *TGauge) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TGauge) Components

func (g *TGauge) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TGauge) Constraints

func (g *TGauge) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TGauge) ControlState

func (g *TGauge) ControlState() TControlState

获取控件状态。

Get control state.

func (*TGauge) ControlStyle

func (g *TGauge) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TGauge) Cursor

func (g *TGauge) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TGauge) Dragging

func (g *TGauge) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TGauge) Enabled

func (g *TGauge) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TGauge) Equals

func (g *TGauge) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TGauge) FindComponent

func (g *TGauge) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TGauge) FixDesignFontsPPI

func (g *TGauge) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TGauge) Floating

func (g *TGauge) Floating() bool

func (*TGauge) Font

func (g *TGauge) Font() *TFont

获取字体。

Get Font.

func (*TGauge) ForeColor

func (g *TGauge) ForeColor() TColor

func (*TGauge) Free

func (g *TGauge) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TGauge) GetHashCode

func (g *TGauge) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TGauge) GetNamePath

func (g *TGauge) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TGauge) GetTextBuf

func (g *TGauge) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TGauge) GetTextLen

func (g *TGauge) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TGauge) HasParent

func (g *TGauge) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TGauge) Height

func (g *TGauge) Height() int32

获取高度。

Get height.

func (*TGauge) Hide

func (g *TGauge) Hide()

隐藏控件。

Hidden control.

func (*TGauge) Hint

func (g *TGauge) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TGauge) InheritsFrom

func (g *TGauge) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGauge) Instance

func (g *TGauge) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TGauge) InstanceSize

func (g *TGauge) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TGauge) Invalidate

func (g *TGauge) Invalidate()

要求重绘。

Redraw.

func (*TGauge) Is

func (g *TGauge) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TGauge) IsValid

func (g *TGauge) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TGauge) Kind

func (g *TGauge) Kind() TGaugeKind

func (*TGauge) Left

func (g *TGauge) Left() int32

获取左边位置。

Get Left position.

func (*TGauge) MaxValue

func (g *TGauge) MaxValue() int32

func (*TGauge) MinValue

func (g *TGauge) MinValue() int32

func (*TGauge) Name

func (g *TGauge) Name() string

获取组件名称。

Get the component name.

func (*TGauge) Owner

func (g *TGauge) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TGauge) Parent

func (g *TGauge) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TGauge) ParentColor

func (g *TGauge) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TGauge) ParentFont

func (g *TGauge) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TGauge) ParentShowHint

func (g *TGauge) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TGauge) ParentToClient

func (g *TGauge) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TGauge) PercentDone

func (g *TGauge) PercentDone() int32

func (*TGauge) Perform

func (g *TGauge) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TGauge) PopupMenu

func (g *TGauge) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TGauge) Progress

func (g *TGauge) Progress() int32

func (*TGauge) Refresh

func (g *TGauge) Refresh()

刷新控件。

Refresh control.

func (*TGauge) Repaint

func (g *TGauge) Repaint()

重绘。

Repaint.

func (*TGauge) Scale96ToFont

func (g *TGauge) Scale96ToFont(ASize int32) int32

func (*TGauge) Scale96ToForm

func (g *TGauge) Scale96ToForm(ASize int32) int32

func (*TGauge) Scale96ToScreen

func (g *TGauge) Scale96ToScreen(ASize int32) int32

func (*TGauge) ScaleDesignToForm

func (g *TGauge) ScaleDesignToForm(ASize int32) int32

func (*TGauge) ScaleFontTo96

func (g *TGauge) ScaleFontTo96(ASize int32) int32

func (*TGauge) ScaleFontToScreen

func (g *TGauge) ScaleFontToScreen(ASize int32) int32

func (*TGauge) ScaleFontsPPI

func (g *TGauge) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TGauge) ScaleFormTo96

func (g *TGauge) ScaleFormTo96(ASize int32) int32

func (*TGauge) ScaleFormToDesign

func (g *TGauge) ScaleFormToDesign(ASize int32) int32

func (*TGauge) ScaleScreenTo96

func (g *TGauge) ScaleScreenTo96(ASize int32) int32

func (*TGauge) ScaleScreenToFont

func (g *TGauge) ScaleScreenToFont(ASize int32) int32

func (*TGauge) ScreenToClient

func (g *TGauge) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TGauge) SendToBack

func (g *TGauge) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TGauge) SetAction

func (g *TGauge) SetAction(value IComponent)

func (*TGauge) SetAlign

func (g *TGauge) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TGauge) SetAnchorSideBottom

func (g *TGauge) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TGauge) SetAnchorSideLeft

func (g *TGauge) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TGauge) SetAnchorSideRight

func (g *TGauge) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TGauge) SetAnchorSideTop

func (g *TGauge) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TGauge) SetAnchors

func (g *TGauge) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TGauge) SetBackColor

func (g *TGauge) SetBackColor(value TColor)

func (*TGauge) SetBiDiMode

func (g *TGauge) SetBiDiMode(value TBiDiMode)

func (*TGauge) SetBorderSpacing

func (g *TGauge) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TGauge) SetBorderStyle

func (g *TGauge) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TGauge) SetBounds

func (g *TGauge) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TGauge) SetBoundsRect

func (g *TGauge) SetBoundsRect(value TRect)

func (*TGauge) SetClientHeight

func (g *TGauge) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TGauge) SetClientWidth

func (g *TGauge) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TGauge) SetColor

func (g *TGauge) SetColor(value TColor)

设置颜色。

Set color.

func (*TGauge) SetComponentIndex

func (g *TGauge) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TGauge) SetConstraints

func (g *TGauge) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TGauge) SetControlState

func (g *TGauge) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TGauge) SetControlStyle

func (g *TGauge) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TGauge) SetCursor

func (g *TGauge) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TGauge) SetEnabled

func (g *TGauge) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TGauge) SetFont

func (g *TGauge) SetFont(value *TFont)

设置字体。

Set Font.

func (*TGauge) SetForeColor

func (g *TGauge) SetForeColor(value TColor)

func (*TGauge) SetHeight

func (g *TGauge) SetHeight(value int32)

设置高度。

Set height.

func (*TGauge) SetHint

func (g *TGauge) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TGauge) SetKind

func (g *TGauge) SetKind(value TGaugeKind)

func (*TGauge) SetLeft

func (g *TGauge) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TGauge) SetMaxValue

func (g *TGauge) SetMaxValue(value int32)

func (*TGauge) SetMinValue

func (g *TGauge) SetMinValue(value int32)

func (*TGauge) SetName

func (g *TGauge) SetName(value string)

设置组件名称。

Set the component name.

func (*TGauge) SetParent

func (g *TGauge) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TGauge) SetParentColor

func (g *TGauge) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TGauge) SetParentFont

func (g *TGauge) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TGauge) SetParentShowHint

func (g *TGauge) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TGauge) SetPopupMenu

func (g *TGauge) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TGauge) SetProgress

func (g *TGauge) SetProgress(value int32)

func (*TGauge) SetShowHint

func (g *TGauge) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TGauge) SetShowText

func (g *TGauge) SetShowText(value bool)

func (*TGauge) SetTag

func (g *TGauge) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TGauge) SetTextBuf

func (g *TGauge) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TGauge) SetTop

func (g *TGauge) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TGauge) SetVisible

func (g *TGauge) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TGauge) SetWidth

func (g *TGauge) SetWidth(value int32)

设置宽度。

Set width.

func (*TGauge) Show

func (g *TGauge) Show()

显示控件。

Show control.

func (*TGauge) ShowHint

func (g *TGauge) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TGauge) ShowText

func (g *TGauge) ShowText() bool

func (*TGauge) Tag

func (g *TGauge) Tag() int

获取对象标记。

Get the control tag.

func (*TGauge) ToString

func (g *TGauge) ToString() string

文本类信息。

Text information.

func (*TGauge) Top

func (g *TGauge) Top() int32

获取顶边位置。

Get Top position.

func (*TGauge) UnsafeAddr

func (g *TGauge) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TGauge) Update

func (g *TGauge) Update()

控件更新。

Update.

func (*TGauge) Visible

func (g *TGauge) Visible() bool

获取控件可视。

Get the control visible.

func (*TGauge) Width

func (g *TGauge) Width() int32

获取宽度。

Get width.

type TGetCellHintEvent

type TGetCellHintEvent func(sender IObject, ACol, ARow int32, hintText *string)

TGetCellHintEvent = procedure (Sender: TObject; ACol, ARow: Integer; var HintText: String) of object;

type TGetCheckboxStateEvent

type TGetCheckboxStateEvent func(sender IObject, ACol, ARow int32, value *TCheckBoxState)

TGetCheckboxStateEvent = procedure (Sender: TObject; ACol, ARow: Integer; var Value: TCheckboxState) of object;

type TGetEditEvent

type TGetEditEvent func(sender IObject, aCol, aRow int32, value *string)

TGetEditEvent = procedure (Sender: TObject; ACol, ARow: Longint; var Value: string) of object;

type TGetSiteInfoEvent

type TGetSiteInfoEvent func(sender IObject, dockClient *TControl, influenceRect *TRect, mousePos TPoint, canDock *bool)

TGetSiteInfoEvent = procedure(Sender: TObject; DockClient: TControl; var InfluenceRect: TRect; MousePos: TPoint; var CanDock: Boolean) of object;

type TGraphic

type TGraphic struct {
	IGraphic
	// contains filtered or unexported fields
}

func AsGraphic

func AsGraphic(obj interface{}) *TGraphic

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func GraphicFromInst

func GraphicFromInst(inst uintptr) *TGraphic

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsGraphic.

func GraphicFromObj

func GraphicFromObj(obj IObject) *TGraphic

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsGraphic.

func GraphicFromUnsafePointer

func GraphicFromUnsafePointer(ptr unsafe.Pointer) *TGraphic

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsGraphic.

func NewGraphic

func NewGraphic() *TGraphic

创建一个新的对象。

Create a new object.

func (*TGraphic) Assign

func (g *TGraphic) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TGraphic) ClassName

func (g *TGraphic) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TGraphic) ClassType

func (g *TGraphic) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TGraphic) Empty

func (g *TGraphic) Empty() bool

获取对象是否为空。

Get object is empty.

func (*TGraphic) Equals

func (g *TGraphic) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TGraphic) Free

func (g *TGraphic) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TGraphic) GetHashCode

func (g *TGraphic) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TGraphic) GetNamePath

func (g *TGraphic) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TGraphic) Height

func (g *TGraphic) Height() int32

获取高度。

Get height.

func (*TGraphic) InheritsFrom

func (g *TGraphic) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGraphic) Instance

func (g *TGraphic) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TGraphic) InstanceSize

func (g *TGraphic) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TGraphic) Is

func (g *TGraphic) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TGraphic) IsValid

func (g *TGraphic) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TGraphic) LoadFromFile

func (g *TGraphic) LoadFromFile(Filename string)

从文件加载。

func (*TGraphic) LoadFromStream

func (g *TGraphic) LoadFromStream(Stream IStream)

文件流加载。

func (*TGraphic) Modified

func (g *TGraphic) Modified() bool

获取修改。

Get modified.

func (*TGraphic) Palette

func (g *TGraphic) Palette() HPALETTE

func (*TGraphic) PaletteModified

func (g *TGraphic) PaletteModified() bool

func (*TGraphic) SaveToFile

func (g *TGraphic) SaveToFile(Filename string)

保存至文件。

func (*TGraphic) SaveToStream

func (g *TGraphic) SaveToStream(Stream IStream)

保存至流。

func (*TGraphic) SetHeight

func (g *TGraphic) SetHeight(value int32)

设置高度。

Set height.

func (*TGraphic) SetModified

func (g *TGraphic) SetModified(value bool)

设置修改。

Set modified.

func (*TGraphic) SetOnChange

func (g *TGraphic) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TGraphic) SetPalette

func (g *TGraphic) SetPalette(value HPALETTE)

func (*TGraphic) SetPaletteModified

func (g *TGraphic) SetPaletteModified(value bool)

func (*TGraphic) SetTransparent

func (g *TGraphic) SetTransparent(value bool)

设置透明。

Set transparent.

func (*TGraphic) SetWidth

func (g *TGraphic) SetWidth(value int32)

设置宽度。

Set width.

func (*TGraphic) ToString

func (g *TGraphic) ToString() string

文本类信息。

Text information.

func (*TGraphic) Transparent

func (g *TGraphic) Transparent() bool

获取透明。

Get transparent.

func (*TGraphic) UnsafeAddr

func (g *TGraphic) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TGraphic) Width

func (g *TGraphic) Width() int32

获取宽度。

Get width.

type TGridColumn

type TGridColumn struct {
	IObject
	// contains filtered or unexported fields
}

func AsGridColumn

func AsGridColumn(obj interface{}) *TGridColumn

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func GridColumnFromInst

func GridColumnFromInst(inst uintptr) *TGridColumn

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsGridColumn.

func GridColumnFromObj

func GridColumnFromObj(obj IObject) *TGridColumn

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsGridColumn.

func GridColumnFromUnsafePointer

func GridColumnFromUnsafePointer(ptr unsafe.Pointer) *TGridColumn

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsGridColumn.

func (*TGridColumn) Alignment

func (g *TGridColumn) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TGridColumn) Assign

func (g *TGridColumn) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TGridColumn) ButtonStyle

func (g *TGridColumn) ButtonStyle() TColumnButtonStyle

func (*TGridColumn) ClassName

func (g *TGridColumn) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TGridColumn) ClassType

func (g *TGridColumn) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TGridColumn) Collection

func (g *TGridColumn) Collection() *TCollection

func (*TGridColumn) Color

func (g *TGridColumn) Color() TColor

获取颜色。

Get color.

func (*TGridColumn) DefaultWidth

func (g *TGridColumn) DefaultWidth() int32

func (*TGridColumn) DisplayName

func (g *TGridColumn) DisplayName() string

func (*TGridColumn) DropDownRows

func (g *TGridColumn) DropDownRows() int32

func (*TGridColumn) Equals

func (g *TGridColumn) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TGridColumn) Expanded

func (g *TGridColumn) Expanded() bool

func (*TGridColumn) FixDesignFontsPPI

func (g *TGridColumn) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TGridColumn) Font

func (g *TGridColumn) Font() *TFont

获取字体。

Get Font.

func (*TGridColumn) GetHashCode

func (g *TGridColumn) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TGridColumn) GetNamePath

func (g *TGridColumn) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TGridColumn) Grid

func (g *TGridColumn) Grid() *TStringGrid

func (*TGridColumn) Index

func (g *TGridColumn) Index() int32

func (*TGridColumn) InheritsFrom

func (g *TGridColumn) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGridColumn) Instance

func (g *TGridColumn) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TGridColumn) InstanceSize

func (g *TGridColumn) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TGridColumn) Is

func (g *TGridColumn) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TGridColumn) IsDefault

func (g *TGridColumn) IsDefault() bool

func (*TGridColumn) IsValid

func (g *TGridColumn) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TGridColumn) Layout

func (g *TGridColumn) Layout() TTextLayout

func (*TGridColumn) MaxSize

func (g *TGridColumn) MaxSize() int32

func (*TGridColumn) MinSize

func (g *TGridColumn) MinSize() int32

func (*TGridColumn) PickList

func (g *TGridColumn) PickList() *TStrings

func (*TGridColumn) ReadOnly

func (g *TGridColumn) ReadOnly() bool

获取只读。

func (*TGridColumn) ScaleFontsPPI

func (g *TGridColumn) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TGridColumn) SetAlignment

func (g *TGridColumn) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TGridColumn) SetButtonStyle

func (g *TGridColumn) SetButtonStyle(value TColumnButtonStyle)

func (*TGridColumn) SetCollection

func (g *TGridColumn) SetCollection(value *TCollection)

func (*TGridColumn) SetColor

func (g *TGridColumn) SetColor(value TColor)

设置颜色。

Set color.

func (*TGridColumn) SetDisplayName

func (g *TGridColumn) SetDisplayName(value string)

func (*TGridColumn) SetDropDownRows

func (g *TGridColumn) SetDropDownRows(value int32)

func (*TGridColumn) SetExpanded

func (g *TGridColumn) SetExpanded(value bool)

func (*TGridColumn) SetFont

func (g *TGridColumn) SetFont(value *TFont)

设置字体。

Set Font.

func (*TGridColumn) SetIndex

func (g *TGridColumn) SetIndex(value int32)

func (*TGridColumn) SetLayout

func (g *TGridColumn) SetLayout(value TTextLayout)

func (*TGridColumn) SetMaxSize

func (g *TGridColumn) SetMaxSize(value int32)

func (*TGridColumn) SetMinSize

func (g *TGridColumn) SetMinSize(value int32)

func (*TGridColumn) SetPickList

func (g *TGridColumn) SetPickList(value IStrings)

func (*TGridColumn) SetReadOnly

func (g *TGridColumn) SetReadOnly(value bool)

设置只读。

func (*TGridColumn) SetSizePriority

func (g *TGridColumn) SetSizePriority(value int32)

func (*TGridColumn) SetTag

func (g *TGridColumn) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TGridColumn) SetTitle

func (g *TGridColumn) SetTitle(value *TGridColumnTitle)

func (*TGridColumn) SetValueChecked

func (g *TGridColumn) SetValueChecked(value string)

func (*TGridColumn) SetValueUnchecked

func (g *TGridColumn) SetValueUnchecked(value string)

func (*TGridColumn) SetVisible

func (g *TGridColumn) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TGridColumn) SetWidth

func (g *TGridColumn) SetWidth(value int32)

设置宽度。

Set width.

func (*TGridColumn) SizePriority

func (g *TGridColumn) SizePriority() int32

func (*TGridColumn) StoredWidth

func (g *TGridColumn) StoredWidth() int32

func (*TGridColumn) Tag

func (g *TGridColumn) Tag() int

获取对象标记。

Get the control tag.

func (*TGridColumn) Title

func (g *TGridColumn) Title() *TGridColumnTitle

func (*TGridColumn) ToString

func (g *TGridColumn) ToString() string

文本类信息。

Text information.

func (*TGridColumn) UnsafeAddr

func (g *TGridColumn) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TGridColumn) ValueChecked

func (g *TGridColumn) ValueChecked() string

func (*TGridColumn) ValueUnchecked

func (g *TGridColumn) ValueUnchecked() string

func (*TGridColumn) Visible

func (g *TGridColumn) Visible() bool

获取控件可视。

Get the control visible.

func (*TGridColumn) Width

func (g *TGridColumn) Width() int32

获取宽度。

Get width.

func (*TGridColumn) WidthChanged

func (g *TGridColumn) WidthChanged() bool

type TGridColumnTitle

type TGridColumnTitle struct {
	IObject
	// contains filtered or unexported fields
}

func AsGridColumnTitle

func AsGridColumnTitle(obj interface{}) *TGridColumnTitle

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func GridColumnTitleFromInst

func GridColumnTitleFromInst(inst uintptr) *TGridColumnTitle

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsGridColumnTitle.

func GridColumnTitleFromObj

func GridColumnTitleFromObj(obj IObject) *TGridColumnTitle

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsGridColumnTitle.

func GridColumnTitleFromUnsafePointer

func GridColumnTitleFromUnsafePointer(ptr unsafe.Pointer) *TGridColumnTitle

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsGridColumnTitle.

func (*TGridColumnTitle) Alignment

func (g *TGridColumnTitle) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TGridColumnTitle) Assign

func (g *TGridColumnTitle) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TGridColumnTitle) Caption

func (g *TGridColumnTitle) Caption() string

获取控件标题。

Get the control title.

func (*TGridColumnTitle) ClassName

func (g *TGridColumnTitle) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TGridColumnTitle) ClassType

func (g *TGridColumnTitle) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TGridColumnTitle) Color

func (g *TGridColumnTitle) Color() TColor

获取颜色。

Get color.

func (*TGridColumnTitle) Column

func (g *TGridColumnTitle) Column() *TGridColumn

func (*TGridColumnTitle) Equals

func (g *TGridColumnTitle) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TGridColumnTitle) FillTitleDefaultFont

func (g *TGridColumnTitle) FillTitleDefaultFont()

func (*TGridColumnTitle) FixDesignFontsPPI

func (g *TGridColumnTitle) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TGridColumnTitle) Font

func (g *TGridColumnTitle) Font() *TFont

获取字体。

Get Font.

func (*TGridColumnTitle) GetHashCode

func (g *TGridColumnTitle) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TGridColumnTitle) GetNamePath

func (g *TGridColumnTitle) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TGridColumnTitle) ImageIndex

func (g *TGridColumnTitle) ImageIndex() int32

获取图像在images中的索引。

func (*TGridColumnTitle) ImageLayout

func (g *TGridColumnTitle) ImageLayout() TButtonLayout

func (*TGridColumnTitle) InheritsFrom

func (g *TGridColumnTitle) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGridColumnTitle) Instance

func (g *TGridColumnTitle) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TGridColumnTitle) InstanceSize

func (g *TGridColumnTitle) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TGridColumnTitle) Is

func (g *TGridColumnTitle) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TGridColumnTitle) IsDefault

func (g *TGridColumnTitle) IsDefault() bool

func (*TGridColumnTitle) IsValid

func (g *TGridColumnTitle) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TGridColumnTitle) Layout

func (g *TGridColumnTitle) Layout() TTextLayout

func (*TGridColumnTitle) MultiLine

func (g *TGridColumnTitle) MultiLine() bool

func (*TGridColumnTitle) PrefixOption

func (g *TGridColumnTitle) PrefixOption() TPrefixOption

func (*TGridColumnTitle) ScaleFontsPPI

func (g *TGridColumnTitle) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TGridColumnTitle) SetAlignment

func (g *TGridColumnTitle) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TGridColumnTitle) SetCaption

func (g *TGridColumnTitle) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TGridColumnTitle) SetColor

func (g *TGridColumnTitle) SetColor(value TColor)

设置颜色。

Set color.

func (*TGridColumnTitle) SetFont

func (g *TGridColumnTitle) SetFont(value *TFont)

设置字体。

Set Font.

func (*TGridColumnTitle) SetImageIndex

func (g *TGridColumnTitle) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TGridColumnTitle) SetImageLayout

func (g *TGridColumnTitle) SetImageLayout(value TButtonLayout)

func (*TGridColumnTitle) SetLayout

func (g *TGridColumnTitle) SetLayout(value TTextLayout)

func (*TGridColumnTitle) SetMultiLine

func (g *TGridColumnTitle) SetMultiLine(value bool)

func (*TGridColumnTitle) SetPrefixOption

func (g *TGridColumnTitle) SetPrefixOption(value TPrefixOption)

func (*TGridColumnTitle) ToString

func (g *TGridColumnTitle) ToString() string

文本类信息。

Text information.

func (*TGridColumnTitle) UnsafeAddr

func (g *TGridColumnTitle) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TGridColumns

type TGridColumns struct {
	IObject
	// contains filtered or unexported fields
}

func AsGridColumns

func AsGridColumns(obj interface{}) *TGridColumns

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func GridColumnsFromInst

func GridColumnsFromInst(inst uintptr) *TGridColumns

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsGridColumns.

func GridColumnsFromObj

func GridColumnsFromObj(obj IObject) *TGridColumns

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsGridColumns.

func GridColumnsFromUnsafePointer

func GridColumnsFromUnsafePointer(ptr unsafe.Pointer) *TGridColumns

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsGridColumns.

func (*TGridColumns) Add

func (g *TGridColumns) Add() *TGridColumn

func (*TGridColumns) Assign

func (g *TGridColumns) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TGridColumns) BeginUpdate

func (g *TGridColumns) BeginUpdate()

func (*TGridColumns) ClassName

func (g *TGridColumns) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TGridColumns) ClassType

func (g *TGridColumns) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TGridColumns) Clear

func (g *TGridColumns) Clear()

清除。

func (*TGridColumns) Count

func (g *TGridColumns) Count() int32

func (*TGridColumns) Delete

func (g *TGridColumns) Delete(Index int32)

func (*TGridColumns) Enabled

func (g *TGridColumns) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TGridColumns) EndUpdate

func (g *TGridColumns) EndUpdate()

func (*TGridColumns) Equals

func (g *TGridColumns) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TGridColumns) FindItemID

func (g *TGridColumns) FindItemID(ID int32) *TCollectionItem

func (*TGridColumns) GetHashCode

func (g *TGridColumns) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TGridColumns) GetNamePath

func (g *TGridColumns) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TGridColumns) Grid

func (g *TGridColumns) Grid() *TStringGrid

func (*TGridColumns) HasIndex

func (g *TGridColumns) HasIndex(Index int32) bool

func (*TGridColumns) IndexOf

func (g *TGridColumns) IndexOf(Column *TGridColumn) int32

func (*TGridColumns) InheritsFrom

func (g *TGridColumns) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGridColumns) Insert

func (g *TGridColumns) Insert(Index int32) *TCollectionItem

func (*TGridColumns) Instance

func (g *TGridColumns) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TGridColumns) InstanceSize

func (g *TGridColumns) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TGridColumns) Is

func (g *TGridColumns) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TGridColumns) IsDefault

func (g *TGridColumns) IsDefault() bool

func (*TGridColumns) IsValid

func (g *TGridColumns) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TGridColumns) Items

func (g *TGridColumns) Items(Index int32) *TGridColumn

func (*TGridColumns) Owner

func (g *TGridColumns) Owner() *TObject

组件所有者。

component owner.

func (*TGridColumns) RealIndex

func (g *TGridColumns) RealIndex(Index int32) int32

func (*TGridColumns) SetItems

func (g *TGridColumns) SetItems(Index int32, value *TGridColumn)

func (*TGridColumns) ToString

func (g *TGridColumns) ToString() string

文本类信息。

Text information.

func (*TGridColumns) UnsafeAddr

func (g *TGridColumns) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TGridColumns) VisibleCount

func (g *TGridColumns) VisibleCount() int32

type TGridOperationEvent

type TGridOperationEvent func(sender IObject, isColumn bool, sIndex, tIndex int32)

TGridOperationEvent = procedure (Sender: TObject; IsColumn:Boolean; sIndex, tIndex: Integer) of object;

type TGroupBox

type TGroupBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsGroupBox

func AsGroupBox(obj interface{}) *TGroupBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func GroupBoxFromInst

func GroupBoxFromInst(inst uintptr) *TGroupBox

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsGroupBox.

func GroupBoxFromObj

func GroupBoxFromObj(obj IObject) *TGroupBox

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsGroupBox.

func GroupBoxFromUnsafePointer

func GroupBoxFromUnsafePointer(ptr unsafe.Pointer) *TGroupBox

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsGroupBox.

func NewGroupBox

func NewGroupBox(owner IComponent) *TGroupBox

创建一个新的对象。

Create a new object.

func (*TGroupBox) Action

func (g *TGroupBox) Action() *TAction

func (*TGroupBox) Align

func (g *TGroupBox) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TGroupBox) AnchorAsAlign

func (g *TGroupBox) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TGroupBox) AnchorClient

func (g *TGroupBox) AnchorClient(ASpace int32)

func (*TGroupBox) AnchorHorizontalCenterTo

func (g *TGroupBox) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TGroupBox) AnchorParallel

func (g *TGroupBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TGroupBox) AnchorSame

func (g *TGroupBox) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TGroupBox) AnchorSide

func (g *TGroupBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TGroupBox) AnchorSideBottom

func (g *TGroupBox) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TGroupBox) AnchorSideLeft

func (g *TGroupBox) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TGroupBox) AnchorSideRight

func (g *TGroupBox) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TGroupBox) AnchorSideTop

func (g *TGroupBox) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TGroupBox) AnchorToNeighbour

func (g *TGroupBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TGroupBox) AnchorVerticalCenterTo

func (g *TGroupBox) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TGroupBox) Anchors

func (g *TGroupBox) Anchors() TAnchors

获取四个角位置的锚点。

func (*TGroupBox) Assign

func (g *TGroupBox) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TGroupBox) AutoAdjustLayout

func (g *TGroupBox) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TGroupBox) BiDiMode

func (g *TGroupBox) BiDiMode() TBiDiMode

func (*TGroupBox) BorderSpacing

func (g *TGroupBox) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TGroupBox) BoundsRect

func (g *TGroupBox) BoundsRect() TRect

func (*TGroupBox) BringToFront

func (g *TGroupBox) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TGroupBox) Brush

func (g *TGroupBox) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TGroupBox) CanFocus

func (g *TGroupBox) CanFocus() bool

是否可以获得焦点。

func (*TGroupBox) Caption

func (g *TGroupBox) Caption() string

获取控件标题。

Get the control title.

func (*TGroupBox) ChildSizing

func (g *TGroupBox) ChildSizing() *TControlChildSizing

func (*TGroupBox) ClassName

func (g *TGroupBox) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TGroupBox) ClassType

func (g *TGroupBox) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TGroupBox) ClientHeight

func (g *TGroupBox) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TGroupBox) ClientOrigin

func (g *TGroupBox) ClientOrigin() TPoint

func (*TGroupBox) ClientRect

func (g *TGroupBox) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TGroupBox) ClientToParent

func (g *TGroupBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TGroupBox) ClientToScreen

func (g *TGroupBox) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TGroupBox) ClientWidth

func (g *TGroupBox) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TGroupBox) Color

func (g *TGroupBox) Color() TColor

获取颜色。

Get color.

func (*TGroupBox) ComponentCount

func (g *TGroupBox) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TGroupBox) ComponentIndex

func (g *TGroupBox) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TGroupBox) Components

func (g *TGroupBox) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TGroupBox) Constraints

func (g *TGroupBox) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TGroupBox) ContainsControl

func (g *TGroupBox) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TGroupBox) ControlAtPos

func (g *TGroupBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TGroupBox) ControlCount

func (g *TGroupBox) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TGroupBox) ControlState

func (g *TGroupBox) ControlState() TControlState

获取控件状态。

Get control state.

func (*TGroupBox) ControlStyle

func (g *TGroupBox) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TGroupBox) Controls

func (g *TGroupBox) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TGroupBox) Cursor

func (g *TGroupBox) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TGroupBox) DisableAlign

func (g *TGroupBox) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TGroupBox) DockClientCount

func (g *TGroupBox) DockClientCount() int32

获取依靠客户端总数。

func (*TGroupBox) DockClients

func (g *TGroupBox) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TGroupBox) DockSite

func (g *TGroupBox) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TGroupBox) DoubleBuffered

func (g *TGroupBox) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TGroupBox) DragCursor

func (g *TGroupBox) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TGroupBox) DragKind

func (g *TGroupBox) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TGroupBox) DragMode

func (g *TGroupBox) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TGroupBox) Dragging

func (g *TGroupBox) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TGroupBox) EnableAlign

func (g *TGroupBox) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TGroupBox) Enabled

func (g *TGroupBox) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TGroupBox) Equals

func (g *TGroupBox) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TGroupBox) FindChildControl

func (g *TGroupBox) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TGroupBox) FindComponent

func (g *TGroupBox) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TGroupBox) FixDesignFontsPPI

func (g *TGroupBox) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TGroupBox) FlipChildren

func (g *TGroupBox) FlipChildren(AllLevels bool)

func (*TGroupBox) Floating

func (g *TGroupBox) Floating() bool

func (*TGroupBox) Focused

func (g *TGroupBox) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TGroupBox) Font

func (g *TGroupBox) Font() *TFont

获取字体。

Get Font.

func (*TGroupBox) Free

func (g *TGroupBox) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TGroupBox) GetHashCode

func (g *TGroupBox) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TGroupBox) GetNamePath

func (g *TGroupBox) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TGroupBox) GetTextBuf

func (g *TGroupBox) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TGroupBox) GetTextLen

func (g *TGroupBox) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TGroupBox) Handle

func (g *TGroupBox) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TGroupBox) HandleAllocated

func (g *TGroupBox) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TGroupBox) HasParent

func (g *TGroupBox) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TGroupBox) Height

func (g *TGroupBox) Height() int32

获取高度。

Get height.

func (*TGroupBox) Hide

func (g *TGroupBox) Hide()

隐藏控件。

Hidden control.

func (*TGroupBox) Hint

func (g *TGroupBox) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TGroupBox) InheritsFrom

func (g *TGroupBox) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGroupBox) InsertControl

func (g *TGroupBox) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TGroupBox) Instance

func (g *TGroupBox) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TGroupBox) InstanceSize

func (g *TGroupBox) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TGroupBox) Invalidate

func (g *TGroupBox) Invalidate()

要求重绘。

Redraw.

func (*TGroupBox) Is

func (g *TGroupBox) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TGroupBox) IsValid

func (g *TGroupBox) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TGroupBox) Left

func (g *TGroupBox) Left() int32

获取左边位置。

Get Left position.

func (*TGroupBox) MouseInClient

func (g *TGroupBox) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TGroupBox) Name

func (g *TGroupBox) Name() string

获取组件名称。

Get the component name.

func (*TGroupBox) Owner

func (g *TGroupBox) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TGroupBox) PaintTo

func (g *TGroupBox) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TGroupBox) Parent

func (g *TGroupBox) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TGroupBox) ParentBackground

func (g *TGroupBox) ParentBackground() bool

func (*TGroupBox) ParentColor

func (g *TGroupBox) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TGroupBox) ParentDoubleBuffered

func (g *TGroupBox) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TGroupBox) ParentFont

func (g *TGroupBox) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TGroupBox) ParentShowHint

func (g *TGroupBox) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TGroupBox) ParentToClient

func (g *TGroupBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TGroupBox) ParentWindow

func (g *TGroupBox) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TGroupBox) Perform

func (g *TGroupBox) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TGroupBox) PopupMenu

func (g *TGroupBox) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TGroupBox) Realign

func (g *TGroupBox) Realign()

重新对齐。

Realign.

func (*TGroupBox) Refresh

func (g *TGroupBox) Refresh()

刷新控件。

Refresh control.

func (*TGroupBox) RemoveControl

func (g *TGroupBox) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TGroupBox) Repaint

func (g *TGroupBox) Repaint()

重绘。

Repaint.

func (*TGroupBox) Scale96ToFont

func (g *TGroupBox) Scale96ToFont(ASize int32) int32

func (*TGroupBox) Scale96ToForm

func (g *TGroupBox) Scale96ToForm(ASize int32) int32

func (*TGroupBox) Scale96ToScreen

func (g *TGroupBox) Scale96ToScreen(ASize int32) int32

func (*TGroupBox) ScaleBy

func (g *TGroupBox) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TGroupBox) ScaleDesignToForm

func (g *TGroupBox) ScaleDesignToForm(ASize int32) int32

func (*TGroupBox) ScaleFontTo96

func (g *TGroupBox) ScaleFontTo96(ASize int32) int32

func (*TGroupBox) ScaleFontToScreen

func (g *TGroupBox) ScaleFontToScreen(ASize int32) int32

func (*TGroupBox) ScaleFontsPPI

func (g *TGroupBox) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TGroupBox) ScaleFormTo96

func (g *TGroupBox) ScaleFormTo96(ASize int32) int32

func (*TGroupBox) ScaleFormToDesign

func (g *TGroupBox) ScaleFormToDesign(ASize int32) int32

func (*TGroupBox) ScaleScreenTo96

func (g *TGroupBox) ScaleScreenTo96(ASize int32) int32

func (*TGroupBox) ScaleScreenToFont

func (g *TGroupBox) ScaleScreenToFont(ASize int32) int32

func (*TGroupBox) ScreenToClient

func (g *TGroupBox) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TGroupBox) ScrollBy

func (g *TGroupBox) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TGroupBox) SendToBack

func (g *TGroupBox) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TGroupBox) SetAction

func (g *TGroupBox) SetAction(value IComponent)

func (*TGroupBox) SetAlign

func (g *TGroupBox) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TGroupBox) SetAnchorSideBottom

func (g *TGroupBox) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TGroupBox) SetAnchorSideLeft

func (g *TGroupBox) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TGroupBox) SetAnchorSideRight

func (g *TGroupBox) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TGroupBox) SetAnchorSideTop

func (g *TGroupBox) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TGroupBox) SetAnchors

func (g *TGroupBox) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TGroupBox) SetBiDiMode

func (g *TGroupBox) SetBiDiMode(value TBiDiMode)

func (*TGroupBox) SetBorderSpacing

func (g *TGroupBox) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TGroupBox) SetBounds

func (g *TGroupBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TGroupBox) SetBoundsRect

func (g *TGroupBox) SetBoundsRect(value TRect)

func (*TGroupBox) SetCaption

func (g *TGroupBox) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TGroupBox) SetChildSizing

func (g *TGroupBox) SetChildSizing(value *TControlChildSizing)

func (*TGroupBox) SetClientHeight

func (g *TGroupBox) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TGroupBox) SetClientWidth

func (g *TGroupBox) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TGroupBox) SetColor

func (g *TGroupBox) SetColor(value TColor)

设置颜色。

Set color.

func (*TGroupBox) SetComponentIndex

func (g *TGroupBox) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TGroupBox) SetConstraints

func (g *TGroupBox) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TGroupBox) SetControlState

func (g *TGroupBox) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TGroupBox) SetControlStyle

func (g *TGroupBox) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TGroupBox) SetCursor

func (g *TGroupBox) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TGroupBox) SetDockSite

func (g *TGroupBox) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TGroupBox) SetDoubleBuffered

func (g *TGroupBox) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TGroupBox) SetDragCursor

func (g *TGroupBox) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TGroupBox) SetDragKind

func (g *TGroupBox) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TGroupBox) SetDragMode

func (g *TGroupBox) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TGroupBox) SetEnabled

func (g *TGroupBox) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TGroupBox) SetFocus

func (g *TGroupBox) SetFocus()

设置控件焦点。

Set control focus.

func (*TGroupBox) SetFont

func (g *TGroupBox) SetFont(value *TFont)

设置字体。

Set Font.

func (*TGroupBox) SetHeight

func (g *TGroupBox) SetHeight(value int32)

设置高度。

Set height.

func (*TGroupBox) SetHint

func (g *TGroupBox) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TGroupBox) SetLeft

func (g *TGroupBox) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TGroupBox) SetName

func (g *TGroupBox) SetName(value string)

设置组件名称。

Set the component name.

func (*TGroupBox) SetOnAlignPosition

func (g *TGroupBox) SetOnAlignPosition(fn TAlignPositionEvent)

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TGroupBox) SetOnClick

func (g *TGroupBox) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TGroupBox) SetOnContextPopup

func (g *TGroupBox) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TGroupBox) SetOnDblClick

func (g *TGroupBox) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TGroupBox) SetOnDockDrop

func (g *TGroupBox) SetOnDockDrop(fn TDockDropEvent)

func (*TGroupBox) SetOnDragDrop

func (g *TGroupBox) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TGroupBox) SetOnDragOver

func (g *TGroupBox) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TGroupBox) SetOnEndDock

func (g *TGroupBox) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TGroupBox) SetOnEndDrag

func (g *TGroupBox) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TGroupBox) SetOnEnter

func (g *TGroupBox) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TGroupBox) SetOnExit

func (g *TGroupBox) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TGroupBox) SetOnGetSiteInfo

func (g *TGroupBox) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TGroupBox) SetOnMouseDown

func (g *TGroupBox) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TGroupBox) SetOnMouseEnter

func (g *TGroupBox) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TGroupBox) SetOnMouseLeave

func (g *TGroupBox) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TGroupBox) SetOnMouseMove

func (g *TGroupBox) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TGroupBox) SetOnMouseUp

func (g *TGroupBox) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TGroupBox) SetOnStartDock

func (g *TGroupBox) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TGroupBox) SetOnUnDock

func (g *TGroupBox) SetOnUnDock(fn TUnDockEvent)

func (*TGroupBox) SetParent

func (g *TGroupBox) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TGroupBox) SetParentBackground

func (g *TGroupBox) SetParentBackground(value bool)

func (*TGroupBox) SetParentColor

func (g *TGroupBox) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TGroupBox) SetParentDoubleBuffered

func (g *TGroupBox) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TGroupBox) SetParentFont

func (g *TGroupBox) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TGroupBox) SetParentShowHint

func (g *TGroupBox) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TGroupBox) SetParentWindow

func (g *TGroupBox) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TGroupBox) SetPopupMenu

func (g *TGroupBox) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TGroupBox) SetShowHint

func (g *TGroupBox) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TGroupBox) SetTabOrder

func (g *TGroupBox) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TGroupBox) SetTabStop

func (g *TGroupBox) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TGroupBox) SetTag

func (g *TGroupBox) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TGroupBox) SetTextBuf

func (g *TGroupBox) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TGroupBox) SetTop

func (g *TGroupBox) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TGroupBox) SetUseDockManager

func (g *TGroupBox) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TGroupBox) SetVisible

func (g *TGroupBox) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TGroupBox) SetWidth

func (g *TGroupBox) SetWidth(value int32)

设置宽度。

Set width.

func (*TGroupBox) Show

func (g *TGroupBox) Show()

显示控件。

Show control.

func (*TGroupBox) ShowHint

func (g *TGroupBox) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TGroupBox) Showing

func (g *TGroupBox) Showing() bool

func (*TGroupBox) TabOrder

func (g *TGroupBox) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TGroupBox) TabStop

func (g *TGroupBox) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TGroupBox) Tag

func (g *TGroupBox) Tag() int

获取对象标记。

Get the control tag.

func (*TGroupBox) ToString

func (g *TGroupBox) ToString() string

文本类信息。

Text information.

func (*TGroupBox) Top

func (g *TGroupBox) Top() int32

获取顶边位置。

Get Top position.

func (*TGroupBox) UnsafeAddr

func (g *TGroupBox) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TGroupBox) Update

func (g *TGroupBox) Update()

控件更新。

Update.

func (*TGroupBox) UseDockManager

func (g *TGroupBox) UseDockManager() bool

获取使用停靠管理。

func (*TGroupBox) Visible

func (g *TGroupBox) Visible() bool

获取控件可视。

Get the control visible.

func (*TGroupBox) VisibleDockClientCount

func (g *TGroupBox) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TGroupBox) Width

func (g *TGroupBox) Width() int32

获取宽度。

Get width.

type THdrEvent

type THdrEvent func(sender IObject, isColumn bool, index int32)

THdrEvent = procedure(Sender: TObject; IsColumn: Boolean; Index: Integer) of object;

type THeaderControl

type THeaderControl struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsHeaderControl

func AsHeaderControl(obj interface{}) *THeaderControl

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func HeaderControlFromInst

func HeaderControlFromInst(inst uintptr) *THeaderControl

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsHeaderControl.

func HeaderControlFromObj

func HeaderControlFromObj(obj IObject) *THeaderControl

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsHeaderControl.

func HeaderControlFromUnsafePointer

func HeaderControlFromUnsafePointer(ptr unsafe.Pointer) *THeaderControl

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsHeaderControl.

func NewHeaderControl

func NewHeaderControl(owner IComponent) *THeaderControl

创建一个新的对象。

Create a new object.

func (*THeaderControl) Action

func (h *THeaderControl) Action() *TAction

func (*THeaderControl) Align

func (h *THeaderControl) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*THeaderControl) AnchorAsAlign

func (h *THeaderControl) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*THeaderControl) AnchorClient

func (h *THeaderControl) AnchorClient(ASpace int32)

func (*THeaderControl) AnchorHorizontalCenterTo

func (h *THeaderControl) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*THeaderControl) AnchorParallel

func (h *THeaderControl) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*THeaderControl) AnchorSame

func (h *THeaderControl) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*THeaderControl) AnchorSide

func (h *THeaderControl) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*THeaderControl) AnchorSideBottom

func (h *THeaderControl) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*THeaderControl) AnchorSideLeft

func (h *THeaderControl) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*THeaderControl) AnchorSideRight

func (h *THeaderControl) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*THeaderControl) AnchorSideTop

func (h *THeaderControl) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*THeaderControl) AnchorToNeighbour

func (h *THeaderControl) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*THeaderControl) AnchorVerticalCenterTo

func (h *THeaderControl) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*THeaderControl) Anchors

func (h *THeaderControl) Anchors() TAnchors

获取四个角位置的锚点。

func (*THeaderControl) Assign

func (h *THeaderControl) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*THeaderControl) AutoAdjustLayout

func (h *THeaderControl) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*THeaderControl) BorderSpacing

func (h *THeaderControl) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*THeaderControl) BorderWidth

func (h *THeaderControl) BorderWidth() int32

获取边框的宽度。

func (*THeaderControl) BoundsRect

func (h *THeaderControl) BoundsRect() TRect

func (*THeaderControl) BringToFront

func (h *THeaderControl) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*THeaderControl) Brush

func (h *THeaderControl) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*THeaderControl) CanFocus

func (h *THeaderControl) CanFocus() bool

是否可以获得焦点。

func (*THeaderControl) Canvas

func (h *THeaderControl) Canvas() *TCanvas

获取画布。

func (*THeaderControl) ChildSizing

func (h *THeaderControl) ChildSizing() *TControlChildSizing

func (*THeaderControl) ClassName

func (h *THeaderControl) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*THeaderControl) ClassType

func (h *THeaderControl) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*THeaderControl) ClientHeight

func (h *THeaderControl) ClientHeight() int32

获取客户区高度。

Get client height.

func (*THeaderControl) ClientOrigin

func (h *THeaderControl) ClientOrigin() TPoint

func (*THeaderControl) ClientRect

func (h *THeaderControl) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*THeaderControl) ClientToParent

func (h *THeaderControl) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*THeaderControl) ClientToScreen

func (h *THeaderControl) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*THeaderControl) ClientWidth

func (h *THeaderControl) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*THeaderControl) ComponentCount

func (h *THeaderControl) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*THeaderControl) ComponentIndex

func (h *THeaderControl) ComponentIndex() int32

获取组件索引。

Get component index.

func (*THeaderControl) Components

func (h *THeaderControl) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*THeaderControl) Constraints

func (h *THeaderControl) Constraints() *TSizeConstraints

获取约束控件大小。

func (*THeaderControl) ContainsControl

func (h *THeaderControl) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*THeaderControl) ControlAtPos

func (h *THeaderControl) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*THeaderControl) ControlCount

func (h *THeaderControl) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*THeaderControl) ControlState

func (h *THeaderControl) ControlState() TControlState

获取控件状态。

Get control state.

func (*THeaderControl) ControlStyle

func (h *THeaderControl) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*THeaderControl) Controls

func (h *THeaderControl) Controls(Index int32) *TControl

获取指定索引子控件。

func (*THeaderControl) Cursor

func (h *THeaderControl) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*THeaderControl) DisableAlign

func (h *THeaderControl) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*THeaderControl) DockClientCount

func (h *THeaderControl) DockClientCount() int32

获取依靠客户端总数。

func (*THeaderControl) DockClients

func (h *THeaderControl) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*THeaderControl) DockSite

func (h *THeaderControl) DockSite() bool

获取停靠站点。

Get Docking site.

func (*THeaderControl) DoubleBuffered

func (h *THeaderControl) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*THeaderControl) DragCursor

func (h *THeaderControl) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*THeaderControl) DragKind

func (h *THeaderControl) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*THeaderControl) DragMode

func (h *THeaderControl) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*THeaderControl) Dragging

func (h *THeaderControl) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*THeaderControl) EnableAlign

func (h *THeaderControl) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*THeaderControl) Enabled

func (h *THeaderControl) Enabled() bool

获取控件启用。

Get the control enabled.

func (*THeaderControl) Equals

func (h *THeaderControl) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*THeaderControl) FindChildControl

func (h *THeaderControl) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*THeaderControl) FindComponent

func (h *THeaderControl) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*THeaderControl) FixDesignFontsPPI

func (h *THeaderControl) FixDesignFontsPPI(ADesignTimePPI int32)

func (*THeaderControl) FlipChildren

func (h *THeaderControl) FlipChildren(AllLevels bool)

func (*THeaderControl) Floating

func (h *THeaderControl) Floating() bool

func (*THeaderControl) Focused

func (h *THeaderControl) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*THeaderControl) Font

func (h *THeaderControl) Font() *TFont

获取字体。

Get Font.

func (*THeaderControl) Free

func (h *THeaderControl) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*THeaderControl) GetHashCode

func (h *THeaderControl) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*THeaderControl) GetNamePath

func (h *THeaderControl) GetNamePath() string

获取类名路径。

Get the class name path.

func (*THeaderControl) GetTextBuf

func (h *THeaderControl) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*THeaderControl) GetTextLen

func (h *THeaderControl) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*THeaderControl) Handle

func (h *THeaderControl) Handle() HWND

获取控件句柄。

Get Control handle.

func (*THeaderControl) HandleAllocated

func (h *THeaderControl) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*THeaderControl) HasParent

func (h *THeaderControl) HasParent() bool

是否有父容器。

Is there a parent container.

func (*THeaderControl) Height

func (h *THeaderControl) Height() int32

获取高度。

Get height.

func (*THeaderControl) Hide

func (h *THeaderControl) Hide()

隐藏控件。

Hidden control.

func (*THeaderControl) Hint

func (h *THeaderControl) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*THeaderControl) Images

func (h *THeaderControl) Images() *TImageList

获取图标索引列表对象。

func (*THeaderControl) InheritsFrom

func (h *THeaderControl) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*THeaderControl) InsertControl

func (h *THeaderControl) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*THeaderControl) Instance

func (h *THeaderControl) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*THeaderControl) InstanceSize

func (h *THeaderControl) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*THeaderControl) Invalidate

func (h *THeaderControl) Invalidate()

要求重绘。

Redraw.

func (*THeaderControl) Is

func (h *THeaderControl) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*THeaderControl) IsValid

func (h *THeaderControl) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*THeaderControl) Left

func (h *THeaderControl) Left() int32

获取左边位置。

Get Left position.

func (*THeaderControl) MouseInClient

func (h *THeaderControl) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*THeaderControl) Name

func (h *THeaderControl) Name() string

获取组件名称。

Get the component name.

func (*THeaderControl) Owner

func (h *THeaderControl) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*THeaderControl) PaintTo

func (h *THeaderControl) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*THeaderControl) Parent

func (h *THeaderControl) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*THeaderControl) ParentDoubleBuffered

func (h *THeaderControl) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*THeaderControl) ParentFont

func (h *THeaderControl) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*THeaderControl) ParentShowHint

func (h *THeaderControl) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*THeaderControl) ParentToClient

func (h *THeaderControl) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*THeaderControl) ParentWindow

func (h *THeaderControl) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*THeaderControl) Perform

func (h *THeaderControl) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*THeaderControl) PopupMenu

func (h *THeaderControl) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*THeaderControl) Realign

func (h *THeaderControl) Realign()

重新对齐。

Realign.

func (*THeaderControl) Refresh

func (h *THeaderControl) Refresh()

刷新控件。

Refresh control.

func (*THeaderControl) RemoveControl

func (h *THeaderControl) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*THeaderControl) Repaint

func (h *THeaderControl) Repaint()

重绘。

Repaint.

func (*THeaderControl) Scale96ToFont

func (h *THeaderControl) Scale96ToFont(ASize int32) int32

func (*THeaderControl) Scale96ToForm

func (h *THeaderControl) Scale96ToForm(ASize int32) int32

func (*THeaderControl) Scale96ToScreen

func (h *THeaderControl) Scale96ToScreen(ASize int32) int32

func (*THeaderControl) ScaleBy

func (h *THeaderControl) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*THeaderControl) ScaleDesignToForm

func (h *THeaderControl) ScaleDesignToForm(ASize int32) int32

func (*THeaderControl) ScaleFontTo96

func (h *THeaderControl) ScaleFontTo96(ASize int32) int32

func (*THeaderControl) ScaleFontToScreen

func (h *THeaderControl) ScaleFontToScreen(ASize int32) int32

func (*THeaderControl) ScaleFontsPPI

func (h *THeaderControl) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*THeaderControl) ScaleFormTo96

func (h *THeaderControl) ScaleFormTo96(ASize int32) int32

func (*THeaderControl) ScaleFormToDesign

func (h *THeaderControl) ScaleFormToDesign(ASize int32) int32

func (*THeaderControl) ScaleScreenTo96

func (h *THeaderControl) ScaleScreenTo96(ASize int32) int32

func (*THeaderControl) ScaleScreenToFont

func (h *THeaderControl) ScaleScreenToFont(ASize int32) int32

func (*THeaderControl) ScreenToClient

func (h *THeaderControl) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*THeaderControl) ScrollBy

func (h *THeaderControl) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*THeaderControl) Sections

func (h *THeaderControl) Sections() *THeaderSections

func (*THeaderControl) SendToBack

func (h *THeaderControl) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*THeaderControl) SetAction

func (h *THeaderControl) SetAction(value IComponent)

func (*THeaderControl) SetAlign

func (h *THeaderControl) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*THeaderControl) SetAnchorSideBottom

func (h *THeaderControl) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*THeaderControl) SetAnchorSideLeft

func (h *THeaderControl) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*THeaderControl) SetAnchorSideRight

func (h *THeaderControl) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*THeaderControl) SetAnchorSideTop

func (h *THeaderControl) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*THeaderControl) SetAnchors

func (h *THeaderControl) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*THeaderControl) SetBorderSpacing

func (h *THeaderControl) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*THeaderControl) SetBorderWidth

func (h *THeaderControl) SetBorderWidth(value int32)

设置边框的宽度。

func (*THeaderControl) SetBounds

func (h *THeaderControl) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*THeaderControl) SetBoundsRect

func (h *THeaderControl) SetBoundsRect(value TRect)

func (*THeaderControl) SetChildSizing

func (h *THeaderControl) SetChildSizing(value *TControlChildSizing)

func (*THeaderControl) SetClientHeight

func (h *THeaderControl) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*THeaderControl) SetClientWidth

func (h *THeaderControl) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*THeaderControl) SetComponentIndex

func (h *THeaderControl) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*THeaderControl) SetConstraints

func (h *THeaderControl) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*THeaderControl) SetControlState

func (h *THeaderControl) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*THeaderControl) SetControlStyle

func (h *THeaderControl) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*THeaderControl) SetCursor

func (h *THeaderControl) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*THeaderControl) SetDockSite

func (h *THeaderControl) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*THeaderControl) SetDoubleBuffered

func (h *THeaderControl) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*THeaderControl) SetDragCursor

func (h *THeaderControl) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*THeaderControl) SetDragKind

func (h *THeaderControl) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*THeaderControl) SetDragMode

func (h *THeaderControl) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*THeaderControl) SetEnabled

func (h *THeaderControl) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*THeaderControl) SetFocus

func (h *THeaderControl) SetFocus()

设置控件焦点。

Set control focus.

func (*THeaderControl) SetFont

func (h *THeaderControl) SetFont(value *TFont)

设置字体。

Set Font.

func (*THeaderControl) SetHeight

func (h *THeaderControl) SetHeight(value int32)

设置高度。

Set height.

func (*THeaderControl) SetHint

func (h *THeaderControl) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*THeaderControl) SetImages

func (h *THeaderControl) SetImages(value IComponent)

设置图标索引列表对象。

func (*THeaderControl) SetLeft

func (h *THeaderControl) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*THeaderControl) SetName

func (h *THeaderControl) SetName(value string)

设置组件名称。

Set the component name.

func (*THeaderControl) SetOnContextPopup

func (h *THeaderControl) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*THeaderControl) SetOnDragDrop

func (h *THeaderControl) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*THeaderControl) SetOnDragOver

func (h *THeaderControl) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*THeaderControl) SetOnEndDock

func (h *THeaderControl) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*THeaderControl) SetOnEndDrag

func (h *THeaderControl) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*THeaderControl) SetOnMouseDown

func (h *THeaderControl) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*THeaderControl) SetOnMouseEnter

func (h *THeaderControl) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*THeaderControl) SetOnMouseLeave

func (h *THeaderControl) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*THeaderControl) SetOnMouseMove

func (h *THeaderControl) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*THeaderControl) SetOnMouseUp

func (h *THeaderControl) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*THeaderControl) SetOnResize

func (h *THeaderControl) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*THeaderControl) SetOnSectionClick

func (h *THeaderControl) SetOnSectionClick(fn TSectionNotifyEvent)

func (*THeaderControl) SetOnSectionDrag

func (h *THeaderControl) SetOnSectionDrag(fn TSectionDragEvent)

func (*THeaderControl) SetOnSectionEndDrag

func (h *THeaderControl) SetOnSectionEndDrag(fn TNotifyEvent)

func (*THeaderControl) SetOnSectionResize

func (h *THeaderControl) SetOnSectionResize(fn TSectionNotifyEvent)

func (*THeaderControl) SetOnSectionTrack

func (h *THeaderControl) SetOnSectionTrack(fn TSectionTrackEvent)

func (*THeaderControl) SetParent

func (h *THeaderControl) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*THeaderControl) SetParentDoubleBuffered

func (h *THeaderControl) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*THeaderControl) SetParentFont

func (h *THeaderControl) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*THeaderControl) SetParentShowHint

func (h *THeaderControl) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*THeaderControl) SetParentWindow

func (h *THeaderControl) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*THeaderControl) SetPopupMenu

func (h *THeaderControl) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*THeaderControl) SetSections

func (h *THeaderControl) SetSections(value *THeaderSections)

func (*THeaderControl) SetShowHint

func (h *THeaderControl) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*THeaderControl) SetTabOrder

func (h *THeaderControl) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*THeaderControl) SetTabStop

func (h *THeaderControl) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*THeaderControl) SetTag

func (h *THeaderControl) SetTag(value int)

设置对象标记。

Set the control tag.

func (*THeaderControl) SetTextBuf

func (h *THeaderControl) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*THeaderControl) SetTop

func (h *THeaderControl) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*THeaderControl) SetUseDockManager

func (h *THeaderControl) SetUseDockManager(value bool)

设置使用停靠管理。

func (*THeaderControl) SetVisible

func (h *THeaderControl) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*THeaderControl) SetWidth

func (h *THeaderControl) SetWidth(value int32)

设置宽度。

Set width.

func (*THeaderControl) Show

func (h *THeaderControl) Show()

显示控件。

Show control.

func (*THeaderControl) ShowHint

func (h *THeaderControl) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*THeaderControl) Showing

func (h *THeaderControl) Showing() bool

func (*THeaderControl) TabOrder

func (h *THeaderControl) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*THeaderControl) TabStop

func (h *THeaderControl) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*THeaderControl) Tag

func (h *THeaderControl) Tag() int

获取对象标记。

Get the control tag.

func (*THeaderControl) ToString

func (h *THeaderControl) ToString() string

文本类信息。

Text information.

func (*THeaderControl) Top

func (h *THeaderControl) Top() int32

获取顶边位置。

Get Top position.

func (*THeaderControl) UnsafeAddr

func (h *THeaderControl) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*THeaderControl) Update

func (h *THeaderControl) Update()

控件更新。

Update.

func (*THeaderControl) UseDockManager

func (h *THeaderControl) UseDockManager() bool

获取使用停靠管理。

func (*THeaderControl) Visible

func (h *THeaderControl) Visible() bool

获取控件可视。

Get the control visible.

func (*THeaderControl) VisibleDockClientCount

func (h *THeaderControl) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*THeaderControl) Width

func (h *THeaderControl) Width() int32

获取宽度。

Get width.

type THeaderSection

type THeaderSection struct {
	IObject
	// contains filtered or unexported fields
}

func AsHeaderSection

func AsHeaderSection(obj interface{}) *THeaderSection

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func HeaderSectionFromInst

func HeaderSectionFromInst(inst uintptr) *THeaderSection

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsHeaderSection.

func HeaderSectionFromObj

func HeaderSectionFromObj(obj IObject) *THeaderSection

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsHeaderSection.

func HeaderSectionFromUnsafePointer

func HeaderSectionFromUnsafePointer(ptr unsafe.Pointer) *THeaderSection

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsHeaderSection.

func NewHeaderSection

func NewHeaderSection(AOwner *TCollection) *THeaderSection

创建一个新的对象。

Create a new object.

func (*THeaderSection) Alignment

func (h *THeaderSection) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*THeaderSection) Assign

func (h *THeaderSection) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*THeaderSection) ClassName

func (h *THeaderSection) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*THeaderSection) ClassType

func (h *THeaderSection) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*THeaderSection) Collection

func (h *THeaderSection) Collection() *TCollection

func (*THeaderSection) DisplayName

func (h *THeaderSection) DisplayName() string

func (*THeaderSection) Equals

func (h *THeaderSection) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*THeaderSection) Free

func (h *THeaderSection) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*THeaderSection) GetHashCode

func (h *THeaderSection) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*THeaderSection) GetNamePath

func (h *THeaderSection) GetNamePath() string

获取类名路径。

Get the class name path.

func (*THeaderSection) ImageIndex

func (h *THeaderSection) ImageIndex() int32

获取图像在images中的索引。

func (*THeaderSection) Index

func (h *THeaderSection) Index() int32

func (*THeaderSection) InheritsFrom

func (h *THeaderSection) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*THeaderSection) Instance

func (h *THeaderSection) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*THeaderSection) InstanceSize

func (h *THeaderSection) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*THeaderSection) Is

func (h *THeaderSection) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*THeaderSection) IsValid

func (h *THeaderSection) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*THeaderSection) Left

func (h *THeaderSection) Left() int32

获取左边位置。

Get Left position.

func (*THeaderSection) MaxWidth

func (h *THeaderSection) MaxWidth() int32

func (*THeaderSection) MinWidth

func (h *THeaderSection) MinWidth() int32

func (*THeaderSection) Right

func (h *THeaderSection) Right() int32

func (*THeaderSection) SetAlignment

func (h *THeaderSection) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*THeaderSection) SetCollection

func (h *THeaderSection) SetCollection(value *TCollection)

func (*THeaderSection) SetDisplayName

func (h *THeaderSection) SetDisplayName(value string)

func (*THeaderSection) SetImageIndex

func (h *THeaderSection) SetImageIndex(value int32)

设置图像在images中的索引。

func (*THeaderSection) SetIndex

func (h *THeaderSection) SetIndex(value int32)

func (*THeaderSection) SetMaxWidth

func (h *THeaderSection) SetMaxWidth(value int32)

func (*THeaderSection) SetMinWidth

func (h *THeaderSection) SetMinWidth(value int32)

func (*THeaderSection) SetText

func (h *THeaderSection) SetText(value string)

设置文本。

func (*THeaderSection) SetWidth

func (h *THeaderSection) SetWidth(value int32)

设置宽度。

Set width.

func (*THeaderSection) Text

func (h *THeaderSection) Text() string

获取文本。

func (*THeaderSection) ToString

func (h *THeaderSection) ToString() string

文本类信息。

Text information.

func (*THeaderSection) UnsafeAddr

func (h *THeaderSection) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*THeaderSection) Width

func (h *THeaderSection) Width() int32

获取宽度。

Get width.

type THeaderSections

type THeaderSections struct {
	IObject
	// contains filtered or unexported fields
}

func AsHeaderSections

func AsHeaderSections(obj interface{}) *THeaderSections

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func HeaderSectionsFromInst

func HeaderSectionsFromInst(inst uintptr) *THeaderSections

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsHeaderSections.

func HeaderSectionsFromObj

func HeaderSectionsFromObj(obj IObject) *THeaderSections

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsHeaderSections.

func HeaderSectionsFromUnsafePointer

func HeaderSectionsFromUnsafePointer(ptr unsafe.Pointer) *THeaderSections

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsHeaderSections.

func NewHeaderSections

func NewHeaderSections(AOwner *THeaderControl) *THeaderSections

创建一个新的对象。

Create a new object.

func (*THeaderSections) Add

func (h *THeaderSections) Add() *THeaderSection

func (*THeaderSections) AddItem

func (h *THeaderSections) AddItem(Item *THeaderSection, Index int32) *THeaderSection

func (*THeaderSections) Assign

func (h *THeaderSections) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*THeaderSections) BeginUpdate

func (h *THeaderSections) BeginUpdate()

func (*THeaderSections) ClassName

func (h *THeaderSections) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*THeaderSections) ClassType

func (h *THeaderSections) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*THeaderSections) Clear

func (h *THeaderSections) Clear()

清除。

func (*THeaderSections) Count

func (h *THeaderSections) Count() int32

func (*THeaderSections) Delete

func (h *THeaderSections) Delete(Index int32)

func (*THeaderSections) EndUpdate

func (h *THeaderSections) EndUpdate()

func (*THeaderSections) Equals

func (h *THeaderSections) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*THeaderSections) FindItemID

func (h *THeaderSections) FindItemID(ID int32) *TCollectionItem

func (*THeaderSections) Free

func (h *THeaderSections) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*THeaderSections) GetHashCode

func (h *THeaderSections) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*THeaderSections) GetNamePath

func (h *THeaderSections) GetNamePath() string

获取类名路径。

Get the class name path.

func (*THeaderSections) InheritsFrom

func (h *THeaderSections) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*THeaderSections) Insert

func (h *THeaderSections) Insert(Index int32) *THeaderSection

func (*THeaderSections) Instance

func (h *THeaderSections) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*THeaderSections) InstanceSize

func (h *THeaderSections) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*THeaderSections) Is

func (h *THeaderSections) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*THeaderSections) IsValid

func (h *THeaderSections) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*THeaderSections) Items

func (h *THeaderSections) Items(Index int32) *THeaderSection

func (*THeaderSections) Owner

func (h *THeaderSections) Owner() *TObject

组件所有者。

component owner.

func (*THeaderSections) SetItems

func (h *THeaderSections) SetItems(Index int32, value *THeaderSection)

func (*THeaderSections) ToString

func (h *THeaderSections) ToString() string

文本类信息。

Text information.

func (*THeaderSections) UnsafeAddr

func (h *THeaderSections) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type THeaderSizingEvent

type THeaderSizingEvent func(sender IObject, isColumn bool, aIndex, aSize int32)

THeaderSizingEvent = procedure(sender: TObject; const IsColumn: boolean; const aIndex, aSize: Integer) of object;

type THelpEvent

type THelpEvent func(command uint16, data THelpEventData, callhelp, result *bool)

THelpEvent = function(Command: Word; Data: THelpEventData; var CallHelp: Boolean): Boolean of object;

type TIcon

type TIcon struct {
	IGraphic
	// contains filtered or unexported fields
}

func AsIcon

func AsIcon(obj interface{}) *TIcon

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func IconFromInst

func IconFromInst(inst uintptr) *TIcon

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsIcon.

func IconFromObj

func IconFromObj(obj IObject) *TIcon

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsIcon.

func IconFromUnsafePointer

func IconFromUnsafePointer(ptr unsafe.Pointer) *TIcon

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsIcon.

func NewIcon

func NewIcon() *TIcon

创建一个新的对象。

Create a new object.

func (*TIcon) Assign

func (i *TIcon) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TIcon) ClassName

func (i *TIcon) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TIcon) ClassType

func (i *TIcon) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TIcon) Empty

func (i *TIcon) Empty() bool

func (*TIcon) Equals

func (i *TIcon) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TIcon) Free

func (i *TIcon) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TIcon) GetHashCode

func (i *TIcon) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TIcon) GetNamePath

func (i *TIcon) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TIcon) Handle

func (i *TIcon) Handle() HICON

获取控件句柄。

Get Control handle.

func (*TIcon) HandleAllocated

func (i *TIcon) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TIcon) Height

func (i *TIcon) Height() int32

获取高度。

Get height.

func (*TIcon) InheritsFrom

func (i *TIcon) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TIcon) Instance

func (i *TIcon) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TIcon) InstanceSize

func (i *TIcon) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TIcon) Is

func (i *TIcon) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TIcon) IsValid

func (i *TIcon) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TIcon) LoadFromBytes

func (i *TIcon) LoadFromBytes(data []byte)

func (*TIcon) LoadFromFile

func (i *TIcon) LoadFromFile(Filename string)

从文件加载。

func (*TIcon) LoadFromResourceID

func (i *TIcon) LoadFromResourceID(Instance uintptr, ResID int32)

func (*TIcon) LoadFromResourceName

func (i *TIcon) LoadFromResourceName(Instance uintptr, ResName string)

func (*TIcon) LoadFromStream

func (i *TIcon) LoadFromStream(Stream IStream)

文件流加载。

func (*TIcon) Modified

func (i *TIcon) Modified() bool

获取修改。

Get modified.

func (*TIcon) Palette

func (i *TIcon) Palette() HPALETTE

func (*TIcon) PaletteModified

func (i *TIcon) PaletteModified() bool

func (*TIcon) SaveToFile

func (i *TIcon) SaveToFile(Filename string)

保存至文件。

func (*TIcon) SaveToStream

func (i *TIcon) SaveToStream(Stream IStream)

保存至流。

func (*TIcon) SetHandle

func (i *TIcon) SetHandle(value HICON)

设置控件句柄。

Set Control handle.

func (*TIcon) SetHeight

func (i *TIcon) SetHeight(value int32)

设置高度。

Set height.

func (*TIcon) SetModified

func (i *TIcon) SetModified(value bool)

设置修改。

Set modified.

func (*TIcon) SetOnChange

func (i *TIcon) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TIcon) SetPalette

func (i *TIcon) SetPalette(value HPALETTE)

func (*TIcon) SetPaletteModified

func (i *TIcon) SetPaletteModified(value bool)

func (*TIcon) SetSize

func (i *TIcon) SetSize(AWidth int32, AHeight int32)

func (*TIcon) SetTransparent

func (i *TIcon) SetTransparent(value bool)

设置透明。

Set transparent.

func (*TIcon) SetWidth

func (i *TIcon) SetWidth(value int32)

设置宽度。

Set width.

func (*TIcon) ToString

func (i *TIcon) ToString() string

文本类信息。

Text information.

func (*TIcon) Transparent

func (i *TIcon) Transparent() bool

获取透明。

Get transparent.

func (*TIcon) UnsafeAddr

func (i *TIcon) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TIcon) Width

func (i *TIcon) Width() int32

获取宽度。

Get width.

type TIconOptions

type TIconOptions struct {
	IObject
	// contains filtered or unexported fields
}

func AsIconOptions

func AsIconOptions(obj interface{}) *TIconOptions

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func IconOptionsFromInst

func IconOptionsFromInst(inst uintptr) *TIconOptions

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsIconOptions.

func IconOptionsFromObj

func IconOptionsFromObj(obj IObject) *TIconOptions

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsIconOptions.

func IconOptionsFromUnsafePointer

func IconOptionsFromUnsafePointer(ptr unsafe.Pointer) *TIconOptions

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsIconOptions.

func (*TIconOptions) Arrangement

func (i *TIconOptions) Arrangement() TIconArrangement

func (*TIconOptions) Assign

func (i *TIconOptions) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TIconOptions) AutoArrange

func (i *TIconOptions) AutoArrange() bool

func (*TIconOptions) ClassName

func (i *TIconOptions) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TIconOptions) ClassType

func (i *TIconOptions) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TIconOptions) Equals

func (i *TIconOptions) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TIconOptions) GetHashCode

func (i *TIconOptions) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TIconOptions) GetNamePath

func (i *TIconOptions) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TIconOptions) InheritsFrom

func (i *TIconOptions) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TIconOptions) Instance

func (i *TIconOptions) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TIconOptions) InstanceSize

func (i *TIconOptions) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TIconOptions) Is

func (i *TIconOptions) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TIconOptions) IsValid

func (i *TIconOptions) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TIconOptions) SetArrangement

func (i *TIconOptions) SetArrangement(value TIconArrangement)

func (*TIconOptions) SetAutoArrange

func (i *TIconOptions) SetAutoArrange(value bool)

func (*TIconOptions) ToString

func (i *TIconOptions) ToString() string

文本类信息。

Text information.

func (*TIconOptions) UnsafeAddr

func (i *TIconOptions) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TImage

type TImage struct {
	IControl
	// contains filtered or unexported fields
}

func AsImage

func AsImage(obj interface{}) *TImage

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ImageFromInst

func ImageFromInst(inst uintptr) *TImage

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsImage.

func ImageFromObj

func ImageFromObj(obj IObject) *TImage

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsImage.

func ImageFromUnsafePointer

func ImageFromUnsafePointer(ptr unsafe.Pointer) *TImage

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsImage.

func NewImage

func NewImage(owner IComponent) *TImage

创建一个新的对象。

Create a new object.

func (*TImage) Action

func (i *TImage) Action() *TAction

func (*TImage) Align

func (i *TImage) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TImage) AnchorAsAlign

func (i *TImage) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TImage) AnchorClient

func (i *TImage) AnchorClient(ASpace int32)

func (*TImage) AnchorHorizontalCenterTo

func (i *TImage) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TImage) AnchorParallel

func (i *TImage) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TImage) AnchorSame

func (i *TImage) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TImage) AnchorSide

func (i *TImage) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TImage) AnchorSideBottom

func (i *TImage) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TImage) AnchorSideLeft

func (i *TImage) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TImage) AnchorSideRight

func (i *TImage) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TImage) AnchorSideTop

func (i *TImage) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TImage) AnchorToNeighbour

func (i *TImage) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TImage) AnchorVerticalCenterTo

func (i *TImage) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TImage) Anchors

func (i *TImage) Anchors() TAnchors

获取四个角位置的锚点。

func (*TImage) AntialiasingMode

func (i *TImage) AntialiasingMode() TAntialiasingMode

func (*TImage) Assign

func (i *TImage) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TImage) AutoAdjustLayout

func (i *TImage) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TImage) AutoSize

func (i *TImage) AutoSize() bool

获取自动调整大小。

func (*TImage) BiDiMode

func (i *TImage) BiDiMode() TBiDiMode

func (*TImage) BorderSpacing

func (i *TImage) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TImage) BoundsRect

func (i *TImage) BoundsRect() TRect

func (*TImage) BringToFront

func (i *TImage) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TImage) Canvas

func (i *TImage) Canvas() *TCanvas

获取画布。

func (*TImage) Center

func (i *TImage) Center() bool

func (*TImage) ClassName

func (i *TImage) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TImage) ClassType

func (i *TImage) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TImage) ClientHeight

func (i *TImage) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TImage) ClientOrigin

func (i *TImage) ClientOrigin() TPoint

func (*TImage) ClientRect

func (i *TImage) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TImage) ClientToParent

func (i *TImage) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TImage) ClientToScreen

func (i *TImage) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TImage) ClientWidth

func (i *TImage) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TImage) ComponentCount

func (i *TImage) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TImage) ComponentIndex

func (i *TImage) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TImage) Components

func (i *TImage) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TImage) Constraints

func (i *TImage) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TImage) ControlState

func (i *TImage) ControlState() TControlState

获取控件状态。

Get control state.

func (*TImage) ControlStyle

func (i *TImage) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TImage) Cursor

func (i *TImage) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TImage) DragCursor

func (i *TImage) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TImage) DragMode

func (i *TImage) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TImage) Dragging

func (i *TImage) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TImage) Enabled

func (i *TImage) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TImage) Equals

func (i *TImage) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TImage) FindComponent

func (i *TImage) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TImage) FixDesignFontsPPI

func (i *TImage) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TImage) Floating

func (i *TImage) Floating() bool

func (*TImage) Free

func (i *TImage) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TImage) GetHashCode

func (i *TImage) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TImage) GetNamePath

func (i *TImage) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TImage) GetTextBuf

func (i *TImage) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TImage) GetTextLen

func (i *TImage) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TImage) HasParent

func (i *TImage) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TImage) Height

func (i *TImage) Height() int32

获取高度。

Get height.

func (*TImage) Hide

func (i *TImage) Hide()

隐藏控件。

Hidden control.

func (*TImage) Hint

func (i *TImage) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TImage) InheritsFrom

func (i *TImage) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TImage) Instance

func (i *TImage) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TImage) InstanceSize

func (i *TImage) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TImage) Invalidate

func (i *TImage) Invalidate()

要求重绘。

Redraw.

func (*TImage) Is

func (i *TImage) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TImage) IsValid

func (i *TImage) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TImage) KeepOriginXWhenClipped

func (i *TImage) KeepOriginXWhenClipped() bool

func (*TImage) KeepOriginYWhenClipped

func (i *TImage) KeepOriginYWhenClipped() bool

func (*TImage) Left

func (i *TImage) Left() int32

获取左边位置。

Get Left position.

func (*TImage) Name

func (i *TImage) Name() string

获取组件名称。

Get the component name.

func (*TImage) Owner

func (i *TImage) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TImage) Parent

func (i *TImage) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TImage) ParentShowHint

func (i *TImage) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TImage) ParentToClient

func (i *TImage) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TImage) Perform

func (i *TImage) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TImage) Picture

func (i *TImage) Picture() *TPicture

获取图片。

func (*TImage) PopupMenu

func (i *TImage) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TImage) Proportional

func (i *TImage) Proportional() bool

获取等比缩放。

func (*TImage) Refresh

func (i *TImage) Refresh()

刷新控件。

Refresh control.

func (*TImage) Repaint

func (i *TImage) Repaint()

重绘。

Repaint.

func (*TImage) Scale96ToFont

func (i *TImage) Scale96ToFont(ASize int32) int32

func (*TImage) Scale96ToForm

func (i *TImage) Scale96ToForm(ASize int32) int32

func (*TImage) Scale96ToScreen

func (i *TImage) Scale96ToScreen(ASize int32) int32

func (*TImage) ScaleDesignToForm

func (i *TImage) ScaleDesignToForm(ASize int32) int32

func (*TImage) ScaleFontTo96

func (i *TImage) ScaleFontTo96(ASize int32) int32

func (*TImage) ScaleFontToScreen

func (i *TImage) ScaleFontToScreen(ASize int32) int32

func (*TImage) ScaleFontsPPI

func (i *TImage) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TImage) ScaleFormTo96

func (i *TImage) ScaleFormTo96(ASize int32) int32

func (*TImage) ScaleFormToDesign

func (i *TImage) ScaleFormToDesign(ASize int32) int32

func (*TImage) ScaleScreenTo96

func (i *TImage) ScaleScreenTo96(ASize int32) int32

func (*TImage) ScaleScreenToFont

func (i *TImage) ScaleScreenToFont(ASize int32) int32

func (*TImage) ScreenToClient

func (i *TImage) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TImage) SendToBack

func (i *TImage) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TImage) SetAction

func (i *TImage) SetAction(value IComponent)

func (*TImage) SetAlign

func (i *TImage) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TImage) SetAnchorSideBottom

func (i *TImage) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TImage) SetAnchorSideLeft

func (i *TImage) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TImage) SetAnchorSideRight

func (i *TImage) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TImage) SetAnchorSideTop

func (i *TImage) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TImage) SetAnchors

func (i *TImage) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TImage) SetAntialiasingMode

func (i *TImage) SetAntialiasingMode(value TAntialiasingMode)

func (*TImage) SetAutoSize

func (i *TImage) SetAutoSize(value bool)

设置自动调整大小。

func (*TImage) SetBiDiMode

func (i *TImage) SetBiDiMode(value TBiDiMode)

func (*TImage) SetBorderSpacing

func (i *TImage) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TImage) SetBounds

func (i *TImage) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TImage) SetBoundsRect

func (i *TImage) SetBoundsRect(value TRect)

func (*TImage) SetCenter

func (i *TImage) SetCenter(value bool)

func (*TImage) SetClientHeight

func (i *TImage) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TImage) SetClientWidth

func (i *TImage) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TImage) SetComponentIndex

func (i *TImage) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TImage) SetConstraints

func (i *TImage) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TImage) SetControlState

func (i *TImage) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TImage) SetControlStyle

func (i *TImage) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TImage) SetCursor

func (i *TImage) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TImage) SetDragCursor

func (i *TImage) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TImage) SetDragMode

func (i *TImage) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TImage) SetEnabled

func (i *TImage) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TImage) SetHeight

func (i *TImage) SetHeight(value int32)

设置高度。

Set height.

func (*TImage) SetHint

func (i *TImage) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TImage) SetKeepOriginXWhenClipped

func (i *TImage) SetKeepOriginXWhenClipped(value bool)

func (*TImage) SetKeepOriginYWhenClipped

func (i *TImage) SetKeepOriginYWhenClipped(value bool)

func (*TImage) SetLeft

func (i *TImage) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TImage) SetName

func (i *TImage) SetName(value string)

设置组件名称。

Set the component name.

func (*TImage) SetOnClick

func (i *TImage) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TImage) SetOnDblClick

func (i *TImage) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TImage) SetOnDragDrop

func (i *TImage) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TImage) SetOnDragOver

func (i *TImage) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TImage) SetOnEndDrag

func (i *TImage) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TImage) SetOnMouseDown

func (i *TImage) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TImage) SetOnMouseEnter

func (i *TImage) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TImage) SetOnMouseLeave

func (i *TImage) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TImage) SetOnMouseMove

func (i *TImage) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TImage) SetOnMouseUp

func (i *TImage) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TImage) SetParent

func (i *TImage) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TImage) SetParentShowHint

func (i *TImage) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TImage) SetPicture

func (i *TImage) SetPicture(value *TPicture)

设置图片。

func (*TImage) SetPopupMenu

func (i *TImage) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TImage) SetProportional

func (i *TImage) SetProportional(value bool)

设置等比缩放。

func (*TImage) SetShowHint

func (i *TImage) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TImage) SetStretch

func (i *TImage) SetStretch(value bool)

设置拉伸缩放。

func (*TImage) SetStretchInEnabled

func (i *TImage) SetStretchInEnabled(value bool)

func (*TImage) SetStretchOutEnabled

func (i *TImage) SetStretchOutEnabled(value bool)

func (*TImage) SetTag

func (i *TImage) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TImage) SetTextBuf

func (i *TImage) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TImage) SetTop

func (i *TImage) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TImage) SetTransparent

func (i *TImage) SetTransparent(value bool)

设置透明。

Set transparent.

func (*TImage) SetVisible

func (i *TImage) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TImage) SetWidth

func (i *TImage) SetWidth(value int32)

设置宽度。

Set width.

func (*TImage) Show

func (i *TImage) Show()

显示控件。

Show control.

func (*TImage) ShowHint

func (i *TImage) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TImage) Stretch

func (i *TImage) Stretch() bool

获取拉伸缩放。

func (*TImage) StretchInEnabled

func (i *TImage) StretchInEnabled() bool

func (*TImage) StretchOutEnabled

func (i *TImage) StretchOutEnabled() bool

func (*TImage) Tag

func (i *TImage) Tag() int

获取对象标记。

Get the control tag.

func (*TImage) ToString

func (i *TImage) ToString() string

文本类信息。

Text information.

func (*TImage) Top

func (i *TImage) Top() int32

获取顶边位置。

Get Top position.

func (*TImage) Transparent

func (i *TImage) Transparent() bool

获取透明。

Get transparent.

func (*TImage) UnsafeAddr

func (i *TImage) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TImage) Update

func (i *TImage) Update()

控件更新。

Update.

func (*TImage) Visible

func (i *TImage) Visible() bool

获取控件可视。

Get the control visible.

func (*TImage) Width

func (i *TImage) Width() int32

获取宽度。

Get width.

type TImageButton

type TImageButton struct {
	IControl
	// contains filtered or unexported fields
}

func AsImageButton

func AsImageButton(obj interface{}) *TImageButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ImageButtonFromInst

func ImageButtonFromInst(inst uintptr) *TImageButton

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsImageButton.

func ImageButtonFromObj

func ImageButtonFromObj(obj IObject) *TImageButton

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsImageButton.

func ImageButtonFromUnsafePointer

func ImageButtonFromUnsafePointer(ptr unsafe.Pointer) *TImageButton

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsImageButton.

func NewImageButton

func NewImageButton(owner IComponent) *TImageButton

创建一个新的对象。

Create a new object.

func (*TImageButton) Action

func (i *TImageButton) Action() *TAction

func (*TImageButton) Align

func (i *TImageButton) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TImageButton) AnchorAsAlign

func (i *TImageButton) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TImageButton) AnchorClient

func (i *TImageButton) AnchorClient(ASpace int32)

func (*TImageButton) AnchorHorizontalCenterTo

func (i *TImageButton) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TImageButton) AnchorParallel

func (i *TImageButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TImageButton) AnchorSame

func (i *TImageButton) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TImageButton) AnchorSide

func (i *TImageButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TImageButton) AnchorSideBottom

func (i *TImageButton) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TImageButton) AnchorSideLeft

func (i *TImageButton) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TImageButton) AnchorSideRight

func (i *TImageButton) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TImageButton) AnchorSideTop

func (i *TImageButton) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TImageButton) AnchorToNeighbour

func (i *TImageButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TImageButton) AnchorVerticalCenterTo

func (i *TImageButton) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TImageButton) Anchors

func (i *TImageButton) Anchors() TAnchors

获取四个角位置的锚点。

func (*TImageButton) Assign

func (i *TImageButton) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TImageButton) AutoAdjustLayout

func (i *TImageButton) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TImageButton) AutoSize

func (i *TImageButton) AutoSize() bool

获取自动调整大小。

func (*TImageButton) BiDiMode

func (i *TImageButton) BiDiMode() TBiDiMode

func (*TImageButton) BorderSpacing

func (i *TImageButton) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TImageButton) BoundsRect

func (i *TImageButton) BoundsRect() TRect

func (*TImageButton) BringToFront

func (i *TImageButton) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TImageButton) Caption

func (i *TImageButton) Caption() string

获取控件标题。

Get the control title.

func (*TImageButton) ClassName

func (i *TImageButton) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TImageButton) ClassType

func (i *TImageButton) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TImageButton) Click

func (i *TImageButton) Click()

单击。

func (*TImageButton) ClientHeight

func (i *TImageButton) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TImageButton) ClientOrigin

func (i *TImageButton) ClientOrigin() TPoint

func (*TImageButton) ClientRect

func (i *TImageButton) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TImageButton) ClientToParent

func (i *TImageButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TImageButton) ClientToScreen

func (i *TImageButton) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TImageButton) ClientWidth

func (i *TImageButton) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TImageButton) ComponentCount

func (i *TImageButton) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TImageButton) ComponentIndex

func (i *TImageButton) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TImageButton) Components

func (i *TImageButton) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TImageButton) Constraints

func (i *TImageButton) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TImageButton) ControlState

func (i *TImageButton) ControlState() TControlState

获取控件状态。

Get control state.

func (*TImageButton) ControlStyle

func (i *TImageButton) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TImageButton) Cursor

func (i *TImageButton) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TImageButton) DragCursor

func (i *TImageButton) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TImageButton) DragKind

func (i *TImageButton) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TImageButton) DragMode

func (i *TImageButton) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TImageButton) Dragging

func (i *TImageButton) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TImageButton) Enabled

func (i *TImageButton) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TImageButton) Equals

func (i *TImageButton) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TImageButton) FindComponent

func (i *TImageButton) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TImageButton) FixDesignFontsPPI

func (i *TImageButton) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TImageButton) Floating

func (i *TImageButton) Floating() bool

func (*TImageButton) Font

func (i *TImageButton) Font() *TFont

获取字体。

Get Font.

func (*TImageButton) Free

func (i *TImageButton) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TImageButton) GetHashCode

func (i *TImageButton) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TImageButton) GetNamePath

func (i *TImageButton) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TImageButton) GetTextBuf

func (i *TImageButton) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TImageButton) GetTextLen

func (i *TImageButton) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TImageButton) HasParent

func (i *TImageButton) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TImageButton) Height

func (i *TImageButton) Height() int32

获取高度。

Get height.

func (*TImageButton) Hide

func (i *TImageButton) Hide()

隐藏控件。

Hidden control.

func (*TImageButton) Hint

func (i *TImageButton) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TImageButton) ImageCount

func (i *TImageButton) ImageCount() int32

func (*TImageButton) InheritsFrom

func (i *TImageButton) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TImageButton) Instance

func (i *TImageButton) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TImageButton) InstanceSize

func (i *TImageButton) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TImageButton) Invalidate

func (i *TImageButton) Invalidate()

要求重绘。

Redraw.

func (*TImageButton) Is

func (i *TImageButton) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TImageButton) IsValid

func (i *TImageButton) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TImageButton) Left

func (i *TImageButton) Left() int32

获取左边位置。

Get Left position.

func (*TImageButton) ModalResult

func (i *TImageButton) ModalResult() TModalResult

获取模态对话框显示结果。

func (*TImageButton) Name

func (i *TImageButton) Name() string

获取组件名称。

Get the component name.

func (*TImageButton) Orientation

func (i *TImageButton) Orientation() TImageOrientation

func (*TImageButton) Owner

func (i *TImageButton) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TImageButton) Parent

func (i *TImageButton) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TImageButton) ParentFont

func (i *TImageButton) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TImageButton) ParentShowHint

func (i *TImageButton) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TImageButton) ParentToClient

func (i *TImageButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TImageButton) Perform

func (i *TImageButton) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TImageButton) Picture

func (i *TImageButton) Picture() *TPicture

获取图片。

func (*TImageButton) PopupMenu

func (i *TImageButton) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TImageButton) Refresh

func (i *TImageButton) Refresh()

刷新控件。

Refresh control.

func (*TImageButton) Repaint

func (i *TImageButton) Repaint()

重绘。

Repaint.

func (*TImageButton) Scale96ToFont

func (i *TImageButton) Scale96ToFont(ASize int32) int32

func (*TImageButton) Scale96ToForm

func (i *TImageButton) Scale96ToForm(ASize int32) int32

func (*TImageButton) Scale96ToScreen

func (i *TImageButton) Scale96ToScreen(ASize int32) int32

func (*TImageButton) ScaleDesignToForm

func (i *TImageButton) ScaleDesignToForm(ASize int32) int32

func (*TImageButton) ScaleFontTo96

func (i *TImageButton) ScaleFontTo96(ASize int32) int32

func (*TImageButton) ScaleFontToScreen

func (i *TImageButton) ScaleFontToScreen(ASize int32) int32

func (*TImageButton) ScaleFontsPPI

func (i *TImageButton) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TImageButton) ScaleFormTo96

func (i *TImageButton) ScaleFormTo96(ASize int32) int32

func (*TImageButton) ScaleFormToDesign

func (i *TImageButton) ScaleFormToDesign(ASize int32) int32

func (*TImageButton) ScaleScreenTo96

func (i *TImageButton) ScaleScreenTo96(ASize int32) int32

func (*TImageButton) ScaleScreenToFont

func (i *TImageButton) ScaleScreenToFont(ASize int32) int32

func (*TImageButton) ScreenToClient

func (i *TImageButton) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TImageButton) SendToBack

func (i *TImageButton) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TImageButton) SetAction

func (i *TImageButton) SetAction(value IComponent)

func (*TImageButton) SetAlign

func (i *TImageButton) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TImageButton) SetAnchorSideBottom

func (i *TImageButton) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TImageButton) SetAnchorSideLeft

func (i *TImageButton) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TImageButton) SetAnchorSideRight

func (i *TImageButton) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TImageButton) SetAnchorSideTop

func (i *TImageButton) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TImageButton) SetAnchors

func (i *TImageButton) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TImageButton) SetAutoSize

func (i *TImageButton) SetAutoSize(value bool)

设置自动调整大小。

func (*TImageButton) SetBiDiMode

func (i *TImageButton) SetBiDiMode(value TBiDiMode)

func (*TImageButton) SetBorderSpacing

func (i *TImageButton) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TImageButton) SetBounds

func (i *TImageButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TImageButton) SetBoundsRect

func (i *TImageButton) SetBoundsRect(value TRect)

func (*TImageButton) SetCaption

func (i *TImageButton) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TImageButton) SetClientHeight

func (i *TImageButton) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TImageButton) SetClientWidth

func (i *TImageButton) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TImageButton) SetComponentIndex

func (i *TImageButton) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TImageButton) SetConstraints

func (i *TImageButton) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TImageButton) SetControlState

func (i *TImageButton) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TImageButton) SetControlStyle

func (i *TImageButton) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TImageButton) SetCursor

func (i *TImageButton) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TImageButton) SetDragCursor

func (i *TImageButton) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TImageButton) SetDragKind

func (i *TImageButton) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TImageButton) SetDragMode

func (i *TImageButton) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TImageButton) SetEnabled

func (i *TImageButton) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TImageButton) SetFont

func (i *TImageButton) SetFont(value *TFont)

设置字体。

Set Font.

func (*TImageButton) SetHeight

func (i *TImageButton) SetHeight(value int32)

设置高度。

Set height.

func (*TImageButton) SetHint

func (i *TImageButton) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TImageButton) SetImageCount

func (i *TImageButton) SetImageCount(value int32)

func (*TImageButton) SetLeft

func (i *TImageButton) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TImageButton) SetModalResult

func (i *TImageButton) SetModalResult(value TModalResult)

设置模态对话框显示结果。

func (*TImageButton) SetName

func (i *TImageButton) SetName(value string)

设置组件名称。

Set the component name.

func (*TImageButton) SetOnClick

func (i *TImageButton) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TImageButton) SetOnContextPopup

func (i *TImageButton) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TImageButton) SetOnDblClick

func (i *TImageButton) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TImageButton) SetOnDragDrop

func (i *TImageButton) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TImageButton) SetOnDragOver

func (i *TImageButton) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TImageButton) SetOnEndDock

func (i *TImageButton) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TImageButton) SetOnEndDrag

func (i *TImageButton) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TImageButton) SetOnMouseDown

func (i *TImageButton) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TImageButton) SetOnMouseEnter

func (i *TImageButton) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TImageButton) SetOnMouseLeave

func (i *TImageButton) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TImageButton) SetOnMouseMove

func (i *TImageButton) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TImageButton) SetOnMouseUp

func (i *TImageButton) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TImageButton) SetOrientation

func (i *TImageButton) SetOrientation(value TImageOrientation)

func (*TImageButton) SetParent

func (i *TImageButton) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TImageButton) SetParentFont

func (i *TImageButton) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TImageButton) SetParentShowHint

func (i *TImageButton) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TImageButton) SetPicture

func (i *TImageButton) SetPicture(value *TPicture)

设置图片。

func (*TImageButton) SetPopupMenu

func (i *TImageButton) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TImageButton) SetShowCaption

func (i *TImageButton) SetShowCaption(value bool)

func (*TImageButton) SetShowHint

func (i *TImageButton) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TImageButton) SetTag

func (i *TImageButton) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TImageButton) SetTextBuf

func (i *TImageButton) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TImageButton) SetTop

func (i *TImageButton) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TImageButton) SetVisible

func (i *TImageButton) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TImageButton) SetWidth

func (i *TImageButton) SetWidth(value int32)

设置宽度。

Set width.

func (*TImageButton) Show

func (i *TImageButton) Show()

显示控件。

Show control.

func (*TImageButton) ShowCaption

func (i *TImageButton) ShowCaption() bool

func (*TImageButton) ShowHint

func (i *TImageButton) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TImageButton) Tag

func (i *TImageButton) Tag() int

获取对象标记。

Get the control tag.

func (*TImageButton) ToString

func (i *TImageButton) ToString() string

文本类信息。

Text information.

func (*TImageButton) Top

func (i *TImageButton) Top() int32

获取顶边位置。

Get Top position.

func (*TImageButton) UnsafeAddr

func (i *TImageButton) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TImageButton) Update

func (i *TImageButton) Update()

控件更新。

Update.

func (*TImageButton) Visible

func (i *TImageButton) Visible() bool

获取控件可视。

Get the control visible.

func (*TImageButton) Width

func (i *TImageButton) Width() int32

获取宽度。

Get width.

type TImageList

type TImageList struct {
	IComponent
	// contains filtered or unexported fields
}

func AsImageList

func AsImageList(obj interface{}) *TImageList

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ImageListFromInst

func ImageListFromInst(inst uintptr) *TImageList

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsImageList.

func ImageListFromObj

func ImageListFromObj(obj IObject) *TImageList

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsImageList.

func ImageListFromUnsafePointer

func ImageListFromUnsafePointer(ptr unsafe.Pointer) *TImageList

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsImageList.

func NewImageList

func NewImageList(owner IComponent) *TImageList

创建一个新的对象。

Create a new object.

func (*TImageList) Add

func (i *TImageList) Add(Image *TBitmap, Mask *TBitmap) int32

func (*TImageList) AddIcon

func (i *TImageList) AddIcon(Image *TIcon) int32

func (*TImageList) AddImages

func (i *TImageList) AddImages(Value IComponent)

func (*TImageList) AddMasked

func (i *TImageList) AddMasked(Image *TBitmap, MaskColor TColor) int32

func (*TImageList) AddSliced

func (i *TImageList) AddSliced(Image *TBitmap, AHorizontalCount int32, AVerticalCount int32) int32

func (*TImageList) AllocBy

func (i *TImageList) AllocBy() int32

func (*TImageList) Assign

func (i *TImageList) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TImageList) BeginUpdate

func (i *TImageList) BeginUpdate()

func (*TImageList) BkColor

func (i *TImageList) BkColor() TColor

func (*TImageList) BlendColor

func (i *TImageList) BlendColor() TColor

func (*TImageList) ClassName

func (i *TImageList) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TImageList) ClassType

func (i *TImageList) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TImageList) Clear

func (i *TImageList) Clear()

清除。

func (*TImageList) ComponentCount

func (i *TImageList) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TImageList) ComponentIndex

func (i *TImageList) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TImageList) Components

func (i *TImageList) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TImageList) Count

func (i *TImageList) Count() int32

func (*TImageList) Delete

func (i *TImageList) Delete(Index int32)

func (*TImageList) DragCursor

func (i *TImageList) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TImageList) Dragging

func (i *TImageList) Dragging() bool

获取是否在拖拽中。

Get Is it in the middle of dragging.

func (*TImageList) Draw

func (i *TImageList) Draw(canvas IObject, x, y, index int32, enabled bool)

func (*TImageList) Draw2

func (i *TImageList) Draw2(canvas IObject, x, y, index int32, drawingStyle TDrawingStyle, imageType TImageType, enabled bool)

func (*TImageList) DrawOverlay

func (i *TImageList) DrawOverlay(canvas IObject, x, y, imageIndex int32, overlay uint8, enabled bool)

func (*TImageList) DrawOverlay2

func (i *TImageList) DrawOverlay2(canvas IObject, x, y, imageIndex int32, overlay uint8, drawingStyle TDrawingStyle, imageType TImageType, enabled bool)

func (*TImageList) DrawingStyle

func (i *TImageList) DrawingStyle() TDrawingStyle

func (*TImageList) EndUpdate

func (i *TImageList) EndUpdate()

func (*TImageList) Equals

func (i *TImageList) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TImageList) FindComponent

func (i *TImageList) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TImageList) Free

func (i *TImageList) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TImageList) GetHashCode

func (i *TImageList) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TImageList) GetHotSpot

func (i *TImageList) GetHotSpot() TPoint

func (*TImageList) GetIcon

func (i *TImageList) GetIcon(index int32, image IObject)

func (*TImageList) GetIcon2

func (i *TImageList) GetIcon2(index int32, image IObject, drawingStyle TDrawingStyle, imageType TImageType)

func (*TImageList) GetNamePath

func (i *TImageList) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TImageList) HasParent

func (i *TImageList) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TImageList) Height

func (i *TImageList) Height() int32

获取高度。

Get height.

func (*TImageList) HideDragImage

func (i *TImageList) HideDragImage()

func (*TImageList) ImageType

func (i *TImageList) ImageType() TImageType

func (*TImageList) InheritsFrom

func (i *TImageList) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TImageList) Insert

func (i *TImageList) Insert(Index int32, Image *TBitmap, Mask *TBitmap)

func (*TImageList) InsertIcon

func (i *TImageList) InsertIcon(Index int32, Image *TIcon)

func (*TImageList) InsertMasked

func (i *TImageList) InsertMasked(Index int32, Image *TBitmap, MaskColor TColor)

func (*TImageList) Instance

func (i *TImageList) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TImageList) InstanceSize

func (i *TImageList) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TImageList) Is

func (i *TImageList) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TImageList) IsValid

func (i *TImageList) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TImageList) Masked

func (i *TImageList) Masked() bool

func (*TImageList) Move

func (i *TImageList) Move(CurIndex int32, NewIndex int32)

func (*TImageList) Name

func (i *TImageList) Name() string

获取组件名称。

Get the component name.

func (*TImageList) Owner

func (i *TImageList) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TImageList) Replace

func (i *TImageList) Replace(Index int32, Image *TBitmap, Mask *TBitmap)

func (*TImageList) ReplaceMasked

func (i *TImageList) ReplaceMasked(Index int32, NewImage *TBitmap, MaskColor TColor)

func (*TImageList) Scaled

func (i *TImageList) Scaled() bool

func (*TImageList) SetAllocBy

func (i *TImageList) SetAllocBy(value int32)

func (*TImageList) SetBkColor

func (i *TImageList) SetBkColor(value TColor)

func (*TImageList) SetBlendColor

func (i *TImageList) SetBlendColor(value TColor)

func (*TImageList) SetComponentIndex

func (i *TImageList) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TImageList) SetDragCursor

func (i *TImageList) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TImageList) SetDrawingStyle

func (i *TImageList) SetDrawingStyle(value TDrawingStyle)

func (*TImageList) SetHeight

func (i *TImageList) SetHeight(value int32)

设置高度。

Set height.

func (*TImageList) SetImageType

func (i *TImageList) SetImageType(value TImageType)

func (*TImageList) SetMasked

func (i *TImageList) SetMasked(value bool)

func (*TImageList) SetName

func (i *TImageList) SetName(value string)

设置组件名称。

Set the component name.

func (*TImageList) SetOnChange

func (i *TImageList) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TImageList) SetScaled

func (i *TImageList) SetScaled(value bool)

func (*TImageList) SetShareImages

func (i *TImageList) SetShareImages(value bool)

func (*TImageList) SetTag

func (i *TImageList) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TImageList) SetWidth

func (i *TImageList) SetWidth(value int32)

设置宽度。

Set width.

func (*TImageList) ShareImages

func (i *TImageList) ShareImages() bool

func (*TImageList) ShowDragImage

func (i *TImageList) ShowDragImage()

func (*TImageList) StretchDraw

func (i *TImageList) StretchDraw(ACanvas *TCanvas, AIndex int32, ARect TRect, AEnabled bool)

func (*TImageList) Tag

func (i *TImageList) Tag() int

获取对象标记。

Get the control tag.

func (*TImageList) ToString

func (i *TImageList) ToString() string

文本类信息。

Text information.

func (*TImageList) UnsafeAddr

func (i *TImageList) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TImageList) Width

func (i *TImageList) Width() int32

获取宽度。

Get width.

type TIniFile

type TIniFile struct {
	IObject
	// contains filtered or unexported fields
}

func AsIniFile

func AsIniFile(obj interface{}) *TIniFile

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func IniFileFromInst

func IniFileFromInst(inst uintptr) *TIniFile

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsIniFile.

func IniFileFromObj

func IniFileFromObj(obj IObject) *TIniFile

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsIniFile.

func IniFileFromUnsafePointer

func IniFileFromUnsafePointer(ptr unsafe.Pointer) *TIniFile

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsIniFile.

func NewIniFile

func NewIniFile(filename string) *TIniFile

创建一个新的对象。

Create a new object.

func (*TIniFile) ClassName

func (i *TIniFile) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TIniFile) ClassType

func (i *TIniFile) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TIniFile) DeleteKey

func (i *TIniFile) DeleteKey(Section string, Ident string)

func (*TIniFile) Equals

func (i *TIniFile) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TIniFile) EraseSection

func (i *TIniFile) EraseSection(Section string)

func (*TIniFile) FileName

func (i *TIniFile) FileName() string

func (*TIniFile) Free

func (i *TIniFile) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TIniFile) GetHashCode

func (i *TIniFile) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TIniFile) InheritsFrom

func (i *TIniFile) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TIniFile) Instance

func (i *TIniFile) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TIniFile) InstanceSize

func (i *TIniFile) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TIniFile) Is

func (i *TIniFile) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TIniFile) IsValid

func (i *TIniFile) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TIniFile) ReadBool

func (i *TIniFile) ReadBool(Section string, Ident string, Default bool) bool

func (*TIniFile) ReadDate

func (i *TIniFile) ReadDate(Section string, Name string, Default time.Time) time.Time

func (*TIniFile) ReadDateTime

func (i *TIniFile) ReadDateTime(Section string, Name string, Default time.Time) time.Time

func (*TIniFile) ReadFloat

func (i *TIniFile) ReadFloat(Section string, Name string, Default float64) float64

func (*TIniFile) ReadInteger

func (i *TIniFile) ReadInteger(Section string, Ident string, Default int32) int32

func (*TIniFile) ReadSectionValues

func (i *TIniFile) ReadSectionValues(Section string, Strings IStrings)

func (*TIniFile) ReadSections

func (i *TIniFile) ReadSections(Strings IStrings)

func (*TIniFile) ReadString

func (i *TIniFile) ReadString(Section string, Ident string, Default string) string

func (*TIniFile) ReadTime

func (i *TIniFile) ReadTime(Section string, Name string, Default time.Time) time.Time

func (*TIniFile) SectionExists

func (i *TIniFile) SectionExists(Section string) bool

func (*TIniFile) ToString

func (i *TIniFile) ToString() string

文本类信息。

Text information.

func (*TIniFile) UnsafeAddr

func (i *TIniFile) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TIniFile) UpdateFile

func (i *TIniFile) UpdateFile()

func (*TIniFile) ValueExists

func (i *TIniFile) ValueExists(Section string, Ident string) bool

func (*TIniFile) WriteBool

func (i *TIniFile) WriteBool(Section string, Ident string, Value bool)

func (*TIniFile) WriteDate

func (i *TIniFile) WriteDate(Section string, Name string, Value time.Time)

func (*TIniFile) WriteDateTime

func (i *TIniFile) WriteDateTime(Section string, Name string, Value time.Time)

func (*TIniFile) WriteFloat

func (i *TIniFile) WriteFloat(Section string, Name string, Value float64)

func (*TIniFile) WriteInteger

func (i *TIniFile) WriteInteger(Section string, Ident string, Value int32)

func (*TIniFile) WriteString

func (i *TIniFile) WriteString(Section string, Ident string, Value string)

func (*TIniFile) WriteTime

func (i *TIniFile) WriteTime(Section string, Name string, Value time.Time)

type TIs

type TIs uintptr

Is操作符

func (TIs) Action

func (i TIs) Action() bool

func (TIs) ActionList

func (i TIs) ActionList() bool

func (TIs) AnchorSide

func (i TIs) AnchorSide() bool

func (TIs) Application

func (i TIs) Application() bool

func (TIs) Bevel

func (i TIs) Bevel() bool

func (TIs) BitBtn

func (i TIs) BitBtn() bool

func (TIs) Bitmap

func (i TIs) Bitmap() bool

func (TIs) BoundLabel

func (i TIs) BoundLabel() bool

func (TIs) Brush

func (i TIs) Brush() bool

func (TIs) Button

func (i TIs) Button() bool

func (TIs) Canvas

func (i TIs) Canvas() bool

func (TIs) CheckBox

func (i TIs) CheckBox() bool

func (TIs) CheckComboBox

func (i TIs) CheckComboBox() bool

func (TIs) CheckGroup

func (i TIs) CheckGroup() bool

func (TIs) CheckListBox

func (i TIs) CheckListBox() bool

func (TIs) Clipboard

func (i TIs) Clipboard() bool

func (TIs) Collection

func (i TIs) Collection() bool

func (TIs) CollectionItem

func (i TIs) CollectionItem() bool

func (TIs) ColorBox

func (i TIs) ColorBox() bool

func (TIs) ColorButton

func (i TIs) ColorButton() bool

func (TIs) ColorDialog

func (i TIs) ColorDialog() bool

func (TIs) ColorListBox

func (i TIs) ColorListBox() bool

func (TIs) ComboBox

func (i TIs) ComboBox() bool

func (TIs) ComboBoxEx

func (i TIs) ComboBoxEx() bool

func (TIs) ComboExItem

func (i TIs) ComboExItem() bool

func (TIs) ComboExItems

func (i TIs) ComboExItems() bool

func (TIs) Component

func (i TIs) Component() bool

func (TIs) Control

func (i TIs) Control() bool

func (TIs) ControlBorderSpacing

func (i TIs) ControlBorderSpacing() bool

func (TIs) ControlChildSizing

func (i TIs) ControlChildSizing() bool

func (TIs) ControlScrollBar

func (i TIs) ControlScrollBar() bool

func (TIs) CoolBand

func (i TIs) CoolBand() bool

func (TIs) CoolBands

func (i TIs) CoolBands() bool

func (TIs) CoolBar

func (i TIs) CoolBar() bool

func (TIs) DateTimePicker

func (i TIs) DateTimePicker() bool

func (TIs) DirectoryEdit

func (i TIs) DirectoryEdit() bool

func (TIs) DragDockObject

func (i TIs) DragDockObject() bool

func (TIs) DragObject

func (i TIs) DragObject() bool

func (TIs) DrawGrid

func (i TIs) DrawGrid() bool

func (TIs) Edit

func (i TIs) Edit() bool

func (TIs) Exception

func (i TIs) Exception() bool

func (TIs) FindDialog

func (i TIs) FindDialog() bool

func (TIs) FloatSpinEdit

func (i TIs) FloatSpinEdit() bool

func (TIs) FlowPanel

func (i TIs) FlowPanel() bool

func (TIs) Font

func (i TIs) Font() bool

func (TIs) FontDialog

func (i TIs) FontDialog() bool

func (TIs) Form

func (i TIs) Form() bool

func (TIs) Frame

func (i TIs) Frame() bool

func (TIs) GIFImage

func (i TIs) GIFImage() bool

func (TIs) Gauge

func (i TIs) Gauge() bool

func (TIs) Graphic

func (i TIs) Graphic() bool

func (TIs) GridColumn

func (i TIs) GridColumn() bool

func (TIs) GridColumnTitle

func (i TIs) GridColumnTitle() bool

func (TIs) GridColumns

func (i TIs) GridColumns() bool

func (TIs) GroupBox

func (i TIs) GroupBox() bool

func (TIs) HeaderControl

func (i TIs) HeaderControl() bool

func (TIs) HeaderSection

func (i TIs) HeaderSection() bool

func (TIs) HeaderSections

func (i TIs) HeaderSections() bool

func (TIs) Icon

func (i TIs) Icon() bool

func (TIs) IconOptions

func (i TIs) IconOptions() bool

func (TIs) Image

func (i TIs) Image() bool

func (TIs) ImageButton

func (i TIs) ImageButton() bool

func (TIs) ImageList

func (i TIs) ImageList() bool

func (TIs) IniFile

func (i TIs) IniFile() bool

func (TIs) JPEGImage

func (i TIs) JPEGImage() bool

func (TIs) Label

func (i TIs) Label() bool

func (TIs) LabeledEdit

func (i TIs) LabeledEdit() bool

func (TIs) LinkLabel

func (i TIs) LinkLabel() bool

func (TIs) List

func (i TIs) List() bool

func (TIs) ListBox

func (i TIs) ListBox() bool

func (TIs) ListColumn

func (i TIs) ListColumn() bool

func (TIs) ListColumns

func (i TIs) ListColumns() bool

func (TIs) ListItem

func (i TIs) ListItem() bool

func (TIs) ListItems

func (i TIs) ListItems() bool

func (TIs) ListView

func (i TIs) ListView() bool

func (TIs) MainMenu

func (i TIs) MainMenu() bool

func (TIs) MaskEdit

func (i TIs) MaskEdit() bool

func (TIs) Memo

func (i TIs) Memo() bool

func (TIs) MemoryStream

func (i TIs) MemoryStream() bool

func (TIs) MenuItem

func (i TIs) MenuItem() bool

func (TIs) MiniWebview

func (i TIs) MiniWebview() bool

func (TIs) Monitor

func (i TIs) Monitor() bool

func (TIs) MonthCalendar

func (i TIs) MonthCalendar() bool

func (TIs) Mouse

func (i TIs) Mouse() bool

func (TIs) Object

func (i TIs) Object() bool

func (TIs) OpenDialog

func (i TIs) OpenDialog() bool

func (TIs) OpenPictureDialog

func (i TIs) OpenPictureDialog() bool

func (TIs) PageControl

func (i TIs) PageControl() bool

func (TIs) PageSetupDialog

func (i TIs) PageSetupDialog() bool

func (TIs) PaintBox

func (i TIs) PaintBox() bool

func (TIs) Panel

func (i TIs) Panel() bool

func (TIs) ParaAttributes

func (i TIs) ParaAttributes() bool

func (TIs) Pen

func (i TIs) Pen() bool

func (TIs) Picture

func (i TIs) Picture() bool

func (TIs) PngImage

func (i TIs) PngImage() bool

func (TIs) PopupMenu

func (i TIs) PopupMenu() bool

func (TIs) PrintDialog

func (i TIs) PrintDialog() bool

func (TIs) Printer

func (i TIs) Printer() bool

func (TIs) PrinterSetupDialog

func (i TIs) PrinterSetupDialog() bool

func (TIs) ProgressBar

func (i TIs) ProgressBar() bool

func (TIs) RadioButton

func (i TIs) RadioButton() bool

func (TIs) RadioGroup

func (i TIs) RadioGroup() bool

func (TIs) Registry

func (i TIs) Registry() bool

func (TIs) ReplaceDialog

func (i TIs) ReplaceDialog() bool

func (TIs) RichEdit

func (i TIs) RichEdit() bool

func (TIs) SaveDialog

func (i TIs) SaveDialog() bool

func (TIs) SavePictureDialog

func (i TIs) SavePictureDialog() bool

func (TIs) Screen

func (i TIs) Screen() bool

func (TIs) ScrollBar

func (i TIs) ScrollBar() bool

func (TIs) ScrollBox

func (i TIs) ScrollBox() bool

func (TIs) SelectDirectoryDialog

func (i TIs) SelectDirectoryDialog() bool

func (TIs) Shape

func (i TIs) Shape() bool

func (TIs) SizeConstraints

func (i TIs) SizeConstraints() bool

func (TIs) SpeedButton

func (i TIs) SpeedButton() bool

func (TIs) SpinEdit

func (i TIs) SpinEdit() bool

func (TIs) Splitter

func (i TIs) Splitter() bool

func (TIs) StaticText

func (i TIs) StaticText() bool

func (TIs) StatusBar

func (i TIs) StatusBar() bool

func (TIs) StatusPanel

func (i TIs) StatusPanel() bool

func (TIs) StatusPanels

func (i TIs) StatusPanels() bool

func (TIs) StringGrid

func (i TIs) StringGrid() bool

func (TIs) StringList

func (i TIs) StringList() bool

func (TIs) Strings

func (i TIs) Strings() bool

func (TIs) TabSheet

func (i TIs) TabSheet() bool

func (TIs) TaskDialog

func (i TIs) TaskDialog() bool

func (TIs) TaskDialogBaseButtonItem

func (i TIs) TaskDialogBaseButtonItem() bool

func (TIs) TaskDialogButtonItem

func (i TIs) TaskDialogButtonItem() bool

func (TIs) TaskDialogButtons

func (i TIs) TaskDialogButtons() bool

func (TIs) TaskDialogRadioButtonItem

func (i TIs) TaskDialogRadioButtonItem() bool

func (TIs) TextAttributes

func (i TIs) TextAttributes() bool

func (TIs) Timer

func (i TIs) Timer() bool

func (TIs) ToggleBox

func (i TIs) ToggleBox() bool

func (TIs) ToolBar

func (i TIs) ToolBar() bool

func (TIs) ToolButton

func (i TIs) ToolButton() bool

func (TIs) TrackBar

func (i TIs) TrackBar() bool

func (TIs) TrayIcon

func (i TIs) TrayIcon() bool

func (TIs) TreeNode

func (i TIs) TreeNode() bool

func (TIs) TreeNodes

func (i TIs) TreeNodes() bool

func (TIs) TreeView

func (i TIs) TreeView() bool

func (TIs) UpDown

func (i TIs) UpDown() bool

func (TIs) ValueListEditor

func (i TIs) ValueListEditor() bool

func (TIs) WinControl

func (i TIs) WinControl() bool

func (TIs) XButton

func (i TIs) XButton() bool

type TJPEGImage

type TJPEGImage struct {
	IGraphic
	// contains filtered or unexported fields
}

func AsJPEGImage

func AsJPEGImage(obj interface{}) *TJPEGImage

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func JPEGImageFromInst

func JPEGImageFromInst(inst uintptr) *TJPEGImage

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsJPEGImage.

func JPEGImageFromObj

func JPEGImageFromObj(obj IObject) *TJPEGImage

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsJPEGImage.

func JPEGImageFromUnsafePointer

func JPEGImageFromUnsafePointer(ptr unsafe.Pointer) *TJPEGImage

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsJPEGImage.

func NewJPEGImage

func NewJPEGImage() *TJPEGImage

创建一个新的对象。

Create a new object.

func (*TJPEGImage) Assign

func (j *TJPEGImage) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TJPEGImage) Canvas

func (j *TJPEGImage) Canvas() *TCanvas

获取画布。

func (*TJPEGImage) ClassName

func (j *TJPEGImage) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TJPEGImage) ClassType

func (j *TJPEGImage) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TJPEGImage) Empty

func (j *TJPEGImage) Empty() bool

func (*TJPEGImage) Equals

func (j *TJPEGImage) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TJPEGImage) Free

func (j *TJPEGImage) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TJPEGImage) GetHashCode

func (j *TJPEGImage) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TJPEGImage) GetNamePath

func (j *TJPEGImage) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TJPEGImage) Height

func (j *TJPEGImage) Height() int32

获取高度。

Get height.

func (*TJPEGImage) InheritsFrom

func (j *TJPEGImage) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TJPEGImage) Instance

func (j *TJPEGImage) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TJPEGImage) InstanceSize

func (j *TJPEGImage) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TJPEGImage) Is

func (j *TJPEGImage) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TJPEGImage) IsValid

func (j *TJPEGImage) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TJPEGImage) LoadFromBytes

func (j *TJPEGImage) LoadFromBytes(data []byte)

func (*TJPEGImage) LoadFromFile

func (j *TJPEGImage) LoadFromFile(Filename string)

从文件加载。

func (*TJPEGImage) LoadFromStream

func (j *TJPEGImage) LoadFromStream(Stream IStream)

文件流加载。

func (*TJPEGImage) Modified

func (j *TJPEGImage) Modified() bool

获取修改。

Get modified.

func (*TJPEGImage) Palette

func (j *TJPEGImage) Palette() HPALETTE

func (*TJPEGImage) PaletteModified

func (j *TJPEGImage) PaletteModified() bool

func (*TJPEGImage) Performance

func (j *TJPEGImage) Performance() TJPEGPerformance

func (*TJPEGImage) PixelFormat

func (j *TJPEGImage) PixelFormat() TJPEGPixelFormat

func (*TJPEGImage) SaveToFile

func (j *TJPEGImage) SaveToFile(Filename string)

保存至文件。

func (*TJPEGImage) SaveToStream

func (j *TJPEGImage) SaveToStream(Stream IStream)

保存至流。

func (*TJPEGImage) SetHeight

func (j *TJPEGImage) SetHeight(value int32)

设置高度。

Set height.

func (*TJPEGImage) SetModified

func (j *TJPEGImage) SetModified(value bool)

设置修改。

Set modified.

func (*TJPEGImage) SetOnChange

func (j *TJPEGImage) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TJPEGImage) SetPalette

func (j *TJPEGImage) SetPalette(value HPALETTE)

func (*TJPEGImage) SetPaletteModified

func (j *TJPEGImage) SetPaletteModified(value bool)

func (*TJPEGImage) SetPerformance

func (j *TJPEGImage) SetPerformance(value TJPEGPerformance)

func (*TJPEGImage) SetPixelFormat

func (j *TJPEGImage) SetPixelFormat(value TJPEGPixelFormat)

func (*TJPEGImage) SetSize

func (j *TJPEGImage) SetSize(AWidth int32, AHeight int32)

func (*TJPEGImage) SetTransparent

func (j *TJPEGImage) SetTransparent(value bool)

设置透明。

Set transparent.

func (*TJPEGImage) SetWidth

func (j *TJPEGImage) SetWidth(value int32)

设置宽度。

Set width.

func (*TJPEGImage) ToString

func (j *TJPEGImage) ToString() string

文本类信息。

Text information.

func (*TJPEGImage) Transparent

func (j *TJPEGImage) Transparent() bool

获取透明。

Get transparent.

func (*TJPEGImage) UnsafeAddr

func (j *TJPEGImage) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TJPEGImage) Width

func (j *TJPEGImage) Width() int32

获取宽度。

Get width.

type TKeyEvent

type TKeyEvent func(sender IObject, key *Char, shift TShiftState)

TKeyEvent = procedure(Sender: TObject; var Key: Word; Shift: TShiftState)

type TKeyPressEvent

type TKeyPressEvent func(sender IObject, key *Char)

TKeyPressEvent = procedure(Sender: TObject; var Key: Char) of object;

type TLBFindDataEvent

type TLBFindDataEvent func(control *TWinControl, findString string) int32

TLBFindDataEvent = function(Control: TWinControl; FindString: string): Integer of object;

type TLBGetDataEvent

type TLBGetDataEvent func(control *TWinControl, index int32, data *string)

TLBGetDataEvent = procedure(Control: TWinControl; Index: Integer; var Data: string) of object;

type TLBGetDataObjectEvent

type TLBGetDataObjectEvent func(control *TWinControl, index int32, dataObject IObject)

TLBGetDataObjectEvent = procedure(Control: TWinControl; Index: Integer; var DataObject: TObject) of object;

type TLVAdvancedCustomDrawEvent

type TLVAdvancedCustomDrawEvent func(sender *TListView, aRect TRect, stage TCustomDrawStage, defaultDraw *bool)

TLVAdvancedCustomDrawEvent = procedure(Sender: TCustomListView; const ARect: TRect; Stage: TCustomDrawStage; var DefaultDraw: Boolean) of object;

type TLVAdvancedCustomDrawItemEvent

type TLVAdvancedCustomDrawItemEvent func(sender *TListView, item *TListItem, state TCustomDrawState, Stage TCustomDrawStage, defaultDraw *bool)

TLVAdvancedCustomDrawItemEvent = procedure(Sender: TCustomListView; Item: TListItem; State: TCustomDrawState; Stage: TCustomDrawStage; var DefaultDraw: Boolean) of object;

type TLVAdvancedCustomDrawSubItemEvent

type TLVAdvancedCustomDrawSubItemEvent func(sender *TListView, item *TListItem, subItem int32, state TCustomDrawState, stage TCustomDrawStage, defaultDraw *bool)

TLVAdvancedCustomDrawSubItemEvent = procedure(Sender: TCustomListView; Item: TListItem; SubItem: Integer; State: TCustomDrawState; Stage: TCustomDrawStage; var DefaultDraw: Boolean) of object;

type TLVChangeEvent

type TLVChangeEvent func(sender IObject, item *TListItem, change TItemChange)

TLVChangeEvent TListView TTItemChange

type TLVChangingEvent

type TLVChangingEvent func(sender IObject, item *TListItem, change TItemChange, allowChange *bool)

TLVChangingEvent = procedure(Sender: TObject; Item: TListItem; Change: TItemChange; var AllowChange: Boolean) of object;

type TLVCheckedItemEvent

type TLVCheckedItemEvent func(sender IObject, item *TListItem)

TLVCheckedItemEvent = procedure(Sender: TObject; Item: TListItem) of object;

type TLVColumnClickEvent

type TLVColumnClickEvent func(sender IObject, column *TListColumn)

---------------TListView TLVColumnClickEvent = procedure(Sender: TObject; Column: TListColumn) of object;

type TLVColumnRClickEvent

type TLVColumnRClickEvent func(sender IObject, column *TListColumn, point TPoint)

TLVColumnRClickEvent = procedure(Sender: TObject; Column: TListColumn; Point: TPoint) of object;

type TLVCompareEvent

type TLVCompareEvent func(sender IObject, item1, item2 *TListItem, data int32, compare *int32)

TLVCompareEvent = procedure(Sender: TObject; Item1, Item2: TListItem;

Data: Integer; var Compare: Integer) of object;

type TLVCustomDrawEvent

type TLVCustomDrawEvent func(sender *TListView, aRect TRect, defaultDraw *bool)

TLVCustomDrawEvent = procedure(Sender: TCustomListView; const ARect: TRect; var DefaultDraw: Boolean) of object;

type TLVCustomDrawItemEvent

type TLVCustomDrawItemEvent func(sender *TListView, item *TListItem, state TCustomDrawState, defaultDraw *bool)

TLVCustomDrawItemEvent = procedure(Sender: TCustomListView; Item: TListItem; State: TCustomDrawState; var DefaultDraw: Boolean) of object;

type TLVCustomDrawSubItemEvent

type TLVCustomDrawSubItemEvent func(sender *TListView, item *TListItem, subItem int32, state TCustomDrawState, defaultDraw *bool)

TLVCustomDrawSubItemEvent = procedure(Sender: TCustomListView; Item: TListItem; SubItem: Integer; State: TCustomDrawState; var DefaultDraw: Boolean) of object;

type TLVDataEvent

type TLVDataEvent func(sender IObject, item *TListItem)

TLVDataEvent = procedure(Sender: TObject; Item: TListItem) of object;

type TLVDataFindEvent

type TLVDataFindEvent func(sender IObject, find TItemFind, findString string, findPosition TPoint, findData TCustomData, startIndex int32, direction TSearchDirection, warp bool, index *int32)

TLVDataFindEvent = procedure(Sender: TObject; Find: TItemFind; const FindString: string;

const FindPosition: TPoint; FindData: TCustomData; StartIndex: Integer; Direction: TSearchDirection; Wrap: Boolean; var Index: Integer) of object;

type TLVDataHintEvent

type TLVDataHintEvent func(sender IObject, startIndex, endIndex int32)

TLVDataHintEvent = procedure(Sender: TObject; StartIndex, EndIndex: Integer) of object;

type TLVDeletedEvent

type TLVDeletedEvent func(sender IObject, item *TListItem)

TLVDeletedEvent = procedure(Sender: TObject; Item: TListItem) of object;

type TLVDrawItemEvent

type TLVDrawItemEvent func(sender *TListView, item *TListItem, rect TRect, state TOwnerDrawState)

TLVDrawItemEvent = procedure(Sender: TCustomListView; Item: TListItem; Rect: TRect; State: TOwnerDrawState) of object;

type TLVEditedEvent

type TLVEditedEvent func(sender IObject, item *TListItem, s *string)

TLVEditedEvent = procedure(Sender: TObject; Item: TListItem; var S: string) of object;

type TLVEditingEvent

type TLVEditingEvent func(sender IObject, item *TListItem, allowEdit *bool)

TLVEditingEvent = procedure(Sender: TObject; Item: TListItem; var AllowEdit: Boolean) of object;

type TLVNotifyEvent

type TLVNotifyEvent func(sender IObject, item *TListItem)

TLVNotifyEvent = procedure(Sender: TObject; Item: TListItem) of object;

type TLVSelectItemEvent

type TLVSelectItemEvent func(sender IObject, item *TListItem, selected bool)

TLVSelectItemEvent = procedure(Sender: TObject; Item: TListItem; Selected: Boolean) of object;

type TLabel

type TLabel struct {
	IControl
	// contains filtered or unexported fields
}

func AsLabel

func AsLabel(obj interface{}) *TLabel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func LabelFromInst

func LabelFromInst(inst uintptr) *TLabel

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsLabel.

func LabelFromObj

func LabelFromObj(obj IObject) *TLabel

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsLabel.

func LabelFromUnsafePointer

func LabelFromUnsafePointer(ptr unsafe.Pointer) *TLabel

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsLabel.

func NewLabel

func NewLabel(owner IComponent) *TLabel

创建一个新的对象。

Create a new object.

func (*TLabel) Action

func (l *TLabel) Action() *TAction

func (*TLabel) Align

func (l *TLabel) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TLabel) Alignment

func (l *TLabel) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TLabel) AnchorAsAlign

func (l *TLabel) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TLabel) AnchorClient

func (l *TLabel) AnchorClient(ASpace int32)

func (*TLabel) AnchorHorizontalCenterTo

func (l *TLabel) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TLabel) AnchorParallel

func (l *TLabel) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLabel) AnchorSame

func (l *TLabel) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TLabel) AnchorSide

func (l *TLabel) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TLabel) AnchorSideBottom

func (l *TLabel) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TLabel) AnchorSideLeft

func (l *TLabel) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TLabel) AnchorSideRight

func (l *TLabel) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TLabel) AnchorSideTop

func (l *TLabel) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TLabel) AnchorToNeighbour

func (l *TLabel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLabel) AnchorVerticalCenterTo

func (l *TLabel) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TLabel) Anchors

func (l *TLabel) Anchors() TAnchors

获取四个角位置的锚点。

func (*TLabel) Assign

func (l *TLabel) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TLabel) AutoAdjustLayout

func (l *TLabel) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TLabel) AutoSize

func (l *TLabel) AutoSize() bool

获取自动调整大小。

func (*TLabel) BiDiMode

func (l *TLabel) BiDiMode() TBiDiMode

func (*TLabel) BorderSpacing

func (l *TLabel) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TLabel) BoundsRect

func (l *TLabel) BoundsRect() TRect

func (*TLabel) BringToFront

func (l *TLabel) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TLabel) Canvas

func (l *TLabel) Canvas() *TCanvas

获取画布。

func (*TLabel) Caption

func (l *TLabel) Caption() string

获取控件标题。

Get the control title.

func (*TLabel) ClassName

func (l *TLabel) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TLabel) ClassType

func (l *TLabel) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TLabel) ClientHeight

func (l *TLabel) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TLabel) ClientOrigin

func (l *TLabel) ClientOrigin() TPoint

func (*TLabel) ClientRect

func (l *TLabel) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TLabel) ClientToParent

func (l *TLabel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TLabel) ClientToScreen

func (l *TLabel) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TLabel) ClientWidth

func (l *TLabel) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TLabel) Color

func (l *TLabel) Color() TColor

获取颜色。

Get color.

func (*TLabel) ComponentCount

func (l *TLabel) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TLabel) ComponentIndex

func (l *TLabel) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TLabel) Components

func (l *TLabel) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TLabel) Constraints

func (l *TLabel) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TLabel) ControlState

func (l *TLabel) ControlState() TControlState

获取控件状态。

Get control state.

func (*TLabel) ControlStyle

func (l *TLabel) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TLabel) Cursor

func (l *TLabel) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TLabel) DragCursor

func (l *TLabel) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TLabel) DragKind

func (l *TLabel) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TLabel) DragMode

func (l *TLabel) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TLabel) Dragging

func (l *TLabel) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TLabel) Enabled

func (l *TLabel) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TLabel) Equals

func (l *TLabel) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TLabel) FindComponent

func (l *TLabel) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TLabel) FixDesignFontsPPI

func (l *TLabel) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TLabel) Floating

func (l *TLabel) Floating() bool

func (*TLabel) FocusControl

func (l *TLabel) FocusControl() *TWinControl

获取当按下Alt+Key时跳转到指定的控件。

func (*TLabel) Font

func (l *TLabel) Font() *TFont

获取字体。

Get Font.

func (*TLabel) Free

func (l *TLabel) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TLabel) GetHashCode

func (l *TLabel) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TLabel) GetNamePath

func (l *TLabel) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TLabel) GetTextBuf

func (l *TLabel) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TLabel) GetTextLen

func (l *TLabel) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TLabel) HasParent

func (l *TLabel) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TLabel) Height

func (l *TLabel) Height() int32

获取高度。

Get height.

func (*TLabel) Hide

func (l *TLabel) Hide()

隐藏控件。

Hidden control.

func (*TLabel) Hint

func (l *TLabel) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TLabel) InheritsFrom

func (l *TLabel) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TLabel) Instance

func (l *TLabel) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TLabel) InstanceSize

func (l *TLabel) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TLabel) Invalidate

func (l *TLabel) Invalidate()

要求重绘。

Redraw.

func (*TLabel) Is

func (l *TLabel) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TLabel) IsValid

func (l *TLabel) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TLabel) Layout

func (l *TLabel) Layout() TTextLayout

func (*TLabel) Left

func (l *TLabel) Left() int32

获取左边位置。

Get Left position.

func (*TLabel) Name

func (l *TLabel) Name() string

获取组件名称。

Get the component name.

func (*TLabel) OptimalFill

func (l *TLabel) OptimalFill() bool

func (*TLabel) Owner

func (l *TLabel) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TLabel) Parent

func (l *TLabel) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TLabel) ParentColor

func (l *TLabel) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TLabel) ParentFont

func (l *TLabel) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TLabel) ParentShowHint

func (l *TLabel) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TLabel) ParentToClient

func (l *TLabel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TLabel) Perform

func (l *TLabel) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TLabel) PopupMenu

func (l *TLabel) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TLabel) Refresh

func (l *TLabel) Refresh()

刷新控件。

Refresh control.

func (*TLabel) Repaint

func (l *TLabel) Repaint()

重绘。

Repaint.

func (*TLabel) Scale96ToFont

func (l *TLabel) Scale96ToFont(ASize int32) int32

func (*TLabel) Scale96ToForm

func (l *TLabel) Scale96ToForm(ASize int32) int32

func (*TLabel) Scale96ToScreen

func (l *TLabel) Scale96ToScreen(ASize int32) int32

func (*TLabel) ScaleDesignToForm

func (l *TLabel) ScaleDesignToForm(ASize int32) int32

func (*TLabel) ScaleFontTo96

func (l *TLabel) ScaleFontTo96(ASize int32) int32

func (*TLabel) ScaleFontToScreen

func (l *TLabel) ScaleFontToScreen(ASize int32) int32

func (*TLabel) ScaleFontsPPI

func (l *TLabel) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TLabel) ScaleFormTo96

func (l *TLabel) ScaleFormTo96(ASize int32) int32

func (*TLabel) ScaleFormToDesign

func (l *TLabel) ScaleFormToDesign(ASize int32) int32

func (*TLabel) ScaleScreenTo96

func (l *TLabel) ScaleScreenTo96(ASize int32) int32

func (*TLabel) ScaleScreenToFont

func (l *TLabel) ScaleScreenToFont(ASize int32) int32

func (*TLabel) ScreenToClient

func (l *TLabel) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TLabel) SendToBack

func (l *TLabel) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TLabel) SetAction

func (l *TLabel) SetAction(value IComponent)

func (*TLabel) SetAlign

func (l *TLabel) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TLabel) SetAlignment

func (l *TLabel) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TLabel) SetAnchorSideBottom

func (l *TLabel) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TLabel) SetAnchorSideLeft

func (l *TLabel) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TLabel) SetAnchorSideRight

func (l *TLabel) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TLabel) SetAnchorSideTop

func (l *TLabel) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TLabel) SetAnchors

func (l *TLabel) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TLabel) SetAutoSize

func (l *TLabel) SetAutoSize(value bool)

设置自动调整大小。

func (*TLabel) SetBiDiMode

func (l *TLabel) SetBiDiMode(value TBiDiMode)

func (*TLabel) SetBorderSpacing

func (l *TLabel) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TLabel) SetBounds

func (l *TLabel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TLabel) SetBoundsRect

func (l *TLabel) SetBoundsRect(value TRect)

func (*TLabel) SetCaption

func (l *TLabel) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TLabel) SetClientHeight

func (l *TLabel) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TLabel) SetClientWidth

func (l *TLabel) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TLabel) SetColor

func (l *TLabel) SetColor(value TColor)

设置颜色。

Set color.

func (*TLabel) SetComponentIndex

func (l *TLabel) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TLabel) SetConstraints

func (l *TLabel) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TLabel) SetControlState

func (l *TLabel) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TLabel) SetControlStyle

func (l *TLabel) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TLabel) SetCursor

func (l *TLabel) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TLabel) SetDragCursor

func (l *TLabel) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TLabel) SetDragKind

func (l *TLabel) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TLabel) SetDragMode

func (l *TLabel) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TLabel) SetEnabled

func (l *TLabel) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TLabel) SetFocusControl

func (l *TLabel) SetFocusControl(value IWinControl)

设置当按下Alt+Key时跳转到指定的控件。

func (*TLabel) SetFont

func (l *TLabel) SetFont(value *TFont)

设置字体。

Set Font.

func (*TLabel) SetHeight

func (l *TLabel) SetHeight(value int32)

设置高度。

Set height.

func (*TLabel) SetHint

func (l *TLabel) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TLabel) SetLayout

func (l *TLabel) SetLayout(value TTextLayout)

func (*TLabel) SetLeft

func (l *TLabel) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TLabel) SetName

func (l *TLabel) SetName(value string)

设置组件名称。

Set the component name.

func (*TLabel) SetOnClick

func (l *TLabel) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TLabel) SetOnContextPopup

func (l *TLabel) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TLabel) SetOnDblClick

func (l *TLabel) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TLabel) SetOnDragDrop

func (l *TLabel) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TLabel) SetOnDragOver

func (l *TLabel) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TLabel) SetOnEndDrag

func (l *TLabel) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TLabel) SetOnMouseDown

func (l *TLabel) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TLabel) SetOnMouseEnter

func (l *TLabel) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TLabel) SetOnMouseLeave

func (l *TLabel) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TLabel) SetOnMouseMove

func (l *TLabel) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TLabel) SetOnMouseUp

func (l *TLabel) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TLabel) SetOptimalFill

func (l *TLabel) SetOptimalFill(value bool)

func (*TLabel) SetParent

func (l *TLabel) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TLabel) SetParentColor

func (l *TLabel) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TLabel) SetParentFont

func (l *TLabel) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TLabel) SetParentShowHint

func (l *TLabel) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TLabel) SetPopupMenu

func (l *TLabel) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TLabel) SetShowAccelChar

func (l *TLabel) SetShowAccelChar(value bool)

func (*TLabel) SetShowHint

func (l *TLabel) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TLabel) SetTag

func (l *TLabel) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TLabel) SetTextBuf

func (l *TLabel) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TLabel) SetTop

func (l *TLabel) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TLabel) SetTransparent

func (l *TLabel) SetTransparent(value bool)

设置透明。

Set transparent.

func (*TLabel) SetVisible

func (l *TLabel) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TLabel) SetWidth

func (l *TLabel) SetWidth(value int32)

设置宽度。

Set width.

func (*TLabel) SetWordWrap

func (l *TLabel) SetWordWrap(value bool)

设置自动换行。

Set Automatic line break.

func (*TLabel) Show

func (l *TLabel) Show()

显示控件。

Show control.

func (*TLabel) ShowAccelChar

func (l *TLabel) ShowAccelChar() bool

func (*TLabel) ShowHint

func (l *TLabel) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TLabel) Tag

func (l *TLabel) Tag() int

获取对象标记。

Get the control tag.

func (*TLabel) ToString

func (l *TLabel) ToString() string

文本类信息。

Text information.

func (*TLabel) Top

func (l *TLabel) Top() int32

获取顶边位置。

Get Top position.

func (*TLabel) Transparent

func (l *TLabel) Transparent() bool

获取透明。

Get transparent.

func (*TLabel) UnsafeAddr

func (l *TLabel) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TLabel) Update

func (l *TLabel) Update()

控件更新。

Update.

func (*TLabel) Visible

func (l *TLabel) Visible() bool

获取控件可视。

Get the control visible.

func (*TLabel) Width

func (l *TLabel) Width() int32

获取宽度。

Get width.

func (*TLabel) WordWrap

func (l *TLabel) WordWrap() bool

获取自动换行。

Get Automatic line break.

type TLabeledEdit

type TLabeledEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsLabeledEdit

func AsLabeledEdit(obj interface{}) *TLabeledEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func LabeledEditFromInst

func LabeledEditFromInst(inst uintptr) *TLabeledEdit

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsLabeledEdit.

func LabeledEditFromObj

func LabeledEditFromObj(obj IObject) *TLabeledEdit

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsLabeledEdit.

func LabeledEditFromUnsafePointer

func LabeledEditFromUnsafePointer(ptr unsafe.Pointer) *TLabeledEdit

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsLabeledEdit.

func NewLabeledEdit

func NewLabeledEdit(owner IComponent) *TLabeledEdit

创建一个新的对象。

Create a new object.

func (*TLabeledEdit) Action

func (l *TLabeledEdit) Action() *TAction

func (*TLabeledEdit) Align

func (l *TLabeledEdit) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TLabeledEdit) Alignment

func (l *TLabeledEdit) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TLabeledEdit) AnchorAsAlign

func (l *TLabeledEdit) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TLabeledEdit) AnchorClient

func (l *TLabeledEdit) AnchorClient(ASpace int32)

func (*TLabeledEdit) AnchorHorizontalCenterTo

func (l *TLabeledEdit) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TLabeledEdit) AnchorParallel

func (l *TLabeledEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLabeledEdit) AnchorSame

func (l *TLabeledEdit) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TLabeledEdit) AnchorSide

func (l *TLabeledEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TLabeledEdit) AnchorSideBottom

func (l *TLabeledEdit) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TLabeledEdit) AnchorSideLeft

func (l *TLabeledEdit) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TLabeledEdit) AnchorSideRight

func (l *TLabeledEdit) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TLabeledEdit) AnchorSideTop

func (l *TLabeledEdit) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TLabeledEdit) AnchorToNeighbour

func (l *TLabeledEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLabeledEdit) AnchorVerticalCenterTo

func (l *TLabeledEdit) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TLabeledEdit) Anchors

func (l *TLabeledEdit) Anchors() TAnchors

获取四个角位置的锚点。

func (*TLabeledEdit) Assign

func (l *TLabeledEdit) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TLabeledEdit) AutoAdjustLayout

func (l *TLabeledEdit) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TLabeledEdit) AutoSelect

func (l *TLabeledEdit) AutoSelect() bool

获取自动选择。

func (*TLabeledEdit) AutoSize

func (l *TLabeledEdit) AutoSize() bool

获取自动调整大小。

func (*TLabeledEdit) BiDiMode

func (l *TLabeledEdit) BiDiMode() TBiDiMode

func (*TLabeledEdit) BorderSpacing

func (l *TLabeledEdit) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TLabeledEdit) BorderStyle

func (l *TLabeledEdit) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TLabeledEdit) BoundsRect

func (l *TLabeledEdit) BoundsRect() TRect

func (*TLabeledEdit) BringToFront

func (l *TLabeledEdit) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TLabeledEdit) Brush

func (l *TLabeledEdit) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TLabeledEdit) CanFocus

func (l *TLabeledEdit) CanFocus() bool

是否可以获得焦点。

func (*TLabeledEdit) CanUndo

func (l *TLabeledEdit) CanUndo() bool

获取能否撤销。

func (*TLabeledEdit) CharCase

func (l *TLabeledEdit) CharCase() TEditCharCase

func (*TLabeledEdit) ChildSizing

func (l *TLabeledEdit) ChildSizing() *TControlChildSizing

func (*TLabeledEdit) ClassName

func (l *TLabeledEdit) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TLabeledEdit) ClassType

func (l *TLabeledEdit) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TLabeledEdit) Clear

func (l *TLabeledEdit) Clear()

清除。

func (*TLabeledEdit) ClearSelection

func (l *TLabeledEdit) ClearSelection()

清除选择。

func (*TLabeledEdit) ClientHeight

func (l *TLabeledEdit) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TLabeledEdit) ClientOrigin

func (l *TLabeledEdit) ClientOrigin() TPoint

func (*TLabeledEdit) ClientRect

func (l *TLabeledEdit) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TLabeledEdit) ClientToParent

func (l *TLabeledEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TLabeledEdit) ClientToScreen

func (l *TLabeledEdit) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TLabeledEdit) ClientWidth

func (l *TLabeledEdit) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TLabeledEdit) Color

func (l *TLabeledEdit) Color() TColor

获取颜色。

Get color.

func (*TLabeledEdit) ComponentCount

func (l *TLabeledEdit) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TLabeledEdit) ComponentIndex

func (l *TLabeledEdit) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TLabeledEdit) Components

func (l *TLabeledEdit) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TLabeledEdit) Constraints

func (l *TLabeledEdit) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TLabeledEdit) ContainsControl

func (l *TLabeledEdit) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TLabeledEdit) ControlAtPos

func (l *TLabeledEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TLabeledEdit) ControlCount

func (l *TLabeledEdit) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TLabeledEdit) ControlState

func (l *TLabeledEdit) ControlState() TControlState

获取控件状态。

Get control state.

func (*TLabeledEdit) ControlStyle

func (l *TLabeledEdit) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TLabeledEdit) Controls

func (l *TLabeledEdit) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TLabeledEdit) CopyToClipboard

func (l *TLabeledEdit) CopyToClipboard()

复制到粘贴板。

func (*TLabeledEdit) Cursor

func (l *TLabeledEdit) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TLabeledEdit) CutToClipboard

func (l *TLabeledEdit) CutToClipboard()

剪切到粘贴板。

func (*TLabeledEdit) DisableAlign

func (l *TLabeledEdit) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TLabeledEdit) DockClientCount

func (l *TLabeledEdit) DockClientCount() int32

获取依靠客户端总数。

func (*TLabeledEdit) DockClients

func (l *TLabeledEdit) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TLabeledEdit) DockSite

func (l *TLabeledEdit) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TLabeledEdit) DoubleBuffered

func (l *TLabeledEdit) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TLabeledEdit) DragCursor

func (l *TLabeledEdit) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TLabeledEdit) DragMode

func (l *TLabeledEdit) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TLabeledEdit) Dragging

func (l *TLabeledEdit) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TLabeledEdit) EditLabel

func (l *TLabeledEdit) EditLabel() *TBoundLabel

func (*TLabeledEdit) EnableAlign

func (l *TLabeledEdit) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TLabeledEdit) Enabled

func (l *TLabeledEdit) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TLabeledEdit) Equals

func (l *TLabeledEdit) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TLabeledEdit) FindChildControl

func (l *TLabeledEdit) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TLabeledEdit) FindComponent

func (l *TLabeledEdit) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TLabeledEdit) FixDesignFontsPPI

func (l *TLabeledEdit) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TLabeledEdit) FlipChildren

func (l *TLabeledEdit) FlipChildren(AllLevels bool)

func (*TLabeledEdit) Floating

func (l *TLabeledEdit) Floating() bool

func (*TLabeledEdit) Focused

func (l *TLabeledEdit) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TLabeledEdit) Font

func (l *TLabeledEdit) Font() *TFont

获取字体。

Get Font.

func (*TLabeledEdit) Free

func (l *TLabeledEdit) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TLabeledEdit) GetHashCode

func (l *TLabeledEdit) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TLabeledEdit) GetNamePath

func (l *TLabeledEdit) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TLabeledEdit) GetTextBuf

func (l *TLabeledEdit) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TLabeledEdit) GetTextLen

func (l *TLabeledEdit) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TLabeledEdit) Handle

func (l *TLabeledEdit) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TLabeledEdit) HandleAllocated

func (l *TLabeledEdit) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TLabeledEdit) HasParent

func (l *TLabeledEdit) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TLabeledEdit) Height

func (l *TLabeledEdit) Height() int32

获取高度。

Get height.

func (*TLabeledEdit) Hide

func (l *TLabeledEdit) Hide()

隐藏控件。

Hidden control.

func (*TLabeledEdit) HideSelection

func (l *TLabeledEdit) HideSelection() bool

获取隐藏选择。

func (*TLabeledEdit) Hint

func (l *TLabeledEdit) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TLabeledEdit) InheritsFrom

func (l *TLabeledEdit) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TLabeledEdit) InsertControl

func (l *TLabeledEdit) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TLabeledEdit) Instance

func (l *TLabeledEdit) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TLabeledEdit) InstanceSize

func (l *TLabeledEdit) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TLabeledEdit) Invalidate

func (l *TLabeledEdit) Invalidate()

要求重绘。

Redraw.

func (*TLabeledEdit) Is

func (l *TLabeledEdit) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TLabeledEdit) IsValid

func (l *TLabeledEdit) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TLabeledEdit) LabelPosition

func (l *TLabeledEdit) LabelPosition() TLabelPosition

func (*TLabeledEdit) LabelSpacing

func (l *TLabeledEdit) LabelSpacing() int32

func (*TLabeledEdit) Left

func (l *TLabeledEdit) Left() int32

获取左边位置。

Get Left position.

func (*TLabeledEdit) MaxLength

func (l *TLabeledEdit) MaxLength() int32

获取最大长度。

func (*TLabeledEdit) Modified

func (l *TLabeledEdit) Modified() bool

获取修改。

Get modified.

func (*TLabeledEdit) MouseInClient

func (l *TLabeledEdit) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TLabeledEdit) Name

func (l *TLabeledEdit) Name() string

获取组件名称。

Get the component name.

func (*TLabeledEdit) NumbersOnly

func (l *TLabeledEdit) NumbersOnly() bool

获取只能输入数字。

func (*TLabeledEdit) Owner

func (l *TLabeledEdit) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TLabeledEdit) PaintTo

func (l *TLabeledEdit) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TLabeledEdit) Parent

func (l *TLabeledEdit) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TLabeledEdit) ParentColor

func (l *TLabeledEdit) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TLabeledEdit) ParentDoubleBuffered

func (l *TLabeledEdit) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TLabeledEdit) ParentFont

func (l *TLabeledEdit) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TLabeledEdit) ParentShowHint

func (l *TLabeledEdit) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TLabeledEdit) ParentToClient

func (l *TLabeledEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TLabeledEdit) ParentWindow

func (l *TLabeledEdit) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TLabeledEdit) PasswordChar

func (l *TLabeledEdit) PasswordChar() uint16

获取密码掩码字符。

func (*TLabeledEdit) PasteFromClipboard

func (l *TLabeledEdit) PasteFromClipboard()

从剪切板粘贴。

func (*TLabeledEdit) Perform

func (l *TLabeledEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TLabeledEdit) PopupMenu

func (l *TLabeledEdit) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TLabeledEdit) ReadOnly

func (l *TLabeledEdit) ReadOnly() bool

获取只读。

func (*TLabeledEdit) Realign

func (l *TLabeledEdit) Realign()

重新对齐。

Realign.

func (*TLabeledEdit) Refresh

func (l *TLabeledEdit) Refresh()

刷新控件。

Refresh control.

func (*TLabeledEdit) RemoveControl

func (l *TLabeledEdit) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TLabeledEdit) Repaint

func (l *TLabeledEdit) Repaint()

重绘。

Repaint.

func (*TLabeledEdit) Scale96ToFont

func (l *TLabeledEdit) Scale96ToFont(ASize int32) int32

func (*TLabeledEdit) Scale96ToForm

func (l *TLabeledEdit) Scale96ToForm(ASize int32) int32

func (*TLabeledEdit) Scale96ToScreen

func (l *TLabeledEdit) Scale96ToScreen(ASize int32) int32

func (*TLabeledEdit) ScaleBy

func (l *TLabeledEdit) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TLabeledEdit) ScaleDesignToForm

func (l *TLabeledEdit) ScaleDesignToForm(ASize int32) int32

func (*TLabeledEdit) ScaleFontTo96

func (l *TLabeledEdit) ScaleFontTo96(ASize int32) int32

func (*TLabeledEdit) ScaleFontToScreen

func (l *TLabeledEdit) ScaleFontToScreen(ASize int32) int32

func (*TLabeledEdit) ScaleFontsPPI

func (l *TLabeledEdit) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TLabeledEdit) ScaleFormTo96

func (l *TLabeledEdit) ScaleFormTo96(ASize int32) int32

func (*TLabeledEdit) ScaleFormToDesign

func (l *TLabeledEdit) ScaleFormToDesign(ASize int32) int32

func (*TLabeledEdit) ScaleScreenTo96

func (l *TLabeledEdit) ScaleScreenTo96(ASize int32) int32

func (*TLabeledEdit) ScaleScreenToFont

func (l *TLabeledEdit) ScaleScreenToFont(ASize int32) int32

func (*TLabeledEdit) ScreenToClient

func (l *TLabeledEdit) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TLabeledEdit) ScrollBy

func (l *TLabeledEdit) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TLabeledEdit) SelLength

func (l *TLabeledEdit) SelLength() int32

获取选择的长度。

func (*TLabeledEdit) SelStart

func (l *TLabeledEdit) SelStart() int32

获取选择的启始位置。

func (*TLabeledEdit) SelText

func (l *TLabeledEdit) SelText() string

获取选择的文本。

func (*TLabeledEdit) SelectAll

func (l *TLabeledEdit) SelectAll()

全选。

func (*TLabeledEdit) SendToBack

func (l *TLabeledEdit) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TLabeledEdit) SetAction

func (l *TLabeledEdit) SetAction(value IComponent)

func (*TLabeledEdit) SetAlign

func (l *TLabeledEdit) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TLabeledEdit) SetAlignment

func (l *TLabeledEdit) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TLabeledEdit) SetAnchorSideBottom

func (l *TLabeledEdit) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TLabeledEdit) SetAnchorSideLeft

func (l *TLabeledEdit) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TLabeledEdit) SetAnchorSideRight

func (l *TLabeledEdit) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TLabeledEdit) SetAnchorSideTop

func (l *TLabeledEdit) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TLabeledEdit) SetAnchors

func (l *TLabeledEdit) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TLabeledEdit) SetAutoSelect

func (l *TLabeledEdit) SetAutoSelect(value bool)

设置自动选择。

func (*TLabeledEdit) SetAutoSize

func (l *TLabeledEdit) SetAutoSize(value bool)

设置自动调整大小。

func (*TLabeledEdit) SetBiDiMode

func (l *TLabeledEdit) SetBiDiMode(value TBiDiMode)

func (*TLabeledEdit) SetBorderSpacing

func (l *TLabeledEdit) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TLabeledEdit) SetBorderStyle

func (l *TLabeledEdit) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TLabeledEdit) SetBounds

func (l *TLabeledEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TLabeledEdit) SetBoundsRect

func (l *TLabeledEdit) SetBoundsRect(value TRect)

func (*TLabeledEdit) SetCharCase

func (l *TLabeledEdit) SetCharCase(value TEditCharCase)

func (*TLabeledEdit) SetChildSizing

func (l *TLabeledEdit) SetChildSizing(value *TControlChildSizing)

func (*TLabeledEdit) SetClientHeight

func (l *TLabeledEdit) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TLabeledEdit) SetClientWidth

func (l *TLabeledEdit) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TLabeledEdit) SetColor

func (l *TLabeledEdit) SetColor(value TColor)

设置颜色。

Set color.

func (*TLabeledEdit) SetComponentIndex

func (l *TLabeledEdit) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TLabeledEdit) SetConstraints

func (l *TLabeledEdit) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TLabeledEdit) SetControlState

func (l *TLabeledEdit) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TLabeledEdit) SetControlStyle

func (l *TLabeledEdit) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TLabeledEdit) SetCursor

func (l *TLabeledEdit) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TLabeledEdit) SetDockSite

func (l *TLabeledEdit) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TLabeledEdit) SetDoubleBuffered

func (l *TLabeledEdit) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TLabeledEdit) SetDragCursor

func (l *TLabeledEdit) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TLabeledEdit) SetDragMode

func (l *TLabeledEdit) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TLabeledEdit) SetEnabled

func (l *TLabeledEdit) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TLabeledEdit) SetFocus

func (l *TLabeledEdit) SetFocus()

设置控件焦点。

Set control focus.

func (*TLabeledEdit) SetFont

func (l *TLabeledEdit) SetFont(value *TFont)

设置字体。

Set Font.

func (*TLabeledEdit) SetHeight

func (l *TLabeledEdit) SetHeight(value int32)

设置高度。

Set height.

func (*TLabeledEdit) SetHideSelection

func (l *TLabeledEdit) SetHideSelection(value bool)

设置隐藏选择。

func (*TLabeledEdit) SetHint

func (l *TLabeledEdit) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TLabeledEdit) SetLabelPosition

func (l *TLabeledEdit) SetLabelPosition(value TLabelPosition)

func (*TLabeledEdit) SetLabelSpacing

func (l *TLabeledEdit) SetLabelSpacing(value int32)

func (*TLabeledEdit) SetLeft

func (l *TLabeledEdit) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TLabeledEdit) SetMaxLength

func (l *TLabeledEdit) SetMaxLength(value int32)

设置最大长度。

func (*TLabeledEdit) SetModified

func (l *TLabeledEdit) SetModified(value bool)

设置修改。

Set modified.

func (*TLabeledEdit) SetName

func (l *TLabeledEdit) SetName(value string)

设置组件名称。

Set the component name.

func (*TLabeledEdit) SetNumbersOnly

func (l *TLabeledEdit) SetNumbersOnly(value bool)

设置只能输入数字。

func (*TLabeledEdit) SetOnChange

func (l *TLabeledEdit) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TLabeledEdit) SetOnClick

func (l *TLabeledEdit) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TLabeledEdit) SetOnDblClick

func (l *TLabeledEdit) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TLabeledEdit) SetOnDragDrop

func (l *TLabeledEdit) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TLabeledEdit) SetOnDragOver

func (l *TLabeledEdit) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TLabeledEdit) SetOnEndDrag

func (l *TLabeledEdit) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TLabeledEdit) SetOnEnter

func (l *TLabeledEdit) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TLabeledEdit) SetOnExit

func (l *TLabeledEdit) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TLabeledEdit) SetOnKeyDown

func (l *TLabeledEdit) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TLabeledEdit) SetOnKeyPress

func (l *TLabeledEdit) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TLabeledEdit) SetOnKeyUp

func (l *TLabeledEdit) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TLabeledEdit) SetOnMouseDown

func (l *TLabeledEdit) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TLabeledEdit) SetOnMouseEnter

func (l *TLabeledEdit) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TLabeledEdit) SetOnMouseLeave

func (l *TLabeledEdit) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TLabeledEdit) SetOnMouseMove

func (l *TLabeledEdit) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TLabeledEdit) SetOnMouseUp

func (l *TLabeledEdit) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TLabeledEdit) SetParent

func (l *TLabeledEdit) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TLabeledEdit) SetParentColor

func (l *TLabeledEdit) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TLabeledEdit) SetParentDoubleBuffered

func (l *TLabeledEdit) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TLabeledEdit) SetParentFont

func (l *TLabeledEdit) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TLabeledEdit) SetParentShowHint

func (l *TLabeledEdit) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TLabeledEdit) SetParentWindow

func (l *TLabeledEdit) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TLabeledEdit) SetPasswordChar

func (l *TLabeledEdit) SetPasswordChar(value uint16)

设置密码掩码字符。

func (*TLabeledEdit) SetPopupMenu

func (l *TLabeledEdit) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TLabeledEdit) SetReadOnly

func (l *TLabeledEdit) SetReadOnly(value bool)

设置只读。

func (*TLabeledEdit) SetSelLength

func (l *TLabeledEdit) SetSelLength(value int32)

设置选择的长度。

func (*TLabeledEdit) SetSelStart

func (l *TLabeledEdit) SetSelStart(value int32)

设置选择的启始位置。

func (*TLabeledEdit) SetSelText

func (l *TLabeledEdit) SetSelText(value string)

设置选择的文本。

func (*TLabeledEdit) SetShowHint

func (l *TLabeledEdit) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TLabeledEdit) SetTabOrder

func (l *TLabeledEdit) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TLabeledEdit) SetTabStop

func (l *TLabeledEdit) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TLabeledEdit) SetTag

func (l *TLabeledEdit) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TLabeledEdit) SetText

func (l *TLabeledEdit) SetText(value string)

设置文本。

func (*TLabeledEdit) SetTextBuf

func (l *TLabeledEdit) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TLabeledEdit) SetTextHint

func (l *TLabeledEdit) SetTextHint(value string)

设置提示文本。

func (*TLabeledEdit) SetTop

func (l *TLabeledEdit) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TLabeledEdit) SetUseDockManager

func (l *TLabeledEdit) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TLabeledEdit) SetVisible

func (l *TLabeledEdit) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TLabeledEdit) SetWidth

func (l *TLabeledEdit) SetWidth(value int32)

设置宽度。

Set width.

func (*TLabeledEdit) Show

func (l *TLabeledEdit) Show()

显示控件。

Show control.

func (*TLabeledEdit) ShowHint

func (l *TLabeledEdit) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TLabeledEdit) Showing

func (l *TLabeledEdit) Showing() bool

func (*TLabeledEdit) TabOrder

func (l *TLabeledEdit) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TLabeledEdit) TabStop

func (l *TLabeledEdit) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TLabeledEdit) Tag

func (l *TLabeledEdit) Tag() int

获取对象标记。

Get the control tag.

func (*TLabeledEdit) Text

func (l *TLabeledEdit) Text() string

获取文本。

func (*TLabeledEdit) TextHint

func (l *TLabeledEdit) TextHint() string

获取提示文本。

func (*TLabeledEdit) ToString

func (l *TLabeledEdit) ToString() string

文本类信息。

Text information.

func (*TLabeledEdit) Top

func (l *TLabeledEdit) Top() int32

获取顶边位置。

Get Top position.

func (*TLabeledEdit) Undo

func (l *TLabeledEdit) Undo()

撤销上一次操作。

func (*TLabeledEdit) UnsafeAddr

func (l *TLabeledEdit) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TLabeledEdit) Update

func (l *TLabeledEdit) Update()

控件更新。

Update.

func (*TLabeledEdit) UseDockManager

func (l *TLabeledEdit) UseDockManager() bool

获取使用停靠管理。

func (*TLabeledEdit) Visible

func (l *TLabeledEdit) Visible() bool

获取控件可视。

Get the control visible.

func (*TLabeledEdit) VisibleDockClientCount

func (l *TLabeledEdit) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TLabeledEdit) Width

func (l *TLabeledEdit) Width() int32

获取宽度。

Get width.

type TLinkLabel

type TLinkLabel struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsLinkLabel

func AsLinkLabel(obj interface{}) *TLinkLabel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func LinkLabelFromInst

func LinkLabelFromInst(inst uintptr) *TLinkLabel

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsLinkLabel.

func LinkLabelFromObj

func LinkLabelFromObj(obj IObject) *TLinkLabel

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsLinkLabel.

func LinkLabelFromUnsafePointer

func LinkLabelFromUnsafePointer(ptr unsafe.Pointer) *TLinkLabel

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsLinkLabel.

func NewLinkLabel

func NewLinkLabel(owner IComponent) *TLinkLabel

创建一个新的对象。

Create a new object.

func (*TLinkLabel) Action

func (l *TLinkLabel) Action() *TAction

func (*TLinkLabel) Align

func (l *TLinkLabel) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TLinkLabel) Alignment

func (l *TLinkLabel) Alignment() TLinkAlignment

获取文字对齐。

Get Text alignment.

func (*TLinkLabel) AnchorAsAlign

func (l *TLinkLabel) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TLinkLabel) AnchorClient

func (l *TLinkLabel) AnchorClient(ASpace int32)

func (*TLinkLabel) AnchorHorizontalCenterTo

func (l *TLinkLabel) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TLinkLabel) AnchorParallel

func (l *TLinkLabel) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLinkLabel) AnchorSame

func (l *TLinkLabel) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TLinkLabel) AnchorSide

func (l *TLinkLabel) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TLinkLabel) AnchorSideBottom

func (l *TLinkLabel) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TLinkLabel) AnchorSideLeft

func (l *TLinkLabel) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TLinkLabel) AnchorSideRight

func (l *TLinkLabel) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TLinkLabel) AnchorSideTop

func (l *TLinkLabel) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TLinkLabel) AnchorToNeighbour

func (l *TLinkLabel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLinkLabel) AnchorVerticalCenterTo

func (l *TLinkLabel) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TLinkLabel) Anchors

func (l *TLinkLabel) Anchors() TAnchors

获取四个角位置的锚点。

func (*TLinkLabel) Assign

func (l *TLinkLabel) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TLinkLabel) AutoAdjustLayout

func (l *TLinkLabel) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TLinkLabel) AutoSize

func (l *TLinkLabel) AutoSize() bool

获取自动调整大小。

func (*TLinkLabel) BiDiMode

func (l *TLinkLabel) BiDiMode() TBiDiMode

func (*TLinkLabel) BorderSpacing

func (l *TLinkLabel) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TLinkLabel) BoundsRect

func (l *TLinkLabel) BoundsRect() TRect

func (*TLinkLabel) BringToFront

func (l *TLinkLabel) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TLinkLabel) Caption

func (l *TLinkLabel) Caption() string

获取控件标题。

Get the control title.

func (*TLinkLabel) ClassName

func (l *TLinkLabel) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TLinkLabel) ClassType

func (l *TLinkLabel) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TLinkLabel) ClientHeight

func (l *TLinkLabel) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TLinkLabel) ClientOrigin

func (l *TLinkLabel) ClientOrigin() TPoint

func (*TLinkLabel) ClientRect

func (l *TLinkLabel) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TLinkLabel) ClientToParent

func (l *TLinkLabel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TLinkLabel) ClientToScreen

func (l *TLinkLabel) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TLinkLabel) ClientWidth

func (l *TLinkLabel) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TLinkLabel) Color

func (l *TLinkLabel) Color() TColor

获取颜色。

Get color.

func (*TLinkLabel) ComponentCount

func (l *TLinkLabel) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TLinkLabel) ComponentIndex

func (l *TLinkLabel) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TLinkLabel) Components

func (l *TLinkLabel) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TLinkLabel) Constraints

func (l *TLinkLabel) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TLinkLabel) ControlState

func (l *TLinkLabel) ControlState() TControlState

获取控件状态。

Get control state.

func (*TLinkLabel) ControlStyle

func (l *TLinkLabel) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TLinkLabel) DragCursor

func (l *TLinkLabel) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TLinkLabel) DragKind

func (l *TLinkLabel) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TLinkLabel) DragMode

func (l *TLinkLabel) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TLinkLabel) Dragging

func (l *TLinkLabel) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TLinkLabel) Enabled

func (l *TLinkLabel) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TLinkLabel) Equals

func (l *TLinkLabel) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TLinkLabel) FindComponent

func (l *TLinkLabel) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TLinkLabel) FixDesignFontsPPI

func (l *TLinkLabel) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TLinkLabel) Floating

func (l *TLinkLabel) Floating() bool

func (*TLinkLabel) Font

func (l *TLinkLabel) Font() *TFont

获取字体。

Get Font.

func (*TLinkLabel) Free

func (l *TLinkLabel) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TLinkLabel) GetHashCode

func (l *TLinkLabel) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TLinkLabel) GetNamePath

func (l *TLinkLabel) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TLinkLabel) GetTextBuf

func (l *TLinkLabel) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TLinkLabel) GetTextLen

func (l *TLinkLabel) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TLinkLabel) HasParent

func (l *TLinkLabel) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TLinkLabel) Height

func (l *TLinkLabel) Height() int32

获取高度。

Get height.

func (*TLinkLabel) Hide

func (l *TLinkLabel) Hide()

隐藏控件。

Hidden control.

func (*TLinkLabel) Hint

func (l *TLinkLabel) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TLinkLabel) InheritsFrom

func (l *TLinkLabel) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TLinkLabel) Instance

func (l *TLinkLabel) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TLinkLabel) InstanceSize

func (l *TLinkLabel) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TLinkLabel) Invalidate

func (l *TLinkLabel) Invalidate()

要求重绘。

Redraw.

func (*TLinkLabel) Is

func (l *TLinkLabel) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TLinkLabel) IsValid

func (l *TLinkLabel) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TLinkLabel) Left

func (l *TLinkLabel) Left() int32

获取左边位置。

Get Left position.

func (*TLinkLabel) MouseInClient

func (l *TLinkLabel) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TLinkLabel) Name

func (l *TLinkLabel) Name() string

获取组件名称。

Get the component name.

func (*TLinkLabel) Owner

func (l *TLinkLabel) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TLinkLabel) Parent

func (l *TLinkLabel) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TLinkLabel) ParentColor

func (l *TLinkLabel) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TLinkLabel) ParentFont

func (l *TLinkLabel) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TLinkLabel) ParentShowHint

func (l *TLinkLabel) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TLinkLabel) ParentToClient

func (l *TLinkLabel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TLinkLabel) Perform

func (l *TLinkLabel) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TLinkLabel) PopupMenu

func (l *TLinkLabel) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TLinkLabel) Refresh

func (l *TLinkLabel) Refresh()

刷新控件。

Refresh control.

func (*TLinkLabel) Repaint

func (l *TLinkLabel) Repaint()

重绘。

Repaint.

func (*TLinkLabel) Scale96ToFont

func (l *TLinkLabel) Scale96ToFont(ASize int32) int32

func (*TLinkLabel) Scale96ToForm

func (l *TLinkLabel) Scale96ToForm(ASize int32) int32

func (*TLinkLabel) Scale96ToScreen

func (l *TLinkLabel) Scale96ToScreen(ASize int32) int32

func (*TLinkLabel) ScaleDesignToForm

func (l *TLinkLabel) ScaleDesignToForm(ASize int32) int32

func (*TLinkLabel) ScaleFontTo96

func (l *TLinkLabel) ScaleFontTo96(ASize int32) int32

func (*TLinkLabel) ScaleFontToScreen

func (l *TLinkLabel) ScaleFontToScreen(ASize int32) int32

func (*TLinkLabel) ScaleFontsPPI

func (l *TLinkLabel) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TLinkLabel) ScaleFormTo96

func (l *TLinkLabel) ScaleFormTo96(ASize int32) int32

func (*TLinkLabel) ScaleFormToDesign

func (l *TLinkLabel) ScaleFormToDesign(ASize int32) int32

func (*TLinkLabel) ScaleScreenTo96

func (l *TLinkLabel) ScaleScreenTo96(ASize int32) int32

func (*TLinkLabel) ScaleScreenToFont

func (l *TLinkLabel) ScaleScreenToFont(ASize int32) int32

func (*TLinkLabel) ScreenToClient

func (l *TLinkLabel) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TLinkLabel) SendToBack

func (l *TLinkLabel) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TLinkLabel) SetAction

func (l *TLinkLabel) SetAction(value IComponent)

func (*TLinkLabel) SetAlign

func (l *TLinkLabel) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TLinkLabel) SetAlignment

func (l *TLinkLabel) SetAlignment(value TLinkAlignment)

设置文字对齐。

Set Text alignment.

func (*TLinkLabel) SetAnchorSideBottom

func (l *TLinkLabel) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TLinkLabel) SetAnchorSideLeft

func (l *TLinkLabel) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TLinkLabel) SetAnchorSideRight

func (l *TLinkLabel) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TLinkLabel) SetAnchorSideTop

func (l *TLinkLabel) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TLinkLabel) SetAnchors

func (l *TLinkLabel) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TLinkLabel) SetAutoSize

func (l *TLinkLabel) SetAutoSize(value bool)

设置自动调整大小。

func (*TLinkLabel) SetBiDiMode

func (l *TLinkLabel) SetBiDiMode(value TBiDiMode)

func (*TLinkLabel) SetBorderSpacing

func (l *TLinkLabel) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TLinkLabel) SetBounds

func (l *TLinkLabel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TLinkLabel) SetBoundsRect

func (l *TLinkLabel) SetBoundsRect(value TRect)

func (*TLinkLabel) SetCaption

func (l *TLinkLabel) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TLinkLabel) SetClientHeight

func (l *TLinkLabel) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TLinkLabel) SetClientWidth

func (l *TLinkLabel) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TLinkLabel) SetColor

func (l *TLinkLabel) SetColor(value TColor)

设置颜色。

Set color.

func (*TLinkLabel) SetComponentIndex

func (l *TLinkLabel) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TLinkLabel) SetConstraints

func (l *TLinkLabel) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TLinkLabel) SetControlState

func (l *TLinkLabel) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TLinkLabel) SetControlStyle

func (l *TLinkLabel) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TLinkLabel) SetDragCursor

func (l *TLinkLabel) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TLinkLabel) SetDragKind

func (l *TLinkLabel) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TLinkLabel) SetDragMode

func (l *TLinkLabel) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TLinkLabel) SetEnabled

func (l *TLinkLabel) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TLinkLabel) SetFont

func (l *TLinkLabel) SetFont(value *TFont)

设置字体。

Set Font.

func (*TLinkLabel) SetHeight

func (l *TLinkLabel) SetHeight(value int32)

设置高度。

Set height.

func (*TLinkLabel) SetHint

func (l *TLinkLabel) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TLinkLabel) SetLeft

func (l *TLinkLabel) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TLinkLabel) SetName

func (l *TLinkLabel) SetName(value string)

设置组件名称。

Set the component name.

func (*TLinkLabel) SetOnClick

func (l *TLinkLabel) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TLinkLabel) SetOnContextPopup

func (l *TLinkLabel) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TLinkLabel) SetOnDblClick

func (l *TLinkLabel) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TLinkLabel) SetOnDragDrop

func (l *TLinkLabel) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TLinkLabel) SetOnDragOver

func (l *TLinkLabel) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TLinkLabel) SetOnEndDrag

func (l *TLinkLabel) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TLinkLabel) SetOnLinkClick

func (l *TLinkLabel) SetOnLinkClick(fn TSysLinkEvent)

func (*TLinkLabel) SetOnMouseDown

func (l *TLinkLabel) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TLinkLabel) SetOnMouseEnter

func (l *TLinkLabel) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TLinkLabel) SetOnMouseLeave

func (l *TLinkLabel) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TLinkLabel) SetOnMouseMove

func (l *TLinkLabel) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TLinkLabel) SetOnMouseUp

func (l *TLinkLabel) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TLinkLabel) SetParent

func (l *TLinkLabel) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TLinkLabel) SetParentColor

func (l *TLinkLabel) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TLinkLabel) SetParentFont

func (l *TLinkLabel) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TLinkLabel) SetParentShowHint

func (l *TLinkLabel) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TLinkLabel) SetPopupMenu

func (l *TLinkLabel) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TLinkLabel) SetShowHint

func (l *TLinkLabel) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TLinkLabel) SetTag

func (l *TLinkLabel) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TLinkLabel) SetTextBuf

func (l *TLinkLabel) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TLinkLabel) SetTop

func (l *TLinkLabel) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TLinkLabel) SetVisible

func (l *TLinkLabel) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TLinkLabel) SetWidth

func (l *TLinkLabel) SetWidth(value int32)

设置宽度。

Set width.

func (*TLinkLabel) Show

func (l *TLinkLabel) Show()

显示控件。

Show control.

func (*TLinkLabel) ShowHint

func (l *TLinkLabel) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TLinkLabel) Tag

func (l *TLinkLabel) Tag() int

获取对象标记。

Get the control tag.

func (*TLinkLabel) ToString

func (l *TLinkLabel) ToString() string

文本类信息。

Text information.

func (*TLinkLabel) Top

func (l *TLinkLabel) Top() int32

获取顶边位置。

Get Top position.

func (*TLinkLabel) UnsafeAddr

func (l *TLinkLabel) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TLinkLabel) Update

func (l *TLinkLabel) Update()

控件更新。

Update.

func (*TLinkLabel) Visible

func (l *TLinkLabel) Visible() bool

获取控件可视。

Get the control visible.

func (*TLinkLabel) Width

func (l *TLinkLabel) Width() int32

获取宽度。

Get width.

type TList

type TList struct {
	IObject
	// contains filtered or unexported fields
}

func AsList

func AsList(obj interface{}) *TList

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ListFromInst

func ListFromInst(inst uintptr) *TList

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsList.

func ListFromObj

func ListFromObj(obj IObject) *TList

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsList.

func ListFromUnsafePointer

func ListFromUnsafePointer(ptr unsafe.Pointer) *TList

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsList.

func NewList

func NewList() *TList

创建一个新的对象。

Create a new object.

func (*TList) Add

func (l *TList) Add(Item uintptr) int32

func (*TList) Capacity

func (l *TList) Capacity() int32

func (*TList) ClassName

func (l *TList) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TList) ClassType

func (l *TList) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TList) Clear

func (l *TList) Clear()

清除。

func (*TList) Count

func (l *TList) Count() int32

获取项目总数。

Get Total number of projects.

func (*TList) Delete

func (l *TList) Delete(Index int32)

func (*TList) Equals

func (l *TList) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TList) Expand

func (l *TList) Expand() *TList

func (*TList) Free

func (l *TList) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TList) GetHashCode

func (l *TList) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TList) IndexOf

func (l *TList) IndexOf(Item uintptr) int32

func (*TList) InheritsFrom

func (l *TList) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TList) Insert

func (l *TList) Insert(Index int32, Item uintptr)

func (*TList) Instance

func (l *TList) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TList) InstanceSize

func (l *TList) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TList) Is

func (l *TList) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TList) IsValid

func (l *TList) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TList) Items

func (l *TList) Items(Index int32) uintptr

获取获取指定索引项目。

Get Get the specified index item.

func (*TList) List

func (l *TList) List() uintptr

获取获取列表指针。

Get Get list pointer.

func (*TList) Move

func (l *TList) Move(CurIndex int32, NewIndex int32)

func (*TList) SetCapacity

func (l *TList) SetCapacity(value int32)

func (*TList) SetCount

func (l *TList) SetCount(value int32)

设置项目总数。

Set Total number of projects.

func (*TList) SetItems

func (l *TList) SetItems(Index int32, value uintptr)

设置获取指定索引项目。

Set Get the specified index item.

func (*TList) ToString

func (l *TList) ToString() string

文本类信息。

Text information.

func (*TList) UnsafeAddr

func (l *TList) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TListBox

type TListBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsListBox

func AsListBox(obj interface{}) *TListBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ListBoxFromInst

func ListBoxFromInst(inst uintptr) *TListBox

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsListBox.

func ListBoxFromObj

func ListBoxFromObj(obj IObject) *TListBox

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsListBox.

func ListBoxFromUnsafePointer

func ListBoxFromUnsafePointer(ptr unsafe.Pointer) *TListBox

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListBox.

func NewListBox

func NewListBox(owner IComponent) *TListBox

创建一个新的对象。

Create a new object.

func (*TListBox) Action

func (l *TListBox) Action() *TAction

func (*TListBox) AddItem

func (l *TListBox) AddItem(Item string, AObject IObject)

func (*TListBox) Align

func (l *TListBox) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TListBox) AnchorAsAlign

func (l *TListBox) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TListBox) AnchorClient

func (l *TListBox) AnchorClient(ASpace int32)

func (*TListBox) AnchorHorizontalCenterTo

func (l *TListBox) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TListBox) AnchorParallel

func (l *TListBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TListBox) AnchorSame

func (l *TListBox) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TListBox) AnchorSide

func (l *TListBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TListBox) AnchorSideBottom

func (l *TListBox) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TListBox) AnchorSideLeft

func (l *TListBox) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TListBox) AnchorSideRight

func (l *TListBox) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TListBox) AnchorSideTop

func (l *TListBox) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TListBox) AnchorToNeighbour

func (l *TListBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TListBox) AnchorVerticalCenterTo

func (l *TListBox) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TListBox) Anchors

func (l *TListBox) Anchors() TAnchors

获取四个角位置的锚点。

func (*TListBox) Assign

func (l *TListBox) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TListBox) AutoAdjustLayout

func (l *TListBox) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TListBox) BiDiMode

func (l *TListBox) BiDiMode() TBiDiMode

func (*TListBox) BorderSpacing

func (l *TListBox) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TListBox) BorderStyle

func (l *TListBox) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TListBox) BoundsRect

func (l *TListBox) BoundsRect() TRect

func (*TListBox) BringToFront

func (l *TListBox) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TListBox) Brush

func (l *TListBox) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TListBox) CanFocus

func (l *TListBox) CanFocus() bool

是否可以获得焦点。

func (*TListBox) Canvas

func (l *TListBox) Canvas() *TCanvas

获取画布。

func (*TListBox) ChildSizing

func (l *TListBox) ChildSizing() *TControlChildSizing

func (*TListBox) ClassName

func (l *TListBox) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TListBox) ClassType

func (l *TListBox) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TListBox) Clear

func (l *TListBox) Clear()

清除。

func (*TListBox) ClearSelection

func (l *TListBox) ClearSelection()

清除选择。

func (*TListBox) ClickOnSelChange

func (l *TListBox) ClickOnSelChange() bool

func (*TListBox) ClientHeight

func (l *TListBox) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TListBox) ClientOrigin

func (l *TListBox) ClientOrigin() TPoint

func (*TListBox) ClientRect

func (l *TListBox) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TListBox) ClientToParent

func (l *TListBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TListBox) ClientToScreen

func (l *TListBox) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TListBox) ClientWidth

func (l *TListBox) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TListBox) Color

func (l *TListBox) Color() TColor

获取颜色。

Get color.

func (*TListBox) Columns

func (l *TListBox) Columns() int32

func (*TListBox) ComponentCount

func (l *TListBox) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TListBox) ComponentIndex

func (l *TListBox) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TListBox) Components

func (l *TListBox) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TListBox) Constraints

func (l *TListBox) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TListBox) ContainsControl

func (l *TListBox) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TListBox) ControlAtPos

func (l *TListBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TListBox) ControlCount

func (l *TListBox) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TListBox) ControlState

func (l *TListBox) ControlState() TControlState

获取控件状态。

Get control state.

func (*TListBox) ControlStyle

func (l *TListBox) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TListBox) Controls

func (l *TListBox) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TListBox) Count

func (l *TListBox) Count() int32

func (*TListBox) Cursor

func (l *TListBox) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TListBox) DeleteSelected

func (l *TListBox) DeleteSelected()

删除选择的。

func (*TListBox) DisableAlign

func (l *TListBox) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TListBox) DockClientCount

func (l *TListBox) DockClientCount() int32

获取依靠客户端总数。

func (*TListBox) DockClients

func (l *TListBox) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TListBox) DockSite

func (l *TListBox) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TListBox) DoubleBuffered

func (l *TListBox) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TListBox) DragCursor

func (l *TListBox) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TListBox) DragKind

func (l *TListBox) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TListBox) DragMode

func (l *TListBox) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TListBox) Dragging

func (l *TListBox) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TListBox) EnableAlign

func (l *TListBox) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TListBox) Enabled

func (l *TListBox) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TListBox) Equals

func (l *TListBox) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TListBox) ExtendedSelect

func (l *TListBox) ExtendedSelect() bool

func (*TListBox) FindChildControl

func (l *TListBox) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TListBox) FindComponent

func (l *TListBox) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TListBox) FixDesignFontsPPI

func (l *TListBox) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TListBox) FlipChildren

func (l *TListBox) FlipChildren(AllLevels bool)

func (*TListBox) Floating

func (l *TListBox) Floating() bool

func (*TListBox) Focused

func (l *TListBox) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TListBox) Font

func (l *TListBox) Font() *TFont

获取字体。

Get Font.

func (*TListBox) Free

func (l *TListBox) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TListBox) GetHashCode

func (l *TListBox) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TListBox) GetNamePath

func (l *TListBox) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TListBox) GetTextBuf

func (l *TListBox) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TListBox) GetTextLen

func (l *TListBox) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TListBox) Handle

func (l *TListBox) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TListBox) HandleAllocated

func (l *TListBox) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TListBox) HasParent

func (l *TListBox) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TListBox) Height

func (l *TListBox) Height() int32

获取高度。

Get height.

func (*TListBox) Hide

func (l *TListBox) Hide()

隐藏控件。

Hidden control.

func (*TListBox) Hint

func (l *TListBox) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TListBox) InheritsFrom

func (l *TListBox) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TListBox) InsertControl

func (l *TListBox) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TListBox) Instance

func (l *TListBox) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TListBox) InstanceSize

func (l *TListBox) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TListBox) Invalidate

func (l *TListBox) Invalidate()

要求重绘。

Redraw.

func (*TListBox) Is

func (l *TListBox) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TListBox) IsValid

func (l *TListBox) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TListBox) ItemAtPos

func (l *TListBox) ItemAtPos(Pos TPoint, Existing bool) int32

func (*TListBox) ItemHeight

func (l *TListBox) ItemHeight() int32

func (*TListBox) ItemIndex

func (l *TListBox) ItemIndex() int32

func (*TListBox) ItemRect

func (l *TListBox) ItemRect(Index int32) TRect

func (*TListBox) Items

func (l *TListBox) Items() *TStrings

func (*TListBox) Left

func (l *TListBox) Left() int32

获取左边位置。

Get Left position.

func (*TListBox) MouseInClient

func (l *TListBox) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TListBox) MultiSelect

func (l *TListBox) MultiSelect() bool

func (*TListBox) Name

func (l *TListBox) Name() string

获取组件名称。

Get the component name.

func (*TListBox) Options

func (l *TListBox) Options() TListBoxOptions

func (*TListBox) Owner

func (l *TListBox) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TListBox) PaintTo

func (l *TListBox) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TListBox) Parent

func (l *TListBox) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TListBox) ParentColor

func (l *TListBox) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TListBox) ParentDoubleBuffered

func (l *TListBox) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TListBox) ParentFont

func (l *TListBox) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TListBox) ParentShowHint

func (l *TListBox) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TListBox) ParentToClient

func (l *TListBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TListBox) ParentWindow

func (l *TListBox) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TListBox) Perform

func (l *TListBox) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TListBox) PopupMenu

func (l *TListBox) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TListBox) Realign

func (l *TListBox) Realign()

重新对齐。

Realign.

func (*TListBox) Refresh

func (l *TListBox) Refresh()

刷新控件。

Refresh control.

func (*TListBox) RemoveControl

func (l *TListBox) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TListBox) Repaint

func (l *TListBox) Repaint()

重绘。

Repaint.

func (*TListBox) Scale96ToFont

func (l *TListBox) Scale96ToFont(ASize int32) int32

func (*TListBox) Scale96ToForm

func (l *TListBox) Scale96ToForm(ASize int32) int32

func (*TListBox) Scale96ToScreen

func (l *TListBox) Scale96ToScreen(ASize int32) int32

func (*TListBox) ScaleBy

func (l *TListBox) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TListBox) ScaleDesignToForm

func (l *TListBox) ScaleDesignToForm(ASize int32) int32

func (*TListBox) ScaleFontTo96

func (l *TListBox) ScaleFontTo96(ASize int32) int32

func (*TListBox) ScaleFontToScreen

func (l *TListBox) ScaleFontToScreen(ASize int32) int32

func (*TListBox) ScaleFontsPPI

func (l *TListBox) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TListBox) ScaleFormTo96

func (l *TListBox) ScaleFormTo96(ASize int32) int32

func (*TListBox) ScaleFormToDesign

func (l *TListBox) ScaleFormToDesign(ASize int32) int32

func (*TListBox) ScaleScreenTo96

func (l *TListBox) ScaleScreenTo96(ASize int32) int32

func (*TListBox) ScaleScreenToFont

func (l *TListBox) ScaleScreenToFont(ASize int32) int32

func (*TListBox) ScreenToClient

func (l *TListBox) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TListBox) ScrollBy

func (l *TListBox) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TListBox) SelCount

func (l *TListBox) SelCount() int32

func (*TListBox) SelectAll

func (l *TListBox) SelectAll()

全选。

func (*TListBox) Selected

func (l *TListBox) Selected(Index int32) bool

func (*TListBox) SendToBack

func (l *TListBox) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TListBox) SetAction

func (l *TListBox) SetAction(value IComponent)

func (*TListBox) SetAlign

func (l *TListBox) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TListBox) SetAnchorSideBottom

func (l *TListBox) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TListBox) SetAnchorSideLeft

func (l *TListBox) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TListBox) SetAnchorSideRight

func (l *TListBox) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TListBox) SetAnchorSideTop

func (l *TListBox) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TListBox) SetAnchors

func (l *TListBox) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TListBox) SetBiDiMode

func (l *TListBox) SetBiDiMode(value TBiDiMode)

func (*TListBox) SetBorderSpacing

func (l *TListBox) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TListBox) SetBorderStyle

func (l *TListBox) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TListBox) SetBounds

func (l *TListBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TListBox) SetBoundsRect

func (l *TListBox) SetBoundsRect(value TRect)

func (*TListBox) SetChildSizing

func (l *TListBox) SetChildSizing(value *TControlChildSizing)

func (*TListBox) SetClickOnSelChange

func (l *TListBox) SetClickOnSelChange(value bool)

func (*TListBox) SetClientHeight

func (l *TListBox) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TListBox) SetClientWidth

func (l *TListBox) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TListBox) SetColor

func (l *TListBox) SetColor(value TColor)

设置颜色。

Set color.

func (*TListBox) SetColumns

func (l *TListBox) SetColumns(value int32)

func (*TListBox) SetComponentIndex

func (l *TListBox) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TListBox) SetConstraints

func (l *TListBox) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TListBox) SetControlState

func (l *TListBox) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TListBox) SetControlStyle

func (l *TListBox) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TListBox) SetCursor

func (l *TListBox) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TListBox) SetDockSite

func (l *TListBox) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TListBox) SetDoubleBuffered

func (l *TListBox) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TListBox) SetDragCursor

func (l *TListBox) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TListBox) SetDragKind

func (l *TListBox) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TListBox) SetDragMode

func (l *TListBox) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TListBox) SetEnabled

func (l *TListBox) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TListBox) SetExtendedSelect

func (l *TListBox) SetExtendedSelect(value bool)

func (*TListBox) SetFocus

func (l *TListBox) SetFocus()

设置控件焦点。

Set control focus.

func (*TListBox) SetFont

func (l *TListBox) SetFont(value *TFont)

设置字体。

Set Font.

func (*TListBox) SetHeight

func (l *TListBox) SetHeight(value int32)

设置高度。

Set height.

func (*TListBox) SetHint

func (l *TListBox) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TListBox) SetItemHeight

func (l *TListBox) SetItemHeight(value int32)

func (*TListBox) SetItemIndex

func (l *TListBox) SetItemIndex(value int32)

func (*TListBox) SetItems

func (l *TListBox) SetItems(value IStrings)

func (*TListBox) SetLeft

func (l *TListBox) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TListBox) SetMultiSelect

func (l *TListBox) SetMultiSelect(value bool)

func (*TListBox) SetName

func (l *TListBox) SetName(value string)

设置组件名称。

Set the component name.

func (*TListBox) SetOnClick

func (l *TListBox) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TListBox) SetOnContextPopup

func (l *TListBox) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TListBox) SetOnDblClick

func (l *TListBox) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TListBox) SetOnDragDrop

func (l *TListBox) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TListBox) SetOnDragOver

func (l *TListBox) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TListBox) SetOnDrawItem

func (l *TListBox) SetOnDrawItem(fn TDrawItemEvent)

func (*TListBox) SetOnEndDrag

func (l *TListBox) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TListBox) SetOnEnter

func (l *TListBox) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TListBox) SetOnExit

func (l *TListBox) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TListBox) SetOnKeyDown

func (l *TListBox) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TListBox) SetOnKeyPress

func (l *TListBox) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TListBox) SetOnKeyUp

func (l *TListBox) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TListBox) SetOnMeasureItem

func (l *TListBox) SetOnMeasureItem(fn TMeasureItemEvent)

func (*TListBox) SetOnMouseDown

func (l *TListBox) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TListBox) SetOnMouseEnter

func (l *TListBox) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TListBox) SetOnMouseLeave

func (l *TListBox) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TListBox) SetOnMouseMove

func (l *TListBox) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TListBox) SetOnMouseUp

func (l *TListBox) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TListBox) SetOptions

func (l *TListBox) SetOptions(value TListBoxOptions)

func (*TListBox) SetParent

func (l *TListBox) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TListBox) SetParentColor

func (l *TListBox) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TListBox) SetParentDoubleBuffered

func (l *TListBox) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TListBox) SetParentFont

func (l *TListBox) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TListBox) SetParentShowHint

func (l *TListBox) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TListBox) SetParentWindow

func (l *TListBox) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TListBox) SetPopupMenu

func (l *TListBox) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TListBox) SetSelected

func (l *TListBox) SetSelected(Index int32, value bool)

func (*TListBox) SetShowHint

func (l *TListBox) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TListBox) SetSorted

func (l *TListBox) SetSorted(value bool)

func (*TListBox) SetStyle

func (l *TListBox) SetStyle(value TListBoxStyle)

func (*TListBox) SetTabOrder

func (l *TListBox) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TListBox) SetTabStop

func (l *TListBox) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TListBox) SetTag

func (l *TListBox) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TListBox) SetTextBuf

func (l *TListBox) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TListBox) SetTop

func (l *TListBox) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TListBox) SetTopIndex

func (l *TListBox) SetTopIndex(value int32)

func (*TListBox) SetUseDockManager

func (l *TListBox) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TListBox) SetVisible

func (l *TListBox) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TListBox) SetWidth

func (l *TListBox) SetWidth(value int32)

设置宽度。

Set width.

func (*TListBox) Show

func (l *TListBox) Show()

显示控件。

Show control.

func (*TListBox) ShowHint

func (l *TListBox) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TListBox) Showing

func (l *TListBox) Showing() bool

func (*TListBox) Sorted

func (l *TListBox) Sorted() bool

func (*TListBox) Style

func (l *TListBox) Style() TListBoxStyle

func (*TListBox) TabOrder

func (l *TListBox) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TListBox) TabStop

func (l *TListBox) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TListBox) Tag

func (l *TListBox) Tag() int

获取对象标记。

Get the control tag.

func (*TListBox) ToString

func (l *TListBox) ToString() string

文本类信息。

Text information.

func (*TListBox) Top

func (l *TListBox) Top() int32

获取顶边位置。

Get Top position.

func (*TListBox) TopIndex

func (l *TListBox) TopIndex() int32

func (*TListBox) UnsafeAddr

func (l *TListBox) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TListBox) Update

func (l *TListBox) Update()

控件更新。

Update.

func (*TListBox) UseDockManager

func (l *TListBox) UseDockManager() bool

获取使用停靠管理。

func (*TListBox) Visible

func (l *TListBox) Visible() bool

获取控件可视。

Get the control visible.

func (*TListBox) VisibleDockClientCount

func (l *TListBox) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TListBox) Width

func (l *TListBox) Width() int32

获取宽度。

Get width.

type TListColumn

type TListColumn struct {
	IObject
	// contains filtered or unexported fields
}

func AsListColumn

func AsListColumn(obj interface{}) *TListColumn

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ListColumnFromInst

func ListColumnFromInst(inst uintptr) *TListColumn

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsListColumn.

func ListColumnFromObj

func ListColumnFromObj(obj IObject) *TListColumn

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsListColumn.

func ListColumnFromUnsafePointer

func ListColumnFromUnsafePointer(ptr unsafe.Pointer) *TListColumn

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListColumn.

func NewListColumn

func NewListColumn(AOwner *TCollection) *TListColumn

创建一个新的对象。

Create a new object.

func (*TListColumn) Alignment

func (l *TListColumn) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TListColumn) Assign

func (l *TListColumn) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TListColumn) AutoSize

func (l *TListColumn) AutoSize() bool

获取自动调整大小。

func (*TListColumn) Caption

func (l *TListColumn) Caption() string

获取控件标题。

Get the control title.

func (*TListColumn) ClassName

func (l *TListColumn) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TListColumn) ClassType

func (l *TListColumn) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TListColumn) Collection

func (l *TListColumn) Collection() *TCollection

func (*TListColumn) DisplayName

func (l *TListColumn) DisplayName() string

func (*TListColumn) Equals

func (l *TListColumn) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TListColumn) Free

func (l *TListColumn) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TListColumn) GetHashCode

func (l *TListColumn) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TListColumn) GetNamePath

func (l *TListColumn) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TListColumn) ImageIndex

func (l *TListColumn) ImageIndex() int32

获取图像在images中的索引。

func (*TListColumn) Index

func (l *TListColumn) Index() int32

func (*TListColumn) InheritsFrom

func (l *TListColumn) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TListColumn) Instance

func (l *TListColumn) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TListColumn) InstanceSize

func (l *TListColumn) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TListColumn) Is

func (l *TListColumn) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TListColumn) IsValid

func (l *TListColumn) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TListColumn) MaxWidth

func (l *TListColumn) MaxWidth() int32

func (*TListColumn) MinWidth

func (l *TListColumn) MinWidth() int32

func (*TListColumn) SetAlignment

func (l *TListColumn) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TListColumn) SetAutoSize

func (l *TListColumn) SetAutoSize(value bool)

设置自动调整大小。

func (*TListColumn) SetCaption

func (l *TListColumn) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TListColumn) SetCollection

func (l *TListColumn) SetCollection(value *TCollection)

func (*TListColumn) SetDisplayName

func (l *TListColumn) SetDisplayName(value string)

func (*TListColumn) SetImageIndex

func (l *TListColumn) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TListColumn) SetIndex

func (l *TListColumn) SetIndex(value int32)

func (*TListColumn) SetMaxWidth

func (l *TListColumn) SetMaxWidth(value int32)

func (*TListColumn) SetMinWidth

func (l *TListColumn) SetMinWidth(value int32)

func (*TListColumn) SetSortIndicator

func (l *TListColumn) SetSortIndicator(value TSortIndicator)

func (*TListColumn) SetTag

func (l *TListColumn) SetTag(value int32)

设置对象标记。

Set the control tag.

func (*TListColumn) SetWidth

func (l *TListColumn) SetWidth(value int32)

设置宽度。

Set width.

func (*TListColumn) SortIndicator

func (l *TListColumn) SortIndicator() TSortIndicator

func (*TListColumn) Tag

func (l *TListColumn) Tag() int32

获取对象标记。

Get the control tag.

func (*TListColumn) ToString

func (l *TListColumn) ToString() string

文本类信息。

Text information.

func (*TListColumn) UnsafeAddr

func (l *TListColumn) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TListColumn) Width

func (l *TListColumn) Width() int32

获取宽度。

Get width.

type TListColumns

type TListColumns struct {
	IObject
	// contains filtered or unexported fields
}

func AsListColumns

func AsListColumns(obj interface{}) *TListColumns

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ListColumnsFromInst

func ListColumnsFromInst(inst uintptr) *TListColumns

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsListColumns.

func ListColumnsFromObj

func ListColumnsFromObj(obj IObject) *TListColumns

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsListColumns.

func ListColumnsFromUnsafePointer

func ListColumnsFromUnsafePointer(ptr unsafe.Pointer) *TListColumns

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListColumns.

func NewListColumns

func NewListColumns(AOwner *TListView) *TListColumns

创建一个新的对象。

Create a new object.

func (*TListColumns) Add

func (l *TListColumns) Add() *TListColumn

func (*TListColumns) Assign

func (l *TListColumns) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TListColumns) BeginUpdate

func (l *TListColumns) BeginUpdate()

func (*TListColumns) ClassName

func (l *TListColumns) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TListColumns) ClassType

func (l *TListColumns) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TListColumns) Clear

func (l *TListColumns) Clear()

清除。

func (*TListColumns) Count

func (l *TListColumns) Count() int32

func (*TListColumns) Delete

func (l *TListColumns) Delete(Index int32)

func (*TListColumns) EndUpdate

func (l *TListColumns) EndUpdate()

func (*TListColumns) Equals

func (l *TListColumns) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TListColumns) FindItemID

func (l *TListColumns) FindItemID(ID int32) *TCollectionItem

func (*TListColumns) Free

func (l *TListColumns) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TListColumns) GetHashCode

func (l *TListColumns) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TListColumns) GetNamePath

func (l *TListColumns) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TListColumns) InheritsFrom

func (l *TListColumns) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TListColumns) Insert

func (l *TListColumns) Insert(Index int32) *TCollectionItem

func (*TListColumns) Instance

func (l *TListColumns) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TListColumns) InstanceSize

func (l *TListColumns) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TListColumns) Is

func (l *TListColumns) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TListColumns) IsValid

func (l *TListColumns) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TListColumns) Items

func (l *TListColumns) Items(Index int32) *TListColumn

func (*TListColumns) Owner

func (l *TListColumns) Owner() *TWinControl

组件所有者。

component owner.

func (*TListColumns) SetItems

func (l *TListColumns) SetItems(Index int32, value *TListColumn)

func (*TListColumns) ToString

func (l *TListColumns) ToString() string

文本类信息。

Text information.

func (*TListColumns) UnsafeAddr

func (l *TListColumns) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TListItem

type TListItem struct {
	IObject
	// contains filtered or unexported fields
}

func AsListItem

func AsListItem(obj interface{}) *TListItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ListItemFromInst

func ListItemFromInst(inst uintptr) *TListItem

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsListItem.

func ListItemFromObj

func ListItemFromObj(obj IObject) *TListItem

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsListItem.

func ListItemFromUnsafePointer

func ListItemFromUnsafePointer(ptr unsafe.Pointer) *TListItem

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListItem.

func NewListItem

func NewListItem(AOwner *TListItems) *TListItem

创建一个新的对象。

Create a new object.

func (*TListItem) Assign

func (l *TListItem) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TListItem) Caption

func (l *TListItem) Caption() string

获取控件标题。

Get the control title.

func (*TListItem) Checked

func (l *TListItem) Checked() bool

获取是否选中。

func (*TListItem) ClassName

func (l *TListItem) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TListItem) ClassType

func (l *TListItem) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TListItem) Cut

func (l *TListItem) Cut() bool

func (*TListItem) Data

func (l *TListItem) Data() unsafe.Pointer

func (*TListItem) Delete

func (l *TListItem) Delete()

func (*TListItem) DisplayRect

func (l *TListItem) DisplayRect(Code TDisplayCode) TRect

func (*TListItem) DisplayRectSubItem

func (l *TListItem) DisplayRectSubItem(subItem int32, Code TDisplayCode) TRect

func (*TListItem) DropTarget

func (l *TListItem) DropTarget() bool

func (*TListItem) EditCaption

func (l *TListItem) EditCaption() bool

func (*TListItem) Equals

func (l *TListItem) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TListItem) Focused

func (l *TListItem) Focused() bool

获取返回是否获取焦点。

Get Return to get focus.

func (*TListItem) Free

func (l *TListItem) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TListItem) GetHashCode

func (l *TListItem) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TListItem) GetNamePath

func (l *TListItem) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TListItem) ImageIndex

func (l *TListItem) ImageIndex() int32

获取图像在images中的索引。

func (*TListItem) Index

func (l *TListItem) Index() int32

func (*TListItem) InheritsFrom

func (l *TListItem) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TListItem) Instance

func (l *TListItem) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TListItem) InstanceSize

func (l *TListItem) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TListItem) Is

func (l *TListItem) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TListItem) IsValid

func (l *TListItem) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TListItem) Left

func (l *TListItem) Left() int32

获取左边位置。

Get Left position.

func (*TListItem) ListView

func (l *TListItem) ListView() *TWinControl

func (*TListItem) MakeVisible

func (l *TListItem) MakeVisible(PartialOK bool)

func (*TListItem) Owner

func (l *TListItem) Owner() *TListItems

获取组件所有者。

Get component owner.

func (*TListItem) Position

func (l *TListItem) Position() TPoint

func (*TListItem) Selected

func (l *TListItem) Selected() bool

func (*TListItem) SetCaption

func (l *TListItem) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TListItem) SetChecked

func (l *TListItem) SetChecked(value bool)

设置是否选中。

func (*TListItem) SetCut

func (l *TListItem) SetCut(value bool)

func (*TListItem) SetData

func (l *TListItem) SetData(value unsafe.Pointer)

func (*TListItem) SetDropTarget

func (l *TListItem) SetDropTarget(value bool)

func (*TListItem) SetFocused

func (l *TListItem) SetFocused(value bool)

设置返回是否获取焦点。

Set Return to get focus.

func (*TListItem) SetImageIndex

func (l *TListItem) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TListItem) SetLeft

func (l *TListItem) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TListItem) SetPosition

func (l *TListItem) SetPosition(value TPoint)

func (*TListItem) SetSelected

func (l *TListItem) SetSelected(value bool)

func (*TListItem) SetStateIndex

func (l *TListItem) SetStateIndex(value int32)

func (*TListItem) SetSubItemImages

func (l *TListItem) SetSubItemImages(Index int32, value int32)

func (*TListItem) SetSubItems

func (l *TListItem) SetSubItems(value IStrings)

func (*TListItem) SetTop

func (l *TListItem) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TListItem) StateIndex

func (l *TListItem) StateIndex() int32

func (*TListItem) SubItemImages

func (l *TListItem) SubItemImages(Index int32) int32

func (*TListItem) SubItems

func (l *TListItem) SubItems() *TStrings

func (*TListItem) ToString

func (l *TListItem) ToString() string

文本类信息。

Text information.

func (*TListItem) Top

func (l *TListItem) Top() int32

获取顶边位置。

Get Top position.

func (*TListItem) UnsafeAddr

func (l *TListItem) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TListItems

type TListItems struct {
	IObject
	// contains filtered or unexported fields
}

func AsListItems

func AsListItems(obj interface{}) *TListItems

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ListItemsFromInst

func ListItemsFromInst(inst uintptr) *TListItems

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsListItems.

func ListItemsFromObj

func ListItemsFromObj(obj IObject) *TListItems

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsListItems.

func ListItemsFromUnsafePointer

func ListItemsFromUnsafePointer(ptr unsafe.Pointer) *TListItems

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListItems.

func NewListItems

func NewListItems(AOwner *TListView) *TListItems

创建一个新的对象。

Create a new object.

func (*TListItems) Add

func (l *TListItems) Add() *TListItem

func (*TListItems) Assign

func (l *TListItems) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TListItems) BeginUpdate

func (l *TListItems) BeginUpdate()

func (*TListItems) ClassName

func (l *TListItems) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TListItems) ClassType

func (l *TListItems) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TListItems) Clear

func (l *TListItems) Clear()

清除。

func (*TListItems) Count

func (l *TListItems) Count() int32

func (*TListItems) Delete

func (l *TListItems) Delete(Index int32)

func (*TListItems) EndUpdate

func (l *TListItems) EndUpdate()

func (*TListItems) Equals

func (l *TListItems) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TListItems) Free

func (l *TListItems) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TListItems) GetHashCode

func (l *TListItems) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TListItems) GetNamePath

func (l *TListItems) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TListItems) IndexOf

func (l *TListItems) IndexOf(Value *TListItem) int32

func (*TListItems) InheritsFrom

func (l *TListItems) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TListItems) Insert

func (l *TListItems) Insert(Index int32) *TListItem

func (*TListItems) Instance

func (l *TListItems) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TListItems) InstanceSize

func (l *TListItems) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TListItems) Is

func (l *TListItems) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TListItems) IsValid

func (l *TListItems) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TListItems) Item

func (l *TListItems) Item(Index int32) *TListItem

func (*TListItems) Owner

func (l *TListItems) Owner() *TWinControl

获取组件所有者。

Get component owner.

func (*TListItems) SetCount

func (l *TListItems) SetCount(value int32)

func (*TListItems) SetItem

func (l *TListItems) SetItem(Index int32, value *TListItem)

func (*TListItems) ToString

func (l *TListItems) ToString() string

文本类信息。

Text information.

func (*TListItems) UnsafeAddr

func (l *TListItems) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TListView

type TListView struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsListView

func AsListView(obj interface{}) *TListView

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ListViewFromInst

func ListViewFromInst(inst uintptr) *TListView

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsListView.

func ListViewFromObj

func ListViewFromObj(obj IObject) *TListView

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsListView.

func ListViewFromUnsafePointer

func ListViewFromUnsafePointer(ptr unsafe.Pointer) *TListView

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListView.

func NewListView

func NewListView(owner IComponent) *TListView

创建一个新的对象。

Create a new object.

func (*TListView) Action

func (l *TListView) Action() *TAction

func (*TListView) AddItem

func (l *TListView) AddItem(Item string, AObject IObject)

func (*TListView) Align

func (l *TListView) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TListView) AllocBy

func (l *TListView) AllocBy() int32

func (*TListView) AlphaSort

func (l *TListView) AlphaSort() bool

func (*TListView) AnchorAsAlign

func (l *TListView) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TListView) AnchorClient

func (l *TListView) AnchorClient(ASpace int32)

func (*TListView) AnchorHorizontalCenterTo

func (l *TListView) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TListView) AnchorParallel

func (l *TListView) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TListView) AnchorSame

func (l *TListView) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TListView) AnchorSide

func (l *TListView) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TListView) AnchorSideBottom

func (l *TListView) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TListView) AnchorSideLeft

func (l *TListView) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TListView) AnchorSideRight

func (l *TListView) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TListView) AnchorSideTop

func (l *TListView) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TListView) AnchorToNeighbour

func (l *TListView) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TListView) AnchorVerticalCenterTo

func (l *TListView) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TListView) Anchors

func (l *TListView) Anchors() TAnchors

获取四个角位置的锚点。

func (*TListView) Assign

func (l *TListView) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TListView) AutoAdjustLayout

func (l *TListView) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TListView) AutoSort

func (l *TListView) AutoSort() bool

func (*TListView) AutoSortIndicator

func (l *TListView) AutoSortIndicator() bool

func (*TListView) AutoWidthLastColumn

func (l *TListView) AutoWidthLastColumn() bool

func (*TListView) BiDiMode

func (l *TListView) BiDiMode() TBiDiMode

func (*TListView) BorderSpacing

func (l *TListView) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TListView) BorderStyle

func (l *TListView) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TListView) BorderWidth

func (l *TListView) BorderWidth() int32

获取边框的宽度。

func (*TListView) BoundsRect

func (l *TListView) BoundsRect() TRect

func (*TListView) BringToFront

func (l *TListView) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TListView) Brush

func (l *TListView) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TListView) CanFocus

func (l *TListView) CanFocus() bool

是否可以获得焦点。

func (*TListView) Canvas

func (l *TListView) Canvas() *TCanvas

获取画布。

func (*TListView) Checkboxes

func (l *TListView) Checkboxes() bool

func (*TListView) ChildSizing

func (l *TListView) ChildSizing() *TControlChildSizing

func (*TListView) ClassName

func (l *TListView) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TListView) ClassType

func (l *TListView) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TListView) Clear

func (l *TListView) Clear()

清除。

func (*TListView) ClearSelection

func (l *TListView) ClearSelection()

清除选择。

func (*TListView) ClientHeight

func (l *TListView) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TListView) ClientOrigin

func (l *TListView) ClientOrigin() TPoint

func (*TListView) ClientRect

func (l *TListView) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TListView) ClientToParent

func (l *TListView) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TListView) ClientToScreen

func (l *TListView) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TListView) ClientWidth

func (l *TListView) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TListView) Color

func (l *TListView) Color() TColor

获取颜色。

Get color.

func (*TListView) Column

func (l *TListView) Column(Index int32) *TListColumn

func (*TListView) ColumnClick

func (l *TListView) ColumnClick() bool

func (*TListView) ColumnCount

func (l *TListView) ColumnCount() int32

func (*TListView) Columns

func (l *TListView) Columns() *TListColumns

func (*TListView) ComponentCount

func (l *TListView) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TListView) ComponentIndex

func (l *TListView) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TListView) Components

func (l *TListView) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TListView) Constraints

func (l *TListView) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TListView) ContainsControl

func (l *TListView) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TListView) ControlAtPos

func (l *TListView) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TListView) ControlCount

func (l *TListView) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TListView) ControlState

func (l *TListView) ControlState() TControlState

获取控件状态。

Get control state.

func (*TListView) ControlStyle

func (l *TListView) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TListView) Controls

func (l *TListView) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TListView) Cursor

func (l *TListView) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TListView) CustomSort

func (l *TListView) CustomSort(SortProc PFNLVCOMPARE, lParam int) bool

自定义排序,ASortProc参数无效,仅仅用来兼容Delphi的。

Custom sorting, ASortProc parameter is invalid, Only used to be compatible with Delphi.

func (*TListView) DeleteSelected

func (l *TListView) DeleteSelected()

删除选择的。

func (*TListView) DisableAlign

func (l *TListView) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TListView) DockClientCount

func (l *TListView) DockClientCount() int32

获取依靠客户端总数。

func (*TListView) DockClients

func (l *TListView) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TListView) DockSite

func (l *TListView) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TListView) DoubleBuffered

func (l *TListView) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TListView) DragCursor

func (l *TListView) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TListView) DragKind

func (l *TListView) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TListView) DragMode

func (l *TListView) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TListView) Dragging

func (l *TListView) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TListView) DropTarget

func (l *TListView) DropTarget() *TListItem

func (*TListView) EnableAlign

func (l *TListView) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TListView) Enabled

func (l *TListView) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TListView) Equals

func (l *TListView) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TListView) FindChildControl

func (l *TListView) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TListView) FindComponent

func (l *TListView) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TListView) FixDesignFontsPPI

func (l *TListView) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TListView) FlatScrollBars

func (l *TListView) FlatScrollBars() bool

func (*TListView) FlipChildren

func (l *TListView) FlipChildren(AllLevels bool)

func (*TListView) Floating

func (l *TListView) Floating() bool

func (*TListView) Focused

func (l *TListView) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TListView) Font

func (l *TListView) Font() *TFont

获取字体。

Get Font.

func (*TListView) Free

func (l *TListView) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TListView) FullDrag

func (l *TListView) FullDrag() bool

func (*TListView) GetHashCode

func (l *TListView) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TListView) GetHitTestInfoAt

func (l *TListView) GetHitTestInfoAt(X int32, Y int32) THitTests

func (*TListView) GetItemAt

func (l *TListView) GetItemAt(X int32, Y int32) *TListItem

func (*TListView) GetNamePath

func (l *TListView) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TListView) GetNearestItem

func (l *TListView) GetNearestItem(Point TPoint, Direction TSearchDirection) *TListItem

func (*TListView) GetNextItem

func (l *TListView) GetNextItem(StartItem *TListItem, Direction TSearchDirection, States TListItemStates) *TListItem

func (*TListView) GetTextBuf

func (l *TListView) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TListView) GetTextLen

func (l *TListView) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TListView) GridLines

func (l *TListView) GridLines() bool

func (*TListView) Handle

func (l *TListView) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TListView) HandleAllocated

func (l *TListView) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TListView) HasParent

func (l *TListView) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TListView) Height

func (l *TListView) Height() int32

获取高度。

Get height.

func (*TListView) Hide

func (l *TListView) Hide()

隐藏控件。

Hidden control.

func (*TListView) HideSelection

func (l *TListView) HideSelection() bool

获取隐藏选择。

func (*TListView) Hint

func (l *TListView) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TListView) HotTrack

func (l *TListView) HotTrack() bool

func (*TListView) IconOptions

func (l *TListView) IconOptions() *TIconOptions

func (*TListView) InheritsFrom

func (l *TListView) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TListView) InsertControl

func (l *TListView) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TListView) Instance

func (l *TListView) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TListView) InstanceSize

func (l *TListView) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TListView) Invalidate

func (l *TListView) Invalidate()

要求重绘。

Redraw.

func (*TListView) Is

func (l *TListView) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TListView) IsEditing

func (l *TListView) IsEditing() bool

func (*TListView) IsValid

func (l *TListView) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TListView) ItemFocused

func (l *TListView) ItemFocused() *TListItem

func (*TListView) ItemIndex

func (l *TListView) ItemIndex() int32

func (*TListView) Items

func (l *TListView) Items() *TListItems

func (*TListView) LargeImages

func (l *TListView) LargeImages() *TImageList

func (*TListView) LargeImagesWidth

func (l *TListView) LargeImagesWidth() int32

func (*TListView) Left

func (l *TListView) Left() int32

获取左边位置。

Get Left position.

func (*TListView) MouseInClient

func (l *TListView) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TListView) MultiSelect

func (l *TListView) MultiSelect() bool

func (*TListView) Name

func (l *TListView) Name() string

获取组件名称。

Get the component name.

func (*TListView) Owner

func (l *TListView) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TListView) OwnerData

func (l *TListView) OwnerData() bool

func (*TListView) OwnerDraw

func (l *TListView) OwnerDraw() bool

func (*TListView) PaintTo

func (l *TListView) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TListView) Parent

func (l *TListView) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TListView) ParentColor

func (l *TListView) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TListView) ParentDoubleBuffered

func (l *TListView) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TListView) ParentFont

func (l *TListView) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TListView) ParentShowHint

func (l *TListView) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TListView) ParentToClient

func (l *TListView) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TListView) ParentWindow

func (l *TListView) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TListView) Perform

func (l *TListView) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TListView) PopupMenu

func (l *TListView) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TListView) ReadOnly

func (l *TListView) ReadOnly() bool

获取只读。

func (*TListView) Realign

func (l *TListView) Realign()

重新对齐。

Realign.

func (*TListView) Refresh

func (l *TListView) Refresh()

刷新控件。

Refresh control.

func (*TListView) RemoveControl

func (l *TListView) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TListView) Repaint

func (l *TListView) Repaint()

重绘。

Repaint.

func (*TListView) RowSelect

func (l *TListView) RowSelect() bool

func (*TListView) Scale96ToFont

func (l *TListView) Scale96ToFont(ASize int32) int32

func (*TListView) Scale96ToForm

func (l *TListView) Scale96ToForm(ASize int32) int32

func (*TListView) Scale96ToScreen

func (l *TListView) Scale96ToScreen(ASize int32) int32

func (*TListView) ScaleBy

func (l *TListView) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TListView) ScaleDesignToForm

func (l *TListView) ScaleDesignToForm(ASize int32) int32

func (*TListView) ScaleFontTo96

func (l *TListView) ScaleFontTo96(ASize int32) int32

func (*TListView) ScaleFontToScreen

func (l *TListView) ScaleFontToScreen(ASize int32) int32

func (*TListView) ScaleFontsPPI

func (l *TListView) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TListView) ScaleFormTo96

func (l *TListView) ScaleFormTo96(ASize int32) int32

func (*TListView) ScaleFormToDesign

func (l *TListView) ScaleFormToDesign(ASize int32) int32

func (*TListView) ScaleScreenTo96

func (l *TListView) ScaleScreenTo96(ASize int32) int32

func (*TListView) ScaleScreenToFont

func (l *TListView) ScaleScreenToFont(ASize int32) int32

func (*TListView) ScreenToClient

func (l *TListView) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TListView) ScrollBars

func (l *TListView) ScrollBars() TScrollStyle

func (*TListView) ScrollBy

func (l *TListView) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TListView) SelCount

func (l *TListView) SelCount() int32

func (*TListView) SelectAll

func (l *TListView) SelectAll()

全选。

func (*TListView) Selected

func (l *TListView) Selected() *TListItem

func (*TListView) SendToBack

func (l *TListView) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TListView) SetAction

func (l *TListView) SetAction(value IComponent)

func (*TListView) SetAlign

func (l *TListView) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TListView) SetAllocBy

func (l *TListView) SetAllocBy(value int32)

func (*TListView) SetAnchorSideBottom

func (l *TListView) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TListView) SetAnchorSideLeft

func (l *TListView) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TListView) SetAnchorSideRight

func (l *TListView) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TListView) SetAnchorSideTop

func (l *TListView) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TListView) SetAnchors

func (l *TListView) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TListView) SetAutoSort

func (l *TListView) SetAutoSort(value bool)

func (*TListView) SetAutoSortIndicator

func (l *TListView) SetAutoSortIndicator(value bool)

func (*TListView) SetAutoWidthLastColumn

func (l *TListView) SetAutoWidthLastColumn(value bool)

func (*TListView) SetBiDiMode

func (l *TListView) SetBiDiMode(value TBiDiMode)

func (*TListView) SetBorderSpacing

func (l *TListView) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TListView) SetBorderStyle

func (l *TListView) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TListView) SetBorderWidth

func (l *TListView) SetBorderWidth(value int32)

设置边框的宽度。

func (*TListView) SetBounds

func (l *TListView) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TListView) SetBoundsRect

func (l *TListView) SetBoundsRect(value TRect)

func (*TListView) SetCheckboxes

func (l *TListView) SetCheckboxes(value bool)

func (*TListView) SetChildSizing

func (l *TListView) SetChildSizing(value *TControlChildSizing)

func (*TListView) SetClientHeight

func (l *TListView) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TListView) SetClientWidth

func (l *TListView) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TListView) SetColor

func (l *TListView) SetColor(value TColor)

设置颜色。

Set color.

func (*TListView) SetColumnClick

func (l *TListView) SetColumnClick(value bool)

func (*TListView) SetColumns

func (l *TListView) SetColumns(value *TListColumns)

func (*TListView) SetComponentIndex

func (l *TListView) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TListView) SetConstraints

func (l *TListView) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TListView) SetControlState

func (l *TListView) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TListView) SetControlStyle

func (l *TListView) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TListView) SetCursor

func (l *TListView) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TListView) SetDockSite

func (l *TListView) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TListView) SetDoubleBuffered

func (l *TListView) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TListView) SetDragCursor

func (l *TListView) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TListView) SetDragKind

func (l *TListView) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TListView) SetDragMode

func (l *TListView) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TListView) SetDropTarget

func (l *TListView) SetDropTarget(value *TListItem)

func (*TListView) SetEnabled

func (l *TListView) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TListView) SetFlatScrollBars

func (l *TListView) SetFlatScrollBars(value bool)

func (*TListView) SetFocus

func (l *TListView) SetFocus()

设置控件焦点。

Set control focus.

func (*TListView) SetFont

func (l *TListView) SetFont(value *TFont)

设置字体。

Set Font.

func (*TListView) SetFullDrag

func (l *TListView) SetFullDrag(value bool)

func (*TListView) SetGridLines

func (l *TListView) SetGridLines(value bool)

func (*TListView) SetHeight

func (l *TListView) SetHeight(value int32)

设置高度。

Set height.

func (*TListView) SetHideSelection

func (l *TListView) SetHideSelection(value bool)

设置隐藏选择。

func (*TListView) SetHint

func (l *TListView) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TListView) SetHotTrack

func (l *TListView) SetHotTrack(value bool)

func (*TListView) SetIconOptions

func (l *TListView) SetIconOptions(value IObject)

func (*TListView) SetItemFocused

func (l *TListView) SetItemFocused(value *TListItem)

func (*TListView) SetItemIndex

func (l *TListView) SetItemIndex(value int32)

func (*TListView) SetItems

func (l *TListView) SetItems(value *TListItems)

func (*TListView) SetLargeImages

func (l *TListView) SetLargeImages(value IComponent)

func (*TListView) SetLargeImagesWidth

func (l *TListView) SetLargeImagesWidth(value int32)

func (*TListView) SetLeft

func (l *TListView) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TListView) SetMultiSelect

func (l *TListView) SetMultiSelect(value bool)

func (*TListView) SetName

func (l *TListView) SetName(value string)

设置组件名称。

Set the component name.

func (*TListView) SetOnAdvancedCustomDraw

func (l *TListView) SetOnAdvancedCustomDraw(fn TLVAdvancedCustomDrawEvent)

func (*TListView) SetOnAdvancedCustomDrawItem

func (l *TListView) SetOnAdvancedCustomDrawItem(fn TLVAdvancedCustomDrawItemEvent)

func (*TListView) SetOnAdvancedCustomDrawSubItem

func (l *TListView) SetOnAdvancedCustomDrawSubItem(fn TLVAdvancedCustomDrawSubItemEvent)

func (*TListView) SetOnChange

func (l *TListView) SetOnChange(fn TLVChangeEvent)

设置改变事件。

Set changed event.

func (*TListView) SetOnClick

func (l *TListView) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TListView) SetOnColumnClick

func (l *TListView) SetOnColumnClick(fn TLVColumnClickEvent)

func (*TListView) SetOnCompare

func (l *TListView) SetOnCompare(fn TLVCompareEvent)

func (*TListView) SetOnContextPopup

func (l *TListView) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TListView) SetOnCustomDraw

func (l *TListView) SetOnCustomDraw(fn TLVCustomDrawEvent)

func (*TListView) SetOnCustomDrawItem

func (l *TListView) SetOnCustomDrawItem(fn TLVCustomDrawItemEvent)

func (*TListView) SetOnCustomDrawSubItem

func (l *TListView) SetOnCustomDrawSubItem(fn TLVCustomDrawSubItemEvent)

func (*TListView) SetOnData

func (l *TListView) SetOnData(fn TLVDataEvent)

func (*TListView) SetOnDataFind

func (l *TListView) SetOnDataFind(fn TLVDataFindEvent)

func (*TListView) SetOnDataHint

func (l *TListView) SetOnDataHint(fn TLVDataHintEvent)

func (*TListView) SetOnDblClick

func (l *TListView) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TListView) SetOnDeletion

func (l *TListView) SetOnDeletion(fn TLVDeletedEvent)

func (*TListView) SetOnDragDrop

func (l *TListView) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TListView) SetOnDragOver

func (l *TListView) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TListView) SetOnDrawItem

func (l *TListView) SetOnDrawItem(fn TLVDrawItemEvent)

func (*TListView) SetOnEdited

func (l *TListView) SetOnEdited(fn TLVEditedEvent)

func (*TListView) SetOnEditing

func (l *TListView) SetOnEditing(fn TLVEditingEvent)

func (*TListView) SetOnEndDock

func (l *TListView) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TListView) SetOnEndDrag

func (l *TListView) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TListView) SetOnEnter

func (l *TListView) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TListView) SetOnExit

func (l *TListView) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TListView) SetOnInsert

func (l *TListView) SetOnInsert(fn TLVDeletedEvent)

func (*TListView) SetOnItemChecked

func (l *TListView) SetOnItemChecked(fn TLVCheckedItemEvent)

func (*TListView) SetOnKeyDown

func (l *TListView) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TListView) SetOnKeyPress

func (l *TListView) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TListView) SetOnKeyUp

func (l *TListView) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TListView) SetOnMouseDown

func (l *TListView) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TListView) SetOnMouseEnter

func (l *TListView) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TListView) SetOnMouseLeave

func (l *TListView) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TListView) SetOnMouseMove

func (l *TListView) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TListView) SetOnMouseUp

func (l *TListView) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TListView) SetOnResize

func (l *TListView) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TListView) SetOnSelectItem

func (l *TListView) SetOnSelectItem(fn TLVSelectItemEvent)

func (*TListView) SetOnStartDock

func (l *TListView) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TListView) SetOwnerData

func (l *TListView) SetOwnerData(value bool)

func (*TListView) SetOwnerDraw

func (l *TListView) SetOwnerDraw(value bool)

func (*TListView) SetParent

func (l *TListView) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TListView) SetParentColor

func (l *TListView) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TListView) SetParentDoubleBuffered

func (l *TListView) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TListView) SetParentFont

func (l *TListView) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TListView) SetParentShowHint

func (l *TListView) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TListView) SetParentWindow

func (l *TListView) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TListView) SetPopupMenu

func (l *TListView) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TListView) SetReadOnly

func (l *TListView) SetReadOnly(value bool)

设置只读。

func (*TListView) SetRowSelect

func (l *TListView) SetRowSelect(value bool)

func (*TListView) SetScrollBars

func (l *TListView) SetScrollBars(value TScrollStyle)

func (*TListView) SetSelected

func (l *TListView) SetSelected(value *TListItem)

func (*TListView) SetShowColumnHeaders

func (l *TListView) SetShowColumnHeaders(value bool)

func (*TListView) SetShowHint

func (l *TListView) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TListView) SetSmallImages

func (l *TListView) SetSmallImages(value IComponent)

func (*TListView) SetSmallImagesWidth

func (l *TListView) SetSmallImagesWidth(value int32)

func (*TListView) SetSortColumn

func (l *TListView) SetSortColumn(value int32)

func (*TListView) SetSortDirection

func (l *TListView) SetSortDirection(value TSortDirection)

func (*TListView) SetSortType

func (l *TListView) SetSortType(value TSortType)

func (*TListView) SetStateImages

func (l *TListView) SetStateImages(value IComponent)

func (*TListView) SetStateImagesWidth

func (l *TListView) SetStateImagesWidth(value int32)

func (*TListView) SetTabOrder

func (l *TListView) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TListView) SetTabStop

func (l *TListView) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TListView) SetTag

func (l *TListView) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TListView) SetTextBuf

func (l *TListView) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TListView) SetToolTips

func (l *TListView) SetToolTips(value bool)

func (*TListView) SetTop

func (l *TListView) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TListView) SetUseDockManager

func (l *TListView) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TListView) SetViewStyle

func (l *TListView) SetViewStyle(value TViewStyle)

func (*TListView) SetVisible

func (l *TListView) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TListView) SetWidth

func (l *TListView) SetWidth(value int32)

设置宽度。

Set width.

func (*TListView) Show

func (l *TListView) Show()

显示控件。

Show control.

func (*TListView) ShowColumnHeaders

func (l *TListView) ShowColumnHeaders() bool

func (*TListView) ShowHint

func (l *TListView) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TListView) Showing

func (l *TListView) Showing() bool

func (*TListView) SmallImages

func (l *TListView) SmallImages() *TImageList

func (*TListView) SmallImagesWidth

func (l *TListView) SmallImagesWidth() int32

func (*TListView) SortColumn

func (l *TListView) SortColumn() int32

func (*TListView) SortDirection

func (l *TListView) SortDirection() TSortDirection

func (*TListView) SortType

func (l *TListView) SortType() TSortType

func (*TListView) StateImages

func (l *TListView) StateImages() *TImageList

func (*TListView) StateImagesWidth

func (l *TListView) StateImagesWidth() int32

func (*TListView) TabOrder

func (l *TListView) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TListView) TabStop

func (l *TListView) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TListView) Tag

func (l *TListView) Tag() int

获取对象标记。

Get the control tag.

func (*TListView) ToString

func (l *TListView) ToString() string

文本类信息。

Text information.

func (*TListView) ToolTips

func (l *TListView) ToolTips() bool

func (*TListView) Top

func (l *TListView) Top() int32

获取顶边位置。

Get Top position.

func (*TListView) TopItem

func (l *TListView) TopItem() *TListItem

func (*TListView) UnsafeAddr

func (l *TListView) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TListView) Update

func (l *TListView) Update()

控件更新。

Update.

func (*TListView) UseDockManager

func (l *TListView) UseDockManager() bool

获取使用停靠管理。

func (*TListView) ViewStyle

func (l *TListView) ViewStyle() TViewStyle

func (*TListView) Visible

func (l *TListView) Visible() bool

获取控件可视。

Get the control visible.

func (*TListView) VisibleDockClientCount

func (l *TListView) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TListView) VisibleRowCount

func (l *TListView) VisibleRowCount() int32

func (*TListView) Width

func (l *TListView) Width() int32

获取宽度。

Get width.

type TMainMenu

type TMainMenu struct {
	IComponent
	// contains filtered or unexported fields
}

func AsMainMenu

func AsMainMenu(obj interface{}) *TMainMenu

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func MainMenuFromInst(inst uintptr) *TMainMenu

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsMainMenu.

func MainMenuFromObj(obj IObject) *TMainMenu

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsMainMenu.

func MainMenuFromUnsafePointer(ptr unsafe.Pointer) *TMainMenu

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMainMenu.

func NewMainMenu

func NewMainMenu(owner IComponent) *TMainMenu

创建一个新的对象。

Create a new object.

func (*TMainMenu) Assign

func (m *TMainMenu) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TMainMenu) BiDiMode

func (m *TMainMenu) BiDiMode() TBiDiMode

func (*TMainMenu) ClassName

func (m *TMainMenu) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TMainMenu) ClassType

func (m *TMainMenu) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TMainMenu) ComponentCount

func (m *TMainMenu) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TMainMenu) ComponentIndex

func (m *TMainMenu) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TMainMenu) Components

func (m *TMainMenu) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TMainMenu) Equals

func (m *TMainMenu) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TMainMenu) FindComponent

func (m *TMainMenu) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TMainMenu) Free

func (m *TMainMenu) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TMainMenu) GetHashCode

func (m *TMainMenu) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TMainMenu) GetNamePath

func (m *TMainMenu) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TMainMenu) Handle

func (m *TMainMenu) Handle() HMENU

获取控件句柄。

Get Control handle.

func (*TMainMenu) HasParent

func (m *TMainMenu) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TMainMenu) Images

func (m *TMainMenu) Images() *TImageList

获取图标索引列表对象。

func (*TMainMenu) ImagesWidth

func (m *TMainMenu) ImagesWidth() int32

func (*TMainMenu) InheritsFrom

func (m *TMainMenu) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMainMenu) Instance

func (m *TMainMenu) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TMainMenu) InstanceSize

func (m *TMainMenu) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TMainMenu) Is

func (m *TMainMenu) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMainMenu) IsValid

func (m *TMainMenu) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TMainMenu) Items

func (m *TMainMenu) Items() *TMenuItem

func (*TMainMenu) Name

func (m *TMainMenu) Name() string

获取组件名称。

Get the component name.

func (*TMainMenu) Owner

func (m *TMainMenu) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TMainMenu) OwnerDraw

func (m *TMainMenu) OwnerDraw() bool

func (*TMainMenu) SetBiDiMode

func (m *TMainMenu) SetBiDiMode(value TBiDiMode)

func (*TMainMenu) SetComponentIndex

func (m *TMainMenu) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TMainMenu) SetImages

func (m *TMainMenu) SetImages(value IComponent)

设置图标索引列表对象。

func (*TMainMenu) SetImagesWidth

func (m *TMainMenu) SetImagesWidth(value int32)

func (*TMainMenu) SetName

func (m *TMainMenu) SetName(value string)

设置组件名称。

Set the component name.

func (*TMainMenu) SetOnChange

func (m *TMainMenu) SetOnChange(fn TMenuChangeEvent)

设置改变事件。

Set changed event.

func (*TMainMenu) SetOwnerDraw

func (m *TMainMenu) SetOwnerDraw(value bool)

func (*TMainMenu) SetTag

func (m *TMainMenu) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TMainMenu) Tag

func (m *TMainMenu) Tag() int

获取对象标记。

Get the control tag.

func (*TMainMenu) ToString

func (m *TMainMenu) ToString() string

文本类信息。

Text information.

func (*TMainMenu) UnsafeAddr

func (m *TMainMenu) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TMaskEdit

type TMaskEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsMaskEdit

func AsMaskEdit(obj interface{}) *TMaskEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func MaskEditFromInst

func MaskEditFromInst(inst uintptr) *TMaskEdit

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsMaskEdit.

func MaskEditFromObj

func MaskEditFromObj(obj IObject) *TMaskEdit

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsMaskEdit.

func MaskEditFromUnsafePointer

func MaskEditFromUnsafePointer(ptr unsafe.Pointer) *TMaskEdit

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMaskEdit.

func NewMaskEdit

func NewMaskEdit(owner IComponent) *TMaskEdit

创建一个新的对象。

Create a new object.

func (*TMaskEdit) Action

func (m *TMaskEdit) Action() *TAction

func (*TMaskEdit) Align

func (m *TMaskEdit) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TMaskEdit) Alignment

func (m *TMaskEdit) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TMaskEdit) AnchorAsAlign

func (m *TMaskEdit) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TMaskEdit) AnchorClient

func (m *TMaskEdit) AnchorClient(ASpace int32)

func (*TMaskEdit) AnchorHorizontalCenterTo

func (m *TMaskEdit) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TMaskEdit) AnchorParallel

func (m *TMaskEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMaskEdit) AnchorSame

func (m *TMaskEdit) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TMaskEdit) AnchorSide

func (m *TMaskEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TMaskEdit) AnchorSideBottom

func (m *TMaskEdit) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TMaskEdit) AnchorSideLeft

func (m *TMaskEdit) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TMaskEdit) AnchorSideRight

func (m *TMaskEdit) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TMaskEdit) AnchorSideTop

func (m *TMaskEdit) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TMaskEdit) AnchorToNeighbour

func (m *TMaskEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMaskEdit) AnchorVerticalCenterTo

func (m *TMaskEdit) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TMaskEdit) Anchors

func (m *TMaskEdit) Anchors() TAnchors

获取四个角位置的锚点。

func (*TMaskEdit) Assign

func (m *TMaskEdit) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TMaskEdit) AutoAdjustLayout

func (m *TMaskEdit) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TMaskEdit) AutoSelect

func (m *TMaskEdit) AutoSelect() bool

获取自动选择。

func (*TMaskEdit) AutoSize

func (m *TMaskEdit) AutoSize() bool

获取自动调整大小。

func (*TMaskEdit) BiDiMode

func (m *TMaskEdit) BiDiMode() TBiDiMode

func (*TMaskEdit) BorderSpacing

func (m *TMaskEdit) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TMaskEdit) BorderStyle

func (m *TMaskEdit) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TMaskEdit) BoundsRect

func (m *TMaskEdit) BoundsRect() TRect

func (*TMaskEdit) BringToFront

func (m *TMaskEdit) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TMaskEdit) Brush

func (m *TMaskEdit) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TMaskEdit) CanFocus

func (m *TMaskEdit) CanFocus() bool

是否可以获得焦点。

func (*TMaskEdit) CanUndo

func (m *TMaskEdit) CanUndo() bool

获取能否撤销。

func (*TMaskEdit) CharCase

func (m *TMaskEdit) CharCase() TEditCharCase

func (*TMaskEdit) ChildSizing

func (m *TMaskEdit) ChildSizing() *TControlChildSizing

func (*TMaskEdit) ClassName

func (m *TMaskEdit) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TMaskEdit) ClassType

func (m *TMaskEdit) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TMaskEdit) Clear

func (m *TMaskEdit) Clear()

清除。

func (*TMaskEdit) ClearSelection

func (m *TMaskEdit) ClearSelection()

清除选择。

func (*TMaskEdit) ClientHeight

func (m *TMaskEdit) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TMaskEdit) ClientOrigin

func (m *TMaskEdit) ClientOrigin() TPoint

func (*TMaskEdit) ClientRect

func (m *TMaskEdit) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TMaskEdit) ClientToParent

func (m *TMaskEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TMaskEdit) ClientToScreen

func (m *TMaskEdit) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TMaskEdit) ClientWidth

func (m *TMaskEdit) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TMaskEdit) Color

func (m *TMaskEdit) Color() TColor

获取颜色。

Get color.

func (*TMaskEdit) ComponentCount

func (m *TMaskEdit) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TMaskEdit) ComponentIndex

func (m *TMaskEdit) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TMaskEdit) Components

func (m *TMaskEdit) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TMaskEdit) Constraints

func (m *TMaskEdit) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TMaskEdit) ContainsControl

func (m *TMaskEdit) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TMaskEdit) ControlAtPos

func (m *TMaskEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TMaskEdit) ControlCount

func (m *TMaskEdit) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TMaskEdit) ControlState

func (m *TMaskEdit) ControlState() TControlState

获取控件状态。

Get control state.

func (*TMaskEdit) ControlStyle

func (m *TMaskEdit) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TMaskEdit) Controls

func (m *TMaskEdit) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TMaskEdit) CopyToClipboard

func (m *TMaskEdit) CopyToClipboard()

复制到粘贴板。

func (*TMaskEdit) Cursor

func (m *TMaskEdit) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TMaskEdit) CutToClipboard

func (m *TMaskEdit) CutToClipboard()

剪切到粘贴板。

func (*TMaskEdit) DisableAlign

func (m *TMaskEdit) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TMaskEdit) DockClientCount

func (m *TMaskEdit) DockClientCount() int32

获取依靠客户端总数。

func (*TMaskEdit) DockClients

func (m *TMaskEdit) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TMaskEdit) DockSite

func (m *TMaskEdit) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TMaskEdit) DoubleBuffered

func (m *TMaskEdit) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TMaskEdit) DragCursor

func (m *TMaskEdit) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TMaskEdit) DragKind

func (m *TMaskEdit) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TMaskEdit) DragMode

func (m *TMaskEdit) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TMaskEdit) Dragging

func (m *TMaskEdit) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TMaskEdit) EditText

func (m *TMaskEdit) EditText() string

func (*TMaskEdit) EnableAlign

func (m *TMaskEdit) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TMaskEdit) Enabled

func (m *TMaskEdit) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TMaskEdit) Equals

func (m *TMaskEdit) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TMaskEdit) FindChildControl

func (m *TMaskEdit) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TMaskEdit) FindComponent

func (m *TMaskEdit) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TMaskEdit) FixDesignFontsPPI

func (m *TMaskEdit) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TMaskEdit) FlipChildren

func (m *TMaskEdit) FlipChildren(AllLevels bool)

func (*TMaskEdit) Floating

func (m *TMaskEdit) Floating() bool

func (*TMaskEdit) Focused

func (m *TMaskEdit) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TMaskEdit) Font

func (m *TMaskEdit) Font() *TFont

获取字体。

Get Font.

func (*TMaskEdit) Free

func (m *TMaskEdit) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TMaskEdit) GetHashCode

func (m *TMaskEdit) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TMaskEdit) GetNamePath

func (m *TMaskEdit) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TMaskEdit) GetTextBuf

func (m *TMaskEdit) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TMaskEdit) GetTextLen

func (m *TMaskEdit) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TMaskEdit) Handle

func (m *TMaskEdit) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TMaskEdit) HandleAllocated

func (m *TMaskEdit) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TMaskEdit) HasParent

func (m *TMaskEdit) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TMaskEdit) Height

func (m *TMaskEdit) Height() int32

获取高度。

Get height.

func (*TMaskEdit) Hide

func (m *TMaskEdit) Hide()

隐藏控件。

Hidden control.

func (*TMaskEdit) Hint

func (m *TMaskEdit) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TMaskEdit) InheritsFrom

func (m *TMaskEdit) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMaskEdit) InsertControl

func (m *TMaskEdit) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TMaskEdit) Instance

func (m *TMaskEdit) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TMaskEdit) InstanceSize

func (m *TMaskEdit) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TMaskEdit) Invalidate

func (m *TMaskEdit) Invalidate()

要求重绘。

Redraw.

func (*TMaskEdit) Is

func (m *TMaskEdit) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMaskEdit) IsMasked

func (m *TMaskEdit) IsMasked() bool

func (*TMaskEdit) IsValid

func (m *TMaskEdit) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TMaskEdit) Left

func (m *TMaskEdit) Left() int32

获取左边位置。

Get Left position.

func (*TMaskEdit) MaxLength

func (m *TMaskEdit) MaxLength() int32

获取最大长度。

func (*TMaskEdit) Modified

func (m *TMaskEdit) Modified() bool

获取修改。

Get modified.

func (*TMaskEdit) MouseInClient

func (m *TMaskEdit) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TMaskEdit) Name

func (m *TMaskEdit) Name() string

获取组件名称。

Get the component name.

func (*TMaskEdit) Owner

func (m *TMaskEdit) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TMaskEdit) PaintTo

func (m *TMaskEdit) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TMaskEdit) Parent

func (m *TMaskEdit) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TMaskEdit) ParentColor

func (m *TMaskEdit) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TMaskEdit) ParentDoubleBuffered

func (m *TMaskEdit) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TMaskEdit) ParentFont

func (m *TMaskEdit) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TMaskEdit) ParentShowHint

func (m *TMaskEdit) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TMaskEdit) ParentToClient

func (m *TMaskEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TMaskEdit) ParentWindow

func (m *TMaskEdit) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TMaskEdit) PasswordChar

func (m *TMaskEdit) PasswordChar() uint16

获取密码掩码字符。

func (*TMaskEdit) PasteFromClipboard

func (m *TMaskEdit) PasteFromClipboard()

从剪切板粘贴。

func (*TMaskEdit) Perform

func (m *TMaskEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TMaskEdit) PopupMenu

func (m *TMaskEdit) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TMaskEdit) ReadOnly

func (m *TMaskEdit) ReadOnly() bool

获取只读。

func (*TMaskEdit) Realign

func (m *TMaskEdit) Realign()

重新对齐。

Realign.

func (*TMaskEdit) Refresh

func (m *TMaskEdit) Refresh()

刷新控件。

Refresh control.

func (*TMaskEdit) RemoveControl

func (m *TMaskEdit) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TMaskEdit) Repaint

func (m *TMaskEdit) Repaint()

重绘。

Repaint.

func (*TMaskEdit) Scale96ToFont

func (m *TMaskEdit) Scale96ToFont(ASize int32) int32

func (*TMaskEdit) Scale96ToForm

func (m *TMaskEdit) Scale96ToForm(ASize int32) int32

func (*TMaskEdit) Scale96ToScreen

func (m *TMaskEdit) Scale96ToScreen(ASize int32) int32

func (*TMaskEdit) ScaleBy

func (m *TMaskEdit) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TMaskEdit) ScaleDesignToForm

func (m *TMaskEdit) ScaleDesignToForm(ASize int32) int32

func (*TMaskEdit) ScaleFontTo96

func (m *TMaskEdit) ScaleFontTo96(ASize int32) int32

func (*TMaskEdit) ScaleFontToScreen

func (m *TMaskEdit) ScaleFontToScreen(ASize int32) int32

func (*TMaskEdit) ScaleFontsPPI

func (m *TMaskEdit) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TMaskEdit) ScaleFormTo96

func (m *TMaskEdit) ScaleFormTo96(ASize int32) int32

func (*TMaskEdit) ScaleFormToDesign

func (m *TMaskEdit) ScaleFormToDesign(ASize int32) int32

func (*TMaskEdit) ScaleScreenTo96

func (m *TMaskEdit) ScaleScreenTo96(ASize int32) int32

func (*TMaskEdit) ScaleScreenToFont

func (m *TMaskEdit) ScaleScreenToFont(ASize int32) int32

func (*TMaskEdit) ScreenToClient

func (m *TMaskEdit) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TMaskEdit) ScrollBy

func (m *TMaskEdit) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TMaskEdit) SelLength

func (m *TMaskEdit) SelLength() int32

获取选择的长度。

func (*TMaskEdit) SelStart

func (m *TMaskEdit) SelStart() int32

获取选择的启始位置。

func (*TMaskEdit) SelText

func (m *TMaskEdit) SelText() string

获取选择的文本。

func (*TMaskEdit) SelectAll

func (m *TMaskEdit) SelectAll()

全选。

func (*TMaskEdit) SendToBack

func (m *TMaskEdit) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TMaskEdit) SetAction

func (m *TMaskEdit) SetAction(value IComponent)

func (*TMaskEdit) SetAlign

func (m *TMaskEdit) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TMaskEdit) SetAlignment

func (m *TMaskEdit) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TMaskEdit) SetAnchorSideBottom

func (m *TMaskEdit) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TMaskEdit) SetAnchorSideLeft

func (m *TMaskEdit) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TMaskEdit) SetAnchorSideRight

func (m *TMaskEdit) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TMaskEdit) SetAnchorSideTop

func (m *TMaskEdit) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TMaskEdit) SetAnchors

func (m *TMaskEdit) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TMaskEdit) SetAutoSelect

func (m *TMaskEdit) SetAutoSelect(value bool)

设置自动选择。

func (*TMaskEdit) SetAutoSize

func (m *TMaskEdit) SetAutoSize(value bool)

设置自动调整大小。

func (*TMaskEdit) SetBiDiMode

func (m *TMaskEdit) SetBiDiMode(value TBiDiMode)

func (*TMaskEdit) SetBorderSpacing

func (m *TMaskEdit) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TMaskEdit) SetBorderStyle

func (m *TMaskEdit) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TMaskEdit) SetBounds

func (m *TMaskEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TMaskEdit) SetBoundsRect

func (m *TMaskEdit) SetBoundsRect(value TRect)

func (*TMaskEdit) SetCharCase

func (m *TMaskEdit) SetCharCase(value TEditCharCase)

func (*TMaskEdit) SetChildSizing

func (m *TMaskEdit) SetChildSizing(value *TControlChildSizing)

func (*TMaskEdit) SetClientHeight

func (m *TMaskEdit) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TMaskEdit) SetClientWidth

func (m *TMaskEdit) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TMaskEdit) SetColor

func (m *TMaskEdit) SetColor(value TColor)

设置颜色。

Set color.

func (*TMaskEdit) SetComponentIndex

func (m *TMaskEdit) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TMaskEdit) SetConstraints

func (m *TMaskEdit) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TMaskEdit) SetControlState

func (m *TMaskEdit) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TMaskEdit) SetControlStyle

func (m *TMaskEdit) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TMaskEdit) SetCursor

func (m *TMaskEdit) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TMaskEdit) SetDockSite

func (m *TMaskEdit) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TMaskEdit) SetDoubleBuffered

func (m *TMaskEdit) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TMaskEdit) SetDragCursor

func (m *TMaskEdit) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TMaskEdit) SetDragKind

func (m *TMaskEdit) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TMaskEdit) SetDragMode

func (m *TMaskEdit) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TMaskEdit) SetEditText

func (m *TMaskEdit) SetEditText(value string)

func (*TMaskEdit) SetEnabled

func (m *TMaskEdit) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TMaskEdit) SetFocus

func (m *TMaskEdit) SetFocus()

设置控件焦点。

Set control focus.

func (*TMaskEdit) SetFont

func (m *TMaskEdit) SetFont(value *TFont)

设置字体。

Set Font.

func (*TMaskEdit) SetHeight

func (m *TMaskEdit) SetHeight(value int32)

设置高度。

Set height.

func (*TMaskEdit) SetHint

func (m *TMaskEdit) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TMaskEdit) SetLeft

func (m *TMaskEdit) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TMaskEdit) SetMaxLength

func (m *TMaskEdit) SetMaxLength(value int32)

设置最大长度。

func (*TMaskEdit) SetModified

func (m *TMaskEdit) SetModified(value bool)

设置修改。

Set modified.

func (*TMaskEdit) SetName

func (m *TMaskEdit) SetName(value string)

设置组件名称。

Set the component name.

func (*TMaskEdit) SetOnChange

func (m *TMaskEdit) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TMaskEdit) SetOnClick

func (m *TMaskEdit) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TMaskEdit) SetOnDblClick

func (m *TMaskEdit) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TMaskEdit) SetOnDragDrop

func (m *TMaskEdit) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TMaskEdit) SetOnDragOver

func (m *TMaskEdit) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TMaskEdit) SetOnEndDock

func (m *TMaskEdit) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TMaskEdit) SetOnEndDrag

func (m *TMaskEdit) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TMaskEdit) SetOnEnter

func (m *TMaskEdit) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TMaskEdit) SetOnExit

func (m *TMaskEdit) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TMaskEdit) SetOnKeyDown

func (m *TMaskEdit) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TMaskEdit) SetOnKeyPress

func (m *TMaskEdit) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TMaskEdit) SetOnKeyUp

func (m *TMaskEdit) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TMaskEdit) SetOnMouseDown

func (m *TMaskEdit) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TMaskEdit) SetOnMouseEnter

func (m *TMaskEdit) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TMaskEdit) SetOnMouseLeave

func (m *TMaskEdit) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TMaskEdit) SetOnMouseMove

func (m *TMaskEdit) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TMaskEdit) SetOnMouseUp

func (m *TMaskEdit) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TMaskEdit) SetOnStartDock

func (m *TMaskEdit) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TMaskEdit) SetParent

func (m *TMaskEdit) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TMaskEdit) SetParentColor

func (m *TMaskEdit) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TMaskEdit) SetParentDoubleBuffered

func (m *TMaskEdit) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TMaskEdit) SetParentFont

func (m *TMaskEdit) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TMaskEdit) SetParentShowHint

func (m *TMaskEdit) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TMaskEdit) SetParentWindow

func (m *TMaskEdit) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TMaskEdit) SetPasswordChar

func (m *TMaskEdit) SetPasswordChar(value uint16)

设置密码掩码字符。

func (*TMaskEdit) SetPopupMenu

func (m *TMaskEdit) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TMaskEdit) SetReadOnly

func (m *TMaskEdit) SetReadOnly(value bool)

设置只读。

func (*TMaskEdit) SetSelLength

func (m *TMaskEdit) SetSelLength(value int32)

设置选择的长度。

func (*TMaskEdit) SetSelStart

func (m *TMaskEdit) SetSelStart(value int32)

设置选择的启始位置。

func (*TMaskEdit) SetSelText

func (m *TMaskEdit) SetSelText(value string)

设置选择的文本。

func (*TMaskEdit) SetShowHint

func (m *TMaskEdit) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TMaskEdit) SetTabOrder

func (m *TMaskEdit) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TMaskEdit) SetTabStop

func (m *TMaskEdit) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TMaskEdit) SetTag

func (m *TMaskEdit) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TMaskEdit) SetText

func (m *TMaskEdit) SetText(value string)

设置文本。

func (*TMaskEdit) SetTextBuf

func (m *TMaskEdit) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TMaskEdit) SetTextHint

func (m *TMaskEdit) SetTextHint(value string)

设置提示文本。

func (*TMaskEdit) SetTop

func (m *TMaskEdit) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TMaskEdit) SetUseDockManager

func (m *TMaskEdit) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TMaskEdit) SetVisible

func (m *TMaskEdit) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TMaskEdit) SetWidth

func (m *TMaskEdit) SetWidth(value int32)

设置宽度。

Set width.

func (*TMaskEdit) Show

func (m *TMaskEdit) Show()

显示控件。

Show control.

func (*TMaskEdit) ShowHint

func (m *TMaskEdit) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TMaskEdit) Showing

func (m *TMaskEdit) Showing() bool

func (*TMaskEdit) TabOrder

func (m *TMaskEdit) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TMaskEdit) TabStop

func (m *TMaskEdit) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TMaskEdit) Tag

func (m *TMaskEdit) Tag() int

获取对象标记。

Get the control tag.

func (*TMaskEdit) Text

func (m *TMaskEdit) Text() string

获取文本。

func (*TMaskEdit) TextHint

func (m *TMaskEdit) TextHint() string

获取提示文本。

func (*TMaskEdit) ToString

func (m *TMaskEdit) ToString() string

文本类信息。

Text information.

func (*TMaskEdit) Top

func (m *TMaskEdit) Top() int32

获取顶边位置。

Get Top position.

func (*TMaskEdit) Undo

func (m *TMaskEdit) Undo()

撤销上一次操作。

func (*TMaskEdit) UnsafeAddr

func (m *TMaskEdit) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TMaskEdit) Update

func (m *TMaskEdit) Update()

控件更新。

Update.

func (*TMaskEdit) UseDockManager

func (m *TMaskEdit) UseDockManager() bool

获取使用停靠管理。

func (*TMaskEdit) ValidateEdit

func (m *TMaskEdit) ValidateEdit()

func (*TMaskEdit) Visible

func (m *TMaskEdit) Visible() bool

获取控件可视。

Get the control visible.

func (*TMaskEdit) VisibleDockClientCount

func (m *TMaskEdit) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TMaskEdit) Width

func (m *TMaskEdit) Width() int32

获取宽度。

Get width.

type TMeasureItemEvent

type TMeasureItemEvent func(control *TWinControl, index int32, height *int32)

TMeasureItemEvent = procedure(Control: TWinControl; Index: Integer; var Height: Integer) of object;

type TMemo

type TMemo struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsMemo

func AsMemo(obj interface{}) *TMemo

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func MemoFromInst

func MemoFromInst(inst uintptr) *TMemo

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsMemo.

func MemoFromObj

func MemoFromObj(obj IObject) *TMemo

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsMemo.

func MemoFromUnsafePointer

func MemoFromUnsafePointer(ptr unsafe.Pointer) *TMemo

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMemo.

func NewMemo

func NewMemo(owner IComponent) *TMemo

创建一个新的对象。

Create a new object.

func (*TMemo) Action

func (m *TMemo) Action() *TAction

func (*TMemo) Align

func (m *TMemo) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TMemo) Alignment

func (m *TMemo) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TMemo) AnchorAsAlign

func (m *TMemo) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TMemo) AnchorClient

func (m *TMemo) AnchorClient(ASpace int32)

func (*TMemo) AnchorHorizontalCenterTo

func (m *TMemo) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TMemo) AnchorParallel

func (m *TMemo) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMemo) AnchorSame

func (m *TMemo) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TMemo) AnchorSide

func (m *TMemo) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TMemo) AnchorSideBottom

func (m *TMemo) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TMemo) AnchorSideLeft

func (m *TMemo) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TMemo) AnchorSideRight

func (m *TMemo) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TMemo) AnchorSideTop

func (m *TMemo) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TMemo) AnchorToNeighbour

func (m *TMemo) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMemo) AnchorVerticalCenterTo

func (m *TMemo) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TMemo) Anchors

func (m *TMemo) Anchors() TAnchors

获取四个角位置的锚点。

func (*TMemo) Append

func (m *TMemo) Append(Value string)

func (*TMemo) Assign

func (m *TMemo) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TMemo) AutoAdjustLayout

func (m *TMemo) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TMemo) BiDiMode

func (m *TMemo) BiDiMode() TBiDiMode

func (*TMemo) BorderSpacing

func (m *TMemo) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TMemo) BorderStyle

func (m *TMemo) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TMemo) BoundsRect

func (m *TMemo) BoundsRect() TRect

func (*TMemo) BringToFront

func (m *TMemo) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TMemo) Brush

func (m *TMemo) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TMemo) CanFocus

func (m *TMemo) CanFocus() bool

是否可以获得焦点。

func (*TMemo) CanUndo

func (m *TMemo) CanUndo() bool

获取能否撤销。

func (*TMemo) CaretPos

func (m *TMemo) CaretPos() TPoint

func (*TMemo) CharCase

func (m *TMemo) CharCase() TEditCharCase

func (*TMemo) ChildSizing

func (m *TMemo) ChildSizing() *TControlChildSizing

func (*TMemo) ClassName

func (m *TMemo) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TMemo) ClassType

func (m *TMemo) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TMemo) Clear

func (m *TMemo) Clear()

清除。

func (*TMemo) ClearSelection

func (m *TMemo) ClearSelection()

清除选择。

func (*TMemo) ClientHeight

func (m *TMemo) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TMemo) ClientOrigin

func (m *TMemo) ClientOrigin() TPoint

func (*TMemo) ClientRect

func (m *TMemo) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TMemo) ClientToParent

func (m *TMemo) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TMemo) ClientToScreen

func (m *TMemo) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TMemo) ClientWidth

func (m *TMemo) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TMemo) Color

func (m *TMemo) Color() TColor

获取颜色。

Get color.

func (*TMemo) ComponentCount

func (m *TMemo) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TMemo) ComponentIndex

func (m *TMemo) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TMemo) Components

func (m *TMemo) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TMemo) Constraints

func (m *TMemo) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TMemo) ContainsControl

func (m *TMemo) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TMemo) ControlAtPos

func (m *TMemo) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TMemo) ControlCount

func (m *TMemo) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TMemo) ControlState

func (m *TMemo) ControlState() TControlState

获取控件状态。

Get control state.

func (*TMemo) ControlStyle

func (m *TMemo) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TMemo) Controls

func (m *TMemo) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TMemo) CopyToClipboard

func (m *TMemo) CopyToClipboard()

复制到粘贴板。

func (*TMemo) Cursor

func (m *TMemo) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TMemo) CutToClipboard

func (m *TMemo) CutToClipboard()

剪切到粘贴板。

func (*TMemo) DisableAlign

func (m *TMemo) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TMemo) DockClientCount

func (m *TMemo) DockClientCount() int32

获取依靠客户端总数。

func (*TMemo) DockClients

func (m *TMemo) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TMemo) DockSite

func (m *TMemo) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TMemo) DoubleBuffered

func (m *TMemo) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TMemo) DragCursor

func (m *TMemo) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TMemo) DragKind

func (m *TMemo) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TMemo) DragMode

func (m *TMemo) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TMemo) Dragging

func (m *TMemo) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TMemo) EnableAlign

func (m *TMemo) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TMemo) Enabled

func (m *TMemo) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TMemo) Equals

func (m *TMemo) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TMemo) FindChildControl

func (m *TMemo) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TMemo) FindComponent

func (m *TMemo) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TMemo) FixDesignFontsPPI

func (m *TMemo) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TMemo) FlipChildren

func (m *TMemo) FlipChildren(AllLevels bool)

func (*TMemo) Floating

func (m *TMemo) Floating() bool

func (*TMemo) Focused

func (m *TMemo) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TMemo) Font

func (m *TMemo) Font() *TFont

获取字体。

Get Font.

func (*TMemo) Free

func (m *TMemo) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TMemo) GetHashCode

func (m *TMemo) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TMemo) GetNamePath

func (m *TMemo) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TMemo) GetTextBuf

func (m *TMemo) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TMemo) GetTextLen

func (m *TMemo) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TMemo) Handle

func (m *TMemo) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TMemo) HandleAllocated

func (m *TMemo) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TMemo) HasParent

func (m *TMemo) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TMemo) Height

func (m *TMemo) Height() int32

获取高度。

Get height.

func (*TMemo) Hide

func (m *TMemo) Hide()

隐藏控件。

Hidden control.

func (*TMemo) HideSelection

func (m *TMemo) HideSelection() bool

获取隐藏选择。

func (*TMemo) Hint

func (m *TMemo) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TMemo) InheritsFrom

func (m *TMemo) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMemo) InsertControl

func (m *TMemo) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TMemo) Instance

func (m *TMemo) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TMemo) InstanceSize

func (m *TMemo) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TMemo) Invalidate

func (m *TMemo) Invalidate()

要求重绘。

Redraw.

func (*TMemo) Is

func (m *TMemo) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMemo) IsValid

func (m *TMemo) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TMemo) Left

func (m *TMemo) Left() int32

获取左边位置。

Get Left position.

func (*TMemo) Lines

func (m *TMemo) Lines() *TStrings

func (*TMemo) MaxLength

func (m *TMemo) MaxLength() int32

获取最大长度。

func (*TMemo) Modified

func (m *TMemo) Modified() bool

获取修改。

Get modified.

func (*TMemo) MouseInClient

func (m *TMemo) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TMemo) Name

func (m *TMemo) Name() string

获取组件名称。

Get the component name.

func (*TMemo) Owner

func (m *TMemo) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TMemo) PaintTo

func (m *TMemo) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TMemo) Parent

func (m *TMemo) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TMemo) ParentColor

func (m *TMemo) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TMemo) ParentDoubleBuffered

func (m *TMemo) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TMemo) ParentFont

func (m *TMemo) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TMemo) ParentShowHint

func (m *TMemo) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TMemo) ParentToClient

func (m *TMemo) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TMemo) ParentWindow

func (m *TMemo) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TMemo) PasteFromClipboard

func (m *TMemo) PasteFromClipboard()

从剪切板粘贴。

func (*TMemo) Perform

func (m *TMemo) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TMemo) PopupMenu

func (m *TMemo) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TMemo) ReadOnly

func (m *TMemo) ReadOnly() bool

获取只读。

func (*TMemo) Realign

func (m *TMemo) Realign()

重新对齐。

Realign.

func (*TMemo) Refresh

func (m *TMemo) Refresh()

刷新控件。

Refresh control.

func (*TMemo) RemoveControl

func (m *TMemo) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TMemo) Repaint

func (m *TMemo) Repaint()

重绘。

Repaint.

func (*TMemo) Scale96ToFont

func (m *TMemo) Scale96ToFont(ASize int32) int32

func (*TMemo) Scale96ToForm

func (m *TMemo) Scale96ToForm(ASize int32) int32

func (*TMemo) Scale96ToScreen

func (m *TMemo) Scale96ToScreen(ASize int32) int32

func (*TMemo) ScaleBy

func (m *TMemo) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TMemo) ScaleDesignToForm

func (m *TMemo) ScaleDesignToForm(ASize int32) int32

func (*TMemo) ScaleFontTo96

func (m *TMemo) ScaleFontTo96(ASize int32) int32

func (*TMemo) ScaleFontToScreen

func (m *TMemo) ScaleFontToScreen(ASize int32) int32

func (*TMemo) ScaleFontsPPI

func (m *TMemo) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TMemo) ScaleFormTo96

func (m *TMemo) ScaleFormTo96(ASize int32) int32

func (*TMemo) ScaleFormToDesign

func (m *TMemo) ScaleFormToDesign(ASize int32) int32

func (*TMemo) ScaleScreenTo96

func (m *TMemo) ScaleScreenTo96(ASize int32) int32

func (*TMemo) ScaleScreenToFont

func (m *TMemo) ScaleScreenToFont(ASize int32) int32

func (*TMemo) ScreenToClient

func (m *TMemo) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TMemo) ScrollBars

func (m *TMemo) ScrollBars() TScrollStyle

func (*TMemo) ScrollBy

func (m *TMemo) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TMemo) SelLength

func (m *TMemo) SelLength() int32

获取选择的长度。

func (*TMemo) SelStart

func (m *TMemo) SelStart() int32

获取选择的启始位置。

func (*TMemo) SelText

func (m *TMemo) SelText() string

获取选择的文本。

func (*TMemo) SelectAll

func (m *TMemo) SelectAll()

全选。

func (*TMemo) SendToBack

func (m *TMemo) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TMemo) SetAction

func (m *TMemo) SetAction(value IComponent)

func (*TMemo) SetAlign

func (m *TMemo) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TMemo) SetAlignment

func (m *TMemo) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TMemo) SetAnchorSideBottom

func (m *TMemo) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TMemo) SetAnchorSideLeft

func (m *TMemo) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TMemo) SetAnchorSideRight

func (m *TMemo) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TMemo) SetAnchorSideTop

func (m *TMemo) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TMemo) SetAnchors

func (m *TMemo) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TMemo) SetBiDiMode

func (m *TMemo) SetBiDiMode(value TBiDiMode)

func (*TMemo) SetBorderSpacing

func (m *TMemo) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TMemo) SetBorderStyle

func (m *TMemo) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TMemo) SetBounds

func (m *TMemo) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TMemo) SetBoundsRect

func (m *TMemo) SetBoundsRect(value TRect)

func (*TMemo) SetCaretPos

func (m *TMemo) SetCaretPos(value TPoint)

func (*TMemo) SetCharCase

func (m *TMemo) SetCharCase(value TEditCharCase)

func (*TMemo) SetChildSizing

func (m *TMemo) SetChildSizing(value *TControlChildSizing)

func (*TMemo) SetClientHeight

func (m *TMemo) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TMemo) SetClientWidth

func (m *TMemo) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TMemo) SetColor

func (m *TMemo) SetColor(value TColor)

设置颜色。

Set color.

func (*TMemo) SetComponentIndex

func (m *TMemo) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TMemo) SetConstraints

func (m *TMemo) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TMemo) SetControlState

func (m *TMemo) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TMemo) SetControlStyle

func (m *TMemo) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TMemo) SetCursor

func (m *TMemo) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TMemo) SetDockSite

func (m *TMemo) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TMemo) SetDoubleBuffered

func (m *TMemo) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TMemo) SetDragCursor

func (m *TMemo) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TMemo) SetDragKind

func (m *TMemo) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TMemo) SetDragMode

func (m *TMemo) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TMemo) SetEnabled

func (m *TMemo) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TMemo) SetFocus

func (m *TMemo) SetFocus()

设置控件焦点。

Set control focus.

func (*TMemo) SetFont

func (m *TMemo) SetFont(value *TFont)

设置字体。

Set Font.

func (*TMemo) SetHeight

func (m *TMemo) SetHeight(value int32)

设置高度。

Set height.

func (*TMemo) SetHideSelection

func (m *TMemo) SetHideSelection(value bool)

设置隐藏选择。

func (*TMemo) SetHint

func (m *TMemo) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TMemo) SetLeft

func (m *TMemo) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TMemo) SetLines

func (m *TMemo) SetLines(value IStrings)

func (*TMemo) SetMaxLength

func (m *TMemo) SetMaxLength(value int32)

设置最大长度。

func (*TMemo) SetModified

func (m *TMemo) SetModified(value bool)

设置修改。

Set modified.

func (*TMemo) SetName

func (m *TMemo) SetName(value string)

设置组件名称。

Set the component name.

func (*TMemo) SetOnChange

func (m *TMemo) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TMemo) SetOnClick

func (m *TMemo) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TMemo) SetOnContextPopup

func (m *TMemo) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TMemo) SetOnDblClick

func (m *TMemo) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TMemo) SetOnDragDrop

func (m *TMemo) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TMemo) SetOnDragOver

func (m *TMemo) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TMemo) SetOnEndDrag

func (m *TMemo) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TMemo) SetOnEnter

func (m *TMemo) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TMemo) SetOnExit

func (m *TMemo) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TMemo) SetOnKeyDown

func (m *TMemo) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TMemo) SetOnKeyPress

func (m *TMemo) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TMemo) SetOnKeyUp

func (m *TMemo) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TMemo) SetOnMouseDown

func (m *TMemo) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TMemo) SetOnMouseEnter

func (m *TMemo) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TMemo) SetOnMouseLeave

func (m *TMemo) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TMemo) SetOnMouseMove

func (m *TMemo) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TMemo) SetOnMouseUp

func (m *TMemo) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TMemo) SetParent

func (m *TMemo) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TMemo) SetParentColor

func (m *TMemo) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TMemo) SetParentDoubleBuffered

func (m *TMemo) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TMemo) SetParentFont

func (m *TMemo) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TMemo) SetParentShowHint

func (m *TMemo) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TMemo) SetParentWindow

func (m *TMemo) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TMemo) SetPopupMenu

func (m *TMemo) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TMemo) SetReadOnly

func (m *TMemo) SetReadOnly(value bool)

设置只读。

func (*TMemo) SetScrollBars

func (m *TMemo) SetScrollBars(value TScrollStyle)

func (*TMemo) SetSelLength

func (m *TMemo) SetSelLength(value int32)

设置选择的长度。

func (*TMemo) SetSelStart

func (m *TMemo) SetSelStart(value int32)

设置选择的启始位置。

func (*TMemo) SetSelText

func (m *TMemo) SetSelText(value string)

设置选择的文本。

func (*TMemo) SetShowHint

func (m *TMemo) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TMemo) SetTabOrder

func (m *TMemo) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TMemo) SetTabStop

func (m *TMemo) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TMemo) SetTag

func (m *TMemo) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TMemo) SetText

func (m *TMemo) SetText(value string)

设置文本。

func (*TMemo) SetTextBuf

func (m *TMemo) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TMemo) SetTextHint

func (m *TMemo) SetTextHint(value string)

设置提示文本。

func (*TMemo) SetTop

func (m *TMemo) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TMemo) SetUseDockManager

func (m *TMemo) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TMemo) SetVisible

func (m *TMemo) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TMemo) SetWantReturns

func (m *TMemo) SetWantReturns(value bool)

func (*TMemo) SetWantTabs

func (m *TMemo) SetWantTabs(value bool)

func (*TMemo) SetWidth

func (m *TMemo) SetWidth(value int32)

设置宽度。

Set width.

func (*TMemo) SetWordWrap

func (m *TMemo) SetWordWrap(value bool)

设置自动换行。

Set Automatic line break.

func (*TMemo) Show

func (m *TMemo) Show()

显示控件。

Show control.

func (*TMemo) ShowHint

func (m *TMemo) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TMemo) Showing

func (m *TMemo) Showing() bool

func (*TMemo) TabOrder

func (m *TMemo) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TMemo) TabStop

func (m *TMemo) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TMemo) Tag

func (m *TMemo) Tag() int

获取对象标记。

Get the control tag.

func (*TMemo) Text

func (m *TMemo) Text() string

获取文本。

func (*TMemo) TextHint

func (m *TMemo) TextHint() string

获取提示文本。

func (*TMemo) ToString

func (m *TMemo) ToString() string

文本类信息。

Text information.

func (*TMemo) Top

func (m *TMemo) Top() int32

获取顶边位置。

Get Top position.

func (*TMemo) Undo

func (m *TMemo) Undo()

撤销上一次操作。

func (*TMemo) UnsafeAddr

func (m *TMemo) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TMemo) Update

func (m *TMemo) Update()

控件更新。

Update.

func (*TMemo) UseDockManager

func (m *TMemo) UseDockManager() bool

获取使用停靠管理。

func (*TMemo) Visible

func (m *TMemo) Visible() bool

获取控件可视。

Get the control visible.

func (*TMemo) VisibleDockClientCount

func (m *TMemo) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TMemo) WantReturns

func (m *TMemo) WantReturns() bool

func (*TMemo) WantTabs

func (m *TMemo) WantTabs() bool

func (*TMemo) Width

func (m *TMemo) Width() int32

获取宽度。

Get width.

func (*TMemo) WordWrap

func (m *TMemo) WordWrap() bool

获取自动换行。

Get Automatic line break.

type TMemoryStream

type TMemoryStream struct {
	IStream
	// contains filtered or unexported fields
}

func AsMemoryStream

func AsMemoryStream(obj interface{}) *TMemoryStream

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func MemoryStreamFromInst

func MemoryStreamFromInst(inst uintptr) *TMemoryStream

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsMemoryStream.

func MemoryStreamFromObj

func MemoryStreamFromObj(obj IObject) *TMemoryStream

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsMemoryStream.

func MemoryStreamFromUnsafePointer

func MemoryStreamFromUnsafePointer(ptr unsafe.Pointer) *TMemoryStream

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMemoryStream.

func NewMemoryStream

func NewMemoryStream() *TMemoryStream

创建一个新的对象。

Create a new object.

func NewMemoryStreamFromBytes

func NewMemoryStreamFromBytes(data []byte) *TMemoryStream

新建Delphi/Lazarus内存流来自Go字节数组。

New Delphi/Lazarus memory stream from Go byte array.

func (*TMemoryStream) ClassName

func (m *TMemoryStream) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TMemoryStream) ClassType

func (m *TMemoryStream) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TMemoryStream) Clear

func (m *TMemoryStream) Clear()

清除。

func (*TMemoryStream) CopyFrom

func (m *TMemoryStream) CopyFrom(Source IStream, Count int64) int64

从指定流中复制。

func (*TMemoryStream) Equals

func (m *TMemoryStream) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TMemoryStream) Free

func (m *TMemoryStream) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TMemoryStream) GetHashCode

func (m *TMemoryStream) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TMemoryStream) InheritsFrom

func (m *TMemoryStream) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMemoryStream) Instance

func (m *TMemoryStream) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TMemoryStream) InstanceSize

func (m *TMemoryStream) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TMemoryStream) Is

func (m *TMemoryStream) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMemoryStream) IsValid

func (m *TMemoryStream) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TMemoryStream) LoadFromFile

func (m *TMemoryStream) LoadFromFile(FileName string)

从文件加载。

func (*TMemoryStream) LoadFromStream

func (m *TMemoryStream) LoadFromStream(Stream IStream)

文件流加载。

func (*TMemoryStream) Memory

func (m *TMemoryStream) Memory() uintptr

获取内存指针。

func (*TMemoryStream) Position

func (m *TMemoryStream) Position() int64

获取流指针位置。

func (*TMemoryStream) Read

func (m *TMemoryStream) Read(count int32) (int32, []byte)

读数据

Read Data.

func (*TMemoryStream) SaveToFile

func (m *TMemoryStream) SaveToFile(FileName string)

保存至文件。

func (*TMemoryStream) SaveToStream

func (m *TMemoryStream) SaveToStream(Stream IStream)

保存至流。

func (*TMemoryStream) Seek

func (m *TMemoryStream) Seek(Offset int64, Origin TSeekOrigin) int64

移动流指针位置。

func (*TMemoryStream) SetPosition

func (m *TMemoryStream) SetPosition(value int64)

设置流指针位置。

func (*TMemoryStream) SetSize

func (m *TMemoryStream) SetSize(value int64)

设置流的大小。

func (*TMemoryStream) Size

func (m *TMemoryStream) Size() int64

获取流的大小。

func (*TMemoryStream) ToString

func (m *TMemoryStream) ToString() string

文本类信息。

Text information.

func (*TMemoryStream) UnsafeAddr

func (m *TMemoryStream) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TMemoryStream) Write

func (m *TMemoryStream) Write(buffer []byte) int32

写数据

Write Data.

type TMenuChangeEvent

type TMenuChangeEvent func(sender IObject, source *TMenuItem, rebuild bool)

TMenuChangeEvent Menu

type TMenuDrawItemEvent

type TMenuDrawItemEvent func(sender IObject, aCanvas *TCanvas, aRect TRect, selected bool)

TMenuDrawItemEvent = procedure (Sender: TObject; ACanvas: TCanvas;

ARect: TRect; Selected: Boolean) of object;

type TMenuItem

type TMenuItem struct {
	IComponent
	// contains filtered or unexported fields
}

func AsMenuItem

func AsMenuItem(obj interface{}) *TMenuItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func MenuItemFromInst(inst uintptr) *TMenuItem

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsMenuItem.

func MenuItemFromObj(obj IObject) *TMenuItem

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsMenuItem.

func MenuItemFromUnsafePointer(ptr unsafe.Pointer) *TMenuItem

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMenuItem.

func NewMenuItem

func NewMenuItem(owner IComponent) *TMenuItem

创建一个新的对象。

Create a new object.

func (*TMenuItem) Action

func (m *TMenuItem) Action() *TAction

func (*TMenuItem) Add

func (m *TMenuItem) Add(Item IComponent)

func (*TMenuItem) Assign

func (m *TMenuItem) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TMenuItem) AutoCheck

func (m *TMenuItem) AutoCheck() bool

func (*TMenuItem) Bitmap

func (m *TMenuItem) Bitmap() *TBitmap

func (*TMenuItem) Caption

func (m *TMenuItem) Caption() string

获取控件标题。

Get the control title.

func (*TMenuItem) Checked

func (m *TMenuItem) Checked() bool

获取是否选中。

func (*TMenuItem) ClassName

func (m *TMenuItem) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TMenuItem) ClassType

func (m *TMenuItem) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TMenuItem) Clear

func (m *TMenuItem) Clear()

清除。

func (*TMenuItem) Click

func (m *TMenuItem) Click()

单击。

func (*TMenuItem) ComponentCount

func (m *TMenuItem) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TMenuItem) ComponentIndex

func (m *TMenuItem) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TMenuItem) Components

func (m *TMenuItem) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TMenuItem) Count

func (m *TMenuItem) Count() int32

func (*TMenuItem) Default

func (m *TMenuItem) Default() bool

func (*TMenuItem) Delete

func (m *TMenuItem) Delete(Index int32)

func (*TMenuItem) Enabled

func (m *TMenuItem) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TMenuItem) Equals

func (m *TMenuItem) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TMenuItem) FindComponent

func (m *TMenuItem) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TMenuItem) Free

func (m *TMenuItem) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TMenuItem) GetHashCode

func (m *TMenuItem) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TMenuItem) GetNamePath

func (m *TMenuItem) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TMenuItem) GroupIndex

func (m *TMenuItem) GroupIndex() uint8

获取团组索引。

func (*TMenuItem) Handle

func (m *TMenuItem) Handle() HMENU

获取控件句柄。

Get Control handle.

func (*TMenuItem) HasParent

func (m *TMenuItem) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TMenuItem) Hint

func (m *TMenuItem) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TMenuItem) ImageIndex

func (m *TMenuItem) ImageIndex() int32

获取图像在images中的索引。

func (*TMenuItem) IndexOf

func (m *TMenuItem) IndexOf(Item IComponent) int32

func (*TMenuItem) InheritsFrom

func (m *TMenuItem) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMenuItem) Insert

func (m *TMenuItem) Insert(Index int32, Item IComponent)

func (*TMenuItem) Instance

func (m *TMenuItem) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TMenuItem) InstanceSize

func (m *TMenuItem) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TMenuItem) Is

func (m *TMenuItem) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMenuItem) IsValid

func (m *TMenuItem) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TMenuItem) Items

func (m *TMenuItem) Items(Index int32) *TMenuItem

func (*TMenuItem) Name

func (m *TMenuItem) Name() string

获取组件名称。

Get the component name.

func (*TMenuItem) Owner

func (m *TMenuItem) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TMenuItem) Parent

func (m *TMenuItem) Parent() *TMenuItem

获取控件父容器。

Get control parent container.

func (*TMenuItem) RadioItem

func (m *TMenuItem) RadioItem() bool

func (*TMenuItem) SetAction

func (m *TMenuItem) SetAction(value IComponent)

func (*TMenuItem) SetAutoCheck

func (m *TMenuItem) SetAutoCheck(value bool)

func (*TMenuItem) SetBitmap

func (m *TMenuItem) SetBitmap(value *TBitmap)

func (*TMenuItem) SetCaption

func (m *TMenuItem) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TMenuItem) SetChecked

func (m *TMenuItem) SetChecked(value bool)

设置是否选中。

func (*TMenuItem) SetComponentIndex

func (m *TMenuItem) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TMenuItem) SetDefault

func (m *TMenuItem) SetDefault(value bool)

func (*TMenuItem) SetEnabled

func (m *TMenuItem) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TMenuItem) SetGroupIndex

func (m *TMenuItem) SetGroupIndex(value uint8)

设置团组索引。

func (*TMenuItem) SetHint

func (m *TMenuItem) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TMenuItem) SetImageIndex

func (m *TMenuItem) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TMenuItem) SetName

func (m *TMenuItem) SetName(value string)

设置组件名称。

Set the component name.

func (*TMenuItem) SetOnClick

func (m *TMenuItem) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TMenuItem) SetOnMeasureItem

func (m *TMenuItem) SetOnMeasureItem(fn TMenuMeasureItemEvent)

func (*TMenuItem) SetRadioItem

func (m *TMenuItem) SetRadioItem(value bool)

func (*TMenuItem) SetShortCut

func (m *TMenuItem) SetShortCut(value TShortCut)

设置快捷键。

func (*TMenuItem) SetShortCutFromString

func (m *TMenuItem) SetShortCutFromString(s string)

设置快捷键字符

Set shortcut key characters.

func (*TMenuItem) SetTag

func (m *TMenuItem) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TMenuItem) SetVisible

func (m *TMenuItem) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TMenuItem) ShortCut

func (m *TMenuItem) ShortCut() TShortCut

获取快捷键。

func (*TMenuItem) ShortCutFromString

func (m *TMenuItem) ShortCutFromString() string

获取快捷键字符

Get shortcut key characters.

func (*TMenuItem) Tag

func (m *TMenuItem) Tag() int

获取对象标记。

Get the control tag.

func (*TMenuItem) ToString

func (m *TMenuItem) ToString() string

文本类信息。

Text information.

func (*TMenuItem) UnsafeAddr

func (m *TMenuItem) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TMenuItem) Visible

func (m *TMenuItem) Visible() bool

获取控件可视。

Get the control visible.

type TMenuMeasureItemEvent

type TMenuMeasureItemEvent func(sender IObject, aCanvas *TCanvas, width, height *int32)

TMenuMeasureItemEvent = procedure (Sender: TObject; ACanvas: TCanvas; var Width, Height: Integer) of object;

type TMiniWebview

type TMiniWebview struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsMiniWebview

func AsMiniWebview(obj interface{}) *TMiniWebview

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func MiniWebviewFromInst

func MiniWebviewFromInst(inst uintptr) *TMiniWebview

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsMiniWebview.

func MiniWebviewFromObj

func MiniWebviewFromObj(obj IObject) *TMiniWebview

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsMiniWebview.

func MiniWebviewFromUnsafePointer

func MiniWebviewFromUnsafePointer(ptr unsafe.Pointer) *TMiniWebview

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMiniWebview.

func NewMiniWebview

func NewMiniWebview(owner IComponent) *TMiniWebview

创建一个新的对象。

Create a new object.

func (*TMiniWebview) Action

func (m *TMiniWebview) Action() *TAction

func (*TMiniWebview) Align

func (m *TMiniWebview) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TMiniWebview) AnchorAsAlign

func (m *TMiniWebview) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TMiniWebview) AnchorClient

func (m *TMiniWebview) AnchorClient(ASpace int32)

func (*TMiniWebview) AnchorHorizontalCenterTo

func (m *TMiniWebview) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TMiniWebview) AnchorParallel

func (m *TMiniWebview) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMiniWebview) AnchorSame

func (m *TMiniWebview) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TMiniWebview) AnchorSide

func (m *TMiniWebview) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TMiniWebview) AnchorSideBottom

func (m *TMiniWebview) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TMiniWebview) AnchorSideLeft

func (m *TMiniWebview) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TMiniWebview) AnchorSideRight

func (m *TMiniWebview) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TMiniWebview) AnchorSideTop

func (m *TMiniWebview) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TMiniWebview) AnchorToNeighbour

func (m *TMiniWebview) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMiniWebview) AnchorVerticalCenterTo

func (m *TMiniWebview) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TMiniWebview) Anchors

func (m *TMiniWebview) Anchors() TAnchors

获取四个角位置的锚点。

func (*TMiniWebview) Assign

func (m *TMiniWebview) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TMiniWebview) AutoAdjustLayout

func (m *TMiniWebview) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TMiniWebview) BiDiMode

func (m *TMiniWebview) BiDiMode() TBiDiMode

func (*TMiniWebview) BorderSpacing

func (m *TMiniWebview) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TMiniWebview) BoundsRect

func (m *TMiniWebview) BoundsRect() TRect

func (*TMiniWebview) BringToFront

func (m *TMiniWebview) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TMiniWebview) Brush

func (m *TMiniWebview) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TMiniWebview) CanFocus

func (m *TMiniWebview) CanFocus() bool

是否可以获得焦点。

func (*TMiniWebview) ChildSizing

func (m *TMiniWebview) ChildSizing() *TControlChildSizing

func (*TMiniWebview) ClassName

func (m *TMiniWebview) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TMiniWebview) ClassType

func (m *TMiniWebview) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TMiniWebview) ClientHeight

func (m *TMiniWebview) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TMiniWebview) ClientOrigin

func (m *TMiniWebview) ClientOrigin() TPoint

func (*TMiniWebview) ClientRect

func (m *TMiniWebview) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TMiniWebview) ClientToParent

func (m *TMiniWebview) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TMiniWebview) ClientToScreen

func (m *TMiniWebview) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TMiniWebview) ClientWidth

func (m *TMiniWebview) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TMiniWebview) ComponentCount

func (m *TMiniWebview) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TMiniWebview) ComponentIndex

func (m *TMiniWebview) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TMiniWebview) Components

func (m *TMiniWebview) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TMiniWebview) Constraints

func (m *TMiniWebview) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TMiniWebview) ContainsControl

func (m *TMiniWebview) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TMiniWebview) ControlAtPos

func (m *TMiniWebview) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TMiniWebview) ControlCount

func (m *TMiniWebview) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TMiniWebview) ControlState

func (m *TMiniWebview) ControlState() TControlState

获取控件状态。

Get control state.

func (*TMiniWebview) ControlStyle

func (m *TMiniWebview) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TMiniWebview) Controls

func (m *TMiniWebview) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TMiniWebview) Cursor

func (m *TMiniWebview) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TMiniWebview) DisableAlign

func (m *TMiniWebview) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TMiniWebview) DockClientCount

func (m *TMiniWebview) DockClientCount() int32

获取依靠客户端总数。

func (*TMiniWebview) DockClients

func (m *TMiniWebview) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TMiniWebview) DockSite

func (m *TMiniWebview) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TMiniWebview) DoubleBuffered

func (m *TMiniWebview) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TMiniWebview) Dragging

func (m *TMiniWebview) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TMiniWebview) EnableAlign

func (m *TMiniWebview) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TMiniWebview) Enabled

func (m *TMiniWebview) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TMiniWebview) Equals

func (m *TMiniWebview) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TMiniWebview) ExecuteJS

func (m *TMiniWebview) ExecuteJS(AScriptText string) string

func (*TMiniWebview) ExecuteScript

func (m *TMiniWebview) ExecuteScript(AScriptText string, AScriptType string) string

func (*TMiniWebview) FindChildControl

func (m *TMiniWebview) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TMiniWebview) FindComponent

func (m *TMiniWebview) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TMiniWebview) FixDesignFontsPPI

func (m *TMiniWebview) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TMiniWebview) FlipChildren

func (m *TMiniWebview) FlipChildren(AllLevels bool)

func (*TMiniWebview) Floating

func (m *TMiniWebview) Floating() bool

func (*TMiniWebview) Focused

func (m *TMiniWebview) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TMiniWebview) Free

func (m *TMiniWebview) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TMiniWebview) GetHashCode

func (m *TMiniWebview) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TMiniWebview) GetNamePath

func (m *TMiniWebview) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TMiniWebview) GetTextBuf

func (m *TMiniWebview) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TMiniWebview) GetTextLen

func (m *TMiniWebview) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TMiniWebview) GoBack

func (m *TMiniWebview) GoBack()

func (*TMiniWebview) GoForward

func (m *TMiniWebview) GoForward()

func (*TMiniWebview) GoHome

func (m *TMiniWebview) GoHome()

func (*TMiniWebview) GoSearch

func (m *TMiniWebview) GoSearch()

func (*TMiniWebview) Handle

func (m *TMiniWebview) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TMiniWebview) HandleAllocated

func (m *TMiniWebview) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TMiniWebview) HasParent

func (m *TMiniWebview) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TMiniWebview) Height

func (m *TMiniWebview) Height() int32

获取高度。

Get height.

func (*TMiniWebview) Hide

func (m *TMiniWebview) Hide()

隐藏控件。

Hidden control.

func (*TMiniWebview) Hint

func (m *TMiniWebview) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TMiniWebview) InheritsFrom

func (m *TMiniWebview) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMiniWebview) InsertControl

func (m *TMiniWebview) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TMiniWebview) Instance

func (m *TMiniWebview) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TMiniWebview) InstanceSize

func (m *TMiniWebview) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TMiniWebview) Invalidate

func (m *TMiniWebview) Invalidate()

要求重绘。

Redraw.

func (*TMiniWebview) Is

func (m *TMiniWebview) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMiniWebview) IsValid

func (m *TMiniWebview) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TMiniWebview) Left

func (m *TMiniWebview) Left() int32

获取左边位置。

Get Left position.

func (*TMiniWebview) LoadHTML

func (m *TMiniWebview) LoadHTML(AStr string)

func (*TMiniWebview) MouseInClient

func (m *TMiniWebview) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TMiniWebview) Name

func (m *TMiniWebview) Name() string

获取组件名称。

Get the component name.

func (*TMiniWebview) Navigate

func (m *TMiniWebview) Navigate(AURL string)

func (*TMiniWebview) Owner

func (m *TMiniWebview) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TMiniWebview) PaintTo

func (m *TMiniWebview) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TMiniWebview) Parent

func (m *TMiniWebview) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TMiniWebview) ParentDoubleBuffered

func (m *TMiniWebview) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TMiniWebview) ParentToClient

func (m *TMiniWebview) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TMiniWebview) ParentWindow

func (m *TMiniWebview) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TMiniWebview) Perform

func (m *TMiniWebview) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TMiniWebview) ReadyState

func (m *TMiniWebview) ReadyState() TReadyState

func (*TMiniWebview) Realign

func (m *TMiniWebview) Realign()

重新对齐。

Realign.

func (*TMiniWebview) Refresh

func (m *TMiniWebview) Refresh()

刷新控件。

Refresh control.

func (*TMiniWebview) RemoveControl

func (m *TMiniWebview) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TMiniWebview) Repaint

func (m *TMiniWebview) Repaint()

重绘。

Repaint.

func (*TMiniWebview) Scale96ToFont

func (m *TMiniWebview) Scale96ToFont(ASize int32) int32

func (*TMiniWebview) Scale96ToForm

func (m *TMiniWebview) Scale96ToForm(ASize int32) int32

func (*TMiniWebview) Scale96ToScreen

func (m *TMiniWebview) Scale96ToScreen(ASize int32) int32

func (*TMiniWebview) ScaleBy

func (m *TMiniWebview) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TMiniWebview) ScaleDesignToForm

func (m *TMiniWebview) ScaleDesignToForm(ASize int32) int32

func (*TMiniWebview) ScaleFontTo96

func (m *TMiniWebview) ScaleFontTo96(ASize int32) int32

func (*TMiniWebview) ScaleFontToScreen

func (m *TMiniWebview) ScaleFontToScreen(ASize int32) int32

func (*TMiniWebview) ScaleFontsPPI

func (m *TMiniWebview) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TMiniWebview) ScaleFormTo96

func (m *TMiniWebview) ScaleFormTo96(ASize int32) int32

func (*TMiniWebview) ScaleFormToDesign

func (m *TMiniWebview) ScaleFormToDesign(ASize int32) int32

func (*TMiniWebview) ScaleScreenTo96

func (m *TMiniWebview) ScaleScreenTo96(ASize int32) int32

func (*TMiniWebview) ScaleScreenToFont

func (m *TMiniWebview) ScaleScreenToFont(ASize int32) int32

func (*TMiniWebview) ScreenToClient

func (m *TMiniWebview) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TMiniWebview) ScrollBy

func (m *TMiniWebview) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TMiniWebview) SendToBack

func (m *TMiniWebview) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TMiniWebview) SetAction

func (m *TMiniWebview) SetAction(value IComponent)

func (*TMiniWebview) SetAlign

func (m *TMiniWebview) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TMiniWebview) SetAnchorSideBottom

func (m *TMiniWebview) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TMiniWebview) SetAnchorSideLeft

func (m *TMiniWebview) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TMiniWebview) SetAnchorSideRight

func (m *TMiniWebview) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TMiniWebview) SetAnchorSideTop

func (m *TMiniWebview) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TMiniWebview) SetAnchors

func (m *TMiniWebview) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TMiniWebview) SetBiDiMode

func (m *TMiniWebview) SetBiDiMode(value TBiDiMode)

func (*TMiniWebview) SetBorderSpacing

func (m *TMiniWebview) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TMiniWebview) SetBounds

func (m *TMiniWebview) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TMiniWebview) SetBoundsRect

func (m *TMiniWebview) SetBoundsRect(value TRect)

func (*TMiniWebview) SetChildSizing

func (m *TMiniWebview) SetChildSizing(value *TControlChildSizing)

func (*TMiniWebview) SetClientHeight

func (m *TMiniWebview) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TMiniWebview) SetClientWidth

func (m *TMiniWebview) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TMiniWebview) SetComponentIndex

func (m *TMiniWebview) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TMiniWebview) SetConstraints

func (m *TMiniWebview) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TMiniWebview) SetControlState

func (m *TMiniWebview) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TMiniWebview) SetControlStyle

func (m *TMiniWebview) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TMiniWebview) SetCursor

func (m *TMiniWebview) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TMiniWebview) SetDockSite

func (m *TMiniWebview) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TMiniWebview) SetDoubleBuffered

func (m *TMiniWebview) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TMiniWebview) SetEnabled

func (m *TMiniWebview) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TMiniWebview) SetFocus

func (m *TMiniWebview) SetFocus()

设置控件焦点。

Set control focus.

func (*TMiniWebview) SetHeight

func (m *TMiniWebview) SetHeight(value int32)

设置高度。

Set height.

func (*TMiniWebview) SetHint

func (m *TMiniWebview) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TMiniWebview) SetLeft

func (m *TMiniWebview) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TMiniWebview) SetName

func (m *TMiniWebview) SetName(value string)

设置组件名称。

Set the component name.

func (*TMiniWebview) SetOnJSExternal

func (m *TMiniWebview) SetOnJSExternal(fn TWebJSExternalEvent)

func (*TMiniWebview) SetOnTitleChange

func (m *TMiniWebview) SetOnTitleChange(fn TWebTitleChangeEvent)

func (*TMiniWebview) SetParent

func (m *TMiniWebview) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TMiniWebview) SetParentDoubleBuffered

func (m *TMiniWebview) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TMiniWebview) SetParentWindow

func (m *TMiniWebview) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TMiniWebview) SetShowHint

func (m *TMiniWebview) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TMiniWebview) SetTabOrder

func (m *TMiniWebview) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TMiniWebview) SetTabStop

func (m *TMiniWebview) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TMiniWebview) SetTag

func (m *TMiniWebview) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TMiniWebview) SetTextBuf

func (m *TMiniWebview) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TMiniWebview) SetTop

func (m *TMiniWebview) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TMiniWebview) SetUseDockManager

func (m *TMiniWebview) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TMiniWebview) SetVisible

func (m *TMiniWebview) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TMiniWebview) SetWidth

func (m *TMiniWebview) SetWidth(value int32)

设置宽度。

Set width.

func (*TMiniWebview) Show

func (m *TMiniWebview) Show()

显示控件。

Show control.

func (*TMiniWebview) ShowHint

func (m *TMiniWebview) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TMiniWebview) Showing

func (m *TMiniWebview) Showing() bool

func (*TMiniWebview) Stop

func (m *TMiniWebview) Stop()

func (*TMiniWebview) TabOrder

func (m *TMiniWebview) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TMiniWebview) TabStop

func (m *TMiniWebview) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TMiniWebview) Tag

func (m *TMiniWebview) Tag() int

获取对象标记。

Get the control tag.

func (*TMiniWebview) ToString

func (m *TMiniWebview) ToString() string

文本类信息。

Text information.

func (*TMiniWebview) Top

func (m *TMiniWebview) Top() int32

获取顶边位置。

Get Top position.

func (*TMiniWebview) UnsafeAddr

func (m *TMiniWebview) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TMiniWebview) Update

func (m *TMiniWebview) Update()

控件更新。

Update.

func (*TMiniWebview) UseDockManager

func (m *TMiniWebview) UseDockManager() bool

获取使用停靠管理。

func (*TMiniWebview) Visible

func (m *TMiniWebview) Visible() bool

获取控件可视。

Get the control visible.

func (*TMiniWebview) VisibleDockClientCount

func (m *TMiniWebview) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TMiniWebview) Width

func (m *TMiniWebview) Width() int32

获取宽度。

Get width.

type TMonitor

type TMonitor struct {
	IObject
	// contains filtered or unexported fields
}

func AsMonitor

func AsMonitor(obj interface{}) *TMonitor

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func MonitorFromInst

func MonitorFromInst(inst uintptr) *TMonitor

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsMonitor.

func MonitorFromObj

func MonitorFromObj(obj IObject) *TMonitor

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsMonitor.

func MonitorFromUnsafePointer

func MonitorFromUnsafePointer(ptr unsafe.Pointer) *TMonitor

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMonitor.

func NewMonitor

func NewMonitor() *TMonitor

创建一个新的对象。

Create a new object.

func (*TMonitor) BoundsRect

func (m *TMonitor) BoundsRect() TRect

func (*TMonitor) ClassName

func (m *TMonitor) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TMonitor) ClassType

func (m *TMonitor) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TMonitor) Equals

func (m *TMonitor) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TMonitor) Free

func (m *TMonitor) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TMonitor) GetHashCode

func (m *TMonitor) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TMonitor) Handle

func (m *TMonitor) Handle() HMONITOR

获取控件句柄。

Get Control handle.

func (*TMonitor) Height

func (m *TMonitor) Height() int32

获取高度。

Get height.

func (*TMonitor) InheritsFrom

func (m *TMonitor) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMonitor) Instance

func (m *TMonitor) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TMonitor) InstanceSize

func (m *TMonitor) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TMonitor) Is

func (m *TMonitor) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMonitor) IsValid

func (m *TMonitor) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TMonitor) Left

func (m *TMonitor) Left() int32

获取左边位置。

Get Left position.

func (*TMonitor) MonitorNum

func (m *TMonitor) MonitorNum() int32

func (*TMonitor) PixelsPerInch

func (m *TMonitor) PixelsPerInch() int32

func (*TMonitor) Primary

func (m *TMonitor) Primary() bool

func (*TMonitor) ToString

func (m *TMonitor) ToString() string

文本类信息。

Text information.

func (*TMonitor) Top

func (m *TMonitor) Top() int32

获取顶边位置。

Get Top position.

func (*TMonitor) UnsafeAddr

func (m *TMonitor) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TMonitor) Width

func (m *TMonitor) Width() int32

获取宽度。

Get width.

func (*TMonitor) WorkareaRect

func (m *TMonitor) WorkareaRect() TRect

type TMonthCalendar

type TMonthCalendar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsMonthCalendar

func AsMonthCalendar(obj interface{}) *TMonthCalendar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func MonthCalendarFromInst

func MonthCalendarFromInst(inst uintptr) *TMonthCalendar

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsMonthCalendar.

func MonthCalendarFromObj

func MonthCalendarFromObj(obj IObject) *TMonthCalendar

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsMonthCalendar.

func MonthCalendarFromUnsafePointer

func MonthCalendarFromUnsafePointer(ptr unsafe.Pointer) *TMonthCalendar

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMonthCalendar.

func NewMonthCalendar

func NewMonthCalendar(owner IComponent) *TMonthCalendar

创建一个新的对象。

Create a new object.

func (*TMonthCalendar) Action

func (m *TMonthCalendar) Action() *TAction

func (*TMonthCalendar) Align

func (m *TMonthCalendar) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TMonthCalendar) AnchorAsAlign

func (m *TMonthCalendar) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TMonthCalendar) AnchorClient

func (m *TMonthCalendar) AnchorClient(ASpace int32)

func (*TMonthCalendar) AnchorHorizontalCenterTo

func (m *TMonthCalendar) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TMonthCalendar) AnchorParallel

func (m *TMonthCalendar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMonthCalendar) AnchorSame

func (m *TMonthCalendar) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TMonthCalendar) AnchorSide

func (m *TMonthCalendar) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TMonthCalendar) AnchorSideBottom

func (m *TMonthCalendar) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TMonthCalendar) AnchorSideLeft

func (m *TMonthCalendar) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TMonthCalendar) AnchorSideRight

func (m *TMonthCalendar) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TMonthCalendar) AnchorSideTop

func (m *TMonthCalendar) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TMonthCalendar) AnchorToNeighbour

func (m *TMonthCalendar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMonthCalendar) AnchorVerticalCenterTo

func (m *TMonthCalendar) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TMonthCalendar) Anchors

func (m *TMonthCalendar) Anchors() TAnchors

获取四个角位置的锚点。

func (*TMonthCalendar) Assign

func (m *TMonthCalendar) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TMonthCalendar) AutoAdjustLayout

func (m *TMonthCalendar) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TMonthCalendar) AutoSize

func (m *TMonthCalendar) AutoSize() bool

获取自动调整大小。

func (*TMonthCalendar) BiDiMode

func (m *TMonthCalendar) BiDiMode() TBiDiMode

func (*TMonthCalendar) BorderSpacing

func (m *TMonthCalendar) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TMonthCalendar) BorderWidth

func (m *TMonthCalendar) BorderWidth() int32

获取边框的宽度。

func (*TMonthCalendar) BoundsRect

func (m *TMonthCalendar) BoundsRect() TRect

func (*TMonthCalendar) BringToFront

func (m *TMonthCalendar) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TMonthCalendar) Brush

func (m *TMonthCalendar) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TMonthCalendar) CanFocus

func (m *TMonthCalendar) CanFocus() bool

是否可以获得焦点。

func (*TMonthCalendar) ChildSizing

func (m *TMonthCalendar) ChildSizing() *TControlChildSizing

func (*TMonthCalendar) ClassName

func (m *TMonthCalendar) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TMonthCalendar) ClassType

func (m *TMonthCalendar) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TMonthCalendar) ClientHeight

func (m *TMonthCalendar) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TMonthCalendar) ClientOrigin

func (m *TMonthCalendar) ClientOrigin() TPoint

func (*TMonthCalendar) ClientRect

func (m *TMonthCalendar) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TMonthCalendar) ClientToParent

func (m *TMonthCalendar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TMonthCalendar) ClientToScreen

func (m *TMonthCalendar) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TMonthCalendar) ClientWidth

func (m *TMonthCalendar) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TMonthCalendar) ComponentCount

func (m *TMonthCalendar) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TMonthCalendar) ComponentIndex

func (m *TMonthCalendar) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TMonthCalendar) Components

func (m *TMonthCalendar) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TMonthCalendar) Constraints

func (m *TMonthCalendar) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TMonthCalendar) ContainsControl

func (m *TMonthCalendar) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TMonthCalendar) ControlAtPos

func (m *TMonthCalendar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TMonthCalendar) ControlCount

func (m *TMonthCalendar) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TMonthCalendar) ControlState

func (m *TMonthCalendar) ControlState() TControlState

获取控件状态。

Get control state.

func (*TMonthCalendar) ControlStyle

func (m *TMonthCalendar) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TMonthCalendar) Controls

func (m *TMonthCalendar) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TMonthCalendar) Cursor

func (m *TMonthCalendar) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TMonthCalendar) Date

func (m *TMonthCalendar) Date() time.Time

func (*TMonthCalendar) DateTime

func (m *TMonthCalendar) DateTime() time.Time

func (*TMonthCalendar) DisableAlign

func (m *TMonthCalendar) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TMonthCalendar) DockClientCount

func (m *TMonthCalendar) DockClientCount() int32

获取依靠客户端总数。

func (*TMonthCalendar) DockClients

func (m *TMonthCalendar) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TMonthCalendar) DockSite

func (m *TMonthCalendar) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TMonthCalendar) DoubleBuffered

func (m *TMonthCalendar) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TMonthCalendar) DragCursor

func (m *TMonthCalendar) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TMonthCalendar) DragKind

func (m *TMonthCalendar) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TMonthCalendar) DragMode

func (m *TMonthCalendar) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TMonthCalendar) Dragging

func (m *TMonthCalendar) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TMonthCalendar) EnableAlign

func (m *TMonthCalendar) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TMonthCalendar) Enabled

func (m *TMonthCalendar) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TMonthCalendar) Equals

func (m *TMonthCalendar) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TMonthCalendar) FindChildControl

func (m *TMonthCalendar) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TMonthCalendar) FindComponent

func (m *TMonthCalendar) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TMonthCalendar) FixDesignFontsPPI

func (m *TMonthCalendar) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TMonthCalendar) FlipChildren

func (m *TMonthCalendar) FlipChildren(AllLevels bool)

func (*TMonthCalendar) Floating

func (m *TMonthCalendar) Floating() bool

func (*TMonthCalendar) Focused

func (m *TMonthCalendar) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TMonthCalendar) Font

func (m *TMonthCalendar) Font() *TFont

获取字体。

Get Font.

func (*TMonthCalendar) Free

func (m *TMonthCalendar) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TMonthCalendar) GetHashCode

func (m *TMonthCalendar) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TMonthCalendar) GetNamePath

func (m *TMonthCalendar) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TMonthCalendar) GetTextBuf

func (m *TMonthCalendar) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TMonthCalendar) GetTextLen

func (m *TMonthCalendar) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TMonthCalendar) Handle

func (m *TMonthCalendar) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TMonthCalendar) HandleAllocated

func (m *TMonthCalendar) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TMonthCalendar) HasParent

func (m *TMonthCalendar) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TMonthCalendar) Height

func (m *TMonthCalendar) Height() int32

获取高度。

Get height.

func (*TMonthCalendar) Hide

func (m *TMonthCalendar) Hide()

隐藏控件。

Hidden control.

func (*TMonthCalendar) Hint

func (m *TMonthCalendar) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TMonthCalendar) InheritsFrom

func (m *TMonthCalendar) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMonthCalendar) InsertControl

func (m *TMonthCalendar) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TMonthCalendar) Instance

func (m *TMonthCalendar) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TMonthCalendar) InstanceSize

func (m *TMonthCalendar) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TMonthCalendar) Invalidate

func (m *TMonthCalendar) Invalidate()

要求重绘。

Redraw.

func (*TMonthCalendar) Is

func (m *TMonthCalendar) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMonthCalendar) IsValid

func (m *TMonthCalendar) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TMonthCalendar) Left

func (m *TMonthCalendar) Left() int32

获取左边位置。

Get Left position.

func (*TMonthCalendar) MouseInClient

func (m *TMonthCalendar) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TMonthCalendar) Name

func (m *TMonthCalendar) Name() string

获取组件名称。

Get the component name.

func (*TMonthCalendar) Owner

func (m *TMonthCalendar) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TMonthCalendar) PaintTo

func (m *TMonthCalendar) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TMonthCalendar) Parent

func (m *TMonthCalendar) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TMonthCalendar) ParentDoubleBuffered

func (m *TMonthCalendar) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TMonthCalendar) ParentToClient

func (m *TMonthCalendar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TMonthCalendar) ParentWindow

func (m *TMonthCalendar) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TMonthCalendar) Perform

func (m *TMonthCalendar) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TMonthCalendar) PopupMenu

func (m *TMonthCalendar) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TMonthCalendar) Realign

func (m *TMonthCalendar) Realign()

重新对齐。

Realign.

func (*TMonthCalendar) Refresh

func (m *TMonthCalendar) Refresh()

刷新控件。

Refresh control.

func (*TMonthCalendar) RemoveControl

func (m *TMonthCalendar) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TMonthCalendar) Repaint

func (m *TMonthCalendar) Repaint()

重绘。

Repaint.

func (*TMonthCalendar) Scale96ToFont

func (m *TMonthCalendar) Scale96ToFont(ASize int32) int32

func (*TMonthCalendar) Scale96ToForm

func (m *TMonthCalendar) Scale96ToForm(ASize int32) int32

func (*TMonthCalendar) Scale96ToScreen

func (m *TMonthCalendar) Scale96ToScreen(ASize int32) int32

func (*TMonthCalendar) ScaleBy

func (m *TMonthCalendar) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TMonthCalendar) ScaleDesignToForm

func (m *TMonthCalendar) ScaleDesignToForm(ASize int32) int32

func (*TMonthCalendar) ScaleFontTo96

func (m *TMonthCalendar) ScaleFontTo96(ASize int32) int32

func (*TMonthCalendar) ScaleFontToScreen

func (m *TMonthCalendar) ScaleFontToScreen(ASize int32) int32

func (*TMonthCalendar) ScaleFontsPPI

func (m *TMonthCalendar) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TMonthCalendar) ScaleFormTo96

func (m *TMonthCalendar) ScaleFormTo96(ASize int32) int32

func (*TMonthCalendar) ScaleFormToDesign

func (m *TMonthCalendar) ScaleFormToDesign(ASize int32) int32

func (*TMonthCalendar) ScaleScreenTo96

func (m *TMonthCalendar) ScaleScreenTo96(ASize int32) int32

func (*TMonthCalendar) ScaleScreenToFont

func (m *TMonthCalendar) ScaleScreenToFont(ASize int32) int32

func (*TMonthCalendar) ScreenToClient

func (m *TMonthCalendar) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TMonthCalendar) ScrollBy

func (m *TMonthCalendar) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TMonthCalendar) SendToBack

func (m *TMonthCalendar) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TMonthCalendar) SetAction

func (m *TMonthCalendar) SetAction(value IComponent)

func (*TMonthCalendar) SetAlign

func (m *TMonthCalendar) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TMonthCalendar) SetAnchorSideBottom

func (m *TMonthCalendar) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TMonthCalendar) SetAnchorSideLeft

func (m *TMonthCalendar) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TMonthCalendar) SetAnchorSideRight

func (m *TMonthCalendar) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TMonthCalendar) SetAnchorSideTop

func (m *TMonthCalendar) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TMonthCalendar) SetAnchors

func (m *TMonthCalendar) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TMonthCalendar) SetAutoSize

func (m *TMonthCalendar) SetAutoSize(value bool)

设置自动调整大小。

func (*TMonthCalendar) SetBiDiMode

func (m *TMonthCalendar) SetBiDiMode(value TBiDiMode)

func (*TMonthCalendar) SetBorderSpacing

func (m *TMonthCalendar) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TMonthCalendar) SetBorderWidth

func (m *TMonthCalendar) SetBorderWidth(value int32)

设置边框的宽度。

func (*TMonthCalendar) SetBounds

func (m *TMonthCalendar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TMonthCalendar) SetBoundsRect

func (m *TMonthCalendar) SetBoundsRect(value TRect)

func (*TMonthCalendar) SetChildSizing

func (m *TMonthCalendar) SetChildSizing(value *TControlChildSizing)

func (*TMonthCalendar) SetClientHeight

func (m *TMonthCalendar) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TMonthCalendar) SetClientWidth

func (m *TMonthCalendar) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TMonthCalendar) SetComponentIndex

func (m *TMonthCalendar) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TMonthCalendar) SetConstraints

func (m *TMonthCalendar) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TMonthCalendar) SetControlState

func (m *TMonthCalendar) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TMonthCalendar) SetControlStyle

func (m *TMonthCalendar) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TMonthCalendar) SetCursor

func (m *TMonthCalendar) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TMonthCalendar) SetDate

func (m *TMonthCalendar) SetDate(value time.Time)

func (*TMonthCalendar) SetDateTime

func (m *TMonthCalendar) SetDateTime(value time.Time)

func (*TMonthCalendar) SetDockSite

func (m *TMonthCalendar) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TMonthCalendar) SetDoubleBuffered

func (m *TMonthCalendar) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TMonthCalendar) SetDragCursor

func (m *TMonthCalendar) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TMonthCalendar) SetDragKind

func (m *TMonthCalendar) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TMonthCalendar) SetDragMode

func (m *TMonthCalendar) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TMonthCalendar) SetEnabled

func (m *TMonthCalendar) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TMonthCalendar) SetFocus

func (m *TMonthCalendar) SetFocus()

设置控件焦点。

Set control focus.

func (*TMonthCalendar) SetFont

func (m *TMonthCalendar) SetFont(value *TFont)

设置字体。

Set Font.

func (*TMonthCalendar) SetHeight

func (m *TMonthCalendar) SetHeight(value int32)

设置高度。

Set height.

func (*TMonthCalendar) SetHint

func (m *TMonthCalendar) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TMonthCalendar) SetLeft

func (m *TMonthCalendar) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TMonthCalendar) SetName

func (m *TMonthCalendar) SetName(value string)

设置组件名称。

Set the component name.

func (*TMonthCalendar) SetOnClick

func (m *TMonthCalendar) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TMonthCalendar) SetOnContextPopup

func (m *TMonthCalendar) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TMonthCalendar) SetOnDblClick

func (m *TMonthCalendar) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TMonthCalendar) SetOnDragDrop

func (m *TMonthCalendar) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TMonthCalendar) SetOnDragOver

func (m *TMonthCalendar) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TMonthCalendar) SetOnEndDock

func (m *TMonthCalendar) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TMonthCalendar) SetOnEndDrag

func (m *TMonthCalendar) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TMonthCalendar) SetOnEnter

func (m *TMonthCalendar) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TMonthCalendar) SetOnExit

func (m *TMonthCalendar) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TMonthCalendar) SetOnKeyDown

func (m *TMonthCalendar) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TMonthCalendar) SetOnKeyPress

func (m *TMonthCalendar) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TMonthCalendar) SetOnKeyUp

func (m *TMonthCalendar) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TMonthCalendar) SetOnMouseEnter

func (m *TMonthCalendar) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TMonthCalendar) SetOnMouseLeave

func (m *TMonthCalendar) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TMonthCalendar) SetOnStartDock

func (m *TMonthCalendar) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TMonthCalendar) SetParent

func (m *TMonthCalendar) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TMonthCalendar) SetParentDoubleBuffered

func (m *TMonthCalendar) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TMonthCalendar) SetParentWindow

func (m *TMonthCalendar) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TMonthCalendar) SetPopupMenu

func (m *TMonthCalendar) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TMonthCalendar) SetShowHint

func (m *TMonthCalendar) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TMonthCalendar) SetTabOrder

func (m *TMonthCalendar) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TMonthCalendar) SetTabStop

func (m *TMonthCalendar) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TMonthCalendar) SetTag

func (m *TMonthCalendar) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TMonthCalendar) SetTextBuf

func (m *TMonthCalendar) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TMonthCalendar) SetTop

func (m *TMonthCalendar) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TMonthCalendar) SetUseDockManager

func (m *TMonthCalendar) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TMonthCalendar) SetVisible

func (m *TMonthCalendar) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TMonthCalendar) SetWidth

func (m *TMonthCalendar) SetWidth(value int32)

设置宽度。

Set width.

func (*TMonthCalendar) Show

func (m *TMonthCalendar) Show()

显示控件。

Show control.

func (*TMonthCalendar) ShowHint

func (m *TMonthCalendar) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TMonthCalendar) Showing

func (m *TMonthCalendar) Showing() bool

func (*TMonthCalendar) TabOrder

func (m *TMonthCalendar) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TMonthCalendar) TabStop

func (m *TMonthCalendar) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TMonthCalendar) Tag

func (m *TMonthCalendar) Tag() int

获取对象标记。

Get the control tag.

func (*TMonthCalendar) ToString

func (m *TMonthCalendar) ToString() string

文本类信息。

Text information.

func (*TMonthCalendar) Top

func (m *TMonthCalendar) Top() int32

获取顶边位置。

Get Top position.

func (*TMonthCalendar) UnsafeAddr

func (m *TMonthCalendar) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TMonthCalendar) Update

func (m *TMonthCalendar) Update()

控件更新。

Update.

func (*TMonthCalendar) UseDockManager

func (m *TMonthCalendar) UseDockManager() bool

获取使用停靠管理。

func (*TMonthCalendar) Visible

func (m *TMonthCalendar) Visible() bool

获取控件可视。

Get the control visible.

func (*TMonthCalendar) VisibleDockClientCount

func (m *TMonthCalendar) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TMonthCalendar) Width

func (m *TMonthCalendar) Width() int32

获取宽度。

Get width.

type TMouse

type TMouse struct {
	IObject
	// contains filtered or unexported fields
}

func AsMouse

func AsMouse(obj interface{}) *TMouse

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func MouseFromInst

func MouseFromInst(inst uintptr) *TMouse

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsMouse.

func MouseFromObj

func MouseFromObj(obj IObject) *TMouse

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsMouse.

func MouseFromUnsafePointer

func MouseFromUnsafePointer(ptr unsafe.Pointer) *TMouse

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMouse.

func NewMouse

func NewMouse() *TMouse

创建一个新的对象。

Create a new object.

func (*TMouse) Capture

func (m *TMouse) Capture() HWND

func (*TMouse) ClassName

func (m *TMouse) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TMouse) ClassType

func (m *TMouse) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TMouse) CursorPos

func (m *TMouse) CursorPos() TPoint

func (*TMouse) Equals

func (m *TMouse) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TMouse) Free

func (m *TMouse) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TMouse) GetHashCode

func (m *TMouse) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TMouse) InheritsFrom

func (m *TMouse) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMouse) Instance

func (m *TMouse) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TMouse) InstanceSize

func (m *TMouse) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TMouse) Is

func (m *TMouse) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMouse) IsDragging

func (m *TMouse) IsDragging() bool

func (*TMouse) IsValid

func (m *TMouse) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TMouse) SetCapture

func (m *TMouse) SetCapture(value HWND)

func (*TMouse) SetCursorPos

func (m *TMouse) SetCursorPos(value TPoint)

func (*TMouse) ToString

func (m *TMouse) ToString() string

文本类信息。

Text information.

func (*TMouse) UnsafeAddr

func (m *TMouse) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TMouse) WheelScrollLines

func (m *TMouse) WheelScrollLines() int32

type TMouseActivateEvent

type TMouseActivateEvent func(sender IObject, button TMouseButton, shift TShiftState, x, y int32, hitTest int32, mouseActivate *TMouseActivate)

TMouseActivateEvent = procedure(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer; HitTest: Integer; var MouseActivate: TMouseActivate) of object;

type TMouseEvent

type TMouseEvent func(sender IObject, button TMouseButton, shift TShiftState, x, y int32)

TMouseEvent = procedure(Sender: TObject; Button: TMouseButton;

Shift: TShiftState; X, Y: Integer) of object;

type TMouseMoveEvent

type TMouseMoveEvent func(sender IObject, shift TShiftState, x, y int32)

TMouseMoveEvent = procedure(Sender: TObject; Shift: TShiftState;

X, Y: Integer) of object;

type TMouseWheelEvent

type TMouseWheelEvent func(sender IObject, shift TShiftState, wheelDelta, x, y int32, handled *bool)

TMouseWheelEvent = procedure(Sender: TObject; Shift: TShiftState;

WheelDelta: Integer; MousePos: TPoint; var Handled: Boolean) of object;

type TMouseWheelUpDownEvent

type TMouseWheelUpDownEvent func(sender IObject, shift TShiftState, mousePos TPoint, handled *bool)

TMouseWheelUpDownEvent = procedure(Sender: TObject; Shift: TShiftState; MousePos: TPoint; var Handled: Boolean) of object;

type TNotifyEvent

type TNotifyEvent func(sender IObject)

TNotifyEvent

type TObject

type TObject struct {
	IObject
	// contains filtered or unexported fields
}

func AsObject

func AsObject(obj interface{}) *TObject

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewObject

func NewObject() *TObject

创建一个新的对象。

Create a new object.

func ObjectFromInst

func ObjectFromInst(inst uintptr) *TObject

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsObject.

func ObjectFromObj

func ObjectFromObj(obj IObject) *TObject

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsObject.

func ObjectFromUnsafePointer

func ObjectFromUnsafePointer(ptr unsafe.Pointer) *TObject

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsObject.

func (*TObject) ClassName

func (o *TObject) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TObject) ClassType

func (o *TObject) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TObject) Equals

func (o *TObject) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TObject) Free

func (o *TObject) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TObject) GetHashCode

func (o *TObject) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TObject) InheritsFrom

func (o *TObject) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TObject) Instance

func (o *TObject) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TObject) InstanceSize

func (o *TObject) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TObject) Is

func (o *TObject) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TObject) IsValid

func (o *TObject) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TObject) ToString

func (o *TObject) ToString() string

文本类信息。

Text information.

func (*TObject) UnsafeAddr

func (o *TObject) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TOnCompareCells

type TOnCompareCells func(sender IObject, ACol, ARow, BCol, BRow int32, result *int32)

TOnCompareCells = procedure (Sender: TObject; ACol, ARow, BCol,BRow: Integer;var Result: integer) of object;

type TOnPrepareCanvasEvent

type TOnPrepareCanvasEvent = func(sender IObject, aCol, aRow int32, aState TGridDrawState)

TOnPrepareCanvasEvent = procedure(sender: TObject; aCol, aRow: Integer; aState: TGridDrawState) of object;

type TOnSelectEvent

type TOnSelectEvent func(sender IObject, aCol, aRow int32)

TOnSelectEvent = procedure(Sender: TObject; aCol, aRow: Integer) of object;

type TOpenDialog

type TOpenDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsOpenDialog

func AsOpenDialog(obj interface{}) *TOpenDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewOpenDialog

func NewOpenDialog(owner IComponent) *TOpenDialog

创建一个新的对象。

Create a new object.

func OpenDialogFromInst

func OpenDialogFromInst(inst uintptr) *TOpenDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsOpenDialog.

func OpenDialogFromObj

func OpenDialogFromObj(obj IObject) *TOpenDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsOpenDialog.

func OpenDialogFromUnsafePointer

func OpenDialogFromUnsafePointer(ptr unsafe.Pointer) *TOpenDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsOpenDialog.

func (*TOpenDialog) Assign

func (o *TOpenDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TOpenDialog) ClassName

func (o *TOpenDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TOpenDialog) ClassType

func (o *TOpenDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TOpenDialog) ComponentCount

func (o *TOpenDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TOpenDialog) ComponentIndex

func (o *TOpenDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TOpenDialog) Components

func (o *TOpenDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TOpenDialog) DefaultExt

func (o *TOpenDialog) DefaultExt() string

func (*TOpenDialog) Equals

func (o *TOpenDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TOpenDialog) Execute

func (o *TOpenDialog) Execute() bool

执行。

func (*TOpenDialog) FileName

func (o *TOpenDialog) FileName() string

func (*TOpenDialog) Files

func (o *TOpenDialog) Files() *TStrings

func (*TOpenDialog) Filter

func (o *TOpenDialog) Filter() string

func (*TOpenDialog) FilterIndex

func (o *TOpenDialog) FilterIndex() int32

func (*TOpenDialog) FindComponent

func (o *TOpenDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TOpenDialog) Free

func (o *TOpenDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TOpenDialog) GetHashCode

func (o *TOpenDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TOpenDialog) GetNamePath

func (o *TOpenDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TOpenDialog) Handle

func (o *TOpenDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TOpenDialog) HasParent

func (o *TOpenDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TOpenDialog) InheritsFrom

func (o *TOpenDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TOpenDialog) InitialDir

func (o *TOpenDialog) InitialDir() string

func (*TOpenDialog) Instance

func (o *TOpenDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TOpenDialog) InstanceSize

func (o *TOpenDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TOpenDialog) Is

func (o *TOpenDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TOpenDialog) IsValid

func (o *TOpenDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TOpenDialog) Name

func (o *TOpenDialog) Name() string

获取组件名称。

Get the component name.

func (*TOpenDialog) Options

func (o *TOpenDialog) Options() TOpenOptions

func (*TOpenDialog) Owner

func (o *TOpenDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TOpenDialog) SetComponentIndex

func (o *TOpenDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TOpenDialog) SetDefaultExt

func (o *TOpenDialog) SetDefaultExt(value string)

func (*TOpenDialog) SetFileName

func (o *TOpenDialog) SetFileName(value string)

func (*TOpenDialog) SetFilter

func (o *TOpenDialog) SetFilter(value string)

func (*TOpenDialog) SetFilterIndex

func (o *TOpenDialog) SetFilterIndex(value int32)

func (*TOpenDialog) SetInitialDir

func (o *TOpenDialog) SetInitialDir(value string)

func (*TOpenDialog) SetName

func (o *TOpenDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TOpenDialog) SetOnClose

func (o *TOpenDialog) SetOnClose(fn TNotifyEvent)

func (*TOpenDialog) SetOnShow

func (o *TOpenDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TOpenDialog) SetOptions

func (o *TOpenDialog) SetOptions(value TOpenOptions)

func (*TOpenDialog) SetTag

func (o *TOpenDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TOpenDialog) SetTitle

func (o *TOpenDialog) SetTitle(value string)

func (*TOpenDialog) Tag

func (o *TOpenDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TOpenDialog) Title

func (o *TOpenDialog) Title() string

func (*TOpenDialog) ToString

func (o *TOpenDialog) ToString() string

文本类信息。

Text information.

func (*TOpenDialog) UnsafeAddr

func (o *TOpenDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TOpenPictureDialog

type TOpenPictureDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsOpenPictureDialog

func AsOpenPictureDialog(obj interface{}) *TOpenPictureDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewOpenPictureDialog

func NewOpenPictureDialog(owner IComponent) *TOpenPictureDialog

创建一个新的对象。

Create a new object.

func OpenPictureDialogFromInst

func OpenPictureDialogFromInst(inst uintptr) *TOpenPictureDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsOpenPictureDialog.

func OpenPictureDialogFromObj

func OpenPictureDialogFromObj(obj IObject) *TOpenPictureDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsOpenPictureDialog.

func OpenPictureDialogFromUnsafePointer

func OpenPictureDialogFromUnsafePointer(ptr unsafe.Pointer) *TOpenPictureDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsOpenPictureDialog.

func (*TOpenPictureDialog) Assign

func (o *TOpenPictureDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TOpenPictureDialog) ClassName

func (o *TOpenPictureDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TOpenPictureDialog) ClassType

func (o *TOpenPictureDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TOpenPictureDialog) ComponentCount

func (o *TOpenPictureDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TOpenPictureDialog) ComponentIndex

func (o *TOpenPictureDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TOpenPictureDialog) Components

func (o *TOpenPictureDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TOpenPictureDialog) DefaultExt

func (o *TOpenPictureDialog) DefaultExt() string

func (*TOpenPictureDialog) Equals

func (o *TOpenPictureDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TOpenPictureDialog) Execute

func (o *TOpenPictureDialog) Execute() bool

执行。

func (*TOpenPictureDialog) FileName

func (o *TOpenPictureDialog) FileName() string

func (*TOpenPictureDialog) Files

func (o *TOpenPictureDialog) Files() *TStrings

func (*TOpenPictureDialog) Filter

func (o *TOpenPictureDialog) Filter() string

func (*TOpenPictureDialog) FilterIndex

func (o *TOpenPictureDialog) FilterIndex() int32

func (*TOpenPictureDialog) FindComponent

func (o *TOpenPictureDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TOpenPictureDialog) Free

func (o *TOpenPictureDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TOpenPictureDialog) GetHashCode

func (o *TOpenPictureDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TOpenPictureDialog) GetNamePath

func (o *TOpenPictureDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TOpenPictureDialog) Handle

func (o *TOpenPictureDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TOpenPictureDialog) HasParent

func (o *TOpenPictureDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TOpenPictureDialog) InheritsFrom

func (o *TOpenPictureDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TOpenPictureDialog) InitialDir

func (o *TOpenPictureDialog) InitialDir() string

func (*TOpenPictureDialog) Instance

func (o *TOpenPictureDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TOpenPictureDialog) InstanceSize

func (o *TOpenPictureDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TOpenPictureDialog) Is

func (o *TOpenPictureDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TOpenPictureDialog) IsValid

func (o *TOpenPictureDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TOpenPictureDialog) Name

func (o *TOpenPictureDialog) Name() string

获取组件名称。

Get the component name.

func (*TOpenPictureDialog) Options

func (o *TOpenPictureDialog) Options() TOpenOptions

func (*TOpenPictureDialog) Owner

func (o *TOpenPictureDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TOpenPictureDialog) SetComponentIndex

func (o *TOpenPictureDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TOpenPictureDialog) SetDefaultExt

func (o *TOpenPictureDialog) SetDefaultExt(value string)

func (*TOpenPictureDialog) SetFileName

func (o *TOpenPictureDialog) SetFileName(value string)

func (*TOpenPictureDialog) SetFilter

func (o *TOpenPictureDialog) SetFilter(value string)

func (*TOpenPictureDialog) SetFilterIndex

func (o *TOpenPictureDialog) SetFilterIndex(value int32)

func (*TOpenPictureDialog) SetInitialDir

func (o *TOpenPictureDialog) SetInitialDir(value string)

func (*TOpenPictureDialog) SetName

func (o *TOpenPictureDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TOpenPictureDialog) SetOnClose

func (o *TOpenPictureDialog) SetOnClose(fn TNotifyEvent)

func (*TOpenPictureDialog) SetOnShow

func (o *TOpenPictureDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TOpenPictureDialog) SetOptions

func (o *TOpenPictureDialog) SetOptions(value TOpenOptions)

func (*TOpenPictureDialog) SetTag

func (o *TOpenPictureDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TOpenPictureDialog) SetTitle

func (o *TOpenPictureDialog) SetTitle(value string)

func (*TOpenPictureDialog) Tag

func (o *TOpenPictureDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TOpenPictureDialog) Title

func (o *TOpenPictureDialog) Title() string

func (*TOpenPictureDialog) ToString

func (o *TOpenPictureDialog) ToString() string

文本类信息。

Text information.

func (*TOpenPictureDialog) UnsafeAddr

func (o *TOpenPictureDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TPageControl

type TPageControl struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsPageControl

func AsPageControl(obj interface{}) *TPageControl

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPageControl

func NewPageControl(owner IComponent) *TPageControl

创建一个新的对象。

Create a new object.

func PageControlFromInst

func PageControlFromInst(inst uintptr) *TPageControl

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsPageControl.

func PageControlFromObj

func PageControlFromObj(obj IObject) *TPageControl

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsPageControl.

func PageControlFromUnsafePointer

func PageControlFromUnsafePointer(ptr unsafe.Pointer) *TPageControl

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPageControl.

func (*TPageControl) Action

func (p *TPageControl) Action() *TAction

func (*TPageControl) ActivePage

func (p *TPageControl) ActivePage() *TTabSheet

func (*TPageControl) ActivePageIndex

func (p *TPageControl) ActivePageIndex() int32

func (*TPageControl) Align

func (p *TPageControl) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TPageControl) AnchorAsAlign

func (p *TPageControl) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TPageControl) AnchorClient

func (p *TPageControl) AnchorClient(ASpace int32)

func (*TPageControl) AnchorHorizontalCenterTo

func (p *TPageControl) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TPageControl) AnchorParallel

func (p *TPageControl) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPageControl) AnchorSame

func (p *TPageControl) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TPageControl) AnchorSide

func (p *TPageControl) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TPageControl) AnchorSideBottom

func (p *TPageControl) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TPageControl) AnchorSideLeft

func (p *TPageControl) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TPageControl) AnchorSideRight

func (p *TPageControl) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TPageControl) AnchorSideTop

func (p *TPageControl) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TPageControl) AnchorToNeighbour

func (p *TPageControl) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPageControl) AnchorVerticalCenterTo

func (p *TPageControl) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TPageControl) Anchors

func (p *TPageControl) Anchors() TAnchors

获取四个角位置的锚点。

func (*TPageControl) Assign

func (p *TPageControl) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPageControl) AutoAdjustLayout

func (p *TPageControl) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TPageControl) BiDiMode

func (p *TPageControl) BiDiMode() TBiDiMode

func (*TPageControl) BorderSpacing

func (p *TPageControl) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TPageControl) BoundsRect

func (p *TPageControl) BoundsRect() TRect

func (*TPageControl) BringToFront

func (p *TPageControl) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TPageControl) Brush

func (p *TPageControl) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TPageControl) CanFocus

func (p *TPageControl) CanFocus() bool

是否可以获得焦点。

func (*TPageControl) ChildSizing

func (p *TPageControl) ChildSizing() *TControlChildSizing

func (*TPageControl) ClassName

func (p *TPageControl) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TPageControl) ClassType

func (p *TPageControl) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TPageControl) ClientHeight

func (p *TPageControl) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TPageControl) ClientOrigin

func (p *TPageControl) ClientOrigin() TPoint

func (*TPageControl) ClientRect

func (p *TPageControl) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TPageControl) ClientToParent

func (p *TPageControl) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TPageControl) ClientToScreen

func (p *TPageControl) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TPageControl) ClientWidth

func (p *TPageControl) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TPageControl) ComponentCount

func (p *TPageControl) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TPageControl) ComponentIndex

func (p *TPageControl) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TPageControl) Components

func (p *TPageControl) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TPageControl) Constraints

func (p *TPageControl) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TPageControl) ContainsControl

func (p *TPageControl) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TPageControl) ControlAtPos

func (p *TPageControl) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TPageControl) ControlCount

func (p *TPageControl) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TPageControl) ControlState

func (p *TPageControl) ControlState() TControlState

获取控件状态。

Get control state.

func (*TPageControl) ControlStyle

func (p *TPageControl) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TPageControl) Controls

func (p *TPageControl) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TPageControl) Cursor

func (p *TPageControl) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TPageControl) DisableAlign

func (p *TPageControl) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TPageControl) DockClientCount

func (p *TPageControl) DockClientCount() int32

获取依靠客户端总数。

func (*TPageControl) DockClients

func (p *TPageControl) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TPageControl) DockSite

func (p *TPageControl) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TPageControl) DoubleBuffered

func (p *TPageControl) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TPageControl) DragCursor

func (p *TPageControl) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TPageControl) DragKind

func (p *TPageControl) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TPageControl) DragMode

func (p *TPageControl) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TPageControl) Dragging

func (p *TPageControl) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TPageControl) EnableAlign

func (p *TPageControl) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TPageControl) Enabled

func (p *TPageControl) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TPageControl) Equals

func (p *TPageControl) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TPageControl) FindChildControl

func (p *TPageControl) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TPageControl) FindComponent

func (p *TPageControl) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPageControl) FixDesignFontsPPI

func (p *TPageControl) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TPageControl) FlipChildren

func (p *TPageControl) FlipChildren(AllLevels bool)

func (*TPageControl) Floating

func (p *TPageControl) Floating() bool

func (*TPageControl) Focused

func (p *TPageControl) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TPageControl) Font

func (p *TPageControl) Font() *TFont

获取字体。

Get Font.

func (*TPageControl) Free

func (p *TPageControl) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TPageControl) GetHashCode

func (p *TPageControl) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TPageControl) GetNamePath

func (p *TPageControl) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TPageControl) GetTextBuf

func (p *TPageControl) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TPageControl) GetTextLen

func (p *TPageControl) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TPageControl) Handle

func (p *TPageControl) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TPageControl) HandleAllocated

func (p *TPageControl) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TPageControl) HasParent

func (p *TPageControl) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TPageControl) Height

func (p *TPageControl) Height() int32

获取高度。

Get height.

func (*TPageControl) Hide

func (p *TPageControl) Hide()

隐藏控件。

Hidden control.

func (*TPageControl) Hint

func (p *TPageControl) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TPageControl) Images

func (p *TPageControl) Images() *TImageList

获取图标索引列表对象。

func (*TPageControl) InheritsFrom

func (p *TPageControl) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPageControl) InsertControl

func (p *TPageControl) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TPageControl) Instance

func (p *TPageControl) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TPageControl) InstanceSize

func (p *TPageControl) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TPageControl) Invalidate

func (p *TPageControl) Invalidate()

要求重绘。

Redraw.

func (*TPageControl) Is

func (p *TPageControl) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPageControl) IsValid

func (p *TPageControl) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TPageControl) Left

func (p *TPageControl) Left() int32

获取左边位置。

Get Left position.

func (*TPageControl) MouseInClient

func (p *TPageControl) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TPageControl) MultiLine

func (p *TPageControl) MultiLine() bool

func (*TPageControl) Name

func (p *TPageControl) Name() string

获取组件名称。

Get the component name.

func (*TPageControl) Options

func (p *TPageControl) Options() TCTabControlOptions

func (*TPageControl) Owner

func (p *TPageControl) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TPageControl) PageCount

func (p *TPageControl) PageCount() int32

func (*TPageControl) Pages

func (p *TPageControl) Pages(Index int32) *TTabSheet

func (*TPageControl) PaintTo

func (p *TPageControl) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TPageControl) Parent

func (p *TPageControl) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TPageControl) ParentDoubleBuffered

func (p *TPageControl) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TPageControl) ParentFont

func (p *TPageControl) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TPageControl) ParentShowHint

func (p *TPageControl) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TPageControl) ParentToClient

func (p *TPageControl) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TPageControl) ParentWindow

func (p *TPageControl) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TPageControl) Perform

func (p *TPageControl) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TPageControl) PopupMenu

func (p *TPageControl) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TPageControl) Realign

func (p *TPageControl) Realign()

重新对齐。

Realign.

func (*TPageControl) Refresh

func (p *TPageControl) Refresh()

刷新控件。

Refresh control.

func (*TPageControl) RemoveControl

func (p *TPageControl) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TPageControl) Repaint

func (p *TPageControl) Repaint()

重绘。

Repaint.

func (*TPageControl) Scale96ToFont

func (p *TPageControl) Scale96ToFont(ASize int32) int32

func (*TPageControl) Scale96ToForm

func (p *TPageControl) Scale96ToForm(ASize int32) int32

func (*TPageControl) Scale96ToScreen

func (p *TPageControl) Scale96ToScreen(ASize int32) int32

func (*TPageControl) ScaleBy

func (p *TPageControl) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TPageControl) ScaleDesignToForm

func (p *TPageControl) ScaleDesignToForm(ASize int32) int32

func (*TPageControl) ScaleFontTo96

func (p *TPageControl) ScaleFontTo96(ASize int32) int32

func (*TPageControl) ScaleFontToScreen

func (p *TPageControl) ScaleFontToScreen(ASize int32) int32

func (*TPageControl) ScaleFontsPPI

func (p *TPageControl) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TPageControl) ScaleFormTo96

func (p *TPageControl) ScaleFormTo96(ASize int32) int32

func (*TPageControl) ScaleFormToDesign

func (p *TPageControl) ScaleFormToDesign(ASize int32) int32

func (*TPageControl) ScaleScreenTo96

func (p *TPageControl) ScaleScreenTo96(ASize int32) int32

func (*TPageControl) ScaleScreenToFont

func (p *TPageControl) ScaleScreenToFont(ASize int32) int32

func (*TPageControl) ScreenToClient

func (p *TPageControl) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TPageControl) ScrollBy

func (p *TPageControl) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TPageControl) SelectNextPage

func (p *TPageControl) SelectNextPage(GoForward bool, CheckTabVisible bool)

func (*TPageControl) SendToBack

func (p *TPageControl) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TPageControl) SetAction

func (p *TPageControl) SetAction(value IComponent)

func (*TPageControl) SetActivePage

func (p *TPageControl) SetActivePage(value IWinControl)

func (*TPageControl) SetActivePageIndex

func (p *TPageControl) SetActivePageIndex(value int32)

func (*TPageControl) SetAlign

func (p *TPageControl) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TPageControl) SetAnchorSideBottom

func (p *TPageControl) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TPageControl) SetAnchorSideLeft

func (p *TPageControl) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TPageControl) SetAnchorSideRight

func (p *TPageControl) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TPageControl) SetAnchorSideTop

func (p *TPageControl) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TPageControl) SetAnchors

func (p *TPageControl) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TPageControl) SetBiDiMode

func (p *TPageControl) SetBiDiMode(value TBiDiMode)

func (*TPageControl) SetBorderSpacing

func (p *TPageControl) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TPageControl) SetBounds

func (p *TPageControl) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TPageControl) SetBoundsRect

func (p *TPageControl) SetBoundsRect(value TRect)

func (*TPageControl) SetChildSizing

func (p *TPageControl) SetChildSizing(value *TControlChildSizing)

func (*TPageControl) SetClientHeight

func (p *TPageControl) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TPageControl) SetClientWidth

func (p *TPageControl) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TPageControl) SetComponentIndex

func (p *TPageControl) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TPageControl) SetConstraints

func (p *TPageControl) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TPageControl) SetControlState

func (p *TPageControl) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TPageControl) SetControlStyle

func (p *TPageControl) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TPageControl) SetCursor

func (p *TPageControl) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TPageControl) SetDockSite

func (p *TPageControl) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TPageControl) SetDoubleBuffered

func (p *TPageControl) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TPageControl) SetDragCursor

func (p *TPageControl) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TPageControl) SetDragKind

func (p *TPageControl) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TPageControl) SetDragMode

func (p *TPageControl) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TPageControl) SetEnabled

func (p *TPageControl) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TPageControl) SetFocus

func (p *TPageControl) SetFocus()

设置控件焦点。

Set control focus.

func (*TPageControl) SetFont

func (p *TPageControl) SetFont(value *TFont)

设置字体。

Set Font.

func (*TPageControl) SetHeight

func (p *TPageControl) SetHeight(value int32)

设置高度。

Set height.

func (*TPageControl) SetHint

func (p *TPageControl) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TPageControl) SetImages

func (p *TPageControl) SetImages(value IComponent)

设置图标索引列表对象。

func (*TPageControl) SetLeft

func (p *TPageControl) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TPageControl) SetMultiLine

func (p *TPageControl) SetMultiLine(value bool)

func (*TPageControl) SetName

func (p *TPageControl) SetName(value string)

设置组件名称。

Set the component name.

func (*TPageControl) SetOnChange

func (p *TPageControl) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TPageControl) SetOnChanging

func (p *TPageControl) SetOnChanging(fn TTabChangingEvent)

func (*TPageControl) SetOnContextPopup

func (p *TPageControl) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TPageControl) SetOnDockDrop

func (p *TPageControl) SetOnDockDrop(fn TDockDropEvent)

func (*TPageControl) SetOnDragDrop

func (p *TPageControl) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TPageControl) SetOnDragOver

func (p *TPageControl) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TPageControl) SetOnEndDock

func (p *TPageControl) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TPageControl) SetOnEndDrag

func (p *TPageControl) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TPageControl) SetOnEnter

func (p *TPageControl) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TPageControl) SetOnExit

func (p *TPageControl) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TPageControl) SetOnGetSiteInfo

func (p *TPageControl) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TPageControl) SetOnMouseDown

func (p *TPageControl) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TPageControl) SetOnMouseEnter

func (p *TPageControl) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TPageControl) SetOnMouseLeave

func (p *TPageControl) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TPageControl) SetOnMouseMove

func (p *TPageControl) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TPageControl) SetOnMouseUp

func (p *TPageControl) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TPageControl) SetOnResize

func (p *TPageControl) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TPageControl) SetOnStartDock

func (p *TPageControl) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TPageControl) SetOnUnDock

func (p *TPageControl) SetOnUnDock(fn TUnDockEvent)

func (*TPageControl) SetOptions

func (p *TPageControl) SetOptions(value TCTabControlOptions)

func (*TPageControl) SetParent

func (p *TPageControl) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TPageControl) SetParentDoubleBuffered

func (p *TPageControl) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TPageControl) SetParentFont

func (p *TPageControl) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TPageControl) SetParentShowHint

func (p *TPageControl) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TPageControl) SetParentWindow

func (p *TPageControl) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TPageControl) SetPopupMenu

func (p *TPageControl) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TPageControl) SetShowHint

func (p *TPageControl) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TPageControl) SetTabHeight

func (p *TPageControl) SetTabHeight(value int16)

func (*TPageControl) SetTabIndex

func (p *TPageControl) SetTabIndex(value int32)

func (*TPageControl) SetTabOrder

func (p *TPageControl) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TPageControl) SetTabPosition

func (p *TPageControl) SetTabPosition(value TTabPosition)

func (*TPageControl) SetTabStop

func (p *TPageControl) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TPageControl) SetTabWidth

func (p *TPageControl) SetTabWidth(value int16)

func (*TPageControl) SetTag

func (p *TPageControl) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TPageControl) SetTextBuf

func (p *TPageControl) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TPageControl) SetTop

func (p *TPageControl) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TPageControl) SetUseDockManager

func (p *TPageControl) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TPageControl) SetVisible

func (p *TPageControl) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TPageControl) SetWidth

func (p *TPageControl) SetWidth(value int32)

设置宽度。

Set width.

func (*TPageControl) Show

func (p *TPageControl) Show()

显示控件。

Show control.

func (*TPageControl) ShowHint

func (p *TPageControl) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TPageControl) Showing

func (p *TPageControl) Showing() bool

func (*TPageControl) TabHeight

func (p *TPageControl) TabHeight() int16

func (*TPageControl) TabIndex

func (p *TPageControl) TabIndex() int32

func (*TPageControl) TabOrder

func (p *TPageControl) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TPageControl) TabPosition

func (p *TPageControl) TabPosition() TTabPosition

func (*TPageControl) TabRect

func (p *TPageControl) TabRect(Index int32) TRect

func (*TPageControl) TabStop

func (p *TPageControl) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TPageControl) TabWidth

func (p *TPageControl) TabWidth() int16

func (*TPageControl) Tag

func (p *TPageControl) Tag() int

获取对象标记。

Get the control tag.

func (*TPageControl) ToString

func (p *TPageControl) ToString() string

文本类信息。

Text information.

func (*TPageControl) Top

func (p *TPageControl) Top() int32

获取顶边位置。

Get Top position.

func (*TPageControl) UnsafeAddr

func (p *TPageControl) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TPageControl) Update

func (p *TPageControl) Update()

控件更新。

Update.

func (*TPageControl) UseDockManager

func (p *TPageControl) UseDockManager() bool

获取使用停靠管理。

func (*TPageControl) Visible

func (p *TPageControl) Visible() bool

获取控件可视。

Get the control visible.

func (*TPageControl) VisibleDockClientCount

func (p *TPageControl) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TPageControl) Width

func (p *TPageControl) Width() int32

获取宽度。

Get width.

type TPageSetupDialog

type TPageSetupDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsPageSetupDialog

func AsPageSetupDialog(obj interface{}) *TPageSetupDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPageSetupDialog

func NewPageSetupDialog(owner IComponent) *TPageSetupDialog

创建一个新的对象。

Create a new object.

func PageSetupDialogFromInst

func PageSetupDialogFromInst(inst uintptr) *TPageSetupDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsPageSetupDialog.

func PageSetupDialogFromObj

func PageSetupDialogFromObj(obj IObject) *TPageSetupDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsPageSetupDialog.

func PageSetupDialogFromUnsafePointer

func PageSetupDialogFromUnsafePointer(ptr unsafe.Pointer) *TPageSetupDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPageSetupDialog.

func (*TPageSetupDialog) Assign

func (p *TPageSetupDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPageSetupDialog) ClassName

func (p *TPageSetupDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TPageSetupDialog) ClassType

func (p *TPageSetupDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TPageSetupDialog) ComponentCount

func (p *TPageSetupDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TPageSetupDialog) ComponentIndex

func (p *TPageSetupDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TPageSetupDialog) Components

func (p *TPageSetupDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TPageSetupDialog) Equals

func (p *TPageSetupDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TPageSetupDialog) Execute

func (p *TPageSetupDialog) Execute() bool

执行。

func (*TPageSetupDialog) FindComponent

func (p *TPageSetupDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPageSetupDialog) Free

func (p *TPageSetupDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TPageSetupDialog) GetHashCode

func (p *TPageSetupDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TPageSetupDialog) GetNamePath

func (p *TPageSetupDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TPageSetupDialog) Handle

func (p *TPageSetupDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TPageSetupDialog) HasParent

func (p *TPageSetupDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TPageSetupDialog) InheritsFrom

func (p *TPageSetupDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPageSetupDialog) Instance

func (p *TPageSetupDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TPageSetupDialog) InstanceSize

func (p *TPageSetupDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TPageSetupDialog) Is

func (p *TPageSetupDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPageSetupDialog) IsValid

func (p *TPageSetupDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TPageSetupDialog) MarginBottom

func (p *TPageSetupDialog) MarginBottom() int32

func (*TPageSetupDialog) MarginLeft

func (p *TPageSetupDialog) MarginLeft() int32

func (*TPageSetupDialog) MarginRight

func (p *TPageSetupDialog) MarginRight() int32

func (*TPageSetupDialog) MarginTop

func (p *TPageSetupDialog) MarginTop() int32

func (*TPageSetupDialog) Name

func (p *TPageSetupDialog) Name() string

获取组件名称。

Get the component name.

func (*TPageSetupDialog) Options

func (p *TPageSetupDialog) Options() TPageSetupDialogOptions

func (*TPageSetupDialog) Owner

func (p *TPageSetupDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TPageSetupDialog) PageHeight

func (p *TPageSetupDialog) PageHeight() int32

func (*TPageSetupDialog) PageWidth

func (p *TPageSetupDialog) PageWidth() int32

func (*TPageSetupDialog) SetComponentIndex

func (p *TPageSetupDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TPageSetupDialog) SetMarginBottom

func (p *TPageSetupDialog) SetMarginBottom(value int32)

func (*TPageSetupDialog) SetMarginLeft

func (p *TPageSetupDialog) SetMarginLeft(value int32)

func (*TPageSetupDialog) SetMarginRight

func (p *TPageSetupDialog) SetMarginRight(value int32)

func (*TPageSetupDialog) SetMarginTop

func (p *TPageSetupDialog) SetMarginTop(value int32)

func (*TPageSetupDialog) SetName

func (p *TPageSetupDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TPageSetupDialog) SetOnClose

func (p *TPageSetupDialog) SetOnClose(fn TNotifyEvent)

func (*TPageSetupDialog) SetOnShow

func (p *TPageSetupDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TPageSetupDialog) SetOptions

func (p *TPageSetupDialog) SetOptions(value TPageSetupDialogOptions)

func (*TPageSetupDialog) SetPageHeight

func (p *TPageSetupDialog) SetPageHeight(value int32)

func (*TPageSetupDialog) SetPageWidth

func (p *TPageSetupDialog) SetPageWidth(value int32)

func (*TPageSetupDialog) SetTag

func (p *TPageSetupDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TPageSetupDialog) Tag

func (p *TPageSetupDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TPageSetupDialog) ToString

func (p *TPageSetupDialog) ToString() string

文本类信息。

Text information.

func (*TPageSetupDialog) Units

func (p *TPageSetupDialog) Units() TPageMeasureUnits

func (*TPageSetupDialog) UnsafeAddr

func (p *TPageSetupDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TPaintBox

type TPaintBox struct {
	IControl
	// contains filtered or unexported fields
}

func AsPaintBox

func AsPaintBox(obj interface{}) *TPaintBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPaintBox

func NewPaintBox(owner IComponent) *TPaintBox

创建一个新的对象。

Create a new object.

func PaintBoxFromInst

func PaintBoxFromInst(inst uintptr) *TPaintBox

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsPaintBox.

func PaintBoxFromObj

func PaintBoxFromObj(obj IObject) *TPaintBox

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsPaintBox.

func PaintBoxFromUnsafePointer

func PaintBoxFromUnsafePointer(ptr unsafe.Pointer) *TPaintBox

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPaintBox.

func (*TPaintBox) Action

func (p *TPaintBox) Action() *TAction

func (*TPaintBox) Align

func (p *TPaintBox) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TPaintBox) AnchorAsAlign

func (p *TPaintBox) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TPaintBox) AnchorClient

func (p *TPaintBox) AnchorClient(ASpace int32)

func (*TPaintBox) AnchorHorizontalCenterTo

func (p *TPaintBox) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TPaintBox) AnchorParallel

func (p *TPaintBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPaintBox) AnchorSame

func (p *TPaintBox) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TPaintBox) AnchorSide

func (p *TPaintBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TPaintBox) AnchorSideBottom

func (p *TPaintBox) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TPaintBox) AnchorSideLeft

func (p *TPaintBox) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TPaintBox) AnchorSideRight

func (p *TPaintBox) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TPaintBox) AnchorSideTop

func (p *TPaintBox) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TPaintBox) AnchorToNeighbour

func (p *TPaintBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPaintBox) AnchorVerticalCenterTo

func (p *TPaintBox) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TPaintBox) Anchors

func (p *TPaintBox) Anchors() TAnchors

获取四个角位置的锚点。

func (*TPaintBox) Assign

func (p *TPaintBox) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPaintBox) AutoAdjustLayout

func (p *TPaintBox) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TPaintBox) BiDiMode

func (p *TPaintBox) BiDiMode() TBiDiMode

func (*TPaintBox) BorderSpacing

func (p *TPaintBox) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TPaintBox) BoundsRect

func (p *TPaintBox) BoundsRect() TRect

func (*TPaintBox) BringToFront

func (p *TPaintBox) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TPaintBox) Canvas

func (p *TPaintBox) Canvas() *TCanvas

获取画布。

func (*TPaintBox) ClassName

func (p *TPaintBox) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TPaintBox) ClassType

func (p *TPaintBox) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TPaintBox) ClientHeight

func (p *TPaintBox) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TPaintBox) ClientOrigin

func (p *TPaintBox) ClientOrigin() TPoint

func (*TPaintBox) ClientRect

func (p *TPaintBox) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TPaintBox) ClientToParent

func (p *TPaintBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TPaintBox) ClientToScreen

func (p *TPaintBox) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TPaintBox) ClientWidth

func (p *TPaintBox) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TPaintBox) Color

func (p *TPaintBox) Color() TColor

获取颜色。

Get color.

func (*TPaintBox) ComponentCount

func (p *TPaintBox) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TPaintBox) ComponentIndex

func (p *TPaintBox) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TPaintBox) Components

func (p *TPaintBox) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TPaintBox) Constraints

func (p *TPaintBox) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TPaintBox) ControlState

func (p *TPaintBox) ControlState() TControlState

获取控件状态。

Get control state.

func (*TPaintBox) ControlStyle

func (p *TPaintBox) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TPaintBox) Cursor

func (p *TPaintBox) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TPaintBox) DragCursor

func (p *TPaintBox) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TPaintBox) DragMode

func (p *TPaintBox) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TPaintBox) Dragging

func (p *TPaintBox) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TPaintBox) Enabled

func (p *TPaintBox) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TPaintBox) Equals

func (p *TPaintBox) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TPaintBox) FindComponent

func (p *TPaintBox) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPaintBox) FixDesignFontsPPI

func (p *TPaintBox) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TPaintBox) Floating

func (p *TPaintBox) Floating() bool

func (*TPaintBox) Font

func (p *TPaintBox) Font() *TFont

获取字体。

Get Font.

func (*TPaintBox) Free

func (p *TPaintBox) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TPaintBox) GetHashCode

func (p *TPaintBox) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TPaintBox) GetNamePath

func (p *TPaintBox) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TPaintBox) GetTextBuf

func (p *TPaintBox) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TPaintBox) GetTextLen

func (p *TPaintBox) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TPaintBox) HasParent

func (p *TPaintBox) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TPaintBox) Height

func (p *TPaintBox) Height() int32

获取高度。

Get height.

func (*TPaintBox) Hide

func (p *TPaintBox) Hide()

隐藏控件。

Hidden control.

func (*TPaintBox) Hint

func (p *TPaintBox) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TPaintBox) InheritsFrom

func (p *TPaintBox) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPaintBox) Instance

func (p *TPaintBox) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TPaintBox) InstanceSize

func (p *TPaintBox) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TPaintBox) Invalidate

func (p *TPaintBox) Invalidate()

要求重绘。

Redraw.

func (*TPaintBox) Is

func (p *TPaintBox) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPaintBox) IsValid

func (p *TPaintBox) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TPaintBox) Left

func (p *TPaintBox) Left() int32

获取左边位置。

Get Left position.

func (*TPaintBox) Name

func (p *TPaintBox) Name() string

获取组件名称。

Get the component name.

func (*TPaintBox) Owner

func (p *TPaintBox) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TPaintBox) Parent

func (p *TPaintBox) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TPaintBox) ParentColor

func (p *TPaintBox) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TPaintBox) ParentFont

func (p *TPaintBox) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TPaintBox) ParentShowHint

func (p *TPaintBox) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TPaintBox) ParentToClient

func (p *TPaintBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TPaintBox) Perform

func (p *TPaintBox) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TPaintBox) PopupMenu

func (p *TPaintBox) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TPaintBox) Refresh

func (p *TPaintBox) Refresh()

刷新控件。

Refresh control.

func (*TPaintBox) Repaint

func (p *TPaintBox) Repaint()

重绘。

Repaint.

func (*TPaintBox) Scale96ToFont

func (p *TPaintBox) Scale96ToFont(ASize int32) int32

func (*TPaintBox) Scale96ToForm

func (p *TPaintBox) Scale96ToForm(ASize int32) int32

func (*TPaintBox) Scale96ToScreen

func (p *TPaintBox) Scale96ToScreen(ASize int32) int32

func (*TPaintBox) ScaleDesignToForm

func (p *TPaintBox) ScaleDesignToForm(ASize int32) int32

func (*TPaintBox) ScaleFontTo96

func (p *TPaintBox) ScaleFontTo96(ASize int32) int32

func (*TPaintBox) ScaleFontToScreen

func (p *TPaintBox) ScaleFontToScreen(ASize int32) int32

func (*TPaintBox) ScaleFontsPPI

func (p *TPaintBox) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TPaintBox) ScaleFormTo96

func (p *TPaintBox) ScaleFormTo96(ASize int32) int32

func (*TPaintBox) ScaleFormToDesign

func (p *TPaintBox) ScaleFormToDesign(ASize int32) int32

func (*TPaintBox) ScaleScreenTo96

func (p *TPaintBox) ScaleScreenTo96(ASize int32) int32

func (*TPaintBox) ScaleScreenToFont

func (p *TPaintBox) ScaleScreenToFont(ASize int32) int32

func (*TPaintBox) ScreenToClient

func (p *TPaintBox) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TPaintBox) SendToBack

func (p *TPaintBox) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TPaintBox) SetAction

func (p *TPaintBox) SetAction(value IComponent)

func (*TPaintBox) SetAlign

func (p *TPaintBox) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TPaintBox) SetAnchorSideBottom

func (p *TPaintBox) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TPaintBox) SetAnchorSideLeft

func (p *TPaintBox) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TPaintBox) SetAnchorSideRight

func (p *TPaintBox) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TPaintBox) SetAnchorSideTop

func (p *TPaintBox) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TPaintBox) SetAnchors

func (p *TPaintBox) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TPaintBox) SetBiDiMode

func (p *TPaintBox) SetBiDiMode(value TBiDiMode)

func (*TPaintBox) SetBorderSpacing

func (p *TPaintBox) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TPaintBox) SetBounds

func (p *TPaintBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TPaintBox) SetBoundsRect

func (p *TPaintBox) SetBoundsRect(value TRect)

func (*TPaintBox) SetClientHeight

func (p *TPaintBox) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TPaintBox) SetClientWidth

func (p *TPaintBox) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TPaintBox) SetColor

func (p *TPaintBox) SetColor(value TColor)

设置颜色。

Set color.

func (*TPaintBox) SetComponentIndex

func (p *TPaintBox) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TPaintBox) SetConstraints

func (p *TPaintBox) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TPaintBox) SetControlState

func (p *TPaintBox) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TPaintBox) SetControlStyle

func (p *TPaintBox) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TPaintBox) SetCursor

func (p *TPaintBox) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TPaintBox) SetDragCursor

func (p *TPaintBox) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TPaintBox) SetDragMode

func (p *TPaintBox) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TPaintBox) SetEnabled

func (p *TPaintBox) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TPaintBox) SetFont

func (p *TPaintBox) SetFont(value *TFont)

设置字体。

Set Font.

func (*TPaintBox) SetHeight

func (p *TPaintBox) SetHeight(value int32)

设置高度。

Set height.

func (*TPaintBox) SetHint

func (p *TPaintBox) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TPaintBox) SetLeft

func (p *TPaintBox) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TPaintBox) SetName

func (p *TPaintBox) SetName(value string)

设置组件名称。

Set the component name.

func (*TPaintBox) SetOnClick

func (p *TPaintBox) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TPaintBox) SetOnDblClick

func (p *TPaintBox) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TPaintBox) SetOnDragDrop

func (p *TPaintBox) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TPaintBox) SetOnDragOver

func (p *TPaintBox) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TPaintBox) SetOnEndDrag

func (p *TPaintBox) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TPaintBox) SetOnMouseDown

func (p *TPaintBox) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TPaintBox) SetOnMouseEnter

func (p *TPaintBox) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TPaintBox) SetOnMouseLeave

func (p *TPaintBox) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TPaintBox) SetOnMouseMove

func (p *TPaintBox) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TPaintBox) SetOnMouseUp

func (p *TPaintBox) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TPaintBox) SetOnPaint

func (p *TPaintBox) SetOnPaint(fn TNotifyEvent)

设置绘画事件。

func (*TPaintBox) SetParent

func (p *TPaintBox) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TPaintBox) SetParentColor

func (p *TPaintBox) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TPaintBox) SetParentFont

func (p *TPaintBox) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TPaintBox) SetParentShowHint

func (p *TPaintBox) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TPaintBox) SetPopupMenu

func (p *TPaintBox) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TPaintBox) SetShowHint

func (p *TPaintBox) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TPaintBox) SetTag

func (p *TPaintBox) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TPaintBox) SetTextBuf

func (p *TPaintBox) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TPaintBox) SetTop

func (p *TPaintBox) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TPaintBox) SetVisible

func (p *TPaintBox) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TPaintBox) SetWidth

func (p *TPaintBox) SetWidth(value int32)

设置宽度。

Set width.

func (*TPaintBox) Show

func (p *TPaintBox) Show()

显示控件。

Show control.

func (*TPaintBox) ShowHint

func (p *TPaintBox) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TPaintBox) Tag

func (p *TPaintBox) Tag() int

获取对象标记。

Get the control tag.

func (*TPaintBox) ToString

func (p *TPaintBox) ToString() string

文本类信息。

Text information.

func (*TPaintBox) Top

func (p *TPaintBox) Top() int32

获取顶边位置。

Get Top position.

func (*TPaintBox) UnsafeAddr

func (p *TPaintBox) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TPaintBox) Update

func (p *TPaintBox) Update()

控件更新。

Update.

func (*TPaintBox) Visible

func (p *TPaintBox) Visible() bool

获取控件可视。

Get the control visible.

func (*TPaintBox) Width

func (p *TPaintBox) Width() int32

获取宽度。

Get width.

type TPanel

type TPanel struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsPanel

func AsPanel(obj interface{}) *TPanel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPanel

func NewPanel(owner IComponent) *TPanel

创建一个新的对象。

Create a new object.

func PanelFromInst

func PanelFromInst(inst uintptr) *TPanel

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsPanel.

func PanelFromObj

func PanelFromObj(obj IObject) *TPanel

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsPanel.

func PanelFromUnsafePointer

func PanelFromUnsafePointer(ptr unsafe.Pointer) *TPanel

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPanel.

func (*TPanel) Action

func (p *TPanel) Action() *TAction

func (*TPanel) Align

func (p *TPanel) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TPanel) Alignment

func (p *TPanel) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TPanel) AnchorAsAlign

func (p *TPanel) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TPanel) AnchorClient

func (p *TPanel) AnchorClient(ASpace int32)

func (*TPanel) AnchorHorizontalCenterTo

func (p *TPanel) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TPanel) AnchorParallel

func (p *TPanel) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPanel) AnchorSame

func (p *TPanel) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TPanel) AnchorSide

func (p *TPanel) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TPanel) AnchorSideBottom

func (p *TPanel) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TPanel) AnchorSideLeft

func (p *TPanel) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TPanel) AnchorSideRight

func (p *TPanel) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TPanel) AnchorSideTop

func (p *TPanel) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TPanel) AnchorToNeighbour

func (p *TPanel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPanel) AnchorVerticalCenterTo

func (p *TPanel) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TPanel) Anchors

func (p *TPanel) Anchors() TAnchors

获取四个角位置的锚点。

func (*TPanel) Assign

func (p *TPanel) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPanel) AutoAdjustLayout

func (p *TPanel) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TPanel) AutoSize

func (p *TPanel) AutoSize() bool

获取自动调整大小。

func (*TPanel) BevelInner

func (p *TPanel) BevelInner() TBevelCut

func (*TPanel) BevelOuter

func (p *TPanel) BevelOuter() TBevelCut

func (*TPanel) BiDiMode

func (p *TPanel) BiDiMode() TBiDiMode

func (*TPanel) BorderSpacing

func (p *TPanel) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TPanel) BorderStyle

func (p *TPanel) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TPanel) BorderWidth

func (p *TPanel) BorderWidth() int32

获取边框的宽度。

func (*TPanel) BoundsRect

func (p *TPanel) BoundsRect() TRect

func (*TPanel) BringToFront

func (p *TPanel) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TPanel) Brush

func (p *TPanel) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TPanel) CanFocus

func (p *TPanel) CanFocus() bool

是否可以获得焦点。

func (*TPanel) Canvas

func (p *TPanel) Canvas() *TCanvas

获取画布。

func (*TPanel) Caption

func (p *TPanel) Caption() string

获取控件标题。

Get the control title.

func (*TPanel) ChildSizing

func (p *TPanel) ChildSizing() *TControlChildSizing

func (*TPanel) ClassName

func (p *TPanel) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TPanel) ClassType

func (p *TPanel) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TPanel) ClientHeight

func (p *TPanel) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TPanel) ClientOrigin

func (p *TPanel) ClientOrigin() TPoint

func (*TPanel) ClientRect

func (p *TPanel) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TPanel) ClientToParent

func (p *TPanel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TPanel) ClientToScreen

func (p *TPanel) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TPanel) ClientWidth

func (p *TPanel) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TPanel) Color

func (p *TPanel) Color() TColor

获取颜色。

Get color.

func (*TPanel) ComponentCount

func (p *TPanel) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TPanel) ComponentIndex

func (p *TPanel) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TPanel) Components

func (p *TPanel) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TPanel) Constraints

func (p *TPanel) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TPanel) ContainsControl

func (p *TPanel) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TPanel) ControlAtPos

func (p *TPanel) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TPanel) ControlCount

func (p *TPanel) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TPanel) ControlState

func (p *TPanel) ControlState() TControlState

获取控件状态。

Get control state.

func (*TPanel) ControlStyle

func (p *TPanel) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TPanel) Controls

func (p *TPanel) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TPanel) Cursor

func (p *TPanel) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TPanel) DisableAlign

func (p *TPanel) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TPanel) DockClientCount

func (p *TPanel) DockClientCount() int32

获取依靠客户端总数。

func (*TPanel) DockClients

func (p *TPanel) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TPanel) DockSite

func (p *TPanel) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TPanel) DoubleBuffered

func (p *TPanel) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TPanel) DragCursor

func (p *TPanel) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TPanel) DragKind

func (p *TPanel) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TPanel) DragMode

func (p *TPanel) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TPanel) Dragging

func (p *TPanel) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TPanel) EnableAlign

func (p *TPanel) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TPanel) Enabled

func (p *TPanel) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TPanel) Equals

func (p *TPanel) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TPanel) FindChildControl

func (p *TPanel) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TPanel) FindComponent

func (p *TPanel) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPanel) FixDesignFontsPPI

func (p *TPanel) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TPanel) FlipChildren

func (p *TPanel) FlipChildren(AllLevels bool)

func (*TPanel) Floating

func (p *TPanel) Floating() bool

func (*TPanel) Focused

func (p *TPanel) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TPanel) Font

func (p *TPanel) Font() *TFont

获取字体。

Get Font.

func (*TPanel) Free

func (p *TPanel) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TPanel) FullRepaint

func (p *TPanel) FullRepaint() bool

func (*TPanel) GetHashCode

func (p *TPanel) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TPanel) GetNamePath

func (p *TPanel) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TPanel) GetTextBuf

func (p *TPanel) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TPanel) GetTextLen

func (p *TPanel) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TPanel) Handle

func (p *TPanel) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TPanel) HandleAllocated

func (p *TPanel) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TPanel) HasParent

func (p *TPanel) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TPanel) Height

func (p *TPanel) Height() int32

获取高度。

Get height.

func (*TPanel) Hide

func (p *TPanel) Hide()

隐藏控件。

Hidden control.

func (*TPanel) Hint

func (p *TPanel) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TPanel) InheritsFrom

func (p *TPanel) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPanel) InsertControl

func (p *TPanel) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TPanel) Instance

func (p *TPanel) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TPanel) InstanceSize

func (p *TPanel) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TPanel) Invalidate

func (p *TPanel) Invalidate()

要求重绘。

Redraw.

func (*TPanel) Is

func (p *TPanel) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPanel) IsValid

func (p *TPanel) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TPanel) Left

func (p *TPanel) Left() int32

获取左边位置。

Get Left position.

func (*TPanel) MouseInClient

func (p *TPanel) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TPanel) Name

func (p *TPanel) Name() string

获取组件名称。

Get the component name.

func (*TPanel) Owner

func (p *TPanel) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TPanel) PaintTo

func (p *TPanel) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TPanel) Parent

func (p *TPanel) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TPanel) ParentBackground

func (p *TPanel) ParentBackground() bool

func (*TPanel) ParentColor

func (p *TPanel) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TPanel) ParentDoubleBuffered

func (p *TPanel) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TPanel) ParentFont

func (p *TPanel) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TPanel) ParentShowHint

func (p *TPanel) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TPanel) ParentToClient

func (p *TPanel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TPanel) ParentWindow

func (p *TPanel) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TPanel) Perform

func (p *TPanel) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TPanel) PopupMenu

func (p *TPanel) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TPanel) Realign

func (p *TPanel) Realign()

重新对齐。

Realign.

func (*TPanel) Refresh

func (p *TPanel) Refresh()

刷新控件。

Refresh control.

func (*TPanel) RemoveControl

func (p *TPanel) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TPanel) Repaint

func (p *TPanel) Repaint()

重绘。

Repaint.

func (*TPanel) Scale96ToFont

func (p *TPanel) Scale96ToFont(ASize int32) int32

func (*TPanel) Scale96ToForm

func (p *TPanel) Scale96ToForm(ASize int32) int32

func (*TPanel) Scale96ToScreen

func (p *TPanel) Scale96ToScreen(ASize int32) int32

func (*TPanel) ScaleBy

func (p *TPanel) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TPanel) ScaleDesignToForm

func (p *TPanel) ScaleDesignToForm(ASize int32) int32

func (*TPanel) ScaleFontTo96

func (p *TPanel) ScaleFontTo96(ASize int32) int32

func (*TPanel) ScaleFontToScreen

func (p *TPanel) ScaleFontToScreen(ASize int32) int32

func (*TPanel) ScaleFontsPPI

func (p *TPanel) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TPanel) ScaleFormTo96

func (p *TPanel) ScaleFormTo96(ASize int32) int32

func (*TPanel) ScaleFormToDesign

func (p *TPanel) ScaleFormToDesign(ASize int32) int32

func (*TPanel) ScaleScreenTo96

func (p *TPanel) ScaleScreenTo96(ASize int32) int32

func (*TPanel) ScaleScreenToFont

func (p *TPanel) ScaleScreenToFont(ASize int32) int32

func (*TPanel) ScreenToClient

func (p *TPanel) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TPanel) ScrollBy

func (p *TPanel) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TPanel) SendToBack

func (p *TPanel) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TPanel) SetAction

func (p *TPanel) SetAction(value IComponent)

func (*TPanel) SetAlign

func (p *TPanel) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TPanel) SetAlignment

func (p *TPanel) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TPanel) SetAnchorSideBottom

func (p *TPanel) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TPanel) SetAnchorSideLeft

func (p *TPanel) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TPanel) SetAnchorSideRight

func (p *TPanel) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TPanel) SetAnchorSideTop

func (p *TPanel) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TPanel) SetAnchors

func (p *TPanel) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TPanel) SetAutoSize

func (p *TPanel) SetAutoSize(value bool)

设置自动调整大小。

func (*TPanel) SetBevelInner

func (p *TPanel) SetBevelInner(value TBevelCut)

func (*TPanel) SetBevelOuter

func (p *TPanel) SetBevelOuter(value TBevelCut)

func (*TPanel) SetBiDiMode

func (p *TPanel) SetBiDiMode(value TBiDiMode)

func (*TPanel) SetBorderSpacing

func (p *TPanel) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TPanel) SetBorderStyle

func (p *TPanel) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TPanel) SetBorderWidth

func (p *TPanel) SetBorderWidth(value int32)

设置边框的宽度。

func (*TPanel) SetBounds

func (p *TPanel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TPanel) SetBoundsRect

func (p *TPanel) SetBoundsRect(value TRect)

func (*TPanel) SetCanvas

func (p *TPanel) SetCanvas(value *TCanvas)

设置画布。

func (*TPanel) SetCaption

func (p *TPanel) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TPanel) SetChildSizing

func (p *TPanel) SetChildSizing(value *TControlChildSizing)

func (*TPanel) SetClientHeight

func (p *TPanel) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TPanel) SetClientWidth

func (p *TPanel) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TPanel) SetColor

func (p *TPanel) SetColor(value TColor)

设置颜色。

Set color.

func (*TPanel) SetComponentIndex

func (p *TPanel) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TPanel) SetConstraints

func (p *TPanel) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TPanel) SetControlState

func (p *TPanel) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TPanel) SetControlStyle

func (p *TPanel) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TPanel) SetCursor

func (p *TPanel) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TPanel) SetDockSite

func (p *TPanel) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TPanel) SetDoubleBuffered

func (p *TPanel) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TPanel) SetDragCursor

func (p *TPanel) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TPanel) SetDragKind

func (p *TPanel) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TPanel) SetDragMode

func (p *TPanel) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TPanel) SetEnabled

func (p *TPanel) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TPanel) SetFocus

func (p *TPanel) SetFocus()

设置控件焦点。

Set control focus.

func (*TPanel) SetFont

func (p *TPanel) SetFont(value *TFont)

设置字体。

Set Font.

func (*TPanel) SetFullRepaint

func (p *TPanel) SetFullRepaint(value bool)

func (*TPanel) SetHeight

func (p *TPanel) SetHeight(value int32)

设置高度。

Set height.

func (*TPanel) SetHint

func (p *TPanel) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TPanel) SetLeft

func (p *TPanel) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TPanel) SetName

func (p *TPanel) SetName(value string)

设置组件名称。

Set the component name.

func (*TPanel) SetOnAlignPosition

func (p *TPanel) SetOnAlignPosition(fn TAlignPositionEvent)

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TPanel) SetOnClick

func (p *TPanel) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TPanel) SetOnContextPopup

func (p *TPanel) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TPanel) SetOnDblClick

func (p *TPanel) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TPanel) SetOnDockDrop

func (p *TPanel) SetOnDockDrop(fn TDockDropEvent)

func (*TPanel) SetOnDragDrop

func (p *TPanel) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TPanel) SetOnDragOver

func (p *TPanel) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TPanel) SetOnEndDock

func (p *TPanel) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TPanel) SetOnEndDrag

func (p *TPanel) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TPanel) SetOnEnter

func (p *TPanel) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TPanel) SetOnExit

func (p *TPanel) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TPanel) SetOnGetSiteInfo

func (p *TPanel) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TPanel) SetOnMouseDown

func (p *TPanel) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TPanel) SetOnMouseEnter

func (p *TPanel) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TPanel) SetOnMouseLeave

func (p *TPanel) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TPanel) SetOnMouseMove

func (p *TPanel) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TPanel) SetOnMouseUp

func (p *TPanel) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TPanel) SetOnPaint

func (p *TPanel) SetOnPaint(fn TNotifyEvent)

设置绘画事件。

func (*TPanel) SetOnResize

func (p *TPanel) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TPanel) SetOnStartDock

func (p *TPanel) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TPanel) SetOnUnDock

func (p *TPanel) SetOnUnDock(fn TUnDockEvent)

func (*TPanel) SetParent

func (p *TPanel) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TPanel) SetParentBackground

func (p *TPanel) SetParentBackground(value bool)

func (*TPanel) SetParentColor

func (p *TPanel) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TPanel) SetParentDoubleBuffered

func (p *TPanel) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TPanel) SetParentFont

func (p *TPanel) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TPanel) SetParentShowHint

func (p *TPanel) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TPanel) SetParentWindow

func (p *TPanel) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TPanel) SetPopupMenu

func (p *TPanel) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TPanel) SetShowHint

func (p *TPanel) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TPanel) SetTabOrder

func (p *TPanel) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TPanel) SetTabStop

func (p *TPanel) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TPanel) SetTag

func (p *TPanel) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TPanel) SetTextBuf

func (p *TPanel) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TPanel) SetTop

func (p *TPanel) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TPanel) SetUseDockManager

func (p *TPanel) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TPanel) SetVisible

func (p *TPanel) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TPanel) SetWidth

func (p *TPanel) SetWidth(value int32)

设置宽度。

Set width.

func (*TPanel) Show

func (p *TPanel) Show()

显示控件。

Show control.

func (*TPanel) ShowHint

func (p *TPanel) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TPanel) Showing

func (p *TPanel) Showing() bool

func (*TPanel) TabOrder

func (p *TPanel) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TPanel) TabStop

func (p *TPanel) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TPanel) Tag

func (p *TPanel) Tag() int

获取对象标记。

Get the control tag.

func (*TPanel) ToString

func (p *TPanel) ToString() string

文本类信息。

Text information.

func (*TPanel) Top

func (p *TPanel) Top() int32

获取顶边位置。

Get Top position.

func (*TPanel) UnsafeAddr

func (p *TPanel) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TPanel) Update

func (p *TPanel) Update()

控件更新。

Update.

func (*TPanel) UseDockManager

func (p *TPanel) UseDockManager() bool

获取使用停靠管理。

func (*TPanel) Visible

func (p *TPanel) Visible() bool

获取控件可视。

Get the control visible.

func (*TPanel) VisibleDockClientCount

func (p *TPanel) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TPanel) Width

func (p *TPanel) Width() int32

获取宽度。

Get width.

type TParaAttributes

type TParaAttributes struct {
	IObject
	// contains filtered or unexported fields
}

func AsParaAttributes

func AsParaAttributes(obj interface{}) *TParaAttributes

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func ParaAttributesFromInst

func ParaAttributesFromInst(inst uintptr) *TParaAttributes

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsParaAttributes.

func ParaAttributesFromObj

func ParaAttributesFromObj(obj IObject) *TParaAttributes

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsParaAttributes.

func ParaAttributesFromUnsafePointer

func ParaAttributesFromUnsafePointer(ptr unsafe.Pointer) *TParaAttributes

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsParaAttributes.

func (*TParaAttributes) Alignment

func (p *TParaAttributes) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TParaAttributes) Assign

func (p *TParaAttributes) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TParaAttributes) ClassName

func (p *TParaAttributes) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TParaAttributes) ClassType

func (p *TParaAttributes) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TParaAttributes) Equals

func (p *TParaAttributes) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TParaAttributes) FirstIndent

func (p *TParaAttributes) FirstIndent() int32

func (*TParaAttributes) GetHashCode

func (p *TParaAttributes) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TParaAttributes) GetNamePath

func (p *TParaAttributes) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TParaAttributes) InheritsFrom

func (p *TParaAttributes) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TParaAttributes) Instance

func (p *TParaAttributes) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TParaAttributes) InstanceSize

func (p *TParaAttributes) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TParaAttributes) Is

func (p *TParaAttributes) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TParaAttributes) IsValid

func (p *TParaAttributes) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TParaAttributes) LeftIndent

func (p *TParaAttributes) LeftIndent() int32

func (*TParaAttributes) Numbering

func (p *TParaAttributes) Numbering() TNumberingStyle

func (*TParaAttributes) RightIndent

func (p *TParaAttributes) RightIndent() int32

func (*TParaAttributes) SetAlignment

func (p *TParaAttributes) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TParaAttributes) SetFirstIndent

func (p *TParaAttributes) SetFirstIndent(value int32)

func (*TParaAttributes) SetLeftIndent

func (p *TParaAttributes) SetLeftIndent(value int32)

func (*TParaAttributes) SetNumbering

func (p *TParaAttributes) SetNumbering(value TNumberingStyle)

func (*TParaAttributes) SetRightIndent

func (p *TParaAttributes) SetRightIndent(value int32)

func (*TParaAttributes) SetTab

func (p *TParaAttributes) SetTab(Index uint8, value int32)

func (*TParaAttributes) SetTabCount

func (p *TParaAttributes) SetTabCount(value int32)

func (*TParaAttributes) Tab

func (p *TParaAttributes) Tab(Index uint8) int32

func (*TParaAttributes) TabCount

func (p *TParaAttributes) TabCount() int32

func (*TParaAttributes) ToString

func (p *TParaAttributes) ToString() string

文本类信息。

Text information.

func (*TParaAttributes) UnsafeAddr

func (p *TParaAttributes) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TPen

type TPen struct {
	IObject
	// contains filtered or unexported fields
}

func AsPen

func AsPen(obj interface{}) *TPen

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPen

func NewPen() *TPen

创建一个新的对象。

Create a new object.

func PenFromInst

func PenFromInst(inst uintptr) *TPen

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsPen.

func PenFromObj

func PenFromObj(obj IObject) *TPen

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsPen.

func PenFromUnsafePointer

func PenFromUnsafePointer(ptr unsafe.Pointer) *TPen

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPen.

func (*TPen) Assign

func (p *TPen) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPen) ClassName

func (p *TPen) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TPen) ClassType

func (p *TPen) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TPen) Color

func (p *TPen) Color() TColor

获取颜色。

Get color.

func (*TPen) Equals

func (p *TPen) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TPen) Free

func (p *TPen) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TPen) GetHashCode

func (p *TPen) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TPen) GetNamePath

func (p *TPen) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TPen) Handle

func (p *TPen) Handle() HPEN

获取控件句柄。

Get Control handle.

func (*TPen) InheritsFrom

func (p *TPen) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPen) Instance

func (p *TPen) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TPen) InstanceSize

func (p *TPen) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TPen) Is

func (p *TPen) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPen) IsValid

func (p *TPen) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TPen) Mode

func (p *TPen) Mode() TPenMode

func (*TPen) SetColor

func (p *TPen) SetColor(value TColor)

设置颜色。

Set color.

func (*TPen) SetHandle

func (p *TPen) SetHandle(value HPEN)

设置控件句柄。

Set Control handle.

func (*TPen) SetMode

func (p *TPen) SetMode(value TPenMode)

func (*TPen) SetOnChange

func (p *TPen) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TPen) SetStyle

func (p *TPen) SetStyle(value TPenStyle)

func (*TPen) SetWidth

func (p *TPen) SetWidth(value int32)

设置宽度。

Set width.

func (*TPen) Style

func (p *TPen) Style() TPenStyle

func (*TPen) ToString

func (p *TPen) ToString() string

文本类信息。

Text information.

func (*TPen) UnsafeAddr

func (p *TPen) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TPen) Width

func (p *TPen) Width() int32

获取宽度。

Get width.

type TPicture

type TPicture struct {
	IObject
	// contains filtered or unexported fields
}

func AsPicture

func AsPicture(obj interface{}) *TPicture

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPicture

func NewPicture() *TPicture

创建一个新的对象。

Create a new object.

func PictureFromInst

func PictureFromInst(inst uintptr) *TPicture

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsPicture.

func PictureFromObj

func PictureFromObj(obj IObject) *TPicture

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsPicture.

func PictureFromUnsafePointer

func PictureFromUnsafePointer(ptr unsafe.Pointer) *TPicture

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPicture.

func (*TPicture) Assign

func (p *TPicture) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPicture) Bitmap

func (p *TPicture) Bitmap() *TBitmap

func (*TPicture) ClassName

func (p *TPicture) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TPicture) ClassType

func (p *TPicture) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TPicture) Equals

func (p *TPicture) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TPicture) Free

func (p *TPicture) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TPicture) GetHashCode

func (p *TPicture) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TPicture) GetNamePath

func (p *TPicture) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TPicture) Graphic

func (p *TPicture) Graphic() *TGraphic

func (*TPicture) Height

func (p *TPicture) Height() int32

获取高度。

Get height.

func (*TPicture) Icon

func (p *TPicture) Icon() *TIcon

获取图标。

Get icon.

func (*TPicture) InheritsFrom

func (p *TPicture) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPicture) Instance

func (p *TPicture) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TPicture) InstanceSize

func (p *TPicture) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TPicture) Is

func (p *TPicture) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPicture) IsValid

func (p *TPicture) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TPicture) LoadFromBytes

func (p *TPicture) LoadFromBytes(data []byte)

func (*TPicture) LoadFromFile

func (p *TPicture) LoadFromFile(Filename string)

从文件加载。

func (*TPicture) LoadFromStream

func (p *TPicture) LoadFromStream(Stream IStream)

文件流加载。

func (*TPicture) SaveToFile

func (p *TPicture) SaveToFile(Filename string)

保存至文件。

func (*TPicture) SaveToStream

func (p *TPicture) SaveToStream(Stream IStream)

保存至流。

func (*TPicture) SetBitmap

func (p *TPicture) SetBitmap(value *TBitmap)

func (*TPicture) SetGraphic

func (p *TPicture) SetGraphic(value IGraphic)

func (*TPicture) SetIcon

func (p *TPicture) SetIcon(value *TIcon)

设置图标。

Set icon.

func (*TPicture) SetOnChange

func (p *TPicture) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TPicture) ToString

func (p *TPicture) ToString() string

文本类信息。

Text information.

func (*TPicture) UnsafeAddr

func (p *TPicture) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TPicture) Width

func (p *TPicture) Width() int32

获取宽度。

Get width.

type TPngImage

type TPngImage struct {
	IGraphic
	// contains filtered or unexported fields
}

func AsPngImage

func AsPngImage(obj interface{}) *TPngImage

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPngImage

func NewPngImage() *TPngImage

创建一个新的对象。

Create a new object.

func PngImageFromInst

func PngImageFromInst(inst uintptr) *TPngImage

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsPngImage.

func PngImageFromObj

func PngImageFromObj(obj IObject) *TPngImage

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsPngImage.

func PngImageFromUnsafePointer

func PngImageFromUnsafePointer(ptr unsafe.Pointer) *TPngImage

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPngImage.

func (*TPngImage) Assign

func (p *TPngImage) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPngImage) Canvas

func (p *TPngImage) Canvas() *TCanvas

获取画布。

func (*TPngImage) ClassName

func (p *TPngImage) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TPngImage) ClassType

func (p *TPngImage) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TPngImage) Empty

func (p *TPngImage) Empty() bool

func (*TPngImage) Equals

func (p *TPngImage) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TPngImage) Free

func (p *TPngImage) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TPngImage) GetHashCode

func (p *TPngImage) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TPngImage) GetNamePath

func (p *TPngImage) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TPngImage) Height

func (p *TPngImage) Height() int32

获取高度。

Get height.

func (*TPngImage) InheritsFrom

func (p *TPngImage) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPngImage) Instance

func (p *TPngImage) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TPngImage) InstanceSize

func (p *TPngImage) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TPngImage) Is

func (p *TPngImage) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPngImage) IsValid

func (p *TPngImage) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TPngImage) LoadFromBytes

func (p *TPngImage) LoadFromBytes(data []byte)

func (*TPngImage) LoadFromFile

func (p *TPngImage) LoadFromFile(Filename string)

从文件加载。

func (*TPngImage) LoadFromResourceID

func (p *TPngImage) LoadFromResourceID(Instance uintptr, ResID int32)

func (*TPngImage) LoadFromResourceName

func (p *TPngImage) LoadFromResourceName(Instance uintptr, Name string)

func (*TPngImage) LoadFromStream

func (p *TPngImage) LoadFromStream(Stream IStream)

文件流加载。

func (*TPngImage) Modified

func (p *TPngImage) Modified() bool

获取修改。

Get modified.

func (*TPngImage) Palette

func (p *TPngImage) Palette() HPALETTE

func (*TPngImage) PaletteModified

func (p *TPngImage) PaletteModified() bool

func (*TPngImage) SaveToFile

func (p *TPngImage) SaveToFile(Filename string)

保存至文件。

func (*TPngImage) SaveToStream

func (p *TPngImage) SaveToStream(Stream IStream)

保存至流。

func (*TPngImage) SetModified

func (p *TPngImage) SetModified(value bool)

设置修改。

Set modified.

func (*TPngImage) SetOnChange

func (p *TPngImage) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TPngImage) SetPalette

func (p *TPngImage) SetPalette(value HPALETTE)

func (*TPngImage) SetPaletteModified

func (p *TPngImage) SetPaletteModified(value bool)

func (*TPngImage) SetSize

func (p *TPngImage) SetSize(AWidth int32, AHeight int32)

func (*TPngImage) SetTransparent

func (p *TPngImage) SetTransparent(value bool)

设置透明。

Set transparent.

func (*TPngImage) ToString

func (p *TPngImage) ToString() string

文本类信息。

Text information.

func (*TPngImage) Transparent

func (p *TPngImage) Transparent() bool

获取透明。

Get transparent.

func (*TPngImage) UnsafeAddr

func (p *TPngImage) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TPngImage) Width

func (p *TPngImage) Width() int32

获取宽度。

Get width.

type TPopupMenu

type TPopupMenu struct {
	IComponent
	// contains filtered or unexported fields
}

func AsPopupMenu

func AsPopupMenu(obj interface{}) *TPopupMenu

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPopupMenu

func NewPopupMenu(owner IComponent) *TPopupMenu

创建一个新的对象。

Create a new object.

func PopupMenuFromInst

func PopupMenuFromInst(inst uintptr) *TPopupMenu

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsPopupMenu.

func PopupMenuFromObj

func PopupMenuFromObj(obj IObject) *TPopupMenu

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsPopupMenu.

func PopupMenuFromUnsafePointer

func PopupMenuFromUnsafePointer(ptr unsafe.Pointer) *TPopupMenu

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPopupMenu.

func (*TPopupMenu) Alignment

func (p *TPopupMenu) Alignment() TPopupAlignment

获取文字对齐。

Get Text alignment.

func (*TPopupMenu) Assign

func (p *TPopupMenu) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPopupMenu) BiDiMode

func (p *TPopupMenu) BiDiMode() TBiDiMode

func (*TPopupMenu) ClassName

func (p *TPopupMenu) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TPopupMenu) ClassType

func (p *TPopupMenu) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TPopupMenu) CloseMenu

func (p *TPopupMenu) CloseMenu()

func (*TPopupMenu) ComponentCount

func (p *TPopupMenu) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TPopupMenu) ComponentIndex

func (p *TPopupMenu) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TPopupMenu) Components

func (p *TPopupMenu) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TPopupMenu) Equals

func (p *TPopupMenu) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TPopupMenu) FindComponent

func (p *TPopupMenu) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPopupMenu) Free

func (p *TPopupMenu) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TPopupMenu) GetHashCode

func (p *TPopupMenu) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TPopupMenu) GetNamePath

func (p *TPopupMenu) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TPopupMenu) Handle

func (p *TPopupMenu) Handle() HMENU

获取控件句柄。

Get Control handle.

func (*TPopupMenu) HasParent

func (p *TPopupMenu) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TPopupMenu) Images

func (p *TPopupMenu) Images() *TImageList

获取图标索引列表对象。

func (*TPopupMenu) ImagesWidth

func (p *TPopupMenu) ImagesWidth() int32

func (*TPopupMenu) InheritsFrom

func (p *TPopupMenu) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPopupMenu) Instance

func (p *TPopupMenu) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TPopupMenu) InstanceSize

func (p *TPopupMenu) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TPopupMenu) Is

func (p *TPopupMenu) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPopupMenu) IsValid

func (p *TPopupMenu) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TPopupMenu) Items

func (p *TPopupMenu) Items() *TMenuItem

func (*TPopupMenu) Name

func (p *TPopupMenu) Name() string

获取组件名称。

Get the component name.

func (*TPopupMenu) Owner

func (p *TPopupMenu) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TPopupMenu) OwnerDraw

func (p *TPopupMenu) OwnerDraw() bool

func (*TPopupMenu) Popup

func (p *TPopupMenu) Popup(X int32, Y int32)

func (*TPopupMenu) Popup2

func (p *TPopupMenu) Popup2()

func (*TPopupMenu) PopupComponent

func (p *TPopupMenu) PopupComponent() *TComponent

func (*TPopupMenu) PopupPoint

func (p *TPopupMenu) PopupPoint() TPoint

func (*TPopupMenu) SetAlignment

func (p *TPopupMenu) SetAlignment(value TPopupAlignment)

设置文字对齐。

Set Text alignment.

func (*TPopupMenu) SetBiDiMode

func (p *TPopupMenu) SetBiDiMode(value TBiDiMode)

func (*TPopupMenu) SetComponentIndex

func (p *TPopupMenu) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TPopupMenu) SetImages

func (p *TPopupMenu) SetImages(value IComponent)

设置图标索引列表对象。

func (*TPopupMenu) SetImagesWidth

func (p *TPopupMenu) SetImagesWidth(value int32)

func (*TPopupMenu) SetName

func (p *TPopupMenu) SetName(value string)

设置组件名称。

Set the component name.

func (*TPopupMenu) SetOnPopup

func (p *TPopupMenu) SetOnPopup(fn TNotifyEvent)

func (*TPopupMenu) SetOwnerDraw

func (p *TPopupMenu) SetOwnerDraw(value bool)

func (*TPopupMenu) SetPopupComponent

func (p *TPopupMenu) SetPopupComponent(value IComponent)

func (*TPopupMenu) SetTag

func (p *TPopupMenu) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TPopupMenu) Tag

func (p *TPopupMenu) Tag() int

获取对象标记。

Get the control tag.

func (*TPopupMenu) ToString

func (p *TPopupMenu) ToString() string

文本类信息。

Text information.

func (*TPopupMenu) UnsafeAddr

func (p *TPopupMenu) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TPrintDialog

type TPrintDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsPrintDialog

func AsPrintDialog(obj interface{}) *TPrintDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPrintDialog

func NewPrintDialog(owner IComponent) *TPrintDialog

创建一个新的对象。

Create a new object.

func PrintDialogFromInst

func PrintDialogFromInst(inst uintptr) *TPrintDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsPrintDialog.

func PrintDialogFromObj

func PrintDialogFromObj(obj IObject) *TPrintDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsPrintDialog.

func PrintDialogFromUnsafePointer

func PrintDialogFromUnsafePointer(ptr unsafe.Pointer) *TPrintDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPrintDialog.

func (*TPrintDialog) Assign

func (p *TPrintDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPrintDialog) ClassName

func (p *TPrintDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TPrintDialog) ClassType

func (p *TPrintDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TPrintDialog) Collate

func (p *TPrintDialog) Collate() bool

func (*TPrintDialog) ComponentCount

func (p *TPrintDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TPrintDialog) ComponentIndex

func (p *TPrintDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TPrintDialog) Components

func (p *TPrintDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TPrintDialog) Copies

func (p *TPrintDialog) Copies() int32

func (*TPrintDialog) Equals

func (p *TPrintDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TPrintDialog) Execute

func (p *TPrintDialog) Execute() bool

执行。

func (*TPrintDialog) FindComponent

func (p *TPrintDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPrintDialog) Free

func (p *TPrintDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TPrintDialog) FromPage

func (p *TPrintDialog) FromPage() int32

func (*TPrintDialog) GetHashCode

func (p *TPrintDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TPrintDialog) GetNamePath

func (p *TPrintDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TPrintDialog) Handle

func (p *TPrintDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TPrintDialog) HasParent

func (p *TPrintDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TPrintDialog) InheritsFrom

func (p *TPrintDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPrintDialog) Instance

func (p *TPrintDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TPrintDialog) InstanceSize

func (p *TPrintDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TPrintDialog) Is

func (p *TPrintDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPrintDialog) IsValid

func (p *TPrintDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TPrintDialog) MaxPage

func (p *TPrintDialog) MaxPage() int32

func (*TPrintDialog) MinPage

func (p *TPrintDialog) MinPage() int32

func (*TPrintDialog) Name

func (p *TPrintDialog) Name() string

获取组件名称。

Get the component name.

func (*TPrintDialog) Options

func (p *TPrintDialog) Options() TPrintDialogOptions

func (*TPrintDialog) Owner

func (p *TPrintDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TPrintDialog) PrintRange

func (p *TPrintDialog) PrintRange() TPrintRange

func (*TPrintDialog) PrintToFile

func (p *TPrintDialog) PrintToFile() bool

func (*TPrintDialog) SetCollate

func (p *TPrintDialog) SetCollate(value bool)

func (*TPrintDialog) SetComponentIndex

func (p *TPrintDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TPrintDialog) SetCopies

func (p *TPrintDialog) SetCopies(value int32)

func (*TPrintDialog) SetFromPage

func (p *TPrintDialog) SetFromPage(value int32)

func (*TPrintDialog) SetMaxPage

func (p *TPrintDialog) SetMaxPage(value int32)

func (*TPrintDialog) SetMinPage

func (p *TPrintDialog) SetMinPage(value int32)

func (*TPrintDialog) SetName

func (p *TPrintDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TPrintDialog) SetOnClose

func (p *TPrintDialog) SetOnClose(fn TNotifyEvent)

func (*TPrintDialog) SetOnShow

func (p *TPrintDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TPrintDialog) SetOptions

func (p *TPrintDialog) SetOptions(value TPrintDialogOptions)

func (*TPrintDialog) SetPrintRange

func (p *TPrintDialog) SetPrintRange(value TPrintRange)

func (*TPrintDialog) SetPrintToFile

func (p *TPrintDialog) SetPrintToFile(value bool)

func (*TPrintDialog) SetTag

func (p *TPrintDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TPrintDialog) SetToPage

func (p *TPrintDialog) SetToPage(value int32)

func (*TPrintDialog) Tag

func (p *TPrintDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TPrintDialog) ToPage

func (p *TPrintDialog) ToPage() int32

func (*TPrintDialog) ToString

func (p *TPrintDialog) ToString() string

文本类信息。

Text information.

func (*TPrintDialog) UnsafeAddr

func (p *TPrintDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TPrinter

type TPrinter struct {
	IObject
	// contains filtered or unexported fields
}

func AsPrinter

func AsPrinter(obj interface{}) *TPrinter

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPrinter

func NewPrinter() *TPrinter

创建一个新的对象。

Create a new object.

func PrinterFromInst

func PrinterFromInst(inst uintptr) *TPrinter

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsPrinter.

func PrinterFromObj

func PrinterFromObj(obj IObject) *TPrinter

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsPrinter.

func PrinterFromUnsafePointer

func PrinterFromUnsafePointer(ptr unsafe.Pointer) *TPrinter

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPrinter.

func (*TPrinter) Abort

func (p *TPrinter) Abort()

func (*TPrinter) Aborted

func (p *TPrinter) Aborted() bool

func (*TPrinter) BeginDoc

func (p *TPrinter) BeginDoc()

func (*TPrinter) Canvas

func (p *TPrinter) Canvas() *TCanvas

获取画布。

func (*TPrinter) ClassName

func (p *TPrinter) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TPrinter) ClassType

func (p *TPrinter) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TPrinter) Copies

func (p *TPrinter) Copies() int32

func (*TPrinter) EndDoc

func (p *TPrinter) EndDoc()

func (*TPrinter) Equals

func (p *TPrinter) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TPrinter) Fonts

func (p *TPrinter) Fonts() *TStrings

func (*TPrinter) Free

func (p *TPrinter) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TPrinter) GetHashCode

func (p *TPrinter) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TPrinter) InheritsFrom

func (p *TPrinter) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPrinter) Instance

func (p *TPrinter) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TPrinter) InstanceSize

func (p *TPrinter) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TPrinter) Is

func (p *TPrinter) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPrinter) IsValid

func (p *TPrinter) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TPrinter) NewPage

func (p *TPrinter) NewPage()

func (*TPrinter) Orientation

func (p *TPrinter) Orientation() TPrinterOrientation

func (*TPrinter) PageHeight

func (p *TPrinter) PageHeight() int32

func (*TPrinter) PageNumber

func (p *TPrinter) PageNumber() int32

func (*TPrinter) PageWidth

func (p *TPrinter) PageWidth() int32

func (*TPrinter) PrinterIndex

func (p *TPrinter) PrinterIndex() int32

func (*TPrinter) Printers

func (p *TPrinter) Printers() *TStrings

func (*TPrinter) Printing

func (p *TPrinter) Printing() bool

func (*TPrinter) Refresh

func (p *TPrinter) Refresh()

刷新控件。

Refresh control.

func (*TPrinter) SetCopies

func (p *TPrinter) SetCopies(value int32)

func (*TPrinter) SetOrientation

func (p *TPrinter) SetOrientation(value TPrinterOrientation)

func (*TPrinter) SetPrinter

func (p *TPrinter) SetPrinter(aName string)

func (*TPrinter) SetPrinterIndex

func (p *TPrinter) SetPrinterIndex(value int32)

func (*TPrinter) SetTitle

func (p *TPrinter) SetTitle(value string)

func (*TPrinter) Title

func (p *TPrinter) Title() string

func (*TPrinter) ToString

func (p *TPrinter) ToString() string

文本类信息。

Text information.

func (*TPrinter) UnsafeAddr

func (p *TPrinter) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TPrinterSetupDialog

type TPrinterSetupDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsPrinterSetupDialog

func AsPrinterSetupDialog(obj interface{}) *TPrinterSetupDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPrinterSetupDialog

func NewPrinterSetupDialog(owner IComponent) *TPrinterSetupDialog

创建一个新的对象。

Create a new object.

func PrinterSetupDialogFromInst

func PrinterSetupDialogFromInst(inst uintptr) *TPrinterSetupDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsPrinterSetupDialog.

func PrinterSetupDialogFromObj

func PrinterSetupDialogFromObj(obj IObject) *TPrinterSetupDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsPrinterSetupDialog.

func PrinterSetupDialogFromUnsafePointer

func PrinterSetupDialogFromUnsafePointer(ptr unsafe.Pointer) *TPrinterSetupDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPrinterSetupDialog.

func (*TPrinterSetupDialog) Assign

func (p *TPrinterSetupDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPrinterSetupDialog) ClassName

func (p *TPrinterSetupDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TPrinterSetupDialog) ClassType

func (p *TPrinterSetupDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TPrinterSetupDialog) ComponentCount

func (p *TPrinterSetupDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TPrinterSetupDialog) ComponentIndex

func (p *TPrinterSetupDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TPrinterSetupDialog) Components

func (p *TPrinterSetupDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TPrinterSetupDialog) Equals

func (p *TPrinterSetupDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TPrinterSetupDialog) Execute

func (p *TPrinterSetupDialog) Execute() bool

执行。

func (*TPrinterSetupDialog) FindComponent

func (p *TPrinterSetupDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPrinterSetupDialog) Free

func (p *TPrinterSetupDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TPrinterSetupDialog) GetHashCode

func (p *TPrinterSetupDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TPrinterSetupDialog) GetNamePath

func (p *TPrinterSetupDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TPrinterSetupDialog) Handle

func (p *TPrinterSetupDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TPrinterSetupDialog) HasParent

func (p *TPrinterSetupDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TPrinterSetupDialog) InheritsFrom

func (p *TPrinterSetupDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPrinterSetupDialog) Instance

func (p *TPrinterSetupDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TPrinterSetupDialog) InstanceSize

func (p *TPrinterSetupDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TPrinterSetupDialog) Is

func (p *TPrinterSetupDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPrinterSetupDialog) IsValid

func (p *TPrinterSetupDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TPrinterSetupDialog) Name

func (p *TPrinterSetupDialog) Name() string

获取组件名称。

Get the component name.

func (*TPrinterSetupDialog) Owner

func (p *TPrinterSetupDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TPrinterSetupDialog) SetComponentIndex

func (p *TPrinterSetupDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TPrinterSetupDialog) SetName

func (p *TPrinterSetupDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TPrinterSetupDialog) SetOnClose

func (p *TPrinterSetupDialog) SetOnClose(fn TNotifyEvent)

func (*TPrinterSetupDialog) SetOnShow

func (p *TPrinterSetupDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TPrinterSetupDialog) SetTag

func (p *TPrinterSetupDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TPrinterSetupDialog) Tag

func (p *TPrinterSetupDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TPrinterSetupDialog) ToString

func (p *TPrinterSetupDialog) ToString() string

文本类信息。

Text information.

func (*TPrinterSetupDialog) UnsafeAddr

func (p *TPrinterSetupDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TProgressBar

type TProgressBar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsProgressBar

func AsProgressBar(obj interface{}) *TProgressBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewProgressBar

func NewProgressBar(owner IComponent) *TProgressBar

创建一个新的对象。

Create a new object.

func ProgressBarFromInst

func ProgressBarFromInst(inst uintptr) *TProgressBar

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsProgressBar.

func ProgressBarFromObj

func ProgressBarFromObj(obj IObject) *TProgressBar

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsProgressBar.

func ProgressBarFromUnsafePointer

func ProgressBarFromUnsafePointer(ptr unsafe.Pointer) *TProgressBar

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsProgressBar.

func (*TProgressBar) Action

func (p *TProgressBar) Action() *TAction

func (*TProgressBar) Align

func (p *TProgressBar) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TProgressBar) AnchorAsAlign

func (p *TProgressBar) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TProgressBar) AnchorClient

func (p *TProgressBar) AnchorClient(ASpace int32)

func (*TProgressBar) AnchorHorizontalCenterTo

func (p *TProgressBar) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TProgressBar) AnchorParallel

func (p *TProgressBar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TProgressBar) AnchorSame

func (p *TProgressBar) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TProgressBar) AnchorSide

func (p *TProgressBar) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TProgressBar) AnchorSideBottom

func (p *TProgressBar) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TProgressBar) AnchorSideLeft

func (p *TProgressBar) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TProgressBar) AnchorSideRight

func (p *TProgressBar) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TProgressBar) AnchorSideTop

func (p *TProgressBar) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TProgressBar) AnchorToNeighbour

func (p *TProgressBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TProgressBar) AnchorVerticalCenterTo

func (p *TProgressBar) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TProgressBar) Anchors

func (p *TProgressBar) Anchors() TAnchors

获取四个角位置的锚点。

func (*TProgressBar) Assign

func (p *TProgressBar) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TProgressBar) AutoAdjustLayout

func (p *TProgressBar) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TProgressBar) BiDiMode

func (p *TProgressBar) BiDiMode() TBiDiMode

func (*TProgressBar) BorderSpacing

func (p *TProgressBar) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TProgressBar) BorderWidth

func (p *TProgressBar) BorderWidth() int32

获取边框的宽度。

func (*TProgressBar) BoundsRect

func (p *TProgressBar) BoundsRect() TRect

func (*TProgressBar) BringToFront

func (p *TProgressBar) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TProgressBar) Brush

func (p *TProgressBar) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TProgressBar) CanFocus

func (p *TProgressBar) CanFocus() bool

是否可以获得焦点。

func (*TProgressBar) ChildSizing

func (p *TProgressBar) ChildSizing() *TControlChildSizing

func (*TProgressBar) ClassName

func (p *TProgressBar) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TProgressBar) ClassType

func (p *TProgressBar) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TProgressBar) ClientHeight

func (p *TProgressBar) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TProgressBar) ClientOrigin

func (p *TProgressBar) ClientOrigin() TPoint

func (*TProgressBar) ClientRect

func (p *TProgressBar) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TProgressBar) ClientToParent

func (p *TProgressBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TProgressBar) ClientToScreen

func (p *TProgressBar) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TProgressBar) ClientWidth

func (p *TProgressBar) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TProgressBar) ComponentCount

func (p *TProgressBar) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TProgressBar) ComponentIndex

func (p *TProgressBar) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TProgressBar) Components

func (p *TProgressBar) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TProgressBar) Constraints

func (p *TProgressBar) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TProgressBar) ContainsControl

func (p *TProgressBar) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TProgressBar) ControlAtPos

func (p *TProgressBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TProgressBar) ControlCount

func (p *TProgressBar) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TProgressBar) ControlState

func (p *TProgressBar) ControlState() TControlState

获取控件状态。

Get control state.

func (*TProgressBar) ControlStyle

func (p *TProgressBar) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TProgressBar) Controls

func (p *TProgressBar) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TProgressBar) Cursor

func (p *TProgressBar) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TProgressBar) DisableAlign

func (p *TProgressBar) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TProgressBar) DockClientCount

func (p *TProgressBar) DockClientCount() int32

获取依靠客户端总数。

func (*TProgressBar) DockClients

func (p *TProgressBar) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TProgressBar) DockSite

func (p *TProgressBar) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TProgressBar) DoubleBuffered

func (p *TProgressBar) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TProgressBar) DragCursor

func (p *TProgressBar) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TProgressBar) DragKind

func (p *TProgressBar) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TProgressBar) DragMode

func (p *TProgressBar) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TProgressBar) Dragging

func (p *TProgressBar) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TProgressBar) EnableAlign

func (p *TProgressBar) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TProgressBar) Enabled

func (p *TProgressBar) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TProgressBar) Equals

func (p *TProgressBar) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TProgressBar) FindChildControl

func (p *TProgressBar) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TProgressBar) FindComponent

func (p *TProgressBar) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TProgressBar) FixDesignFontsPPI

func (p *TProgressBar) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TProgressBar) FlipChildren

func (p *TProgressBar) FlipChildren(AllLevels bool)

func (*TProgressBar) Floating

func (p *TProgressBar) Floating() bool

func (*TProgressBar) Focused

func (p *TProgressBar) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TProgressBar) Free

func (p *TProgressBar) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TProgressBar) GetHashCode

func (p *TProgressBar) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TProgressBar) GetNamePath

func (p *TProgressBar) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TProgressBar) GetTextBuf

func (p *TProgressBar) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TProgressBar) GetTextLen

func (p *TProgressBar) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TProgressBar) Handle

func (p *TProgressBar) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TProgressBar) HandleAllocated

func (p *TProgressBar) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TProgressBar) HasParent

func (p *TProgressBar) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TProgressBar) Height

func (p *TProgressBar) Height() int32

获取高度。

Get height.

func (*TProgressBar) Hide

func (p *TProgressBar) Hide()

隐藏控件。

Hidden control.

func (*TProgressBar) Hint

func (p *TProgressBar) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TProgressBar) InheritsFrom

func (p *TProgressBar) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TProgressBar) InsertControl

func (p *TProgressBar) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TProgressBar) Instance

func (p *TProgressBar) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TProgressBar) InstanceSize

func (p *TProgressBar) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TProgressBar) Invalidate

func (p *TProgressBar) Invalidate()

要求重绘。

Redraw.

func (*TProgressBar) Is

func (p *TProgressBar) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TProgressBar) IsValid

func (p *TProgressBar) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TProgressBar) Left

func (p *TProgressBar) Left() int32

获取左边位置。

Get Left position.

func (*TProgressBar) Max

func (p *TProgressBar) Max() int32

func (*TProgressBar) Min

func (p *TProgressBar) Min() int32

func (*TProgressBar) MouseInClient

func (p *TProgressBar) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TProgressBar) Name

func (p *TProgressBar) Name() string

获取组件名称。

Get the component name.

func (*TProgressBar) Orientation

func (p *TProgressBar) Orientation() TProgressBarOrientation

func (*TProgressBar) Owner

func (p *TProgressBar) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TProgressBar) PaintTo

func (p *TProgressBar) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TProgressBar) Parent

func (p *TProgressBar) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TProgressBar) ParentDoubleBuffered

func (p *TProgressBar) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TProgressBar) ParentShowHint

func (p *TProgressBar) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TProgressBar) ParentToClient

func (p *TProgressBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TProgressBar) ParentWindow

func (p *TProgressBar) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TProgressBar) Perform

func (p *TProgressBar) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TProgressBar) PopupMenu

func (p *TProgressBar) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TProgressBar) Position

func (p *TProgressBar) Position() int32

func (*TProgressBar) Realign

func (p *TProgressBar) Realign()

重新对齐。

Realign.

func (*TProgressBar) Refresh

func (p *TProgressBar) Refresh()

刷新控件。

Refresh control.

func (*TProgressBar) RemoveControl

func (p *TProgressBar) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TProgressBar) Repaint

func (p *TProgressBar) Repaint()

重绘。

Repaint.

func (*TProgressBar) Scale96ToFont

func (p *TProgressBar) Scale96ToFont(ASize int32) int32

func (*TProgressBar) Scale96ToForm

func (p *TProgressBar) Scale96ToForm(ASize int32) int32

func (*TProgressBar) Scale96ToScreen

func (p *TProgressBar) Scale96ToScreen(ASize int32) int32

func (*TProgressBar) ScaleBy

func (p *TProgressBar) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TProgressBar) ScaleDesignToForm

func (p *TProgressBar) ScaleDesignToForm(ASize int32) int32

func (*TProgressBar) ScaleFontTo96

func (p *TProgressBar) ScaleFontTo96(ASize int32) int32

func (*TProgressBar) ScaleFontToScreen

func (p *TProgressBar) ScaleFontToScreen(ASize int32) int32

func (*TProgressBar) ScaleFontsPPI

func (p *TProgressBar) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TProgressBar) ScaleFormTo96

func (p *TProgressBar) ScaleFormTo96(ASize int32) int32

func (*TProgressBar) ScaleFormToDesign

func (p *TProgressBar) ScaleFormToDesign(ASize int32) int32

func (*TProgressBar) ScaleScreenTo96

func (p *TProgressBar) ScaleScreenTo96(ASize int32) int32

func (*TProgressBar) ScaleScreenToFont

func (p *TProgressBar) ScaleScreenToFont(ASize int32) int32

func (*TProgressBar) ScreenToClient

func (p *TProgressBar) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TProgressBar) ScrollBy

func (p *TProgressBar) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TProgressBar) SendToBack

func (p *TProgressBar) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TProgressBar) SetAction

func (p *TProgressBar) SetAction(value IComponent)

func (*TProgressBar) SetAlign

func (p *TProgressBar) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TProgressBar) SetAnchorSideBottom

func (p *TProgressBar) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TProgressBar) SetAnchorSideLeft

func (p *TProgressBar) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TProgressBar) SetAnchorSideRight

func (p *TProgressBar) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TProgressBar) SetAnchorSideTop

func (p *TProgressBar) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TProgressBar) SetAnchors

func (p *TProgressBar) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TProgressBar) SetBiDiMode

func (p *TProgressBar) SetBiDiMode(value TBiDiMode)

func (*TProgressBar) SetBorderSpacing

func (p *TProgressBar) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TProgressBar) SetBorderWidth

func (p *TProgressBar) SetBorderWidth(value int32)

设置边框的宽度。

func (*TProgressBar) SetBounds

func (p *TProgressBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TProgressBar) SetBoundsRect

func (p *TProgressBar) SetBoundsRect(value TRect)

func (*TProgressBar) SetChildSizing

func (p *TProgressBar) SetChildSizing(value *TControlChildSizing)

func (*TProgressBar) SetClientHeight

func (p *TProgressBar) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TProgressBar) SetClientWidth

func (p *TProgressBar) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TProgressBar) SetComponentIndex

func (p *TProgressBar) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TProgressBar) SetConstraints

func (p *TProgressBar) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TProgressBar) SetControlState

func (p *TProgressBar) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TProgressBar) SetControlStyle

func (p *TProgressBar) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TProgressBar) SetCursor

func (p *TProgressBar) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TProgressBar) SetDockSite

func (p *TProgressBar) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TProgressBar) SetDoubleBuffered

func (p *TProgressBar) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TProgressBar) SetDragCursor

func (p *TProgressBar) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TProgressBar) SetDragKind

func (p *TProgressBar) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TProgressBar) SetDragMode

func (p *TProgressBar) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TProgressBar) SetEnabled

func (p *TProgressBar) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TProgressBar) SetFocus

func (p *TProgressBar) SetFocus()

设置控件焦点。

Set control focus.

func (*TProgressBar) SetHeight

func (p *TProgressBar) SetHeight(value int32)

设置高度。

Set height.

func (*TProgressBar) SetHint

func (p *TProgressBar) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TProgressBar) SetLeft

func (p *TProgressBar) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TProgressBar) SetMax

func (p *TProgressBar) SetMax(value int32)

func (*TProgressBar) SetMin

func (p *TProgressBar) SetMin(value int32)

func (*TProgressBar) SetName

func (p *TProgressBar) SetName(value string)

设置组件名称。

Set the component name.

func (*TProgressBar) SetOnContextPopup

func (p *TProgressBar) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TProgressBar) SetOnDragDrop

func (p *TProgressBar) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TProgressBar) SetOnDragOver

func (p *TProgressBar) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TProgressBar) SetOnEndDrag

func (p *TProgressBar) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TProgressBar) SetOnEnter

func (p *TProgressBar) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TProgressBar) SetOnExit

func (p *TProgressBar) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TProgressBar) SetOnMouseDown

func (p *TProgressBar) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TProgressBar) SetOnMouseEnter

func (p *TProgressBar) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TProgressBar) SetOnMouseLeave

func (p *TProgressBar) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TProgressBar) SetOnMouseMove

func (p *TProgressBar) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TProgressBar) SetOnMouseUp

func (p *TProgressBar) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TProgressBar) SetOrientation

func (p *TProgressBar) SetOrientation(value TProgressBarOrientation)

func (*TProgressBar) SetParent

func (p *TProgressBar) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TProgressBar) SetParentDoubleBuffered

func (p *TProgressBar) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TProgressBar) SetParentShowHint

func (p *TProgressBar) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TProgressBar) SetParentWindow

func (p *TProgressBar) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TProgressBar) SetPopupMenu

func (p *TProgressBar) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TProgressBar) SetPosition

func (p *TProgressBar) SetPosition(value int32)

func (*TProgressBar) SetShowHint

func (p *TProgressBar) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TProgressBar) SetSmooth

func (p *TProgressBar) SetSmooth(value bool)

func (*TProgressBar) SetStep

func (p *TProgressBar) SetStep(value int32)

func (*TProgressBar) SetStyle

func (p *TProgressBar) SetStyle(value TProgressBarStyle)

func (*TProgressBar) SetTabOrder

func (p *TProgressBar) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TProgressBar) SetTabStop

func (p *TProgressBar) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TProgressBar) SetTag

func (p *TProgressBar) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TProgressBar) SetTextBuf

func (p *TProgressBar) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TProgressBar) SetTop

func (p *TProgressBar) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TProgressBar) SetUseDockManager

func (p *TProgressBar) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TProgressBar) SetVisible

func (p *TProgressBar) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TProgressBar) SetWidth

func (p *TProgressBar) SetWidth(value int32)

设置宽度。

Set width.

func (*TProgressBar) Show

func (p *TProgressBar) Show()

显示控件。

Show control.

func (*TProgressBar) ShowHint

func (p *TProgressBar) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TProgressBar) Showing

func (p *TProgressBar) Showing() bool

func (*TProgressBar) Smooth

func (p *TProgressBar) Smooth() bool

func (*TProgressBar) Step

func (p *TProgressBar) Step() int32

func (*TProgressBar) StepBy

func (p *TProgressBar) StepBy(Delta int32)

func (*TProgressBar) StepIt

func (p *TProgressBar) StepIt()

func (*TProgressBar) Style

func (p *TProgressBar) Style() TProgressBarStyle

func (*TProgressBar) TabOrder

func (p *TProgressBar) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TProgressBar) TabStop

func (p *TProgressBar) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TProgressBar) Tag

func (p *TProgressBar) Tag() int

获取对象标记。

Get the control tag.

func (*TProgressBar) ToString

func (p *TProgressBar) ToString() string

文本类信息。

Text information.

func (*TProgressBar) Top

func (p *TProgressBar) Top() int32

获取顶边位置。

Get Top position.

func (*TProgressBar) UnsafeAddr

func (p *TProgressBar) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TProgressBar) Update

func (p *TProgressBar) Update()

控件更新。

Update.

func (*TProgressBar) UseDockManager

func (p *TProgressBar) UseDockManager() bool

获取使用停靠管理。

func (*TProgressBar) Visible

func (p *TProgressBar) Visible() bool

获取控件可视。

Get the control visible.

func (*TProgressBar) VisibleDockClientCount

func (p *TProgressBar) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TProgressBar) Width

func (p *TProgressBar) Width() int32

获取宽度。

Get width.

type TRadioButton

type TRadioButton struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsRadioButton

func AsRadioButton(obj interface{}) *TRadioButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewRadioButton

func NewRadioButton(owner IComponent) *TRadioButton

创建一个新的对象。

Create a new object.

func RadioButtonFromInst

func RadioButtonFromInst(inst uintptr) *TRadioButton

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsRadioButton.

func RadioButtonFromObj

func RadioButtonFromObj(obj IObject) *TRadioButton

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsRadioButton.

func RadioButtonFromUnsafePointer

func RadioButtonFromUnsafePointer(ptr unsafe.Pointer) *TRadioButton

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsRadioButton.

func (*TRadioButton) Action

func (r *TRadioButton) Action() *TAction

func (*TRadioButton) Align

func (r *TRadioButton) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TRadioButton) Alignment

func (r *TRadioButton) Alignment() TLeftRight

获取文字对齐。

Get Text alignment.

func (*TRadioButton) AnchorAsAlign

func (r *TRadioButton) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TRadioButton) AnchorClient

func (r *TRadioButton) AnchorClient(ASpace int32)

func (*TRadioButton) AnchorHorizontalCenterTo

func (r *TRadioButton) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TRadioButton) AnchorParallel

func (r *TRadioButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRadioButton) AnchorSame

func (r *TRadioButton) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TRadioButton) AnchorSide

func (r *TRadioButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TRadioButton) AnchorSideBottom

func (r *TRadioButton) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TRadioButton) AnchorSideLeft

func (r *TRadioButton) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TRadioButton) AnchorSideRight

func (r *TRadioButton) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TRadioButton) AnchorSideTop

func (r *TRadioButton) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TRadioButton) AnchorToNeighbour

func (r *TRadioButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRadioButton) AnchorVerticalCenterTo

func (r *TRadioButton) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TRadioButton) Anchors

func (r *TRadioButton) Anchors() TAnchors

获取四个角位置的锚点。

func (*TRadioButton) Assign

func (r *TRadioButton) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TRadioButton) AutoAdjustLayout

func (r *TRadioButton) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TRadioButton) BiDiMode

func (r *TRadioButton) BiDiMode() TBiDiMode

func (*TRadioButton) BorderSpacing

func (r *TRadioButton) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TRadioButton) BoundsRect

func (r *TRadioButton) BoundsRect() TRect

func (*TRadioButton) BringToFront

func (r *TRadioButton) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TRadioButton) Brush

func (r *TRadioButton) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TRadioButton) CanFocus

func (r *TRadioButton) CanFocus() bool

是否可以获得焦点。

func (*TRadioButton) Caption

func (r *TRadioButton) Caption() string

获取控件标题。

Get the control title.

func (*TRadioButton) Checked

func (r *TRadioButton) Checked() bool

获取是否选中。

func (*TRadioButton) ChildSizing

func (r *TRadioButton) ChildSizing() *TControlChildSizing

func (*TRadioButton) ClassName

func (r *TRadioButton) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TRadioButton) ClassType

func (r *TRadioButton) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TRadioButton) ClientHeight

func (r *TRadioButton) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TRadioButton) ClientOrigin

func (r *TRadioButton) ClientOrigin() TPoint

func (*TRadioButton) ClientRect

func (r *TRadioButton) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TRadioButton) ClientToParent

func (r *TRadioButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TRadioButton) ClientToScreen

func (r *TRadioButton) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TRadioButton) ClientWidth

func (r *TRadioButton) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TRadioButton) Color

func (r *TRadioButton) Color() TColor

获取颜色。

Get color.

func (*TRadioButton) ComponentCount

func (r *TRadioButton) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TRadioButton) ComponentIndex

func (r *TRadioButton) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TRadioButton) Components

func (r *TRadioButton) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TRadioButton) Constraints

func (r *TRadioButton) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TRadioButton) ContainsControl

func (r *TRadioButton) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TRadioButton) ControlAtPos

func (r *TRadioButton) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TRadioButton) ControlCount

func (r *TRadioButton) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TRadioButton) ControlState

func (r *TRadioButton) ControlState() TControlState

获取控件状态。

Get control state.

func (*TRadioButton) ControlStyle

func (r *TRadioButton) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TRadioButton) Controls

func (r *TRadioButton) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TRadioButton) Cursor

func (r *TRadioButton) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TRadioButton) DisableAlign

func (r *TRadioButton) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TRadioButton) DockClientCount

func (r *TRadioButton) DockClientCount() int32

获取依靠客户端总数。

func (*TRadioButton) DockClients

func (r *TRadioButton) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TRadioButton) DockSite

func (r *TRadioButton) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TRadioButton) DoubleBuffered

func (r *TRadioButton) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TRadioButton) DragCursor

func (r *TRadioButton) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TRadioButton) DragKind

func (r *TRadioButton) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TRadioButton) DragMode

func (r *TRadioButton) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TRadioButton) Dragging

func (r *TRadioButton) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TRadioButton) EnableAlign

func (r *TRadioButton) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TRadioButton) Enabled

func (r *TRadioButton) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TRadioButton) Equals

func (r *TRadioButton) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TRadioButton) FindChildControl

func (r *TRadioButton) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TRadioButton) FindComponent

func (r *TRadioButton) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TRadioButton) FixDesignFontsPPI

func (r *TRadioButton) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TRadioButton) FlipChildren

func (r *TRadioButton) FlipChildren(AllLevels bool)

func (*TRadioButton) Floating

func (r *TRadioButton) Floating() bool

func (*TRadioButton) Focused

func (r *TRadioButton) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TRadioButton) Font

func (r *TRadioButton) Font() *TFont

获取字体。

Get Font.

func (*TRadioButton) Free

func (r *TRadioButton) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TRadioButton) GetHashCode

func (r *TRadioButton) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TRadioButton) GetNamePath

func (r *TRadioButton) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TRadioButton) GetTextBuf

func (r *TRadioButton) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TRadioButton) GetTextLen

func (r *TRadioButton) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TRadioButton) Handle

func (r *TRadioButton) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TRadioButton) HandleAllocated

func (r *TRadioButton) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TRadioButton) HasParent

func (r *TRadioButton) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TRadioButton) Height

func (r *TRadioButton) Height() int32

获取高度。

Get height.

func (*TRadioButton) Hide

func (r *TRadioButton) Hide()

隐藏控件。

Hidden control.

func (*TRadioButton) Hint

func (r *TRadioButton) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TRadioButton) InheritsFrom

func (r *TRadioButton) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TRadioButton) InsertControl

func (r *TRadioButton) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TRadioButton) Instance

func (r *TRadioButton) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TRadioButton) InstanceSize

func (r *TRadioButton) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TRadioButton) Invalidate

func (r *TRadioButton) Invalidate()

要求重绘。

Redraw.

func (*TRadioButton) Is

func (r *TRadioButton) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TRadioButton) IsValid

func (r *TRadioButton) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TRadioButton) Left

func (r *TRadioButton) Left() int32

获取左边位置。

Get Left position.

func (*TRadioButton) MouseInClient

func (r *TRadioButton) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TRadioButton) Name

func (r *TRadioButton) Name() string

获取组件名称。

Get the component name.

func (*TRadioButton) Owner

func (r *TRadioButton) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TRadioButton) PaintTo

func (r *TRadioButton) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TRadioButton) Parent

func (r *TRadioButton) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TRadioButton) ParentColor

func (r *TRadioButton) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TRadioButton) ParentDoubleBuffered

func (r *TRadioButton) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TRadioButton) ParentFont

func (r *TRadioButton) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TRadioButton) ParentShowHint

func (r *TRadioButton) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TRadioButton) ParentToClient

func (r *TRadioButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TRadioButton) ParentWindow

func (r *TRadioButton) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TRadioButton) Perform

func (r *TRadioButton) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TRadioButton) PopupMenu

func (r *TRadioButton) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TRadioButton) Realign

func (r *TRadioButton) Realign()

重新对齐。

Realign.

func (*TRadioButton) Refresh

func (r *TRadioButton) Refresh()

刷新控件。

Refresh control.

func (*TRadioButton) RemoveControl

func (r *TRadioButton) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TRadioButton) Repaint

func (r *TRadioButton) Repaint()

重绘。

Repaint.

func (*TRadioButton) Scale96ToFont

func (r *TRadioButton) Scale96ToFont(ASize int32) int32

func (*TRadioButton) Scale96ToForm

func (r *TRadioButton) Scale96ToForm(ASize int32) int32

func (*TRadioButton) Scale96ToScreen

func (r *TRadioButton) Scale96ToScreen(ASize int32) int32

func (*TRadioButton) ScaleBy

func (r *TRadioButton) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TRadioButton) ScaleDesignToForm

func (r *TRadioButton) ScaleDesignToForm(ASize int32) int32

func (*TRadioButton) ScaleFontTo96

func (r *TRadioButton) ScaleFontTo96(ASize int32) int32

func (*TRadioButton) ScaleFontToScreen

func (r *TRadioButton) ScaleFontToScreen(ASize int32) int32

func (*TRadioButton) ScaleFontsPPI

func (r *TRadioButton) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TRadioButton) ScaleFormTo96

func (r *TRadioButton) ScaleFormTo96(ASize int32) int32

func (*TRadioButton) ScaleFormToDesign

func (r *TRadioButton) ScaleFormToDesign(ASize int32) int32

func (*TRadioButton) ScaleScreenTo96

func (r *TRadioButton) ScaleScreenTo96(ASize int32) int32

func (*TRadioButton) ScaleScreenToFont

func (r *TRadioButton) ScaleScreenToFont(ASize int32) int32

func (*TRadioButton) ScreenToClient

func (r *TRadioButton) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TRadioButton) ScrollBy

func (r *TRadioButton) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TRadioButton) SendToBack

func (r *TRadioButton) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TRadioButton) SetAction

func (r *TRadioButton) SetAction(value IComponent)

func (*TRadioButton) SetAlign

func (r *TRadioButton) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TRadioButton) SetAlignment

func (r *TRadioButton) SetAlignment(value TLeftRight)

设置文字对齐。

Set Text alignment.

func (*TRadioButton) SetAnchorSideBottom

func (r *TRadioButton) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TRadioButton) SetAnchorSideLeft

func (r *TRadioButton) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TRadioButton) SetAnchorSideRight

func (r *TRadioButton) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TRadioButton) SetAnchorSideTop

func (r *TRadioButton) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TRadioButton) SetAnchors

func (r *TRadioButton) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TRadioButton) SetBiDiMode

func (r *TRadioButton) SetBiDiMode(value TBiDiMode)

func (*TRadioButton) SetBorderSpacing

func (r *TRadioButton) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TRadioButton) SetBounds

func (r *TRadioButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TRadioButton) SetBoundsRect

func (r *TRadioButton) SetBoundsRect(value TRect)

func (*TRadioButton) SetCaption

func (r *TRadioButton) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TRadioButton) SetChecked

func (r *TRadioButton) SetChecked(value bool)

设置是否选中。

func (*TRadioButton) SetChildSizing

func (r *TRadioButton) SetChildSizing(value *TControlChildSizing)

func (*TRadioButton) SetClientHeight

func (r *TRadioButton) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TRadioButton) SetClientWidth

func (r *TRadioButton) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TRadioButton) SetColor

func (r *TRadioButton) SetColor(value TColor)

设置颜色。

Set color.

func (*TRadioButton) SetComponentIndex

func (r *TRadioButton) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TRadioButton) SetConstraints

func (r *TRadioButton) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TRadioButton) SetControlState

func (r *TRadioButton) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TRadioButton) SetControlStyle

func (r *TRadioButton) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TRadioButton) SetCursor

func (r *TRadioButton) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TRadioButton) SetDockSite

func (r *TRadioButton) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TRadioButton) SetDoubleBuffered

func (r *TRadioButton) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TRadioButton) SetDragCursor

func (r *TRadioButton) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TRadioButton) SetDragKind

func (r *TRadioButton) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TRadioButton) SetDragMode

func (r *TRadioButton) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TRadioButton) SetEnabled

func (r *TRadioButton) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TRadioButton) SetFocus

func (r *TRadioButton) SetFocus()

设置控件焦点。

Set control focus.

func (*TRadioButton) SetFont

func (r *TRadioButton) SetFont(value *TFont)

设置字体。

Set Font.

func (*TRadioButton) SetHeight

func (r *TRadioButton) SetHeight(value int32)

设置高度。

Set height.

func (*TRadioButton) SetHint

func (r *TRadioButton) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TRadioButton) SetLeft

func (r *TRadioButton) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TRadioButton) SetName

func (r *TRadioButton) SetName(value string)

设置组件名称。

Set the component name.

func (*TRadioButton) SetOnChange

func (r *TRadioButton) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TRadioButton) SetOnClick

func (r *TRadioButton) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TRadioButton) SetOnContextPopup

func (r *TRadioButton) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TRadioButton) SetOnDragDrop

func (r *TRadioButton) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TRadioButton) SetOnDragOver

func (r *TRadioButton) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TRadioButton) SetOnEndDrag

func (r *TRadioButton) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TRadioButton) SetOnEnter

func (r *TRadioButton) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TRadioButton) SetOnExit

func (r *TRadioButton) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TRadioButton) SetOnKeyDown

func (r *TRadioButton) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TRadioButton) SetOnKeyPress

func (r *TRadioButton) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TRadioButton) SetOnKeyUp

func (r *TRadioButton) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TRadioButton) SetOnMouseDown

func (r *TRadioButton) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TRadioButton) SetOnMouseEnter

func (r *TRadioButton) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TRadioButton) SetOnMouseLeave

func (r *TRadioButton) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TRadioButton) SetOnMouseMove

func (r *TRadioButton) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TRadioButton) SetOnMouseUp

func (r *TRadioButton) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TRadioButton) SetParent

func (r *TRadioButton) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TRadioButton) SetParentColor

func (r *TRadioButton) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TRadioButton) SetParentDoubleBuffered

func (r *TRadioButton) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TRadioButton) SetParentFont

func (r *TRadioButton) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TRadioButton) SetParentShowHint

func (r *TRadioButton) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TRadioButton) SetParentWindow

func (r *TRadioButton) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TRadioButton) SetPopupMenu

func (r *TRadioButton) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TRadioButton) SetShowHint

func (r *TRadioButton) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TRadioButton) SetTabOrder

func (r *TRadioButton) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TRadioButton) SetTabStop

func (r *TRadioButton) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TRadioButton) SetTag

func (r *TRadioButton) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TRadioButton) SetTextBuf

func (r *TRadioButton) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TRadioButton) SetTop

func (r *TRadioButton) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TRadioButton) SetUseDockManager

func (r *TRadioButton) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TRadioButton) SetVisible

func (r *TRadioButton) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TRadioButton) SetWidth

func (r *TRadioButton) SetWidth(value int32)

设置宽度。

Set width.

func (*TRadioButton) Show

func (r *TRadioButton) Show()

显示控件。

Show control.

func (*TRadioButton) ShowHint

func (r *TRadioButton) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TRadioButton) Showing

func (r *TRadioButton) Showing() bool

func (*TRadioButton) TabOrder

func (r *TRadioButton) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TRadioButton) TabStop

func (r *TRadioButton) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TRadioButton) Tag

func (r *TRadioButton) Tag() int

获取对象标记。

Get the control tag.

func (*TRadioButton) ToString

func (r *TRadioButton) ToString() string

文本类信息。

Text information.

func (*TRadioButton) Top

func (r *TRadioButton) Top() int32

获取顶边位置。

Get Top position.

func (*TRadioButton) UnsafeAddr

func (r *TRadioButton) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TRadioButton) Update

func (r *TRadioButton) Update()

控件更新。

Update.

func (*TRadioButton) UseDockManager

func (r *TRadioButton) UseDockManager() bool

获取使用停靠管理。

func (*TRadioButton) Visible

func (r *TRadioButton) Visible() bool

获取控件可视。

Get the control visible.

func (*TRadioButton) VisibleDockClientCount

func (r *TRadioButton) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TRadioButton) Width

func (r *TRadioButton) Width() int32

获取宽度。

Get width.

type TRadioGroup

type TRadioGroup struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsRadioGroup

func AsRadioGroup(obj interface{}) *TRadioGroup

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewRadioGroup

func NewRadioGroup(owner IComponent) *TRadioGroup

创建一个新的对象。

Create a new object.

func RadioGroupFromInst

func RadioGroupFromInst(inst uintptr) *TRadioGroup

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsRadioGroup.

func RadioGroupFromObj

func RadioGroupFromObj(obj IObject) *TRadioGroup

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsRadioGroup.

func RadioGroupFromUnsafePointer

func RadioGroupFromUnsafePointer(ptr unsafe.Pointer) *TRadioGroup

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsRadioGroup.

func (*TRadioGroup) Action

func (r *TRadioGroup) Action() *TAction

func (*TRadioGroup) Align

func (r *TRadioGroup) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TRadioGroup) AnchorAsAlign

func (r *TRadioGroup) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TRadioGroup) AnchorClient

func (r *TRadioGroup) AnchorClient(ASpace int32)

func (*TRadioGroup) AnchorHorizontalCenterTo

func (r *TRadioGroup) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TRadioGroup) AnchorParallel

func (r *TRadioGroup) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRadioGroup) AnchorSame

func (r *TRadioGroup) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TRadioGroup) AnchorSide

func (r *TRadioGroup) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TRadioGroup) AnchorSideBottom

func (r *TRadioGroup) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TRadioGroup) AnchorSideLeft

func (r *TRadioGroup) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TRadioGroup) AnchorSideRight

func (r *TRadioGroup) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TRadioGroup) AnchorSideTop

func (r *TRadioGroup) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TRadioGroup) AnchorToNeighbour

func (r *TRadioGroup) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRadioGroup) AnchorVerticalCenterTo

func (r *TRadioGroup) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TRadioGroup) Anchors

func (r *TRadioGroup) Anchors() TAnchors

获取四个角位置的锚点。

func (*TRadioGroup) Assign

func (r *TRadioGroup) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TRadioGroup) AutoAdjustLayout

func (r *TRadioGroup) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TRadioGroup) BiDiMode

func (r *TRadioGroup) BiDiMode() TBiDiMode

func (*TRadioGroup) BorderSpacing

func (r *TRadioGroup) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TRadioGroup) BoundsRect

func (r *TRadioGroup) BoundsRect() TRect

func (*TRadioGroup) BringToFront

func (r *TRadioGroup) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TRadioGroup) Brush

func (r *TRadioGroup) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TRadioGroup) CanFocus

func (r *TRadioGroup) CanFocus() bool

是否可以获得焦点。

func (*TRadioGroup) Caption

func (r *TRadioGroup) Caption() string

获取控件标题。

Get the control title.

func (*TRadioGroup) ChildSizing

func (r *TRadioGroup) ChildSizing() *TControlChildSizing

func (*TRadioGroup) ClassName

func (r *TRadioGroup) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TRadioGroup) ClassType

func (r *TRadioGroup) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TRadioGroup) ClientHeight

func (r *TRadioGroup) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TRadioGroup) ClientOrigin

func (r *TRadioGroup) ClientOrigin() TPoint

func (*TRadioGroup) ClientRect

func (r *TRadioGroup) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TRadioGroup) ClientToParent

func (r *TRadioGroup) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TRadioGroup) ClientToScreen

func (r *TRadioGroup) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TRadioGroup) ClientWidth

func (r *TRadioGroup) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TRadioGroup) Color

func (r *TRadioGroup) Color() TColor

获取颜色。

Get color.

func (*TRadioGroup) Columns

func (r *TRadioGroup) Columns() int32

func (*TRadioGroup) ComponentCount

func (r *TRadioGroup) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TRadioGroup) ComponentIndex

func (r *TRadioGroup) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TRadioGroup) Components

func (r *TRadioGroup) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TRadioGroup) Constraints

func (r *TRadioGroup) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TRadioGroup) ContainsControl

func (r *TRadioGroup) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TRadioGroup) ControlAtPos

func (r *TRadioGroup) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TRadioGroup) ControlCount

func (r *TRadioGroup) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TRadioGroup) ControlState

func (r *TRadioGroup) ControlState() TControlState

获取控件状态。

Get control state.

func (*TRadioGroup) ControlStyle

func (r *TRadioGroup) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TRadioGroup) Controls

func (r *TRadioGroup) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TRadioGroup) Cursor

func (r *TRadioGroup) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TRadioGroup) DisableAlign

func (r *TRadioGroup) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TRadioGroup) DockClientCount

func (r *TRadioGroup) DockClientCount() int32

获取依靠客户端总数。

func (*TRadioGroup) DockClients

func (r *TRadioGroup) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TRadioGroup) DockSite

func (r *TRadioGroup) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TRadioGroup) DoubleBuffered

func (r *TRadioGroup) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TRadioGroup) DragCursor

func (r *TRadioGroup) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TRadioGroup) DragMode

func (r *TRadioGroup) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TRadioGroup) Dragging

func (r *TRadioGroup) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TRadioGroup) EnableAlign

func (r *TRadioGroup) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TRadioGroup) Enabled

func (r *TRadioGroup) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TRadioGroup) Equals

func (r *TRadioGroup) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TRadioGroup) FindChildControl

func (r *TRadioGroup) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TRadioGroup) FindComponent

func (r *TRadioGroup) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TRadioGroup) FixDesignFontsPPI

func (r *TRadioGroup) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TRadioGroup) FlipChildren

func (r *TRadioGroup) FlipChildren(AllLevels bool)

func (*TRadioGroup) Floating

func (r *TRadioGroup) Floating() bool

func (*TRadioGroup) Focused

func (r *TRadioGroup) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TRadioGroup) Font

func (r *TRadioGroup) Font() *TFont

获取字体。

Get Font.

func (*TRadioGroup) Free

func (r *TRadioGroup) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TRadioGroup) GetHashCode

func (r *TRadioGroup) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TRadioGroup) GetNamePath

func (r *TRadioGroup) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TRadioGroup) GetTextBuf

func (r *TRadioGroup) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TRadioGroup) GetTextLen

func (r *TRadioGroup) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TRadioGroup) Handle

func (r *TRadioGroup) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TRadioGroup) HandleAllocated

func (r *TRadioGroup) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TRadioGroup) HasParent

func (r *TRadioGroup) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TRadioGroup) Height

func (r *TRadioGroup) Height() int32

获取高度。

Get height.

func (*TRadioGroup) Hide

func (r *TRadioGroup) Hide()

隐藏控件。

Hidden control.

func (*TRadioGroup) Hint

func (r *TRadioGroup) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TRadioGroup) InheritsFrom

func (r *TRadioGroup) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TRadioGroup) InsertControl

func (r *TRadioGroup) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TRadioGroup) Instance

func (r *TRadioGroup) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TRadioGroup) InstanceSize

func (r *TRadioGroup) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TRadioGroup) Invalidate

func (r *TRadioGroup) Invalidate()

要求重绘。

Redraw.

func (*TRadioGroup) Is

func (r *TRadioGroup) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TRadioGroup) IsValid

func (r *TRadioGroup) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TRadioGroup) ItemIndex

func (r *TRadioGroup) ItemIndex() int32

func (*TRadioGroup) Items

func (r *TRadioGroup) Items() *TStrings

func (*TRadioGroup) Left

func (r *TRadioGroup) Left() int32

获取左边位置。

Get Left position.

func (*TRadioGroup) MouseInClient

func (r *TRadioGroup) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TRadioGroup) Name

func (r *TRadioGroup) Name() string

获取组件名称。

Get the component name.

func (*TRadioGroup) Owner

func (r *TRadioGroup) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TRadioGroup) PaintTo

func (r *TRadioGroup) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TRadioGroup) Parent

func (r *TRadioGroup) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TRadioGroup) ParentBackground

func (r *TRadioGroup) ParentBackground() bool

func (*TRadioGroup) ParentColor

func (r *TRadioGroup) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TRadioGroup) ParentDoubleBuffered

func (r *TRadioGroup) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TRadioGroup) ParentFont

func (r *TRadioGroup) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TRadioGroup) ParentShowHint

func (r *TRadioGroup) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TRadioGroup) ParentToClient

func (r *TRadioGroup) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TRadioGroup) ParentWindow

func (r *TRadioGroup) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TRadioGroup) Perform

func (r *TRadioGroup) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TRadioGroup) PopupMenu

func (r *TRadioGroup) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TRadioGroup) Realign

func (r *TRadioGroup) Realign()

重新对齐。

Realign.

func (*TRadioGroup) Refresh

func (r *TRadioGroup) Refresh()

刷新控件。

Refresh control.

func (*TRadioGroup) RemoveControl

func (r *TRadioGroup) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TRadioGroup) Repaint

func (r *TRadioGroup) Repaint()

重绘。

Repaint.

func (*TRadioGroup) Scale96ToFont

func (r *TRadioGroup) Scale96ToFont(ASize int32) int32

func (*TRadioGroup) Scale96ToForm

func (r *TRadioGroup) Scale96ToForm(ASize int32) int32

func (*TRadioGroup) Scale96ToScreen

func (r *TRadioGroup) Scale96ToScreen(ASize int32) int32

func (*TRadioGroup) ScaleBy

func (r *TRadioGroup) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TRadioGroup) ScaleDesignToForm

func (r *TRadioGroup) ScaleDesignToForm(ASize int32) int32

func (*TRadioGroup) ScaleFontTo96

func (r *TRadioGroup) ScaleFontTo96(ASize int32) int32

func (*TRadioGroup) ScaleFontToScreen

func (r *TRadioGroup) ScaleFontToScreen(ASize int32) int32

func (*TRadioGroup) ScaleFontsPPI

func (r *TRadioGroup) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TRadioGroup) ScaleFormTo96

func (r *TRadioGroup) ScaleFormTo96(ASize int32) int32

func (*TRadioGroup) ScaleFormToDesign

func (r *TRadioGroup) ScaleFormToDesign(ASize int32) int32

func (*TRadioGroup) ScaleScreenTo96

func (r *TRadioGroup) ScaleScreenTo96(ASize int32) int32

func (*TRadioGroup) ScaleScreenToFont

func (r *TRadioGroup) ScaleScreenToFont(ASize int32) int32

func (*TRadioGroup) ScreenToClient

func (r *TRadioGroup) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TRadioGroup) ScrollBy

func (r *TRadioGroup) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TRadioGroup) SendToBack

func (r *TRadioGroup) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TRadioGroup) SetAction

func (r *TRadioGroup) SetAction(value IComponent)

func (*TRadioGroup) SetAlign

func (r *TRadioGroup) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TRadioGroup) SetAnchorSideBottom

func (r *TRadioGroup) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TRadioGroup) SetAnchorSideLeft

func (r *TRadioGroup) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TRadioGroup) SetAnchorSideRight

func (r *TRadioGroup) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TRadioGroup) SetAnchorSideTop

func (r *TRadioGroup) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TRadioGroup) SetAnchors

func (r *TRadioGroup) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TRadioGroup) SetBiDiMode

func (r *TRadioGroup) SetBiDiMode(value TBiDiMode)

func (*TRadioGroup) SetBorderSpacing

func (r *TRadioGroup) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TRadioGroup) SetBounds

func (r *TRadioGroup) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TRadioGroup) SetBoundsRect

func (r *TRadioGroup) SetBoundsRect(value TRect)

func (*TRadioGroup) SetCaption

func (r *TRadioGroup) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TRadioGroup) SetChildSizing

func (r *TRadioGroup) SetChildSizing(value *TControlChildSizing)

func (*TRadioGroup) SetClientHeight

func (r *TRadioGroup) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TRadioGroup) SetClientWidth

func (r *TRadioGroup) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TRadioGroup) SetColor

func (r *TRadioGroup) SetColor(value TColor)

设置颜色。

Set color.

func (*TRadioGroup) SetColumns

func (r *TRadioGroup) SetColumns(value int32)

func (*TRadioGroup) SetComponentIndex

func (r *TRadioGroup) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TRadioGroup) SetConstraints

func (r *TRadioGroup) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TRadioGroup) SetControlState

func (r *TRadioGroup) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TRadioGroup) SetControlStyle

func (r *TRadioGroup) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TRadioGroup) SetCursor

func (r *TRadioGroup) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TRadioGroup) SetDockSite

func (r *TRadioGroup) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TRadioGroup) SetDoubleBuffered

func (r *TRadioGroup) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TRadioGroup) SetDragCursor

func (r *TRadioGroup) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TRadioGroup) SetDragMode

func (r *TRadioGroup) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TRadioGroup) SetEnabled

func (r *TRadioGroup) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TRadioGroup) SetFocus

func (r *TRadioGroup) SetFocus()

设置控件焦点。

Set control focus.

func (*TRadioGroup) SetFont

func (r *TRadioGroup) SetFont(value *TFont)

设置字体。

Set Font.

func (*TRadioGroup) SetHeight

func (r *TRadioGroup) SetHeight(value int32)

设置高度。

Set height.

func (*TRadioGroup) SetHint

func (r *TRadioGroup) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TRadioGroup) SetItemIndex

func (r *TRadioGroup) SetItemIndex(value int32)

func (*TRadioGroup) SetItems

func (r *TRadioGroup) SetItems(value IStrings)

func (*TRadioGroup) SetLeft

func (r *TRadioGroup) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TRadioGroup) SetName

func (r *TRadioGroup) SetName(value string)

设置组件名称。

Set the component name.

func (*TRadioGroup) SetOnClick

func (r *TRadioGroup) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TRadioGroup) SetOnDragDrop

func (r *TRadioGroup) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TRadioGroup) SetOnDragOver

func (r *TRadioGroup) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TRadioGroup) SetOnEndDrag

func (r *TRadioGroup) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TRadioGroup) SetOnEnter

func (r *TRadioGroup) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TRadioGroup) SetOnExit

func (r *TRadioGroup) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TRadioGroup) SetOnSelectionChanged

func (r *TRadioGroup) SetOnSelectionChanged(fn TNotifyEvent)

func (*TRadioGroup) SetParent

func (r *TRadioGroup) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TRadioGroup) SetParentBackground

func (r *TRadioGroup) SetParentBackground(value bool)

func (*TRadioGroup) SetParentColor

func (r *TRadioGroup) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TRadioGroup) SetParentDoubleBuffered

func (r *TRadioGroup) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TRadioGroup) SetParentFont

func (r *TRadioGroup) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TRadioGroup) SetParentShowHint

func (r *TRadioGroup) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TRadioGroup) SetParentWindow

func (r *TRadioGroup) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TRadioGroup) SetPopupMenu

func (r *TRadioGroup) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TRadioGroup) SetShowHint

func (r *TRadioGroup) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TRadioGroup) SetTabOrder

func (r *TRadioGroup) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TRadioGroup) SetTabStop

func (r *TRadioGroup) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TRadioGroup) SetTag

func (r *TRadioGroup) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TRadioGroup) SetTextBuf

func (r *TRadioGroup) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TRadioGroup) SetTop

func (r *TRadioGroup) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TRadioGroup) SetUseDockManager

func (r *TRadioGroup) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TRadioGroup) SetVisible

func (r *TRadioGroup) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TRadioGroup) SetWidth

func (r *TRadioGroup) SetWidth(value int32)

设置宽度。

Set width.

func (*TRadioGroup) Show

func (r *TRadioGroup) Show()

显示控件。

Show control.

func (*TRadioGroup) ShowHint

func (r *TRadioGroup) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TRadioGroup) Showing

func (r *TRadioGroup) Showing() bool

func (*TRadioGroup) TabOrder

func (r *TRadioGroup) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TRadioGroup) TabStop

func (r *TRadioGroup) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TRadioGroup) Tag

func (r *TRadioGroup) Tag() int

获取对象标记。

Get the control tag.

func (*TRadioGroup) ToString

func (r *TRadioGroup) ToString() string

文本类信息。

Text information.

func (*TRadioGroup) Top

func (r *TRadioGroup) Top() int32

获取顶边位置。

Get Top position.

func (*TRadioGroup) UnsafeAddr

func (r *TRadioGroup) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TRadioGroup) Update

func (r *TRadioGroup) Update()

控件更新。

Update.

func (*TRadioGroup) UseDockManager

func (r *TRadioGroup) UseDockManager() bool

获取使用停靠管理。

func (*TRadioGroup) Visible

func (r *TRadioGroup) Visible() bool

获取控件可视。

Get the control visible.

func (*TRadioGroup) VisibleDockClientCount

func (r *TRadioGroup) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TRadioGroup) Width

func (r *TRadioGroup) Width() int32

获取宽度。

Get width.

type TRegistry

type TRegistry struct {
	IObject
	// contains filtered or unexported fields
}

func AsRegistry

func AsRegistry(obj interface{}) *TRegistry

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewRegistry

func NewRegistry(aAccess uint32) *TRegistry

创建一个新的对象。

Create a new object.

func NewRegistryAllAccess

func NewRegistryAllAccess() *TRegistry

NewRegistryAllAccess 所有访问权限

func RegistryFromInst

func RegistryFromInst(inst uintptr) *TRegistry

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsRegistry.

func RegistryFromObj

func RegistryFromObj(obj IObject) *TRegistry

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsRegistry.

func RegistryFromUnsafePointer

func RegistryFromUnsafePointer(ptr unsafe.Pointer) *TRegistry

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsRegistry.

func (*TRegistry) Access

func (r *TRegistry) Access() uint32

func (*TRegistry) ClassName

func (r *TRegistry) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TRegistry) ClassType

func (r *TRegistry) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TRegistry) CloseKey

func (r *TRegistry) CloseKey()

func (*TRegistry) CreateKey

func (r *TRegistry) CreateKey(Key string) bool

func (*TRegistry) CurrentKey

func (r *TRegistry) CurrentKey() HKEY

func (*TRegistry) CurrentPath

func (r *TRegistry) CurrentPath() string

func (*TRegistry) DeleteKey

func (r *TRegistry) DeleteKey(Key string) bool

func (*TRegistry) DeleteValue

func (r *TRegistry) DeleteValue(Name string) bool

func (*TRegistry) Equals

func (r *TRegistry) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TRegistry) Free

func (r *TRegistry) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TRegistry) GetHashCode

func (r *TRegistry) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TRegistry) HasSubKeys

func (r *TRegistry) HasSubKeys() bool

func (*TRegistry) InheritsFrom

func (r *TRegistry) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TRegistry) Instance

func (r *TRegistry) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TRegistry) InstanceSize

func (r *TRegistry) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TRegistry) Is

func (r *TRegistry) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TRegistry) IsValid

func (r *TRegistry) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TRegistry) KeyExists

func (r *TRegistry) KeyExists(Key string) bool

func (*TRegistry) LastError

func (r *TRegistry) LastError() int32

func (*TRegistry) LastErrorMsg

func (r *TRegistry) LastErrorMsg() string

func (*TRegistry) LazyWrite

func (r *TRegistry) LazyWrite() bool

func (*TRegistry) LoadKey

func (r *TRegistry) LoadKey(Key string, FileName string) bool

func (*TRegistry) MoveKey

func (r *TRegistry) MoveKey(OldName string, NewName string, Delete bool)

func (*TRegistry) OpenKey

func (r *TRegistry) OpenKey(Key string, CanCreate bool) bool

func (*TRegistry) OpenKeyReadOnly

func (r *TRegistry) OpenKeyReadOnly(Key string) bool

func (*TRegistry) ReadBool

func (r *TRegistry) ReadBool(Name string) bool

func (*TRegistry) ReadDate

func (r *TRegistry) ReadDate(Name string) time.Time

func (*TRegistry) ReadDateTime

func (r *TRegistry) ReadDateTime(Name string) time.Time

func (*TRegistry) ReadFloat

func (r *TRegistry) ReadFloat(Name string) float64

func (*TRegistry) ReadInteger

func (r *TRegistry) ReadInteger(Name string) int32

func (*TRegistry) ReadString

func (r *TRegistry) ReadString(Name string) string

func (*TRegistry) ReadTime

func (r *TRegistry) ReadTime(Name string) time.Time

func (*TRegistry) RegistryConnect

func (r *TRegistry) RegistryConnect(UNCName string) bool

func (*TRegistry) RenameValue

func (r *TRegistry) RenameValue(OldName string, NewName string)

func (*TRegistry) ReplaceKey

func (r *TRegistry) ReplaceKey(Key string, FileName string, BackUpFileName string) bool

func (*TRegistry) RestoreKey

func (r *TRegistry) RestoreKey(Key string, FileName string) bool

func (*TRegistry) RootKey

func (r *TRegistry) RootKey() HKEY

func (*TRegistry) SaveKey

func (r *TRegistry) SaveKey(Key string, FileName string) bool

func (*TRegistry) SetAccess

func (r *TRegistry) SetAccess(value uint32)

func (*TRegistry) SetLazyWrite

func (r *TRegistry) SetLazyWrite(value bool)

func (*TRegistry) SetRootKey

func (r *TRegistry) SetRootKey(value HKEY)

func (*TRegistry) ToString

func (r *TRegistry) ToString() string

文本类信息。

Text information.

func (*TRegistry) UnLoadKey

func (r *TRegistry) UnLoadKey(Key string) bool

func (*TRegistry) UnsafeAddr

func (r *TRegistry) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TRegistry) ValueExists

func (r *TRegistry) ValueExists(Name string) bool

func (*TRegistry) WriteBool

func (r *TRegistry) WriteBool(Name string, Value bool)

func (*TRegistry) WriteDate

func (r *TRegistry) WriteDate(Name string, Value time.Time)

func (*TRegistry) WriteDateTime

func (r *TRegistry) WriteDateTime(Name string, Value time.Time)

func (*TRegistry) WriteExpandString

func (r *TRegistry) WriteExpandString(Name string, Value string)

func (*TRegistry) WriteFloat

func (r *TRegistry) WriteFloat(Name string, Value float64)

func (*TRegistry) WriteInteger

func (r *TRegistry) WriteInteger(Name string, Value int32)

func (*TRegistry) WriteString

func (r *TRegistry) WriteString(Name string, Value string)

func (*TRegistry) WriteTime

func (r *TRegistry) WriteTime(Name string, Value time.Time)

type TReplaceDialog

type TReplaceDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsReplaceDialog

func AsReplaceDialog(obj interface{}) *TReplaceDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewReplaceDialog

func NewReplaceDialog(owner IComponent) *TReplaceDialog

创建一个新的对象。

Create a new object.

func ReplaceDialogFromInst

func ReplaceDialogFromInst(inst uintptr) *TReplaceDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsReplaceDialog.

func ReplaceDialogFromObj

func ReplaceDialogFromObj(obj IObject) *TReplaceDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsReplaceDialog.

func ReplaceDialogFromUnsafePointer

func ReplaceDialogFromUnsafePointer(ptr unsafe.Pointer) *TReplaceDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsReplaceDialog.

func (*TReplaceDialog) Assign

func (r *TReplaceDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TReplaceDialog) ClassName

func (r *TReplaceDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TReplaceDialog) ClassType

func (r *TReplaceDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TReplaceDialog) CloseDialog

func (r *TReplaceDialog) CloseDialog()

func (*TReplaceDialog) ComponentCount

func (r *TReplaceDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TReplaceDialog) ComponentIndex

func (r *TReplaceDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TReplaceDialog) Components

func (r *TReplaceDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TReplaceDialog) Equals

func (r *TReplaceDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TReplaceDialog) Execute

func (r *TReplaceDialog) Execute() bool

执行。

func (*TReplaceDialog) FindComponent

func (r *TReplaceDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TReplaceDialog) FindText

func (r *TReplaceDialog) FindText() string

func (*TReplaceDialog) Free

func (r *TReplaceDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TReplaceDialog) GetHashCode

func (r *TReplaceDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TReplaceDialog) GetNamePath

func (r *TReplaceDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TReplaceDialog) Handle

func (r *TReplaceDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TReplaceDialog) HasParent

func (r *TReplaceDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TReplaceDialog) InheritsFrom

func (r *TReplaceDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TReplaceDialog) Instance

func (r *TReplaceDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TReplaceDialog) InstanceSize

func (r *TReplaceDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TReplaceDialog) Is

func (r *TReplaceDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TReplaceDialog) IsValid

func (r *TReplaceDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TReplaceDialog) Left

func (r *TReplaceDialog) Left() int32

获取左边位置。

Get Left position.

func (*TReplaceDialog) Name

func (r *TReplaceDialog) Name() string

获取组件名称。

Get the component name.

func (*TReplaceDialog) Options

func (r *TReplaceDialog) Options() TFindOptions

func (*TReplaceDialog) Owner

func (r *TReplaceDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TReplaceDialog) Position

func (r *TReplaceDialog) Position() TPoint

func (*TReplaceDialog) ReplaceText

func (r *TReplaceDialog) ReplaceText() string

func (*TReplaceDialog) SetComponentIndex

func (r *TReplaceDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TReplaceDialog) SetFindText

func (r *TReplaceDialog) SetFindText(value string)

func (*TReplaceDialog) SetLeft

func (r *TReplaceDialog) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TReplaceDialog) SetName

func (r *TReplaceDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TReplaceDialog) SetOnClose

func (r *TReplaceDialog) SetOnClose(fn TNotifyEvent)

func (*TReplaceDialog) SetOnFind

func (r *TReplaceDialog) SetOnFind(fn TNotifyEvent)

func (*TReplaceDialog) SetOnReplace

func (r *TReplaceDialog) SetOnReplace(fn TNotifyEvent)

func (*TReplaceDialog) SetOnShow

func (r *TReplaceDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TReplaceDialog) SetOptions

func (r *TReplaceDialog) SetOptions(value TFindOptions)

func (*TReplaceDialog) SetPosition

func (r *TReplaceDialog) SetPosition(value TPoint)

func (*TReplaceDialog) SetReplaceText

func (r *TReplaceDialog) SetReplaceText(value string)

func (*TReplaceDialog) SetTag

func (r *TReplaceDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TReplaceDialog) SetTop

func (r *TReplaceDialog) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TReplaceDialog) Tag

func (r *TReplaceDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TReplaceDialog) ToString

func (r *TReplaceDialog) ToString() string

文本类信息。

Text information.

func (*TReplaceDialog) Top

func (r *TReplaceDialog) Top() int32

获取顶边位置。

Get Top position.

func (*TReplaceDialog) UnsafeAddr

func (r *TReplaceDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TRichEdit

type TRichEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsRichEdit

func AsRichEdit(obj interface{}) *TRichEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewRichEdit

func NewRichEdit(owner IComponent) *TRichEdit

创建一个新的对象。

Create a new object.

func RichEditFromInst

func RichEditFromInst(inst uintptr) *TRichEdit

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsRichEdit.

func RichEditFromObj

func RichEditFromObj(obj IObject) *TRichEdit

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsRichEdit.

func RichEditFromUnsafePointer

func RichEditFromUnsafePointer(ptr unsafe.Pointer) *TRichEdit

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsRichEdit.

func (*TRichEdit) Action

func (r *TRichEdit) Action() *TAction

func (*TRichEdit) Align

func (r *TRichEdit) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TRichEdit) Alignment

func (r *TRichEdit) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TRichEdit) AnchorAsAlign

func (r *TRichEdit) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TRichEdit) AnchorClient

func (r *TRichEdit) AnchorClient(ASpace int32)

func (*TRichEdit) AnchorHorizontalCenterTo

func (r *TRichEdit) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TRichEdit) AnchorParallel

func (r *TRichEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRichEdit) AnchorSame

func (r *TRichEdit) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TRichEdit) AnchorSide

func (r *TRichEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TRichEdit) AnchorSideBottom

func (r *TRichEdit) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TRichEdit) AnchorSideLeft

func (r *TRichEdit) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TRichEdit) AnchorSideRight

func (r *TRichEdit) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TRichEdit) AnchorSideTop

func (r *TRichEdit) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TRichEdit) AnchorToNeighbour

func (r *TRichEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRichEdit) AnchorVerticalCenterTo

func (r *TRichEdit) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TRichEdit) Anchors

func (r *TRichEdit) Anchors() TAnchors

获取四个角位置的锚点。

func (*TRichEdit) Assign

func (r *TRichEdit) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TRichEdit) AutoAdjustLayout

func (r *TRichEdit) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TRichEdit) BiDiMode

func (r *TRichEdit) BiDiMode() TBiDiMode

func (*TRichEdit) BorderSpacing

func (r *TRichEdit) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TRichEdit) BorderStyle

func (r *TRichEdit) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TRichEdit) BorderWidth

func (r *TRichEdit) BorderWidth() int32

获取边框的宽度。

func (*TRichEdit) BoundsRect

func (r *TRichEdit) BoundsRect() TRect

func (*TRichEdit) BringToFront

func (r *TRichEdit) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TRichEdit) Brush

func (r *TRichEdit) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TRichEdit) CanFocus

func (r *TRichEdit) CanFocus() bool

是否可以获得焦点。

func (*TRichEdit) CanUndo

func (r *TRichEdit) CanUndo() bool

获取能否撤销。

func (*TRichEdit) CaretPos

func (r *TRichEdit) CaretPos() TPoint

func (*TRichEdit) ChildSizing

func (r *TRichEdit) ChildSizing() *TControlChildSizing

func (*TRichEdit) ClassName

func (r *TRichEdit) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TRichEdit) ClassType

func (r *TRichEdit) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TRichEdit) Clear

func (r *TRichEdit) Clear()

清除。

func (*TRichEdit) ClearSelection

func (r *TRichEdit) ClearSelection()

清除选择。

func (*TRichEdit) ClientHeight

func (r *TRichEdit) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TRichEdit) ClientOrigin

func (r *TRichEdit) ClientOrigin() TPoint

func (*TRichEdit) ClientRect

func (r *TRichEdit) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TRichEdit) ClientToParent

func (r *TRichEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TRichEdit) ClientToScreen

func (r *TRichEdit) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TRichEdit) ClientWidth

func (r *TRichEdit) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TRichEdit) Color

func (r *TRichEdit) Color() TColor

获取颜色。

Get color.

func (*TRichEdit) ComponentCount

func (r *TRichEdit) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TRichEdit) ComponentIndex

func (r *TRichEdit) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TRichEdit) Components

func (r *TRichEdit) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TRichEdit) Constraints

func (r *TRichEdit) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TRichEdit) ContainsControl

func (r *TRichEdit) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TRichEdit) ControlAtPos

func (r *TRichEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TRichEdit) ControlCount

func (r *TRichEdit) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TRichEdit) ControlState

func (r *TRichEdit) ControlState() TControlState

获取控件状态。

Get control state.

func (*TRichEdit) ControlStyle

func (r *TRichEdit) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TRichEdit) Controls

func (r *TRichEdit) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TRichEdit) CopyToClipboard

func (r *TRichEdit) CopyToClipboard()

复制到粘贴板。

func (*TRichEdit) Cursor

func (r *TRichEdit) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TRichEdit) CutToClipboard

func (r *TRichEdit) CutToClipboard()

剪切到粘贴板。

func (*TRichEdit) DefAttributes

func (r *TRichEdit) DefAttributes() *TTextAttributes

func (*TRichEdit) DisableAlign

func (r *TRichEdit) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TRichEdit) DockClientCount

func (r *TRichEdit) DockClientCount() int32

获取依靠客户端总数。

func (*TRichEdit) DockClients

func (r *TRichEdit) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TRichEdit) DockSite

func (r *TRichEdit) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TRichEdit) DoubleBuffered

func (r *TRichEdit) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TRichEdit) DragCursor

func (r *TRichEdit) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TRichEdit) DragKind

func (r *TRichEdit) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TRichEdit) DragMode

func (r *TRichEdit) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TRichEdit) Dragging

func (r *TRichEdit) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TRichEdit) EnableAlign

func (r *TRichEdit) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TRichEdit) Enabled

func (r *TRichEdit) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TRichEdit) Equals

func (r *TRichEdit) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TRichEdit) FindChildControl

func (r *TRichEdit) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TRichEdit) FindComponent

func (r *TRichEdit) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TRichEdit) FindText

func (r *TRichEdit) FindText(SearchStr string, StartPos int32, Length int32, Options TSearchTypes) int32

func (*TRichEdit) FixDesignFontsPPI

func (r *TRichEdit) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TRichEdit) FlipChildren

func (r *TRichEdit) FlipChildren(AllLevels bool)

func (*TRichEdit) Floating

func (r *TRichEdit) Floating() bool

func (*TRichEdit) Focused

func (r *TRichEdit) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TRichEdit) Font

func (r *TRichEdit) Font() *TFont

获取字体。

Get Font.

func (*TRichEdit) Free

func (r *TRichEdit) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TRichEdit) GetHashCode

func (r *TRichEdit) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TRichEdit) GetNamePath

func (r *TRichEdit) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TRichEdit) GetTextBuf

func (r *TRichEdit) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TRichEdit) GetTextLen

func (r *TRichEdit) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TRichEdit) Handle

func (r *TRichEdit) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TRichEdit) HandleAllocated

func (r *TRichEdit) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TRichEdit) HasParent

func (r *TRichEdit) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TRichEdit) Height

func (r *TRichEdit) Height() int32

获取高度。

Get height.

func (*TRichEdit) Hide

func (r *TRichEdit) Hide()

隐藏控件。

Hidden control.

func (*TRichEdit) HideSelection

func (r *TRichEdit) HideSelection() bool

获取隐藏选择。

func (*TRichEdit) Hint

func (r *TRichEdit) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TRichEdit) InheritsFrom

func (r *TRichEdit) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TRichEdit) InsertControl

func (r *TRichEdit) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TRichEdit) Instance

func (r *TRichEdit) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TRichEdit) InstanceSize

func (r *TRichEdit) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TRichEdit) Invalidate

func (r *TRichEdit) Invalidate()

要求重绘。

Redraw.

func (*TRichEdit) Is

func (r *TRichEdit) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TRichEdit) IsValid

func (r *TRichEdit) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TRichEdit) Left

func (r *TRichEdit) Left() int32

获取左边位置。

Get Left position.

func (*TRichEdit) Lines

func (r *TRichEdit) Lines() *TStrings

func (*TRichEdit) MaxLength

func (r *TRichEdit) MaxLength() int32

获取最大长度。

func (*TRichEdit) Modified

func (r *TRichEdit) Modified() bool

获取修改。

Get modified.

func (*TRichEdit) MouseInClient

func (r *TRichEdit) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TRichEdit) Name

func (r *TRichEdit) Name() string

获取组件名称。

Get the component name.

func (*TRichEdit) Owner

func (r *TRichEdit) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TRichEdit) PaintTo

func (r *TRichEdit) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TRichEdit) Paragraph

func (r *TRichEdit) Paragraph() *TParaAttributes

func (*TRichEdit) Parent

func (r *TRichEdit) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TRichEdit) ParentColor

func (r *TRichEdit) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TRichEdit) ParentDoubleBuffered

func (r *TRichEdit) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TRichEdit) ParentFont

func (r *TRichEdit) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TRichEdit) ParentShowHint

func (r *TRichEdit) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TRichEdit) ParentToClient

func (r *TRichEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TRichEdit) ParentWindow

func (r *TRichEdit) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TRichEdit) PasteFromClipboard

func (r *TRichEdit) PasteFromClipboard()

从剪切板粘贴。

func (*TRichEdit) Perform

func (r *TRichEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TRichEdit) PopupMenu

func (r *TRichEdit) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TRichEdit) ReadOnly

func (r *TRichEdit) ReadOnly() bool

获取只读。

func (*TRichEdit) Realign

func (r *TRichEdit) Realign()

重新对齐。

Realign.

func (*TRichEdit) Refresh

func (r *TRichEdit) Refresh()

刷新控件。

Refresh control.

func (*TRichEdit) RemoveControl

func (r *TRichEdit) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TRichEdit) Repaint

func (r *TRichEdit) Repaint()

重绘。

Repaint.

func (*TRichEdit) Scale96ToFont

func (r *TRichEdit) Scale96ToFont(ASize int32) int32

func (*TRichEdit) Scale96ToForm

func (r *TRichEdit) Scale96ToForm(ASize int32) int32

func (*TRichEdit) Scale96ToScreen

func (r *TRichEdit) Scale96ToScreen(ASize int32) int32

func (*TRichEdit) ScaleBy

func (r *TRichEdit) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TRichEdit) ScaleDesignToForm

func (r *TRichEdit) ScaleDesignToForm(ASize int32) int32

func (*TRichEdit) ScaleFontTo96

func (r *TRichEdit) ScaleFontTo96(ASize int32) int32

func (*TRichEdit) ScaleFontToScreen

func (r *TRichEdit) ScaleFontToScreen(ASize int32) int32

func (*TRichEdit) ScaleFontsPPI

func (r *TRichEdit) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TRichEdit) ScaleFormTo96

func (r *TRichEdit) ScaleFormTo96(ASize int32) int32

func (*TRichEdit) ScaleFormToDesign

func (r *TRichEdit) ScaleFormToDesign(ASize int32) int32

func (*TRichEdit) ScaleScreenTo96

func (r *TRichEdit) ScaleScreenTo96(ASize int32) int32

func (*TRichEdit) ScaleScreenToFont

func (r *TRichEdit) ScaleScreenToFont(ASize int32) int32

func (*TRichEdit) ScreenToClient

func (r *TRichEdit) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TRichEdit) ScrollBars

func (r *TRichEdit) ScrollBars() TScrollStyle

func (*TRichEdit) ScrollBy

func (r *TRichEdit) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TRichEdit) SelAttributes

func (r *TRichEdit) SelAttributes() *TTextAttributes

func (*TRichEdit) SelLength

func (r *TRichEdit) SelLength() int32

获取选择的长度。

func (*TRichEdit) SelStart

func (r *TRichEdit) SelStart() int32

获取选择的启始位置。

func (*TRichEdit) SelText

func (r *TRichEdit) SelText() string

获取选择的文本。

func (*TRichEdit) SelectAll

func (r *TRichEdit) SelectAll()

全选。

func (*TRichEdit) SendToBack

func (r *TRichEdit) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TRichEdit) SetAction

func (r *TRichEdit) SetAction(value IComponent)

func (*TRichEdit) SetAlign

func (r *TRichEdit) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TRichEdit) SetAlignment

func (r *TRichEdit) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TRichEdit) SetAnchorSideBottom

func (r *TRichEdit) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TRichEdit) SetAnchorSideLeft

func (r *TRichEdit) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TRichEdit) SetAnchorSideRight

func (r *TRichEdit) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TRichEdit) SetAnchorSideTop

func (r *TRichEdit) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TRichEdit) SetAnchors

func (r *TRichEdit) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TRichEdit) SetBiDiMode

func (r *TRichEdit) SetBiDiMode(value TBiDiMode)

func (*TRichEdit) SetBorderSpacing

func (r *TRichEdit) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TRichEdit) SetBorderStyle

func (r *TRichEdit) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TRichEdit) SetBorderWidth

func (r *TRichEdit) SetBorderWidth(value int32)

设置边框的宽度。

func (*TRichEdit) SetBounds

func (r *TRichEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TRichEdit) SetBoundsRect

func (r *TRichEdit) SetBoundsRect(value TRect)

func (*TRichEdit) SetCaretPos

func (r *TRichEdit) SetCaretPos(value TPoint)

func (*TRichEdit) SetChildSizing

func (r *TRichEdit) SetChildSizing(value *TControlChildSizing)

func (*TRichEdit) SetClientHeight

func (r *TRichEdit) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TRichEdit) SetClientWidth

func (r *TRichEdit) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TRichEdit) SetColor

func (r *TRichEdit) SetColor(value TColor)

设置颜色。

Set color.

func (*TRichEdit) SetComponentIndex

func (r *TRichEdit) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TRichEdit) SetConstraints

func (r *TRichEdit) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TRichEdit) SetControlState

func (r *TRichEdit) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TRichEdit) SetControlStyle

func (r *TRichEdit) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TRichEdit) SetCursor

func (r *TRichEdit) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TRichEdit) SetDefAttributes

func (r *TRichEdit) SetDefAttributes(value *TTextAttributes)

func (*TRichEdit) SetDockSite

func (r *TRichEdit) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TRichEdit) SetDoubleBuffered

func (r *TRichEdit) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TRichEdit) SetDragCursor

func (r *TRichEdit) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TRichEdit) SetDragKind

func (r *TRichEdit) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TRichEdit) SetDragMode

func (r *TRichEdit) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TRichEdit) SetEnabled

func (r *TRichEdit) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TRichEdit) SetFocus

func (r *TRichEdit) SetFocus()

设置控件焦点。

Set control focus.

func (*TRichEdit) SetFont

func (r *TRichEdit) SetFont(value *TFont)

设置字体。

Set Font.

func (*TRichEdit) SetHeight

func (r *TRichEdit) SetHeight(value int32)

设置高度。

Set height.

func (*TRichEdit) SetHideSelection

func (r *TRichEdit) SetHideSelection(value bool)

设置隐藏选择。

func (*TRichEdit) SetHint

func (r *TRichEdit) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TRichEdit) SetLeft

func (r *TRichEdit) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TRichEdit) SetLines

func (r *TRichEdit) SetLines(value IStrings)

func (*TRichEdit) SetMaxLength

func (r *TRichEdit) SetMaxLength(value int32)

设置最大长度。

func (*TRichEdit) SetModified

func (r *TRichEdit) SetModified(value bool)

设置修改。

Set modified.

func (*TRichEdit) SetName

func (r *TRichEdit) SetName(value string)

设置组件名称。

Set the component name.

func (*TRichEdit) SetOnChange

func (r *TRichEdit) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TRichEdit) SetOnClick

func (r *TRichEdit) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TRichEdit) SetOnContextPopup

func (r *TRichEdit) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TRichEdit) SetOnDblClick

func (r *TRichEdit) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TRichEdit) SetOnDragDrop

func (r *TRichEdit) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TRichEdit) SetOnDragOver

func (r *TRichEdit) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TRichEdit) SetOnEndDrag

func (r *TRichEdit) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TRichEdit) SetOnEnter

func (r *TRichEdit) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TRichEdit) SetOnExit

func (r *TRichEdit) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TRichEdit) SetOnKeyDown

func (r *TRichEdit) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TRichEdit) SetOnKeyPress

func (r *TRichEdit) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TRichEdit) SetOnKeyUp

func (r *TRichEdit) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TRichEdit) SetOnMouseDown

func (r *TRichEdit) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TRichEdit) SetOnMouseEnter

func (r *TRichEdit) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TRichEdit) SetOnMouseLeave

func (r *TRichEdit) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TRichEdit) SetOnMouseMove

func (r *TRichEdit) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TRichEdit) SetOnMouseUp

func (r *TRichEdit) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TRichEdit) SetOnMouseWheel

func (r *TRichEdit) SetOnMouseWheel(fn TMouseWheelEvent)

设置鼠标滚轮事件。

func (*TRichEdit) SetOnMouseWheelDown

func (r *TRichEdit) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TRichEdit) SetOnMouseWheelUp

func (r *TRichEdit) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TRichEdit) SetParent

func (r *TRichEdit) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TRichEdit) SetParentColor

func (r *TRichEdit) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TRichEdit) SetParentDoubleBuffered

func (r *TRichEdit) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TRichEdit) SetParentFont

func (r *TRichEdit) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TRichEdit) SetParentShowHint

func (r *TRichEdit) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TRichEdit) SetParentWindow

func (r *TRichEdit) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TRichEdit) SetPopupMenu

func (r *TRichEdit) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TRichEdit) SetReadOnly

func (r *TRichEdit) SetReadOnly(value bool)

设置只读。

func (*TRichEdit) SetScrollBars

func (r *TRichEdit) SetScrollBars(value TScrollStyle)

func (*TRichEdit) SetSelAttributes

func (r *TRichEdit) SetSelAttributes(value *TTextAttributes)

func (*TRichEdit) SetSelLength

func (r *TRichEdit) SetSelLength(value int32)

设置选择的长度。

func (*TRichEdit) SetSelStart

func (r *TRichEdit) SetSelStart(value int32)

设置选择的启始位置。

func (*TRichEdit) SetSelText

func (r *TRichEdit) SetSelText(value string)

设置选择的文本。

func (*TRichEdit) SetShowHint

func (r *TRichEdit) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TRichEdit) SetTabOrder

func (r *TRichEdit) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TRichEdit) SetTabStop

func (r *TRichEdit) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TRichEdit) SetTag

func (r *TRichEdit) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TRichEdit) SetText

func (r *TRichEdit) SetText(value string)

设置文本。

func (*TRichEdit) SetTextBuf

func (r *TRichEdit) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TRichEdit) SetTextHint

func (r *TRichEdit) SetTextHint(value string)

设置提示文本。

func (*TRichEdit) SetTop

func (r *TRichEdit) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TRichEdit) SetUseDockManager

func (r *TRichEdit) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TRichEdit) SetVisible

func (r *TRichEdit) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TRichEdit) SetWantReturns

func (r *TRichEdit) SetWantReturns(value bool)

func (*TRichEdit) SetWantTabs

func (r *TRichEdit) SetWantTabs(value bool)

func (*TRichEdit) SetWidth

func (r *TRichEdit) SetWidth(value int32)

设置宽度。

Set width.

func (*TRichEdit) SetWordWrap

func (r *TRichEdit) SetWordWrap(value bool)

设置自动换行。

Set Automatic line break.

func (*TRichEdit) SetZoom

func (r *TRichEdit) SetZoom(value int32)

func (*TRichEdit) Show

func (r *TRichEdit) Show()

显示控件。

Show control.

func (*TRichEdit) ShowHint

func (r *TRichEdit) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TRichEdit) Showing

func (r *TRichEdit) Showing() bool

func (*TRichEdit) TabOrder

func (r *TRichEdit) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TRichEdit) TabStop

func (r *TRichEdit) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TRichEdit) Tag

func (r *TRichEdit) Tag() int

获取对象标记。

Get the control tag.

func (*TRichEdit) Text

func (r *TRichEdit) Text() string

获取文本。

func (*TRichEdit) TextHint

func (r *TRichEdit) TextHint() string

获取提示文本。

func (*TRichEdit) ToString

func (r *TRichEdit) ToString() string

文本类信息。

Text information.

func (*TRichEdit) Top

func (r *TRichEdit) Top() int32

获取顶边位置。

Get Top position.

func (*TRichEdit) Undo

func (r *TRichEdit) Undo()

撤销上一次操作。

func (*TRichEdit) UnsafeAddr

func (r *TRichEdit) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TRichEdit) Update

func (r *TRichEdit) Update()

控件更新。

Update.

func (*TRichEdit) UseDockManager

func (r *TRichEdit) UseDockManager() bool

获取使用停靠管理。

func (*TRichEdit) Visible

func (r *TRichEdit) Visible() bool

获取控件可视。

Get the control visible.

func (*TRichEdit) VisibleDockClientCount

func (r *TRichEdit) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TRichEdit) WantReturns

func (r *TRichEdit) WantReturns() bool

func (*TRichEdit) WantTabs

func (r *TRichEdit) WantTabs() bool

func (*TRichEdit) Width

func (r *TRichEdit) Width() int32

获取宽度。

Get width.

func (*TRichEdit) WordWrap

func (r *TRichEdit) WordWrap() bool

获取自动换行。

Get Automatic line break.

func (*TRichEdit) Zoom

func (r *TRichEdit) Zoom() int32

type TSaveDialog

type TSaveDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsSaveDialog

func AsSaveDialog(obj interface{}) *TSaveDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSaveDialog

func NewSaveDialog(owner IComponent) *TSaveDialog

创建一个新的对象。

Create a new object.

func SaveDialogFromInst

func SaveDialogFromInst(inst uintptr) *TSaveDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsSaveDialog.

func SaveDialogFromObj

func SaveDialogFromObj(obj IObject) *TSaveDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsSaveDialog.

func SaveDialogFromUnsafePointer

func SaveDialogFromUnsafePointer(ptr unsafe.Pointer) *TSaveDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSaveDialog.

func (*TSaveDialog) Assign

func (s *TSaveDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TSaveDialog) ClassName

func (s *TSaveDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TSaveDialog) ClassType

func (s *TSaveDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TSaveDialog) ComponentCount

func (s *TSaveDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TSaveDialog) ComponentIndex

func (s *TSaveDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TSaveDialog) Components

func (s *TSaveDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TSaveDialog) DefaultExt

func (s *TSaveDialog) DefaultExt() string

func (*TSaveDialog) Equals

func (s *TSaveDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TSaveDialog) Execute

func (s *TSaveDialog) Execute() bool

执行。

func (*TSaveDialog) FileName

func (s *TSaveDialog) FileName() string

func (*TSaveDialog) Files

func (s *TSaveDialog) Files() *TStrings

func (*TSaveDialog) Filter

func (s *TSaveDialog) Filter() string

func (*TSaveDialog) FilterIndex

func (s *TSaveDialog) FilterIndex() int32

func (*TSaveDialog) FindComponent

func (s *TSaveDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TSaveDialog) Free

func (s *TSaveDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TSaveDialog) GetHashCode

func (s *TSaveDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TSaveDialog) GetNamePath

func (s *TSaveDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TSaveDialog) Handle

func (s *TSaveDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TSaveDialog) HasParent

func (s *TSaveDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TSaveDialog) InheritsFrom

func (s *TSaveDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TSaveDialog) InitialDir

func (s *TSaveDialog) InitialDir() string

func (*TSaveDialog) Instance

func (s *TSaveDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TSaveDialog) InstanceSize

func (s *TSaveDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TSaveDialog) Is

func (s *TSaveDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSaveDialog) IsValid

func (s *TSaveDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TSaveDialog) Name

func (s *TSaveDialog) Name() string

获取组件名称。

Get the component name.

func (*TSaveDialog) Options

func (s *TSaveDialog) Options() TOpenOptions

func (*TSaveDialog) Owner

func (s *TSaveDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TSaveDialog) SetComponentIndex

func (s *TSaveDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TSaveDialog) SetDefaultExt

func (s *TSaveDialog) SetDefaultExt(value string)

func (*TSaveDialog) SetFileName

func (s *TSaveDialog) SetFileName(value string)

func (*TSaveDialog) SetFilter

func (s *TSaveDialog) SetFilter(value string)

func (*TSaveDialog) SetFilterIndex

func (s *TSaveDialog) SetFilterIndex(value int32)

func (*TSaveDialog) SetInitialDir

func (s *TSaveDialog) SetInitialDir(value string)

func (*TSaveDialog) SetName

func (s *TSaveDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TSaveDialog) SetOnClose

func (s *TSaveDialog) SetOnClose(fn TNotifyEvent)

func (*TSaveDialog) SetOnShow

func (s *TSaveDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TSaveDialog) SetOptions

func (s *TSaveDialog) SetOptions(value TOpenOptions)

func (*TSaveDialog) SetTag

func (s *TSaveDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TSaveDialog) SetTitle

func (s *TSaveDialog) SetTitle(value string)

func (*TSaveDialog) Tag

func (s *TSaveDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TSaveDialog) Title

func (s *TSaveDialog) Title() string

func (*TSaveDialog) ToString

func (s *TSaveDialog) ToString() string

文本类信息。

Text information.

func (*TSaveDialog) UnsafeAddr

func (s *TSaveDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TSavePictureDialog

type TSavePictureDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsSavePictureDialog

func AsSavePictureDialog(obj interface{}) *TSavePictureDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSavePictureDialog

func NewSavePictureDialog(owner IComponent) *TSavePictureDialog

创建一个新的对象。

Create a new object.

func SavePictureDialogFromInst

func SavePictureDialogFromInst(inst uintptr) *TSavePictureDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsSavePictureDialog.

func SavePictureDialogFromObj

func SavePictureDialogFromObj(obj IObject) *TSavePictureDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsSavePictureDialog.

func SavePictureDialogFromUnsafePointer

func SavePictureDialogFromUnsafePointer(ptr unsafe.Pointer) *TSavePictureDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSavePictureDialog.

func (*TSavePictureDialog) Assign

func (s *TSavePictureDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TSavePictureDialog) ClassName

func (s *TSavePictureDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TSavePictureDialog) ClassType

func (s *TSavePictureDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TSavePictureDialog) ComponentCount

func (s *TSavePictureDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TSavePictureDialog) ComponentIndex

func (s *TSavePictureDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TSavePictureDialog) Components

func (s *TSavePictureDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TSavePictureDialog) DefaultExt

func (s *TSavePictureDialog) DefaultExt() string

func (*TSavePictureDialog) Equals

func (s *TSavePictureDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TSavePictureDialog) Execute

func (s *TSavePictureDialog) Execute() bool

执行。

func (*TSavePictureDialog) FileName

func (s *TSavePictureDialog) FileName() string

func (*TSavePictureDialog) Files

func (s *TSavePictureDialog) Files() *TStrings

func (*TSavePictureDialog) Filter

func (s *TSavePictureDialog) Filter() string

func (*TSavePictureDialog) FilterIndex

func (s *TSavePictureDialog) FilterIndex() int32

func (*TSavePictureDialog) FindComponent

func (s *TSavePictureDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TSavePictureDialog) Free

func (s *TSavePictureDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TSavePictureDialog) GetHashCode

func (s *TSavePictureDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TSavePictureDialog) GetNamePath

func (s *TSavePictureDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TSavePictureDialog) Handle

func (s *TSavePictureDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TSavePictureDialog) HasParent

func (s *TSavePictureDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TSavePictureDialog) InheritsFrom

func (s *TSavePictureDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TSavePictureDialog) InitialDir

func (s *TSavePictureDialog) InitialDir() string

func (*TSavePictureDialog) Instance

func (s *TSavePictureDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TSavePictureDialog) InstanceSize

func (s *TSavePictureDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TSavePictureDialog) Is

func (s *TSavePictureDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSavePictureDialog) IsValid

func (s *TSavePictureDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TSavePictureDialog) Name

func (s *TSavePictureDialog) Name() string

获取组件名称。

Get the component name.

func (*TSavePictureDialog) Options

func (s *TSavePictureDialog) Options() TOpenOptions

func (*TSavePictureDialog) Owner

func (s *TSavePictureDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TSavePictureDialog) SetComponentIndex

func (s *TSavePictureDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TSavePictureDialog) SetDefaultExt

func (s *TSavePictureDialog) SetDefaultExt(value string)

func (*TSavePictureDialog) SetFileName

func (s *TSavePictureDialog) SetFileName(value string)

func (*TSavePictureDialog) SetFilter

func (s *TSavePictureDialog) SetFilter(value string)

func (*TSavePictureDialog) SetFilterIndex

func (s *TSavePictureDialog) SetFilterIndex(value int32)

func (*TSavePictureDialog) SetInitialDir

func (s *TSavePictureDialog) SetInitialDir(value string)

func (*TSavePictureDialog) SetName

func (s *TSavePictureDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TSavePictureDialog) SetOnClose

func (s *TSavePictureDialog) SetOnClose(fn TNotifyEvent)

func (*TSavePictureDialog) SetOnShow

func (s *TSavePictureDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TSavePictureDialog) SetOptions

func (s *TSavePictureDialog) SetOptions(value TOpenOptions)

func (*TSavePictureDialog) SetTag

func (s *TSavePictureDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TSavePictureDialog) SetTitle

func (s *TSavePictureDialog) SetTitle(value string)

func (*TSavePictureDialog) Tag

func (s *TSavePictureDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TSavePictureDialog) Title

func (s *TSavePictureDialog) Title() string

func (*TSavePictureDialog) ToString

func (s *TSavePictureDialog) ToString() string

文本类信息。

Text information.

func (*TSavePictureDialog) UnsafeAddr

func (s *TSavePictureDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TScreen

type TScreen struct {
	IComponent
	// contains filtered or unexported fields
}

func AsScreen

func AsScreen(obj interface{}) *TScreen

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewScreen

func NewScreen(owner IComponent) *TScreen

创建一个新的对象。

Create a new object.

func ScreenFromInst

func ScreenFromInst(inst uintptr) *TScreen

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsScreen.

func ScreenFromObj

func ScreenFromObj(obj IObject) *TScreen

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsScreen.

func ScreenFromUnsafePointer

func ScreenFromUnsafePointer(ptr unsafe.Pointer) *TScreen

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsScreen.

func (*TScreen) ActiveControl

func (s *TScreen) ActiveControl() *TWinControl

获取当前动控件。

func (*TScreen) ActiveForm

func (s *TScreen) ActiveForm() *TForm

func (*TScreen) Assign

func (s *TScreen) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TScreen) BeginTempCursor

func (s *TScreen) BeginTempCursor(aCursor TCursor)

func (*TScreen) BeginWaitCursor

func (s *TScreen) BeginWaitCursor()

func (*TScreen) ClassName

func (s *TScreen) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TScreen) ClassType

func (s *TScreen) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TScreen) ComponentCount

func (s *TScreen) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TScreen) ComponentIndex

func (s *TScreen) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TScreen) Components

func (s *TScreen) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TScreen) Cursor

func (s *TScreen) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TScreen) Cursors

func (s *TScreen) Cursors(Index int32) HICON

func (*TScreen) CustomFormCount

func (s *TScreen) CustomFormCount() int32

func (*TScreen) DesktopHeight

func (s *TScreen) DesktopHeight() int32

func (*TScreen) DesktopLeft

func (s *TScreen) DesktopLeft() int32

func (*TScreen) DesktopRect

func (s *TScreen) DesktopRect() TRect

func (*TScreen) DesktopTop

func (s *TScreen) DesktopTop() int32

func (*TScreen) DesktopWidth

func (s *TScreen) DesktopWidth() int32

func (*TScreen) EndTempCursor

func (s *TScreen) EndTempCursor(aCursor TCursor)

func (*TScreen) EndWaitCursor

func (s *TScreen) EndWaitCursor()

func (*TScreen) Equals

func (s *TScreen) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TScreen) FindComponent

func (s *TScreen) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TScreen) FocusedForm

func (s *TScreen) FocusedForm() *TForm

func (*TScreen) Fonts

func (s *TScreen) Fonts() *TStrings

func (*TScreen) FormCount

func (s *TScreen) FormCount() int32

func (*TScreen) Forms

func (s *TScreen) Forms(Index int32) *TForm

func (*TScreen) Free

func (s *TScreen) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TScreen) GetHashCode

func (s *TScreen) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TScreen) GetNamePath

func (s *TScreen) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TScreen) HasParent

func (s *TScreen) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TScreen) Height

func (s *TScreen) Height() int32

获取高度。

Get height.

func (*TScreen) InheritsFrom

func (s *TScreen) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TScreen) Instance

func (s *TScreen) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TScreen) InstanceSize

func (s *TScreen) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TScreen) Is

func (s *TScreen) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TScreen) IsValid

func (s *TScreen) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TScreen) MonitorCount

func (s *TScreen) MonitorCount() int32

func (*TScreen) Monitors

func (s *TScreen) Monitors(Index int32) *TMonitor

func (*TScreen) Name

func (s *TScreen) Name() string

获取组件名称。

Get the component name.

func (*TScreen) Owner

func (s *TScreen) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TScreen) PixelsPerInch

func (s *TScreen) PixelsPerInch() int32

func (*TScreen) PrimaryMonitor

func (s *TScreen) PrimaryMonitor() *TMonitor

func (*TScreen) RealCursor

func (s *TScreen) RealCursor() TCursor

func (*TScreen) SetComponentIndex

func (s *TScreen) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TScreen) SetCursor

func (s *TScreen) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TScreen) SetCursors

func (s *TScreen) SetCursors(Index int32, value HICON)

func (*TScreen) SetName

func (s *TScreen) SetName(value string)

设置组件名称。

Set the component name.

func (*TScreen) SetTag

func (s *TScreen) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TScreen) Tag

func (s *TScreen) Tag() int

获取对象标记。

Get the control tag.

func (*TScreen) ToString

func (s *TScreen) ToString() string

文本类信息。

Text information.

func (*TScreen) UnsafeAddr

func (s *TScreen) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TScreen) Width

func (s *TScreen) Width() int32

获取宽度。

Get width.

func (*TScreen) WorkAreaHeight

func (s *TScreen) WorkAreaHeight() int32

func (*TScreen) WorkAreaLeft

func (s *TScreen) WorkAreaLeft() int32

func (*TScreen) WorkAreaRect

func (s *TScreen) WorkAreaRect() TRect

func (*TScreen) WorkAreaTop

func (s *TScreen) WorkAreaTop() int32

func (*TScreen) WorkAreaWidth

func (s *TScreen) WorkAreaWidth() int32

type TScrollBar

type TScrollBar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsScrollBar

func AsScrollBar(obj interface{}) *TScrollBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewScrollBar

func NewScrollBar(owner IComponent) *TScrollBar

创建一个新的对象。

Create a new object.

func ScrollBarFromInst

func ScrollBarFromInst(inst uintptr) *TScrollBar

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsScrollBar.

func ScrollBarFromObj

func ScrollBarFromObj(obj IObject) *TScrollBar

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsScrollBar.

func ScrollBarFromUnsafePointer

func ScrollBarFromUnsafePointer(ptr unsafe.Pointer) *TScrollBar

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsScrollBar.

func (*TScrollBar) Action

func (s *TScrollBar) Action() *TAction

func (*TScrollBar) Align

func (s *TScrollBar) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TScrollBar) AnchorAsAlign

func (s *TScrollBar) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TScrollBar) AnchorClient

func (s *TScrollBar) AnchorClient(ASpace int32)

func (*TScrollBar) AnchorHorizontalCenterTo

func (s *TScrollBar) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TScrollBar) AnchorParallel

func (s *TScrollBar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TScrollBar) AnchorSame

func (s *TScrollBar) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TScrollBar) AnchorSide

func (s *TScrollBar) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TScrollBar) AnchorSideBottom

func (s *TScrollBar) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TScrollBar) AnchorSideLeft

func (s *TScrollBar) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TScrollBar) AnchorSideRight

func (s *TScrollBar) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TScrollBar) AnchorSideTop

func (s *TScrollBar) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TScrollBar) AnchorToNeighbour

func (s *TScrollBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TScrollBar) AnchorVerticalCenterTo

func (s *TScrollBar) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TScrollBar) Anchors

func (s *TScrollBar) Anchors() TAnchors

获取四个角位置的锚点。

func (*TScrollBar) Assign

func (s *TScrollBar) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TScrollBar) AutoAdjustLayout

func (s *TScrollBar) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TScrollBar) BiDiMode

func (s *TScrollBar) BiDiMode() TBiDiMode

func (*TScrollBar) BorderSpacing

func (s *TScrollBar) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TScrollBar) BoundsRect

func (s *TScrollBar) BoundsRect() TRect

func (*TScrollBar) BringToFront

func (s *TScrollBar) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TScrollBar) Brush

func (s *TScrollBar) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TScrollBar) CanFocus

func (s *TScrollBar) CanFocus() bool

是否可以获得焦点。

func (*TScrollBar) ChildSizing

func (s *TScrollBar) ChildSizing() *TControlChildSizing

func (*TScrollBar) ClassName

func (s *TScrollBar) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TScrollBar) ClassType

func (s *TScrollBar) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TScrollBar) ClientHeight

func (s *TScrollBar) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TScrollBar) ClientOrigin

func (s *TScrollBar) ClientOrigin() TPoint

func (*TScrollBar) ClientRect

func (s *TScrollBar) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TScrollBar) ClientToParent

func (s *TScrollBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TScrollBar) ClientToScreen

func (s *TScrollBar) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TScrollBar) ClientWidth

func (s *TScrollBar) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TScrollBar) ComponentCount

func (s *TScrollBar) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TScrollBar) ComponentIndex

func (s *TScrollBar) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TScrollBar) Components

func (s *TScrollBar) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TScrollBar) Constraints

func (s *TScrollBar) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TScrollBar) ContainsControl

func (s *TScrollBar) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TScrollBar) ControlAtPos

func (s *TScrollBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TScrollBar) ControlCount

func (s *TScrollBar) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TScrollBar) ControlState

func (s *TScrollBar) ControlState() TControlState

获取控件状态。

Get control state.

func (*TScrollBar) ControlStyle

func (s *TScrollBar) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TScrollBar) Controls

func (s *TScrollBar) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TScrollBar) Cursor

func (s *TScrollBar) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TScrollBar) DisableAlign

func (s *TScrollBar) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TScrollBar) DockClientCount

func (s *TScrollBar) DockClientCount() int32

获取依靠客户端总数。

func (*TScrollBar) DockClients

func (s *TScrollBar) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TScrollBar) DockSite

func (s *TScrollBar) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TScrollBar) DoubleBuffered

func (s *TScrollBar) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TScrollBar) DragCursor

func (s *TScrollBar) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TScrollBar) DragKind

func (s *TScrollBar) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TScrollBar) DragMode

func (s *TScrollBar) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TScrollBar) Dragging

func (s *TScrollBar) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TScrollBar) EnableAlign

func (s *TScrollBar) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TScrollBar) Enabled

func (s *TScrollBar) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TScrollBar) Equals

func (s *TScrollBar) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TScrollBar) FindChildControl

func (s *TScrollBar) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TScrollBar) FindComponent

func (s *TScrollBar) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TScrollBar) FixDesignFontsPPI

func (s *TScrollBar) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TScrollBar) FlipChildren

func (s *TScrollBar) FlipChildren(AllLevels bool)

func (*TScrollBar) Floating

func (s *TScrollBar) Floating() bool

func (*TScrollBar) Focused

func (s *TScrollBar) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TScrollBar) Free

func (s *TScrollBar) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TScrollBar) GetHashCode

func (s *TScrollBar) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TScrollBar) GetNamePath

func (s *TScrollBar) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TScrollBar) GetTextBuf

func (s *TScrollBar) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TScrollBar) GetTextLen

func (s *TScrollBar) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TScrollBar) Handle

func (s *TScrollBar) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TScrollBar) HandleAllocated

func (s *TScrollBar) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TScrollBar) HasParent

func (s *TScrollBar) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TScrollBar) Height

func (s *TScrollBar) Height() int32

获取高度。

Get height.

func (*TScrollBar) Hide

func (s *TScrollBar) Hide()

隐藏控件。

Hidden control.

func (*TScrollBar) Hint

func (s *TScrollBar) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TScrollBar) InheritsFrom

func (s *TScrollBar) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TScrollBar) InsertControl

func (s *TScrollBar) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TScrollBar) Instance

func (s *TScrollBar) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TScrollBar) InstanceSize

func (s *TScrollBar) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TScrollBar) Invalidate

func (s *TScrollBar) Invalidate()

要求重绘。

Redraw.

func (*TScrollBar) Is

func (s *TScrollBar) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TScrollBar) IsValid

func (s *TScrollBar) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TScrollBar) Kind

func (s *TScrollBar) Kind() TScrollBarKind

func (*TScrollBar) LargeChange

func (s *TScrollBar) LargeChange() TScrollBarInc

func (*TScrollBar) Left

func (s *TScrollBar) Left() int32

获取左边位置。

Get Left position.

func (*TScrollBar) Max

func (s *TScrollBar) Max() int32

func (*TScrollBar) Min

func (s *TScrollBar) Min() int32

func (*TScrollBar) MouseInClient

func (s *TScrollBar) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TScrollBar) Name

func (s *TScrollBar) Name() string

获取组件名称。

Get the component name.

func (*TScrollBar) Owner

func (s *TScrollBar) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TScrollBar) PageSize

func (s *TScrollBar) PageSize() int32

func (*TScrollBar) PaintTo

func (s *TScrollBar) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TScrollBar) Parent

func (s *TScrollBar) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TScrollBar) ParentDoubleBuffered

func (s *TScrollBar) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TScrollBar) ParentShowHint

func (s *TScrollBar) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TScrollBar) ParentToClient

func (s *TScrollBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TScrollBar) ParentWindow

func (s *TScrollBar) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TScrollBar) Perform

func (s *TScrollBar) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TScrollBar) PopupMenu

func (s *TScrollBar) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TScrollBar) Position

func (s *TScrollBar) Position() int32

func (*TScrollBar) Realign

func (s *TScrollBar) Realign()

重新对齐。

Realign.

func (*TScrollBar) Refresh

func (s *TScrollBar) Refresh()

刷新控件。

Refresh control.

func (*TScrollBar) RemoveControl

func (s *TScrollBar) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TScrollBar) Repaint

func (s *TScrollBar) Repaint()

重绘。

Repaint.

func (*TScrollBar) Scale96ToFont

func (s *TScrollBar) Scale96ToFont(ASize int32) int32

func (*TScrollBar) Scale96ToForm

func (s *TScrollBar) Scale96ToForm(ASize int32) int32

func (*TScrollBar) Scale96ToScreen

func (s *TScrollBar) Scale96ToScreen(ASize int32) int32

func (*TScrollBar) ScaleBy

func (s *TScrollBar) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TScrollBar) ScaleDesignToForm

func (s *TScrollBar) ScaleDesignToForm(ASize int32) int32

func (*TScrollBar) ScaleFontTo96

func (s *TScrollBar) ScaleFontTo96(ASize int32) int32

func (*TScrollBar) ScaleFontToScreen

func (s *TScrollBar) ScaleFontToScreen(ASize int32) int32

func (*TScrollBar) ScaleFontsPPI

func (s *TScrollBar) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TScrollBar) ScaleFormTo96

func (s *TScrollBar) ScaleFormTo96(ASize int32) int32

func (*TScrollBar) ScaleFormToDesign

func (s *TScrollBar) ScaleFormToDesign(ASize int32) int32

func (*TScrollBar) ScaleScreenTo96

func (s *TScrollBar) ScaleScreenTo96(ASize int32) int32

func (*TScrollBar) ScaleScreenToFont

func (s *TScrollBar) ScaleScreenToFont(ASize int32) int32

func (*TScrollBar) ScreenToClient

func (s *TScrollBar) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TScrollBar) ScrollBy

func (s *TScrollBar) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TScrollBar) SendToBack

func (s *TScrollBar) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TScrollBar) SetAction

func (s *TScrollBar) SetAction(value IComponent)

func (*TScrollBar) SetAlign

func (s *TScrollBar) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TScrollBar) SetAnchorSideBottom

func (s *TScrollBar) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TScrollBar) SetAnchorSideLeft

func (s *TScrollBar) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TScrollBar) SetAnchorSideRight

func (s *TScrollBar) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TScrollBar) SetAnchorSideTop

func (s *TScrollBar) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TScrollBar) SetAnchors

func (s *TScrollBar) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TScrollBar) SetBiDiMode

func (s *TScrollBar) SetBiDiMode(value TBiDiMode)

func (*TScrollBar) SetBorderSpacing

func (s *TScrollBar) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TScrollBar) SetBounds

func (s *TScrollBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TScrollBar) SetBoundsRect

func (s *TScrollBar) SetBoundsRect(value TRect)

func (*TScrollBar) SetChildSizing

func (s *TScrollBar) SetChildSizing(value *TControlChildSizing)

func (*TScrollBar) SetClientHeight

func (s *TScrollBar) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TScrollBar) SetClientWidth

func (s *TScrollBar) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TScrollBar) SetComponentIndex

func (s *TScrollBar) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TScrollBar) SetConstraints

func (s *TScrollBar) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TScrollBar) SetControlState

func (s *TScrollBar) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TScrollBar) SetControlStyle

func (s *TScrollBar) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TScrollBar) SetCursor

func (s *TScrollBar) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TScrollBar) SetDockSite

func (s *TScrollBar) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TScrollBar) SetDoubleBuffered

func (s *TScrollBar) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TScrollBar) SetDragCursor

func (s *TScrollBar) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TScrollBar) SetDragKind

func (s *TScrollBar) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TScrollBar) SetDragMode

func (s *TScrollBar) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TScrollBar) SetEnabled

func (s *TScrollBar) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TScrollBar) SetFocus

func (s *TScrollBar) SetFocus()

设置控件焦点。

Set control focus.

func (*TScrollBar) SetHeight

func (s *TScrollBar) SetHeight(value int32)

设置高度。

Set height.

func (*TScrollBar) SetHint

func (s *TScrollBar) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TScrollBar) SetKind

func (s *TScrollBar) SetKind(value TScrollBarKind)

func (*TScrollBar) SetLargeChange

func (s *TScrollBar) SetLargeChange(value TScrollBarInc)

func (*TScrollBar) SetLeft

func (s *TScrollBar) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TScrollBar) SetMax

func (s *TScrollBar) SetMax(value int32)

func (*TScrollBar) SetMin

func (s *TScrollBar) SetMin(value int32)

func (*TScrollBar) SetName

func (s *TScrollBar) SetName(value string)

设置组件名称。

Set the component name.

func (*TScrollBar) SetOnChange

func (s *TScrollBar) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TScrollBar) SetOnContextPopup

func (s *TScrollBar) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TScrollBar) SetOnDragDrop

func (s *TScrollBar) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TScrollBar) SetOnDragOver

func (s *TScrollBar) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TScrollBar) SetOnEndDrag

func (s *TScrollBar) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TScrollBar) SetOnEnter

func (s *TScrollBar) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TScrollBar) SetOnExit

func (s *TScrollBar) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TScrollBar) SetOnKeyDown

func (s *TScrollBar) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TScrollBar) SetOnKeyPress

func (s *TScrollBar) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TScrollBar) SetOnKeyUp

func (s *TScrollBar) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TScrollBar) SetPageSize

func (s *TScrollBar) SetPageSize(value int32)

func (*TScrollBar) SetParams

func (s *TScrollBar) SetParams(APosition int32, AMin int32, AMax int32)

func (*TScrollBar) SetParent

func (s *TScrollBar) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TScrollBar) SetParentDoubleBuffered

func (s *TScrollBar) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TScrollBar) SetParentShowHint

func (s *TScrollBar) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TScrollBar) SetParentWindow

func (s *TScrollBar) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TScrollBar) SetPopupMenu

func (s *TScrollBar) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TScrollBar) SetPosition

func (s *TScrollBar) SetPosition(value int32)

func (*TScrollBar) SetShowHint

func (s *TScrollBar) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TScrollBar) SetSmallChange

func (s *TScrollBar) SetSmallChange(value TScrollBarInc)

func (*TScrollBar) SetTabOrder

func (s *TScrollBar) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TScrollBar) SetTabStop

func (s *TScrollBar) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TScrollBar) SetTag

func (s *TScrollBar) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TScrollBar) SetTextBuf

func (s *TScrollBar) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TScrollBar) SetTop

func (s *TScrollBar) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TScrollBar) SetUseDockManager

func (s *TScrollBar) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TScrollBar) SetVisible

func (s *TScrollBar) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TScrollBar) SetWidth

func (s *TScrollBar) SetWidth(value int32)

设置宽度。

Set width.

func (*TScrollBar) Show

func (s *TScrollBar) Show()

显示控件。

Show control.

func (*TScrollBar) ShowHint

func (s *TScrollBar) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TScrollBar) Showing

func (s *TScrollBar) Showing() bool

func (*TScrollBar) SmallChange

func (s *TScrollBar) SmallChange() TScrollBarInc

func (*TScrollBar) TabOrder

func (s *TScrollBar) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TScrollBar) TabStop

func (s *TScrollBar) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TScrollBar) Tag

func (s *TScrollBar) Tag() int

获取对象标记。

Get the control tag.

func (*TScrollBar) ToString

func (s *TScrollBar) ToString() string

文本类信息。

Text information.

func (*TScrollBar) Top

func (s *TScrollBar) Top() int32

获取顶边位置。

Get Top position.

func (*TScrollBar) UnsafeAddr

func (s *TScrollBar) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TScrollBar) Update

func (s *TScrollBar) Update()

控件更新。

Update.

func (*TScrollBar) UseDockManager

func (s *TScrollBar) UseDockManager() bool

获取使用停靠管理。

func (*TScrollBar) Visible

func (s *TScrollBar) Visible() bool

获取控件可视。

Get the control visible.

func (*TScrollBar) VisibleDockClientCount

func (s *TScrollBar) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TScrollBar) Width

func (s *TScrollBar) Width() int32

获取宽度。

Get width.

type TScrollBox

type TScrollBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsScrollBox

func AsScrollBox(obj interface{}) *TScrollBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewScrollBox

func NewScrollBox(owner IComponent) *TScrollBox

创建一个新的对象。

Create a new object.

func ScrollBoxFromInst

func ScrollBoxFromInst(inst uintptr) *TScrollBox

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsScrollBox.

func ScrollBoxFromObj

func ScrollBoxFromObj(obj IObject) *TScrollBox

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsScrollBox.

func ScrollBoxFromUnsafePointer

func ScrollBoxFromUnsafePointer(ptr unsafe.Pointer) *TScrollBox

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsScrollBox.

func (*TScrollBox) Action

func (s *TScrollBox) Action() *TAction

func (*TScrollBox) Align

func (s *TScrollBox) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TScrollBox) AnchorAsAlign

func (s *TScrollBox) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TScrollBox) AnchorClient

func (s *TScrollBox) AnchorClient(ASpace int32)

func (*TScrollBox) AnchorHorizontalCenterTo

func (s *TScrollBox) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TScrollBox) AnchorParallel

func (s *TScrollBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TScrollBox) AnchorSame

func (s *TScrollBox) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TScrollBox) AnchorSide

func (s *TScrollBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TScrollBox) AnchorSideBottom

func (s *TScrollBox) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TScrollBox) AnchorSideLeft

func (s *TScrollBox) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TScrollBox) AnchorSideRight

func (s *TScrollBox) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TScrollBox) AnchorSideTop

func (s *TScrollBox) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TScrollBox) AnchorToNeighbour

func (s *TScrollBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TScrollBox) AnchorVerticalCenterTo

func (s *TScrollBox) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TScrollBox) Anchors

func (s *TScrollBox) Anchors() TAnchors

获取四个角位置的锚点。

func (*TScrollBox) Assign

func (s *TScrollBox) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TScrollBox) AutoAdjustLayout

func (s *TScrollBox) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TScrollBox) AutoScroll

func (s *TScrollBox) AutoScroll() bool

func (*TScrollBox) AutoSize

func (s *TScrollBox) AutoSize() bool

获取自动调整大小。

func (*TScrollBox) BiDiMode

func (s *TScrollBox) BiDiMode() TBiDiMode

func (*TScrollBox) BorderSpacing

func (s *TScrollBox) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TScrollBox) BorderStyle

func (s *TScrollBox) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TScrollBox) BoundsRect

func (s *TScrollBox) BoundsRect() TRect

func (*TScrollBox) BringToFront

func (s *TScrollBox) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TScrollBox) Brush

func (s *TScrollBox) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TScrollBox) CanFocus

func (s *TScrollBox) CanFocus() bool

是否可以获得焦点。

func (*TScrollBox) ChildSizing

func (s *TScrollBox) ChildSizing() *TControlChildSizing

func (*TScrollBox) ClassName

func (s *TScrollBox) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TScrollBox) ClassType

func (s *TScrollBox) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TScrollBox) ClientHeight

func (s *TScrollBox) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TScrollBox) ClientOrigin

func (s *TScrollBox) ClientOrigin() TPoint

func (*TScrollBox) ClientRect

func (s *TScrollBox) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TScrollBox) ClientToParent

func (s *TScrollBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TScrollBox) ClientToScreen

func (s *TScrollBox) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TScrollBox) ClientWidth

func (s *TScrollBox) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TScrollBox) Color

func (s *TScrollBox) Color() TColor

获取颜色。

Get color.

func (*TScrollBox) ComponentCount

func (s *TScrollBox) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TScrollBox) ComponentIndex

func (s *TScrollBox) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TScrollBox) Components

func (s *TScrollBox) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TScrollBox) Constraints

func (s *TScrollBox) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TScrollBox) ContainsControl

func (s *TScrollBox) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TScrollBox) ControlAtPos

func (s *TScrollBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TScrollBox) ControlCount

func (s *TScrollBox) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TScrollBox) ControlState

func (s *TScrollBox) ControlState() TControlState

获取控件状态。

Get control state.

func (*TScrollBox) ControlStyle

func (s *TScrollBox) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TScrollBox) Controls

func (s *TScrollBox) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TScrollBox) Cursor

func (s *TScrollBox) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TScrollBox) DisableAlign

func (s *TScrollBox) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TScrollBox) DockClientCount

func (s *TScrollBox) DockClientCount() int32

获取依靠客户端总数。

func (*TScrollBox) DockClients

func (s *TScrollBox) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TScrollBox) DockSite

func (s *TScrollBox) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TScrollBox) DoubleBuffered

func (s *TScrollBox) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TScrollBox) DragCursor

func (s *TScrollBox) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TScrollBox) DragKind

func (s *TScrollBox) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TScrollBox) DragMode

func (s *TScrollBox) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TScrollBox) Dragging

func (s *TScrollBox) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TScrollBox) EnableAlign

func (s *TScrollBox) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TScrollBox) Enabled

func (s *TScrollBox) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TScrollBox) Equals

func (s *TScrollBox) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TScrollBox) FindChildControl

func (s *TScrollBox) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TScrollBox) FindComponent

func (s *TScrollBox) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TScrollBox) FixDesignFontsPPI

func (s *TScrollBox) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TScrollBox) FlipChildren

func (s *TScrollBox) FlipChildren(AllLevels bool)

func (*TScrollBox) Floating

func (s *TScrollBox) Floating() bool

func (*TScrollBox) Focused

func (s *TScrollBox) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TScrollBox) Font

func (s *TScrollBox) Font() *TFont

获取字体。

Get Font.

func (*TScrollBox) Free

func (s *TScrollBox) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TScrollBox) GetHashCode

func (s *TScrollBox) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TScrollBox) GetNamePath

func (s *TScrollBox) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TScrollBox) GetTextBuf

func (s *TScrollBox) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TScrollBox) GetTextLen

func (s *TScrollBox) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TScrollBox) Handle

func (s *TScrollBox) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TScrollBox) HandleAllocated

func (s *TScrollBox) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TScrollBox) HasParent

func (s *TScrollBox) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TScrollBox) Height

func (s *TScrollBox) Height() int32

获取高度。

Get height.

func (*TScrollBox) Hide

func (s *TScrollBox) Hide()

隐藏控件。

Hidden control.

func (*TScrollBox) Hint

func (s *TScrollBox) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TScrollBox) HorzScrollBar

func (s *TScrollBox) HorzScrollBar() *TControlScrollBar

func (*TScrollBox) InheritsFrom

func (s *TScrollBox) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TScrollBox) InsertControl

func (s *TScrollBox) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TScrollBox) Instance

func (s *TScrollBox) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TScrollBox) InstanceSize

func (s *TScrollBox) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TScrollBox) Invalidate

func (s *TScrollBox) Invalidate()

要求重绘。

Redraw.

func (*TScrollBox) Is

func (s *TScrollBox) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TScrollBox) IsValid

func (s *TScrollBox) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TScrollBox) Left

func (s *TScrollBox) Left() int32

获取左边位置。

Get Left position.

func (*TScrollBox) MouseInClient

func (s *TScrollBox) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TScrollBox) Name

func (s *TScrollBox) Name() string

获取组件名称。

Get the component name.

func (*TScrollBox) Owner

func (s *TScrollBox) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TScrollBox) PaintTo

func (s *TScrollBox) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TScrollBox) Parent

func (s *TScrollBox) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TScrollBox) ParentBackground

func (s *TScrollBox) ParentBackground() bool

func (*TScrollBox) ParentColor

func (s *TScrollBox) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TScrollBox) ParentDoubleBuffered

func (s *TScrollBox) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TScrollBox) ParentFont

func (s *TScrollBox) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TScrollBox) ParentShowHint

func (s *TScrollBox) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TScrollBox) ParentToClient

func (s *TScrollBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TScrollBox) ParentWindow

func (s *TScrollBox) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TScrollBox) Perform

func (s *TScrollBox) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TScrollBox) PopupMenu

func (s *TScrollBox) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TScrollBox) Realign

func (s *TScrollBox) Realign()

重新对齐。

Realign.

func (*TScrollBox) Refresh

func (s *TScrollBox) Refresh()

刷新控件。

Refresh control.

func (*TScrollBox) RemoveControl

func (s *TScrollBox) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TScrollBox) Repaint

func (s *TScrollBox) Repaint()

重绘。

Repaint.

func (*TScrollBox) Scale96ToFont

func (s *TScrollBox) Scale96ToFont(ASize int32) int32

func (*TScrollBox) Scale96ToForm

func (s *TScrollBox) Scale96ToForm(ASize int32) int32

func (*TScrollBox) Scale96ToScreen

func (s *TScrollBox) Scale96ToScreen(ASize int32) int32

func (*TScrollBox) ScaleBy

func (s *TScrollBox) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TScrollBox) ScaleDesignToForm

func (s *TScrollBox) ScaleDesignToForm(ASize int32) int32

func (*TScrollBox) ScaleFontTo96

func (s *TScrollBox) ScaleFontTo96(ASize int32) int32

func (*TScrollBox) ScaleFontToScreen

func (s *TScrollBox) ScaleFontToScreen(ASize int32) int32

func (*TScrollBox) ScaleFontsPPI

func (s *TScrollBox) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TScrollBox) ScaleFormTo96

func (s *TScrollBox) ScaleFormTo96(ASize int32) int32

func (*TScrollBox) ScaleFormToDesign

func (s *TScrollBox) ScaleFormToDesign(ASize int32) int32

func (*TScrollBox) ScaleScreenTo96

func (s *TScrollBox) ScaleScreenTo96(ASize int32) int32

func (*TScrollBox) ScaleScreenToFont

func (s *TScrollBox) ScaleScreenToFont(ASize int32) int32

func (*TScrollBox) ScreenToClient

func (s *TScrollBox) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TScrollBox) ScrollBy

func (s *TScrollBox) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TScrollBox) ScrollInView

func (s *TScrollBox) ScrollInView(AControl IControl)

func (*TScrollBox) SendToBack

func (s *TScrollBox) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TScrollBox) SetAction

func (s *TScrollBox) SetAction(value IComponent)

func (*TScrollBox) SetAlign

func (s *TScrollBox) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TScrollBox) SetAnchorSideBottom

func (s *TScrollBox) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TScrollBox) SetAnchorSideLeft

func (s *TScrollBox) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TScrollBox) SetAnchorSideRight

func (s *TScrollBox) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TScrollBox) SetAnchorSideTop

func (s *TScrollBox) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TScrollBox) SetAnchors

func (s *TScrollBox) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TScrollBox) SetAutoScroll

func (s *TScrollBox) SetAutoScroll(value bool)

func (*TScrollBox) SetAutoSize

func (s *TScrollBox) SetAutoSize(value bool)

设置自动调整大小。

func (*TScrollBox) SetBiDiMode

func (s *TScrollBox) SetBiDiMode(value TBiDiMode)

func (*TScrollBox) SetBorderSpacing

func (s *TScrollBox) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TScrollBox) SetBorderStyle

func (s *TScrollBox) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TScrollBox) SetBounds

func (s *TScrollBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TScrollBox) SetBoundsRect

func (s *TScrollBox) SetBoundsRect(value TRect)

func (*TScrollBox) SetChildSizing

func (s *TScrollBox) SetChildSizing(value *TControlChildSizing)

func (*TScrollBox) SetClientHeight

func (s *TScrollBox) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TScrollBox) SetClientWidth

func (s *TScrollBox) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TScrollBox) SetColor

func (s *TScrollBox) SetColor(value TColor)

设置颜色。

Set color.

func (*TScrollBox) SetComponentIndex

func (s *TScrollBox) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TScrollBox) SetConstraints

func (s *TScrollBox) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TScrollBox) SetControlState

func (s *TScrollBox) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TScrollBox) SetControlStyle

func (s *TScrollBox) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TScrollBox) SetCursor

func (s *TScrollBox) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TScrollBox) SetDockSite

func (s *TScrollBox) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TScrollBox) SetDoubleBuffered

func (s *TScrollBox) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TScrollBox) SetDragCursor

func (s *TScrollBox) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TScrollBox) SetDragKind

func (s *TScrollBox) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TScrollBox) SetDragMode

func (s *TScrollBox) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TScrollBox) SetEnabled

func (s *TScrollBox) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TScrollBox) SetFocus

func (s *TScrollBox) SetFocus()

设置控件焦点。

Set control focus.

func (*TScrollBox) SetFont

func (s *TScrollBox) SetFont(value *TFont)

设置字体。

Set Font.

func (*TScrollBox) SetHeight

func (s *TScrollBox) SetHeight(value int32)

设置高度。

Set height.

func (*TScrollBox) SetHint

func (s *TScrollBox) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TScrollBox) SetHorzScrollBar

func (s *TScrollBox) SetHorzScrollBar(value *TControlScrollBar)

func (*TScrollBox) SetLeft

func (s *TScrollBox) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TScrollBox) SetName

func (s *TScrollBox) SetName(value string)

设置组件名称。

Set the component name.

func (*TScrollBox) SetOnAlignPosition

func (s *TScrollBox) SetOnAlignPosition(fn TAlignPositionEvent)

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TScrollBox) SetOnClick

func (s *TScrollBox) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TScrollBox) SetOnConstrainedResize

func (s *TScrollBox) SetOnConstrainedResize(fn TConstrainedResizeEvent)

func (*TScrollBox) SetOnDblClick

func (s *TScrollBox) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TScrollBox) SetOnDockDrop

func (s *TScrollBox) SetOnDockDrop(fn TDockDropEvent)

func (*TScrollBox) SetOnDragDrop

func (s *TScrollBox) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TScrollBox) SetOnDragOver

func (s *TScrollBox) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TScrollBox) SetOnEndDrag

func (s *TScrollBox) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TScrollBox) SetOnEnter

func (s *TScrollBox) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TScrollBox) SetOnExit

func (s *TScrollBox) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TScrollBox) SetOnGetSiteInfo

func (s *TScrollBox) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TScrollBox) SetOnMouseDown

func (s *TScrollBox) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TScrollBox) SetOnMouseEnter

func (s *TScrollBox) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TScrollBox) SetOnMouseLeave

func (s *TScrollBox) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TScrollBox) SetOnMouseMove

func (s *TScrollBox) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TScrollBox) SetOnMouseUp

func (s *TScrollBox) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TScrollBox) SetOnMouseWheel

func (s *TScrollBox) SetOnMouseWheel(fn TMouseWheelEvent)

设置鼠标滚轮事件。

func (*TScrollBox) SetOnMouseWheelDown

func (s *TScrollBox) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TScrollBox) SetOnMouseWheelUp

func (s *TScrollBox) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TScrollBox) SetOnResize

func (s *TScrollBox) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TScrollBox) SetOnUnDock

func (s *TScrollBox) SetOnUnDock(fn TUnDockEvent)

func (*TScrollBox) SetParent

func (s *TScrollBox) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TScrollBox) SetParentBackground

func (s *TScrollBox) SetParentBackground(value bool)

func (*TScrollBox) SetParentColor

func (s *TScrollBox) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TScrollBox) SetParentDoubleBuffered

func (s *TScrollBox) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TScrollBox) SetParentFont

func (s *TScrollBox) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TScrollBox) SetParentShowHint

func (s *TScrollBox) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TScrollBox) SetParentWindow

func (s *TScrollBox) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TScrollBox) SetPopupMenu

func (s *TScrollBox) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TScrollBox) SetShowHint

func (s *TScrollBox) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TScrollBox) SetTabOrder

func (s *TScrollBox) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TScrollBox) SetTabStop

func (s *TScrollBox) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TScrollBox) SetTag

func (s *TScrollBox) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TScrollBox) SetTextBuf

func (s *TScrollBox) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TScrollBox) SetTop

func (s *TScrollBox) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TScrollBox) SetUseDockManager

func (s *TScrollBox) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TScrollBox) SetVertScrollBar

func (s *TScrollBox) SetVertScrollBar(value *TControlScrollBar)

func (*TScrollBox) SetVisible

func (s *TScrollBox) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TScrollBox) SetWidth

func (s *TScrollBox) SetWidth(value int32)

设置宽度。

Set width.

func (*TScrollBox) Show

func (s *TScrollBox) Show()

显示控件。

Show control.

func (*TScrollBox) ShowHint

func (s *TScrollBox) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TScrollBox) Showing

func (s *TScrollBox) Showing() bool

func (*TScrollBox) TabOrder

func (s *TScrollBox) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TScrollBox) TabStop

func (s *TScrollBox) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TScrollBox) Tag

func (s *TScrollBox) Tag() int

获取对象标记。

Get the control tag.

func (*TScrollBox) ToString

func (s *TScrollBox) ToString() string

文本类信息。

Text information.

func (*TScrollBox) Top

func (s *TScrollBox) Top() int32

获取顶边位置。

Get Top position.

func (*TScrollBox) UnsafeAddr

func (s *TScrollBox) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TScrollBox) Update

func (s *TScrollBox) Update()

控件更新。

Update.

func (*TScrollBox) UseDockManager

func (s *TScrollBox) UseDockManager() bool

获取使用停靠管理。

func (*TScrollBox) VertScrollBar

func (s *TScrollBox) VertScrollBar() *TControlScrollBar

func (*TScrollBox) Visible

func (s *TScrollBox) Visible() bool

获取控件可视。

Get the control visible.

func (*TScrollBox) VisibleDockClientCount

func (s *TScrollBox) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TScrollBox) Width

func (s *TScrollBox) Width() int32

获取宽度。

Get width.

type TSectionDragEvent

type TSectionDragEvent func(sender IObject, fromSection, toSection *THeaderSection, allowDrag *bool)

TSectionDragEvent = procedure (Sender: TObject; FromSection, ToSection: THeaderSection; var AllowDrag: Boolean) of object;

type TSectionNotifyEvent

type TSectionNotifyEvent func(headerControl *THeaderControl, section *THeaderSection)

TSectionNotifyEvent = procedure(HeaderControl: THeaderControl; Section: THeaderSection) of object;

type TSectionTrackEvent

type TSectionTrackEvent func(headerControl *THeaderControl, section *THeaderSection, width int32, state TSectionTrackState)

TSectionTrackEvent = procedure(HeaderControl: THeaderControl; Section: THeaderSection; Width: Integer; State: TSectionTrackState) of object;

type TSelectCellEvent

type TSelectCellEvent func(sender IObject, aCol, aRow int32, canSelect *bool)

TSelectCellEvent = procedure (Sender: TObject; ACol, ARow: Longint; var CanSelect: Boolean) of object;

type TSelectDirectoryDialog

type TSelectDirectoryDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsSelectDirectoryDialog

func AsSelectDirectoryDialog(obj interface{}) *TSelectDirectoryDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSelectDirectoryDialog

func NewSelectDirectoryDialog(owner IComponent) *TSelectDirectoryDialog

创建一个新的对象。

Create a new object.

func SelectDirectoryDialogFromInst

func SelectDirectoryDialogFromInst(inst uintptr) *TSelectDirectoryDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsSelectDirectoryDialog.

func SelectDirectoryDialogFromObj

func SelectDirectoryDialogFromObj(obj IObject) *TSelectDirectoryDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsSelectDirectoryDialog.

func SelectDirectoryDialogFromUnsafePointer

func SelectDirectoryDialogFromUnsafePointer(ptr unsafe.Pointer) *TSelectDirectoryDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSelectDirectoryDialog.

func (*TSelectDirectoryDialog) Assign

func (s *TSelectDirectoryDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TSelectDirectoryDialog) ClassName

func (s *TSelectDirectoryDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TSelectDirectoryDialog) ClassType

func (s *TSelectDirectoryDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TSelectDirectoryDialog) ComponentCount

func (s *TSelectDirectoryDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TSelectDirectoryDialog) ComponentIndex

func (s *TSelectDirectoryDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TSelectDirectoryDialog) Components

func (s *TSelectDirectoryDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TSelectDirectoryDialog) DefaultExt

func (s *TSelectDirectoryDialog) DefaultExt() string

func (*TSelectDirectoryDialog) Equals

func (s *TSelectDirectoryDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TSelectDirectoryDialog) Execute

func (s *TSelectDirectoryDialog) Execute() bool

执行。

func (*TSelectDirectoryDialog) FileName

func (s *TSelectDirectoryDialog) FileName() string

func (*TSelectDirectoryDialog) Files

func (s *TSelectDirectoryDialog) Files() *TStrings

func (*TSelectDirectoryDialog) Filter

func (s *TSelectDirectoryDialog) Filter() string

func (*TSelectDirectoryDialog) FilterIndex

func (s *TSelectDirectoryDialog) FilterIndex() int32

func (*TSelectDirectoryDialog) FindComponent

func (s *TSelectDirectoryDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TSelectDirectoryDialog) Free

func (s *TSelectDirectoryDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TSelectDirectoryDialog) GetHashCode

func (s *TSelectDirectoryDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TSelectDirectoryDialog) GetNamePath

func (s *TSelectDirectoryDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TSelectDirectoryDialog) Handle

func (s *TSelectDirectoryDialog) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TSelectDirectoryDialog) HasParent

func (s *TSelectDirectoryDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TSelectDirectoryDialog) InheritsFrom

func (s *TSelectDirectoryDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TSelectDirectoryDialog) InitialDir

func (s *TSelectDirectoryDialog) InitialDir() string

func (*TSelectDirectoryDialog) Instance

func (s *TSelectDirectoryDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TSelectDirectoryDialog) InstanceSize

func (s *TSelectDirectoryDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TSelectDirectoryDialog) Is

func (s *TSelectDirectoryDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSelectDirectoryDialog) IsValid

func (s *TSelectDirectoryDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TSelectDirectoryDialog) Name

func (s *TSelectDirectoryDialog) Name() string

获取组件名称。

Get the component name.

func (*TSelectDirectoryDialog) Options

func (s *TSelectDirectoryDialog) Options() TOpenOptions

func (*TSelectDirectoryDialog) Owner

func (s *TSelectDirectoryDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TSelectDirectoryDialog) SetComponentIndex

func (s *TSelectDirectoryDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TSelectDirectoryDialog) SetDefaultExt

func (s *TSelectDirectoryDialog) SetDefaultExt(value string)

func (*TSelectDirectoryDialog) SetFileName

func (s *TSelectDirectoryDialog) SetFileName(value string)

func (*TSelectDirectoryDialog) SetFilter

func (s *TSelectDirectoryDialog) SetFilter(value string)

func (*TSelectDirectoryDialog) SetFilterIndex

func (s *TSelectDirectoryDialog) SetFilterIndex(value int32)

func (*TSelectDirectoryDialog) SetInitialDir

func (s *TSelectDirectoryDialog) SetInitialDir(value string)

func (*TSelectDirectoryDialog) SetName

func (s *TSelectDirectoryDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TSelectDirectoryDialog) SetOnClose

func (s *TSelectDirectoryDialog) SetOnClose(fn TNotifyEvent)

func (*TSelectDirectoryDialog) SetOnShow

func (s *TSelectDirectoryDialog) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TSelectDirectoryDialog) SetOptions

func (s *TSelectDirectoryDialog) SetOptions(value TOpenOptions)

func (*TSelectDirectoryDialog) SetTag

func (s *TSelectDirectoryDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TSelectDirectoryDialog) SetTitle

func (s *TSelectDirectoryDialog) SetTitle(value string)

func (*TSelectDirectoryDialog) Tag

func (s *TSelectDirectoryDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TSelectDirectoryDialog) Title

func (s *TSelectDirectoryDialog) Title() string

func (*TSelectDirectoryDialog) ToString

func (s *TSelectDirectoryDialog) ToString() string

文本类信息。

Text information.

func (*TSelectDirectoryDialog) UnsafeAddr

func (s *TSelectDirectoryDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TSelectEditorEvent

type TSelectEditorEvent func(sender IObject, aCol, aRow int32, editor **TWinControl)

TSelectEditorEvent = procedure(Sender: TObject; aCol, aRow: Integer; var Editor: TWinControl) of object;

type TSetCheckboxStateEvent

type TSetCheckboxStateEvent func(sender IObject, ACol, ARow int32, Value TCheckBoxState)

TSetCheckboxStateEvent = procedure (Sender: TObject; ACol, ARow: Integer; const Value: TCheckboxState) of object;

type TSetEditEvent

type TSetEditEvent func(sender IObject, aCol, aRow int32, value string)

TSetEditEvent = procedure (Sender: TObject; ACol, ARow: Longint; const Value: string) of object;

type TShape

type TShape struct {
	IControl
	// contains filtered or unexported fields
}

func AsShape

func AsShape(obj interface{}) *TShape

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewShape

func NewShape(owner IComponent) *TShape

创建一个新的对象。

Create a new object.

func ShapeFromInst

func ShapeFromInst(inst uintptr) *TShape

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsShape.

func ShapeFromObj

func ShapeFromObj(obj IObject) *TShape

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsShape.

func ShapeFromUnsafePointer

func ShapeFromUnsafePointer(ptr unsafe.Pointer) *TShape

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsShape.

func (*TShape) Action

func (s *TShape) Action() *TAction

func (*TShape) Align

func (s *TShape) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TShape) AnchorAsAlign

func (s *TShape) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TShape) AnchorClient

func (s *TShape) AnchorClient(ASpace int32)

func (*TShape) AnchorHorizontalCenterTo

func (s *TShape) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TShape) AnchorParallel

func (s *TShape) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TShape) AnchorSame

func (s *TShape) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TShape) AnchorSide

func (s *TShape) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TShape) AnchorSideBottom

func (s *TShape) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TShape) AnchorSideLeft

func (s *TShape) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TShape) AnchorSideRight

func (s *TShape) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TShape) AnchorSideTop

func (s *TShape) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TShape) AnchorToNeighbour

func (s *TShape) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TShape) AnchorVerticalCenterTo

func (s *TShape) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TShape) Anchors

func (s *TShape) Anchors() TAnchors

获取四个角位置的锚点。

func (*TShape) Assign

func (s *TShape) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TShape) AutoAdjustLayout

func (s *TShape) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TShape) BiDiMode

func (s *TShape) BiDiMode() TBiDiMode

func (*TShape) BorderSpacing

func (s *TShape) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TShape) BoundsRect

func (s *TShape) BoundsRect() TRect

func (*TShape) BringToFront

func (s *TShape) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TShape) Brush

func (s *TShape) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TShape) ClassName

func (s *TShape) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TShape) ClassType

func (s *TShape) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TShape) ClientHeight

func (s *TShape) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TShape) ClientOrigin

func (s *TShape) ClientOrigin() TPoint

func (*TShape) ClientRect

func (s *TShape) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TShape) ClientToParent

func (s *TShape) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TShape) ClientToScreen

func (s *TShape) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TShape) ClientWidth

func (s *TShape) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TShape) ComponentCount

func (s *TShape) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TShape) ComponentIndex

func (s *TShape) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TShape) Components

func (s *TShape) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TShape) Constraints

func (s *TShape) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TShape) ControlState

func (s *TShape) ControlState() TControlState

获取控件状态。

Get control state.

func (*TShape) ControlStyle

func (s *TShape) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TShape) Cursor

func (s *TShape) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TShape) DragCursor

func (s *TShape) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TShape) DragKind

func (s *TShape) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TShape) DragMode

func (s *TShape) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TShape) Dragging

func (s *TShape) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TShape) Enabled

func (s *TShape) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TShape) Equals

func (s *TShape) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TShape) FindComponent

func (s *TShape) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TShape) FixDesignFontsPPI

func (s *TShape) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TShape) Floating

func (s *TShape) Floating() bool

func (*TShape) Free

func (s *TShape) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TShape) GetHashCode

func (s *TShape) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TShape) GetNamePath

func (s *TShape) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TShape) GetTextBuf

func (s *TShape) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TShape) GetTextLen

func (s *TShape) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TShape) HasParent

func (s *TShape) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TShape) Height

func (s *TShape) Height() int32

获取高度。

Get height.

func (*TShape) Hide

func (s *TShape) Hide()

隐藏控件。

Hidden control.

func (*TShape) Hint

func (s *TShape) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TShape) InheritsFrom

func (s *TShape) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TShape) Instance

func (s *TShape) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TShape) InstanceSize

func (s *TShape) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TShape) Invalidate

func (s *TShape) Invalidate()

要求重绘。

Redraw.

func (*TShape) Is

func (s *TShape) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TShape) IsValid

func (s *TShape) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TShape) Left

func (s *TShape) Left() int32

获取左边位置。

Get Left position.

func (*TShape) Name

func (s *TShape) Name() string

获取组件名称。

Get the component name.

func (*TShape) Owner

func (s *TShape) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TShape) Parent

func (s *TShape) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TShape) ParentShowHint

func (s *TShape) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TShape) ParentToClient

func (s *TShape) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TShape) Pen

func (s *TShape) Pen() *TPen

func (*TShape) Perform

func (s *TShape) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TShape) Refresh

func (s *TShape) Refresh()

刷新控件。

Refresh control.

func (*TShape) Repaint

func (s *TShape) Repaint()

重绘。

Repaint.

func (*TShape) Scale96ToFont

func (s *TShape) Scale96ToFont(ASize int32) int32

func (*TShape) Scale96ToForm

func (s *TShape) Scale96ToForm(ASize int32) int32

func (*TShape) Scale96ToScreen

func (s *TShape) Scale96ToScreen(ASize int32) int32

func (*TShape) ScaleDesignToForm

func (s *TShape) ScaleDesignToForm(ASize int32) int32

func (*TShape) ScaleFontTo96

func (s *TShape) ScaleFontTo96(ASize int32) int32

func (*TShape) ScaleFontToScreen

func (s *TShape) ScaleFontToScreen(ASize int32) int32

func (*TShape) ScaleFontsPPI

func (s *TShape) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TShape) ScaleFormTo96

func (s *TShape) ScaleFormTo96(ASize int32) int32

func (*TShape) ScaleFormToDesign

func (s *TShape) ScaleFormToDesign(ASize int32) int32

func (*TShape) ScaleScreenTo96

func (s *TShape) ScaleScreenTo96(ASize int32) int32

func (*TShape) ScaleScreenToFont

func (s *TShape) ScaleScreenToFont(ASize int32) int32

func (*TShape) ScreenToClient

func (s *TShape) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TShape) SendToBack

func (s *TShape) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TShape) SetAction

func (s *TShape) SetAction(value IComponent)

func (*TShape) SetAlign

func (s *TShape) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TShape) SetAnchorSideBottom

func (s *TShape) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TShape) SetAnchorSideLeft

func (s *TShape) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TShape) SetAnchorSideRight

func (s *TShape) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TShape) SetAnchorSideTop

func (s *TShape) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TShape) SetAnchors

func (s *TShape) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TShape) SetBiDiMode

func (s *TShape) SetBiDiMode(value TBiDiMode)

func (*TShape) SetBorderSpacing

func (s *TShape) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TShape) SetBounds

func (s *TShape) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TShape) SetBoundsRect

func (s *TShape) SetBoundsRect(value TRect)

func (*TShape) SetBrush

func (s *TShape) SetBrush(value *TBrush)

设置画刷对象。

Set Brush.

func (*TShape) SetClientHeight

func (s *TShape) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TShape) SetClientWidth

func (s *TShape) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TShape) SetComponentIndex

func (s *TShape) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TShape) SetConstraints

func (s *TShape) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TShape) SetControlState

func (s *TShape) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TShape) SetControlStyle

func (s *TShape) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TShape) SetCursor

func (s *TShape) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TShape) SetDragCursor

func (s *TShape) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TShape) SetDragKind

func (s *TShape) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TShape) SetDragMode

func (s *TShape) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TShape) SetEnabled

func (s *TShape) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TShape) SetHeight

func (s *TShape) SetHeight(value int32)

设置高度。

Set height.

func (*TShape) SetHint

func (s *TShape) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TShape) SetLeft

func (s *TShape) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TShape) SetName

func (s *TShape) SetName(value string)

设置组件名称。

Set the component name.

func (*TShape) SetOnDragDrop

func (s *TShape) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TShape) SetOnDragOver

func (s *TShape) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TShape) SetOnEndDrag

func (s *TShape) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TShape) SetOnMouseDown

func (s *TShape) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TShape) SetOnMouseEnter

func (s *TShape) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TShape) SetOnMouseLeave

func (s *TShape) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TShape) SetOnMouseMove

func (s *TShape) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TShape) SetOnMouseUp

func (s *TShape) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TShape) SetParent

func (s *TShape) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TShape) SetParentShowHint

func (s *TShape) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TShape) SetPen

func (s *TShape) SetPen(value *TPen)

func (*TShape) SetShape

func (s *TShape) SetShape(value TShapeType)

func (*TShape) SetShowHint

func (s *TShape) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TShape) SetTag

func (s *TShape) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TShape) SetTextBuf

func (s *TShape) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TShape) SetTop

func (s *TShape) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TShape) SetVisible

func (s *TShape) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TShape) SetWidth

func (s *TShape) SetWidth(value int32)

设置宽度。

Set width.

func (*TShape) Shape

func (s *TShape) Shape() TShapeType

func (*TShape) Show

func (s *TShape) Show()

显示控件。

Show control.

func (*TShape) ShowHint

func (s *TShape) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TShape) Tag

func (s *TShape) Tag() int

获取对象标记。

Get the control tag.

func (*TShape) ToString

func (s *TShape) ToString() string

文本类信息。

Text information.

func (*TShape) Top

func (s *TShape) Top() int32

获取顶边位置。

Get Top position.

func (*TShape) UnsafeAddr

func (s *TShape) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TShape) Update

func (s *TShape) Update()

控件更新。

Update.

func (*TShape) Visible

func (s *TShape) Visible() bool

获取控件可视。

Get the control visible.

func (*TShape) Width

func (s *TShape) Width() int32

获取宽度。

Get width.

type TShortCutEvent

type TShortCutEvent func(msg *TWMKey, handled *bool)

TShortCutEvent = procedure (var Msg: TWMKey; var Handled: Boolean) of object;

type TSizeConstraints

type TSizeConstraints struct {
	IObject
	// contains filtered or unexported fields
}

func AsSizeConstraints

func AsSizeConstraints(obj interface{}) *TSizeConstraints

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func SizeConstraintsFromInst

func SizeConstraintsFromInst(inst uintptr) *TSizeConstraints

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsSizeConstraints.

func SizeConstraintsFromObj

func SizeConstraintsFromObj(obj IObject) *TSizeConstraints

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsSizeConstraints.

func SizeConstraintsFromUnsafePointer

func SizeConstraintsFromUnsafePointer(ptr unsafe.Pointer) *TSizeConstraints

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSizeConstraints.

func (*TSizeConstraints) Assign

func (s *TSizeConstraints) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TSizeConstraints) ClassName

func (s *TSizeConstraints) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TSizeConstraints) ClassType

func (s *TSizeConstraints) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TSizeConstraints) Equals

func (s *TSizeConstraints) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TSizeConstraints) GetHashCode

func (s *TSizeConstraints) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TSizeConstraints) GetNamePath

func (s *TSizeConstraints) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TSizeConstraints) InheritsFrom

func (s *TSizeConstraints) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TSizeConstraints) Instance

func (s *TSizeConstraints) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TSizeConstraints) InstanceSize

func (s *TSizeConstraints) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TSizeConstraints) Is

func (s *TSizeConstraints) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSizeConstraints) IsValid

func (s *TSizeConstraints) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TSizeConstraints) MaxHeight

func (s *TSizeConstraints) MaxHeight() TConstraintSize

func (*TSizeConstraints) MaxWidth

func (s *TSizeConstraints) MaxWidth() TConstraintSize

func (*TSizeConstraints) MinHeight

func (s *TSizeConstraints) MinHeight() TConstraintSize

func (*TSizeConstraints) MinWidth

func (s *TSizeConstraints) MinWidth() TConstraintSize

func (*TSizeConstraints) SetMaxHeight

func (s *TSizeConstraints) SetMaxHeight(value TConstraintSize)

func (*TSizeConstraints) SetMaxWidth

func (s *TSizeConstraints) SetMaxWidth(value TConstraintSize)

func (*TSizeConstraints) SetMinHeight

func (s *TSizeConstraints) SetMinHeight(value TConstraintSize)

func (*TSizeConstraints) SetMinWidth

func (s *TSizeConstraints) SetMinWidth(value TConstraintSize)

func (*TSizeConstraints) SetOnChange

func (s *TSizeConstraints) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TSizeConstraints) ToString

func (s *TSizeConstraints) ToString() string

文本类信息。

Text information.

func (*TSizeConstraints) UnsafeAddr

func (s *TSizeConstraints) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TSpeedButton

type TSpeedButton struct {
	IControl
	// contains filtered or unexported fields
}

func AsSpeedButton

func AsSpeedButton(obj interface{}) *TSpeedButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSpeedButton

func NewSpeedButton(owner IComponent) *TSpeedButton

创建一个新的对象。

Create a new object.

func SpeedButtonFromInst

func SpeedButtonFromInst(inst uintptr) *TSpeedButton

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsSpeedButton.

func SpeedButtonFromObj

func SpeedButtonFromObj(obj IObject) *TSpeedButton

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsSpeedButton.

func SpeedButtonFromUnsafePointer

func SpeedButtonFromUnsafePointer(ptr unsafe.Pointer) *TSpeedButton

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSpeedButton.

func (*TSpeedButton) Action

func (s *TSpeedButton) Action() *TAction

func (*TSpeedButton) Align

func (s *TSpeedButton) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TSpeedButton) AllowAllUp

func (s *TSpeedButton) AllowAllUp() bool

func (*TSpeedButton) AnchorAsAlign

func (s *TSpeedButton) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TSpeedButton) AnchorClient

func (s *TSpeedButton) AnchorClient(ASpace int32)

func (*TSpeedButton) AnchorHorizontalCenterTo

func (s *TSpeedButton) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TSpeedButton) AnchorParallel

func (s *TSpeedButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSpeedButton) AnchorSame

func (s *TSpeedButton) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TSpeedButton) AnchorSide

func (s *TSpeedButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TSpeedButton) AnchorSideBottom

func (s *TSpeedButton) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TSpeedButton) AnchorSideLeft

func (s *TSpeedButton) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TSpeedButton) AnchorSideRight

func (s *TSpeedButton) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TSpeedButton) AnchorSideTop

func (s *TSpeedButton) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TSpeedButton) AnchorToNeighbour

func (s *TSpeedButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSpeedButton) AnchorVerticalCenterTo

func (s *TSpeedButton) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TSpeedButton) Anchors

func (s *TSpeedButton) Anchors() TAnchors

获取四个角位置的锚点。

func (*TSpeedButton) Assign

func (s *TSpeedButton) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TSpeedButton) AutoAdjustLayout

func (s *TSpeedButton) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TSpeedButton) BiDiMode

func (s *TSpeedButton) BiDiMode() TBiDiMode

func (*TSpeedButton) BorderSpacing

func (s *TSpeedButton) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TSpeedButton) BoundsRect

func (s *TSpeedButton) BoundsRect() TRect

func (*TSpeedButton) BringToFront

func (s *TSpeedButton) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TSpeedButton) Caption

func (s *TSpeedButton) Caption() string

获取控件标题。

Get the control title.

func (*TSpeedButton) ClassName

func (s *TSpeedButton) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TSpeedButton) ClassType

func (s *TSpeedButton) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TSpeedButton) Click

func (s *TSpeedButton) Click()

单击。

func (*TSpeedButton) ClientHeight

func (s *TSpeedButton) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TSpeedButton) ClientOrigin

func (s *TSpeedButton) ClientOrigin() TPoint

func (*TSpeedButton) ClientRect

func (s *TSpeedButton) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TSpeedButton) ClientToParent

func (s *TSpeedButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TSpeedButton) ClientToScreen

func (s *TSpeedButton) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TSpeedButton) ClientWidth

func (s *TSpeedButton) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TSpeedButton) ComponentCount

func (s *TSpeedButton) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TSpeedButton) ComponentIndex

func (s *TSpeedButton) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TSpeedButton) Components

func (s *TSpeedButton) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TSpeedButton) Constraints

func (s *TSpeedButton) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TSpeedButton) ControlState

func (s *TSpeedButton) ControlState() TControlState

获取控件状态。

Get control state.

func (*TSpeedButton) ControlStyle

func (s *TSpeedButton) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TSpeedButton) Cursor

func (s *TSpeedButton) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TSpeedButton) Down

func (s *TSpeedButton) Down() bool

func (*TSpeedButton) Dragging

func (s *TSpeedButton) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TSpeedButton) Enabled

func (s *TSpeedButton) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TSpeedButton) Equals

func (s *TSpeedButton) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TSpeedButton) FindComponent

func (s *TSpeedButton) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TSpeedButton) FixDesignFontsPPI

func (s *TSpeedButton) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TSpeedButton) Flat

func (s *TSpeedButton) Flat() bool

获取平面样式。

func (*TSpeedButton) Floating

func (s *TSpeedButton) Floating() bool

func (*TSpeedButton) Font

func (s *TSpeedButton) Font() *TFont

获取字体。

Get Font.

func (*TSpeedButton) Free

func (s *TSpeedButton) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TSpeedButton) GetHashCode

func (s *TSpeedButton) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TSpeedButton) GetNamePath

func (s *TSpeedButton) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TSpeedButton) GetTextBuf

func (s *TSpeedButton) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TSpeedButton) GetTextLen

func (s *TSpeedButton) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TSpeedButton) Glyph

func (s *TSpeedButton) Glyph() *TBitmap

func (*TSpeedButton) GroupIndex

func (s *TSpeedButton) GroupIndex() int32

获取团组索引。

func (*TSpeedButton) HasParent

func (s *TSpeedButton) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TSpeedButton) Height

func (s *TSpeedButton) Height() int32

获取高度。

Get height.

func (*TSpeedButton) Hide

func (s *TSpeedButton) Hide()

隐藏控件。

Hidden control.

func (*TSpeedButton) Hint

func (s *TSpeedButton) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TSpeedButton) ImageIndex

func (s *TSpeedButton) ImageIndex() int32

获取图像在images中的索引。

func (*TSpeedButton) ImageWidth

func (s *TSpeedButton) ImageWidth() int32

func (*TSpeedButton) Images

func (s *TSpeedButton) Images() *TImageList

获取图标索引列表对象。

func (*TSpeedButton) InheritsFrom

func (s *TSpeedButton) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TSpeedButton) Instance

func (s *TSpeedButton) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TSpeedButton) InstanceSize

func (s *TSpeedButton) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TSpeedButton) Invalidate

func (s *TSpeedButton) Invalidate()

要求重绘。

Redraw.

func (*TSpeedButton) Is

func (s *TSpeedButton) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSpeedButton) IsValid

func (s *TSpeedButton) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TSpeedButton) Layout

func (s *TSpeedButton) Layout() TButtonLayout

func (*TSpeedButton) Left

func (s *TSpeedButton) Left() int32

获取左边位置。

Get Left position.

func (*TSpeedButton) Name

func (s *TSpeedButton) Name() string

获取组件名称。

Get the component name.

func (*TSpeedButton) NumGlyphs

func (s *TSpeedButton) NumGlyphs() TNumGlyphs

func (*TSpeedButton) Owner

func (s *TSpeedButton) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TSpeedButton) Parent

func (s *TSpeedButton) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TSpeedButton) ParentFont

func (s *TSpeedButton) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TSpeedButton) ParentShowHint

func (s *TSpeedButton) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TSpeedButton) ParentToClient

func (s *TSpeedButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TSpeedButton) Perform

func (s *TSpeedButton) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TSpeedButton) PopupMenu

func (s *TSpeedButton) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TSpeedButton) Refresh

func (s *TSpeedButton) Refresh()

刷新控件。

Refresh control.

func (*TSpeedButton) Repaint

func (s *TSpeedButton) Repaint()

重绘。

Repaint.

func (*TSpeedButton) Scale96ToFont

func (s *TSpeedButton) Scale96ToFont(ASize int32) int32

func (*TSpeedButton) Scale96ToForm

func (s *TSpeedButton) Scale96ToForm(ASize int32) int32

func (*TSpeedButton) Scale96ToScreen

func (s *TSpeedButton) Scale96ToScreen(ASize int32) int32

func (*TSpeedButton) ScaleDesignToForm

func (s *TSpeedButton) ScaleDesignToForm(ASize int32) int32

func (*TSpeedButton) ScaleFontTo96

func (s *TSpeedButton) ScaleFontTo96(ASize int32) int32

func (*TSpeedButton) ScaleFontToScreen

func (s *TSpeedButton) ScaleFontToScreen(ASize int32) int32

func (*TSpeedButton) ScaleFontsPPI

func (s *TSpeedButton) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TSpeedButton) ScaleFormTo96

func (s *TSpeedButton) ScaleFormTo96(ASize int32) int32

func (*TSpeedButton) ScaleFormToDesign

func (s *TSpeedButton) ScaleFormToDesign(ASize int32) int32

func (*TSpeedButton) ScaleScreenTo96

func (s *TSpeedButton) ScaleScreenTo96(ASize int32) int32

func (*TSpeedButton) ScaleScreenToFont

func (s *TSpeedButton) ScaleScreenToFont(ASize int32) int32

func (*TSpeedButton) ScreenToClient

func (s *TSpeedButton) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TSpeedButton) SendToBack

func (s *TSpeedButton) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TSpeedButton) SetAction

func (s *TSpeedButton) SetAction(value IComponent)

func (*TSpeedButton) SetAlign

func (s *TSpeedButton) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TSpeedButton) SetAllowAllUp

func (s *TSpeedButton) SetAllowAllUp(value bool)

func (*TSpeedButton) SetAnchorSideBottom

func (s *TSpeedButton) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TSpeedButton) SetAnchorSideLeft

func (s *TSpeedButton) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TSpeedButton) SetAnchorSideRight

func (s *TSpeedButton) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TSpeedButton) SetAnchorSideTop

func (s *TSpeedButton) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TSpeedButton) SetAnchors

func (s *TSpeedButton) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TSpeedButton) SetBiDiMode

func (s *TSpeedButton) SetBiDiMode(value TBiDiMode)

func (*TSpeedButton) SetBorderSpacing

func (s *TSpeedButton) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TSpeedButton) SetBounds

func (s *TSpeedButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TSpeedButton) SetBoundsRect

func (s *TSpeedButton) SetBoundsRect(value TRect)

func (*TSpeedButton) SetCaption

func (s *TSpeedButton) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TSpeedButton) SetClientHeight

func (s *TSpeedButton) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TSpeedButton) SetClientWidth

func (s *TSpeedButton) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TSpeedButton) SetComponentIndex

func (s *TSpeedButton) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TSpeedButton) SetConstraints

func (s *TSpeedButton) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TSpeedButton) SetControlState

func (s *TSpeedButton) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TSpeedButton) SetControlStyle

func (s *TSpeedButton) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TSpeedButton) SetCursor

func (s *TSpeedButton) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TSpeedButton) SetDown

func (s *TSpeedButton) SetDown(value bool)

func (*TSpeedButton) SetEnabled

func (s *TSpeedButton) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TSpeedButton) SetFlat

func (s *TSpeedButton) SetFlat(value bool)

设置平面样式。

func (*TSpeedButton) SetFont

func (s *TSpeedButton) SetFont(value *TFont)

设置字体。

Set Font.

func (*TSpeedButton) SetGlyph

func (s *TSpeedButton) SetGlyph(value *TBitmap)

func (*TSpeedButton) SetGroupIndex

func (s *TSpeedButton) SetGroupIndex(value int32)

设置团组索引。

func (*TSpeedButton) SetHeight

func (s *TSpeedButton) SetHeight(value int32)

设置高度。

Set height.

func (*TSpeedButton) SetHint

func (s *TSpeedButton) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TSpeedButton) SetImageIndex

func (s *TSpeedButton) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TSpeedButton) SetImageWidth

func (s *TSpeedButton) SetImageWidth(value int32)

func (*TSpeedButton) SetImages

func (s *TSpeedButton) SetImages(value IComponent)

设置图标索引列表对象。

func (*TSpeedButton) SetLayout

func (s *TSpeedButton) SetLayout(value TButtonLayout)

func (*TSpeedButton) SetLeft

func (s *TSpeedButton) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TSpeedButton) SetName

func (s *TSpeedButton) SetName(value string)

设置组件名称。

Set the component name.

func (*TSpeedButton) SetNumGlyphs

func (s *TSpeedButton) SetNumGlyphs(value TNumGlyphs)

func (*TSpeedButton) SetOnClick

func (s *TSpeedButton) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TSpeedButton) SetOnDblClick

func (s *TSpeedButton) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TSpeedButton) SetOnMouseDown

func (s *TSpeedButton) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TSpeedButton) SetOnMouseEnter

func (s *TSpeedButton) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TSpeedButton) SetOnMouseLeave

func (s *TSpeedButton) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TSpeedButton) SetOnMouseMove

func (s *TSpeedButton) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TSpeedButton) SetOnMouseUp

func (s *TSpeedButton) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TSpeedButton) SetParent

func (s *TSpeedButton) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TSpeedButton) SetParentFont

func (s *TSpeedButton) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TSpeedButton) SetParentShowHint

func (s *TSpeedButton) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TSpeedButton) SetPopupMenu

func (s *TSpeedButton) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TSpeedButton) SetShowCaption

func (s *TSpeedButton) SetShowCaption(value bool)

func (*TSpeedButton) SetShowHint

func (s *TSpeedButton) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TSpeedButton) SetSpacing

func (s *TSpeedButton) SetSpacing(value int32)

func (*TSpeedButton) SetTag

func (s *TSpeedButton) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TSpeedButton) SetTextBuf

func (s *TSpeedButton) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TSpeedButton) SetTop

func (s *TSpeedButton) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TSpeedButton) SetTransparent

func (s *TSpeedButton) SetTransparent(value bool)

设置透明。

Set transparent.

func (*TSpeedButton) SetVisible

func (s *TSpeedButton) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TSpeedButton) SetWidth

func (s *TSpeedButton) SetWidth(value int32)

设置宽度。

Set width.

func (*TSpeedButton) Show

func (s *TSpeedButton) Show()

显示控件。

Show control.

func (*TSpeedButton) ShowCaption

func (s *TSpeedButton) ShowCaption() bool

func (*TSpeedButton) ShowHint

func (s *TSpeedButton) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TSpeedButton) Spacing

func (s *TSpeedButton) Spacing() int32

func (*TSpeedButton) Tag

func (s *TSpeedButton) Tag() int

获取对象标记。

Get the control tag.

func (*TSpeedButton) ToString

func (s *TSpeedButton) ToString() string

文本类信息。

Text information.

func (*TSpeedButton) Top

func (s *TSpeedButton) Top() int32

获取顶边位置。

Get Top position.

func (*TSpeedButton) Transparent

func (s *TSpeedButton) Transparent() bool

获取透明。

Get transparent.

func (*TSpeedButton) UnsafeAddr

func (s *TSpeedButton) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TSpeedButton) Update

func (s *TSpeedButton) Update()

控件更新。

Update.

func (*TSpeedButton) Visible

func (s *TSpeedButton) Visible() bool

获取控件可视。

Get the control visible.

func (*TSpeedButton) Width

func (s *TSpeedButton) Width() int32

获取宽度。

Get width.

type TSpinEdit

type TSpinEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsSpinEdit

func AsSpinEdit(obj interface{}) *TSpinEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSpinEdit

func NewSpinEdit(owner IComponent) *TSpinEdit

创建一个新的对象。

Create a new object.

func SpinEditFromInst

func SpinEditFromInst(inst uintptr) *TSpinEdit

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsSpinEdit.

func SpinEditFromObj

func SpinEditFromObj(obj IObject) *TSpinEdit

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsSpinEdit.

func SpinEditFromUnsafePointer

func SpinEditFromUnsafePointer(ptr unsafe.Pointer) *TSpinEdit

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSpinEdit.

func (*TSpinEdit) Action

func (s *TSpinEdit) Action() *TAction

func (*TSpinEdit) Align

func (s *TSpinEdit) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TSpinEdit) Alignment

func (s *TSpinEdit) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TSpinEdit) AnchorAsAlign

func (s *TSpinEdit) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TSpinEdit) AnchorClient

func (s *TSpinEdit) AnchorClient(ASpace int32)

func (*TSpinEdit) AnchorHorizontalCenterTo

func (s *TSpinEdit) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TSpinEdit) AnchorParallel

func (s *TSpinEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSpinEdit) AnchorSame

func (s *TSpinEdit) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TSpinEdit) AnchorSide

func (s *TSpinEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TSpinEdit) AnchorSideBottom

func (s *TSpinEdit) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TSpinEdit) AnchorSideLeft

func (s *TSpinEdit) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TSpinEdit) AnchorSideRight

func (s *TSpinEdit) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TSpinEdit) AnchorSideTop

func (s *TSpinEdit) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TSpinEdit) AnchorToNeighbour

func (s *TSpinEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSpinEdit) AnchorVerticalCenterTo

func (s *TSpinEdit) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TSpinEdit) Anchors

func (s *TSpinEdit) Anchors() TAnchors

获取四个角位置的锚点。

func (*TSpinEdit) Assign

func (s *TSpinEdit) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TSpinEdit) AutoAdjustLayout

func (s *TSpinEdit) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TSpinEdit) AutoSelect

func (s *TSpinEdit) AutoSelect() bool

获取自动选择。

func (*TSpinEdit) AutoSize

func (s *TSpinEdit) AutoSize() bool

获取自动调整大小。

func (*TSpinEdit) BiDiMode

func (s *TSpinEdit) BiDiMode() TBiDiMode

func (*TSpinEdit) BorderSpacing

func (s *TSpinEdit) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TSpinEdit) BoundsRect

func (s *TSpinEdit) BoundsRect() TRect

func (*TSpinEdit) BringToFront

func (s *TSpinEdit) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TSpinEdit) Brush

func (s *TSpinEdit) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TSpinEdit) CanFocus

func (s *TSpinEdit) CanFocus() bool

是否可以获得焦点。

func (*TSpinEdit) CanUndo

func (s *TSpinEdit) CanUndo() bool

获取能否撤销。

func (*TSpinEdit) ChildSizing

func (s *TSpinEdit) ChildSizing() *TControlChildSizing

func (*TSpinEdit) ClassName

func (s *TSpinEdit) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TSpinEdit) ClassType

func (s *TSpinEdit) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TSpinEdit) Clear

func (s *TSpinEdit) Clear()

清除。

func (*TSpinEdit) ClearSelection

func (s *TSpinEdit) ClearSelection()

清除选择。

func (*TSpinEdit) ClientHeight

func (s *TSpinEdit) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TSpinEdit) ClientOrigin

func (s *TSpinEdit) ClientOrigin() TPoint

func (*TSpinEdit) ClientRect

func (s *TSpinEdit) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TSpinEdit) ClientToParent

func (s *TSpinEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TSpinEdit) ClientToScreen

func (s *TSpinEdit) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TSpinEdit) ClientWidth

func (s *TSpinEdit) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TSpinEdit) Color

func (s *TSpinEdit) Color() TColor

获取颜色。

Get color.

func (*TSpinEdit) ComponentCount

func (s *TSpinEdit) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TSpinEdit) ComponentIndex

func (s *TSpinEdit) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TSpinEdit) Components

func (s *TSpinEdit) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TSpinEdit) Constraints

func (s *TSpinEdit) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TSpinEdit) ContainsControl

func (s *TSpinEdit) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TSpinEdit) ControlAtPos

func (s *TSpinEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TSpinEdit) ControlCount

func (s *TSpinEdit) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TSpinEdit) ControlState

func (s *TSpinEdit) ControlState() TControlState

获取控件状态。

Get control state.

func (*TSpinEdit) ControlStyle

func (s *TSpinEdit) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TSpinEdit) Controls

func (s *TSpinEdit) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TSpinEdit) CopyToClipboard

func (s *TSpinEdit) CopyToClipboard()

复制到粘贴板。

func (*TSpinEdit) Cursor

func (s *TSpinEdit) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TSpinEdit) CutToClipboard

func (s *TSpinEdit) CutToClipboard()

剪切到粘贴板。

func (*TSpinEdit) DisableAlign

func (s *TSpinEdit) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TSpinEdit) DockClientCount

func (s *TSpinEdit) DockClientCount() int32

获取依靠客户端总数。

func (*TSpinEdit) DockClients

func (s *TSpinEdit) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TSpinEdit) DockSite

func (s *TSpinEdit) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TSpinEdit) DoubleBuffered

func (s *TSpinEdit) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TSpinEdit) Dragging

func (s *TSpinEdit) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TSpinEdit) EnableAlign

func (s *TSpinEdit) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TSpinEdit) Enabled

func (s *TSpinEdit) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TSpinEdit) Equals

func (s *TSpinEdit) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TSpinEdit) FindChildControl

func (s *TSpinEdit) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TSpinEdit) FindComponent

func (s *TSpinEdit) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TSpinEdit) FixDesignFontsPPI

func (s *TSpinEdit) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TSpinEdit) FlipChildren

func (s *TSpinEdit) FlipChildren(AllLevels bool)

func (*TSpinEdit) Floating

func (s *TSpinEdit) Floating() bool

func (*TSpinEdit) Focused

func (s *TSpinEdit) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TSpinEdit) Font

func (s *TSpinEdit) Font() *TFont

获取字体。

Get Font.

func (*TSpinEdit) Free

func (s *TSpinEdit) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TSpinEdit) GetHashCode

func (s *TSpinEdit) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TSpinEdit) GetNamePath

func (s *TSpinEdit) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TSpinEdit) GetTextBuf

func (s *TSpinEdit) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TSpinEdit) GetTextLen

func (s *TSpinEdit) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TSpinEdit) Handle

func (s *TSpinEdit) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TSpinEdit) HandleAllocated

func (s *TSpinEdit) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TSpinEdit) HasParent

func (s *TSpinEdit) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TSpinEdit) Height

func (s *TSpinEdit) Height() int32

获取高度。

Get height.

func (*TSpinEdit) Hide

func (s *TSpinEdit) Hide()

隐藏控件。

Hidden control.

func (*TSpinEdit) Hint

func (s *TSpinEdit) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TSpinEdit) Increment

func (s *TSpinEdit) Increment() int32

func (*TSpinEdit) InheritsFrom

func (s *TSpinEdit) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TSpinEdit) InsertControl

func (s *TSpinEdit) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TSpinEdit) Instance

func (s *TSpinEdit) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TSpinEdit) InstanceSize

func (s *TSpinEdit) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TSpinEdit) Invalidate

func (s *TSpinEdit) Invalidate()

要求重绘。

Redraw.

func (*TSpinEdit) Is

func (s *TSpinEdit) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSpinEdit) IsValid

func (s *TSpinEdit) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TSpinEdit) Left

func (s *TSpinEdit) Left() int32

获取左边位置。

Get Left position.

func (*TSpinEdit) MaxLength

func (s *TSpinEdit) MaxLength() int32

获取最大长度。

func (*TSpinEdit) MaxValue

func (s *TSpinEdit) MaxValue() int32

func (*TSpinEdit) MinValue

func (s *TSpinEdit) MinValue() int32

func (*TSpinEdit) Modified

func (s *TSpinEdit) Modified() bool

获取修改。

Get modified.

func (*TSpinEdit) MouseInClient

func (s *TSpinEdit) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TSpinEdit) Name

func (s *TSpinEdit) Name() string

获取组件名称。

Get the component name.

func (*TSpinEdit) Owner

func (s *TSpinEdit) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TSpinEdit) PaintTo

func (s *TSpinEdit) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TSpinEdit) Parent

func (s *TSpinEdit) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TSpinEdit) ParentColor

func (s *TSpinEdit) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TSpinEdit) ParentDoubleBuffered

func (s *TSpinEdit) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TSpinEdit) ParentFont

func (s *TSpinEdit) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TSpinEdit) ParentShowHint

func (s *TSpinEdit) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TSpinEdit) ParentToClient

func (s *TSpinEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TSpinEdit) ParentWindow

func (s *TSpinEdit) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TSpinEdit) PasteFromClipboard

func (s *TSpinEdit) PasteFromClipboard()

从剪切板粘贴。

func (*TSpinEdit) Perform

func (s *TSpinEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TSpinEdit) PopupMenu

func (s *TSpinEdit) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TSpinEdit) ReadOnly

func (s *TSpinEdit) ReadOnly() bool

获取只读。

func (*TSpinEdit) Realign

func (s *TSpinEdit) Realign()

重新对齐。

Realign.

func (*TSpinEdit) Refresh

func (s *TSpinEdit) Refresh()

刷新控件。

Refresh control.

func (*TSpinEdit) RemoveControl

func (s *TSpinEdit) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TSpinEdit) Repaint

func (s *TSpinEdit) Repaint()

重绘。

Repaint.

func (*TSpinEdit) Scale96ToFont

func (s *TSpinEdit) Scale96ToFont(ASize int32) int32

func (*TSpinEdit) Scale96ToForm

func (s *TSpinEdit) Scale96ToForm(ASize int32) int32

func (*TSpinEdit) Scale96ToScreen

func (s *TSpinEdit) Scale96ToScreen(ASize int32) int32

func (*TSpinEdit) ScaleBy

func (s *TSpinEdit) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TSpinEdit) ScaleDesignToForm

func (s *TSpinEdit) ScaleDesignToForm(ASize int32) int32

func (*TSpinEdit) ScaleFontTo96

func (s *TSpinEdit) ScaleFontTo96(ASize int32) int32

func (*TSpinEdit) ScaleFontToScreen

func (s *TSpinEdit) ScaleFontToScreen(ASize int32) int32

func (*TSpinEdit) ScaleFontsPPI

func (s *TSpinEdit) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TSpinEdit) ScaleFormTo96

func (s *TSpinEdit) ScaleFormTo96(ASize int32) int32

func (*TSpinEdit) ScaleFormToDesign

func (s *TSpinEdit) ScaleFormToDesign(ASize int32) int32

func (*TSpinEdit) ScaleScreenTo96

func (s *TSpinEdit) ScaleScreenTo96(ASize int32) int32

func (*TSpinEdit) ScaleScreenToFont

func (s *TSpinEdit) ScaleScreenToFont(ASize int32) int32

func (*TSpinEdit) ScreenToClient

func (s *TSpinEdit) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TSpinEdit) ScrollBy

func (s *TSpinEdit) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TSpinEdit) SelLength

func (s *TSpinEdit) SelLength() int32

获取选择的长度。

func (*TSpinEdit) SelStart

func (s *TSpinEdit) SelStart() int32

获取选择的启始位置。

func (*TSpinEdit) SelText

func (s *TSpinEdit) SelText() string

获取选择的文本。

func (*TSpinEdit) SelectAll

func (s *TSpinEdit) SelectAll()

全选。

func (*TSpinEdit) SendToBack

func (s *TSpinEdit) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TSpinEdit) SetAction

func (s *TSpinEdit) SetAction(value IComponent)

func (*TSpinEdit) SetAlign

func (s *TSpinEdit) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TSpinEdit) SetAlignment

func (s *TSpinEdit) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TSpinEdit) SetAnchorSideBottom

func (s *TSpinEdit) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TSpinEdit) SetAnchorSideLeft

func (s *TSpinEdit) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TSpinEdit) SetAnchorSideRight

func (s *TSpinEdit) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TSpinEdit) SetAnchorSideTop

func (s *TSpinEdit) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TSpinEdit) SetAnchors

func (s *TSpinEdit) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TSpinEdit) SetAutoSelect

func (s *TSpinEdit) SetAutoSelect(value bool)

设置自动选择。

func (*TSpinEdit) SetAutoSize

func (s *TSpinEdit) SetAutoSize(value bool)

设置自动调整大小。

func (*TSpinEdit) SetBiDiMode

func (s *TSpinEdit) SetBiDiMode(value TBiDiMode)

func (*TSpinEdit) SetBorderSpacing

func (s *TSpinEdit) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TSpinEdit) SetBounds

func (s *TSpinEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TSpinEdit) SetBoundsRect

func (s *TSpinEdit) SetBoundsRect(value TRect)

func (*TSpinEdit) SetChildSizing

func (s *TSpinEdit) SetChildSizing(value *TControlChildSizing)

func (*TSpinEdit) SetClientHeight

func (s *TSpinEdit) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TSpinEdit) SetClientWidth

func (s *TSpinEdit) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TSpinEdit) SetColor

func (s *TSpinEdit) SetColor(value TColor)

设置颜色。

Set color.

func (*TSpinEdit) SetComponentIndex

func (s *TSpinEdit) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TSpinEdit) SetConstraints

func (s *TSpinEdit) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TSpinEdit) SetControlState

func (s *TSpinEdit) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TSpinEdit) SetControlStyle

func (s *TSpinEdit) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TSpinEdit) SetCursor

func (s *TSpinEdit) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TSpinEdit) SetDockSite

func (s *TSpinEdit) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TSpinEdit) SetDoubleBuffered

func (s *TSpinEdit) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TSpinEdit) SetEnabled

func (s *TSpinEdit) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TSpinEdit) SetFocus

func (s *TSpinEdit) SetFocus()

设置控件焦点。

Set control focus.

func (*TSpinEdit) SetFont

func (s *TSpinEdit) SetFont(value *TFont)

设置字体。

Set Font.

func (*TSpinEdit) SetHeight

func (s *TSpinEdit) SetHeight(value int32)

设置高度。

Set height.

func (*TSpinEdit) SetHint

func (s *TSpinEdit) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TSpinEdit) SetIncrement

func (s *TSpinEdit) SetIncrement(value int32)

func (*TSpinEdit) SetLeft

func (s *TSpinEdit) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TSpinEdit) SetMaxLength

func (s *TSpinEdit) SetMaxLength(value int32)

设置最大长度。

func (*TSpinEdit) SetMaxValue

func (s *TSpinEdit) SetMaxValue(value int32)

func (*TSpinEdit) SetMinValue

func (s *TSpinEdit) SetMinValue(value int32)

func (*TSpinEdit) SetModified

func (s *TSpinEdit) SetModified(value bool)

设置修改。

Set modified.

func (*TSpinEdit) SetName

func (s *TSpinEdit) SetName(value string)

设置组件名称。

Set the component name.

func (*TSpinEdit) SetOnChange

func (s *TSpinEdit) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TSpinEdit) SetOnClick

func (s *TSpinEdit) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TSpinEdit) SetOnEnter

func (s *TSpinEdit) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TSpinEdit) SetOnExit

func (s *TSpinEdit) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TSpinEdit) SetOnKeyDown

func (s *TSpinEdit) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TSpinEdit) SetOnKeyPress

func (s *TSpinEdit) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TSpinEdit) SetOnKeyUp

func (s *TSpinEdit) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TSpinEdit) SetOnMouseDown

func (s *TSpinEdit) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TSpinEdit) SetOnMouseMove

func (s *TSpinEdit) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TSpinEdit) SetOnMouseUp

func (s *TSpinEdit) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TSpinEdit) SetParent

func (s *TSpinEdit) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TSpinEdit) SetParentColor

func (s *TSpinEdit) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TSpinEdit) SetParentDoubleBuffered

func (s *TSpinEdit) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TSpinEdit) SetParentFont

func (s *TSpinEdit) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TSpinEdit) SetParentShowHint

func (s *TSpinEdit) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TSpinEdit) SetParentWindow

func (s *TSpinEdit) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TSpinEdit) SetPopupMenu

func (s *TSpinEdit) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TSpinEdit) SetReadOnly

func (s *TSpinEdit) SetReadOnly(value bool)

设置只读。

func (*TSpinEdit) SetSelLength

func (s *TSpinEdit) SetSelLength(value int32)

设置选择的长度。

func (*TSpinEdit) SetSelStart

func (s *TSpinEdit) SetSelStart(value int32)

设置选择的启始位置。

func (*TSpinEdit) SetSelText

func (s *TSpinEdit) SetSelText(value string)

设置选择的文本。

func (*TSpinEdit) SetShowHint

func (s *TSpinEdit) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TSpinEdit) SetTabOrder

func (s *TSpinEdit) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TSpinEdit) SetTabStop

func (s *TSpinEdit) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TSpinEdit) SetTag

func (s *TSpinEdit) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TSpinEdit) SetText

func (s *TSpinEdit) SetText(value string)

设置文本。

func (*TSpinEdit) SetTextBuf

func (s *TSpinEdit) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TSpinEdit) SetTextHint

func (s *TSpinEdit) SetTextHint(value string)

设置提示文本。

func (*TSpinEdit) SetTop

func (s *TSpinEdit) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TSpinEdit) SetUseDockManager

func (s *TSpinEdit) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TSpinEdit) SetValue

func (s *TSpinEdit) SetValue(value int32)

func (*TSpinEdit) SetVisible

func (s *TSpinEdit) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TSpinEdit) SetWidth

func (s *TSpinEdit) SetWidth(value int32)

设置宽度。

Set width.

func (*TSpinEdit) Show

func (s *TSpinEdit) Show()

显示控件。

Show control.

func (*TSpinEdit) ShowHint

func (s *TSpinEdit) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TSpinEdit) Showing

func (s *TSpinEdit) Showing() bool

func (*TSpinEdit) TabOrder

func (s *TSpinEdit) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TSpinEdit) TabStop

func (s *TSpinEdit) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TSpinEdit) Tag

func (s *TSpinEdit) Tag() int

获取对象标记。

Get the control tag.

func (*TSpinEdit) Text

func (s *TSpinEdit) Text() string

获取文本。

func (*TSpinEdit) TextHint

func (s *TSpinEdit) TextHint() string

获取提示文本。

func (*TSpinEdit) ToString

func (s *TSpinEdit) ToString() string

文本类信息。

Text information.

func (*TSpinEdit) Top

func (s *TSpinEdit) Top() int32

获取顶边位置。

Get Top position.

func (*TSpinEdit) Undo

func (s *TSpinEdit) Undo()

撤销上一次操作。

func (*TSpinEdit) UnsafeAddr

func (s *TSpinEdit) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TSpinEdit) Update

func (s *TSpinEdit) Update()

控件更新。

Update.

func (*TSpinEdit) UseDockManager

func (s *TSpinEdit) UseDockManager() bool

获取使用停靠管理。

func (*TSpinEdit) Value

func (s *TSpinEdit) Value() int32

func (*TSpinEdit) Visible

func (s *TSpinEdit) Visible() bool

获取控件可视。

Get the control visible.

func (*TSpinEdit) VisibleDockClientCount

func (s *TSpinEdit) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TSpinEdit) Width

func (s *TSpinEdit) Width() int32

获取宽度。

Get width.

type TSplitter

type TSplitter struct {
	IControl
	// contains filtered or unexported fields
}

func AsSplitter

func AsSplitter(obj interface{}) *TSplitter

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSplitter

func NewSplitter(owner IComponent) *TSplitter

创建一个新的对象。

Create a new object.

func SplitterFromInst

func SplitterFromInst(inst uintptr) *TSplitter

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsSplitter.

func SplitterFromObj

func SplitterFromObj(obj IObject) *TSplitter

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsSplitter.

func SplitterFromUnsafePointer

func SplitterFromUnsafePointer(ptr unsafe.Pointer) *TSplitter

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSplitter.

func (*TSplitter) Action

func (s *TSplitter) Action() *TAction

func (*TSplitter) Align

func (s *TSplitter) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TSplitter) AnchorAsAlign

func (s *TSplitter) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TSplitter) AnchorClient

func (s *TSplitter) AnchorClient(ASpace int32)

func (*TSplitter) AnchorHorizontalCenterTo

func (s *TSplitter) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TSplitter) AnchorParallel

func (s *TSplitter) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSplitter) AnchorSame

func (s *TSplitter) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TSplitter) AnchorSide

func (s *TSplitter) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TSplitter) AnchorSideBottom

func (s *TSplitter) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TSplitter) AnchorSideLeft

func (s *TSplitter) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TSplitter) AnchorSideRight

func (s *TSplitter) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TSplitter) AnchorSideTop

func (s *TSplitter) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TSplitter) AnchorToNeighbour

func (s *TSplitter) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSplitter) AnchorVerticalCenterTo

func (s *TSplitter) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TSplitter) Anchors

func (s *TSplitter) Anchors() TAnchors

获取四个角位置的锚点。

func (*TSplitter) Assign

func (s *TSplitter) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TSplitter) AutoAdjustLayout

func (s *TSplitter) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TSplitter) BiDiMode

func (s *TSplitter) BiDiMode() TBiDiMode

func (*TSplitter) BorderSpacing

func (s *TSplitter) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TSplitter) BoundsRect

func (s *TSplitter) BoundsRect() TRect

func (*TSplitter) BringToFront

func (s *TSplitter) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TSplitter) Canvas

func (s *TSplitter) Canvas() *TCanvas

获取画布。

func (*TSplitter) ClassName

func (s *TSplitter) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TSplitter) ClassType

func (s *TSplitter) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TSplitter) ClientHeight

func (s *TSplitter) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TSplitter) ClientOrigin

func (s *TSplitter) ClientOrigin() TPoint

func (*TSplitter) ClientRect

func (s *TSplitter) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TSplitter) ClientToParent

func (s *TSplitter) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TSplitter) ClientToScreen

func (s *TSplitter) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TSplitter) ClientWidth

func (s *TSplitter) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TSplitter) Color

func (s *TSplitter) Color() TColor

获取颜色。

Get color.

func (*TSplitter) ComponentCount

func (s *TSplitter) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TSplitter) ComponentIndex

func (s *TSplitter) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TSplitter) Components

func (s *TSplitter) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TSplitter) Constraints

func (s *TSplitter) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TSplitter) ControlState

func (s *TSplitter) ControlState() TControlState

获取控件状态。

Get control state.

func (*TSplitter) ControlStyle

func (s *TSplitter) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TSplitter) Cursor

func (s *TSplitter) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TSplitter) Dragging

func (s *TSplitter) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TSplitter) Enabled

func (s *TSplitter) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TSplitter) Equals

func (s *TSplitter) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TSplitter) FindComponent

func (s *TSplitter) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TSplitter) FixDesignFontsPPI

func (s *TSplitter) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TSplitter) Floating

func (s *TSplitter) Floating() bool

func (*TSplitter) Free

func (s *TSplitter) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TSplitter) GetHashCode

func (s *TSplitter) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TSplitter) GetNamePath

func (s *TSplitter) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TSplitter) GetTextBuf

func (s *TSplitter) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TSplitter) GetTextLen

func (s *TSplitter) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TSplitter) HasParent

func (s *TSplitter) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TSplitter) Height

func (s *TSplitter) Height() int32

获取高度。

Get height.

func (*TSplitter) Hide

func (s *TSplitter) Hide()

隐藏控件。

Hidden control.

func (*TSplitter) Hint

func (s *TSplitter) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TSplitter) InheritsFrom

func (s *TSplitter) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TSplitter) Instance

func (s *TSplitter) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TSplitter) InstanceSize

func (s *TSplitter) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TSplitter) Invalidate

func (s *TSplitter) Invalidate()

要求重绘。

Redraw.

func (*TSplitter) Is

func (s *TSplitter) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSplitter) IsValid

func (s *TSplitter) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TSplitter) Left

func (s *TSplitter) Left() int32

获取左边位置。

Get Left position.

func (*TSplitter) MinSize

func (s *TSplitter) MinSize() int32

func (*TSplitter) Name

func (s *TSplitter) Name() string

获取组件名称。

Get the component name.

func (*TSplitter) Owner

func (s *TSplitter) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TSplitter) Parent

func (s *TSplitter) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TSplitter) ParentColor

func (s *TSplitter) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TSplitter) ParentToClient

func (s *TSplitter) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TSplitter) Perform

func (s *TSplitter) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TSplitter) Refresh

func (s *TSplitter) Refresh()

刷新控件。

Refresh control.

func (*TSplitter) Repaint

func (s *TSplitter) Repaint()

重绘。

Repaint.

func (*TSplitter) ResizeAnchor

func (s *TSplitter) ResizeAnchor() TAnchorKind

func (*TSplitter) Scale96ToFont

func (s *TSplitter) Scale96ToFont(ASize int32) int32

func (*TSplitter) Scale96ToForm

func (s *TSplitter) Scale96ToForm(ASize int32) int32

func (*TSplitter) Scale96ToScreen

func (s *TSplitter) Scale96ToScreen(ASize int32) int32

func (*TSplitter) ScaleDesignToForm

func (s *TSplitter) ScaleDesignToForm(ASize int32) int32

func (*TSplitter) ScaleFontTo96

func (s *TSplitter) ScaleFontTo96(ASize int32) int32

func (*TSplitter) ScaleFontToScreen

func (s *TSplitter) ScaleFontToScreen(ASize int32) int32

func (*TSplitter) ScaleFontsPPI

func (s *TSplitter) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TSplitter) ScaleFormTo96

func (s *TSplitter) ScaleFormTo96(ASize int32) int32

func (*TSplitter) ScaleFormToDesign

func (s *TSplitter) ScaleFormToDesign(ASize int32) int32

func (*TSplitter) ScaleScreenTo96

func (s *TSplitter) ScaleScreenTo96(ASize int32) int32

func (*TSplitter) ScaleScreenToFont

func (s *TSplitter) ScaleScreenToFont(ASize int32) int32

func (*TSplitter) ScreenToClient

func (s *TSplitter) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TSplitter) SendToBack

func (s *TSplitter) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TSplitter) SetAction

func (s *TSplitter) SetAction(value IComponent)

func (*TSplitter) SetAlign

func (s *TSplitter) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TSplitter) SetAnchorSideBottom

func (s *TSplitter) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TSplitter) SetAnchorSideLeft

func (s *TSplitter) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TSplitter) SetAnchorSideRight

func (s *TSplitter) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TSplitter) SetAnchorSideTop

func (s *TSplitter) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TSplitter) SetAnchors

func (s *TSplitter) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TSplitter) SetBiDiMode

func (s *TSplitter) SetBiDiMode(value TBiDiMode)

func (*TSplitter) SetBorderSpacing

func (s *TSplitter) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TSplitter) SetBounds

func (s *TSplitter) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TSplitter) SetBoundsRect

func (s *TSplitter) SetBoundsRect(value TRect)

func (*TSplitter) SetClientHeight

func (s *TSplitter) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TSplitter) SetClientWidth

func (s *TSplitter) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TSplitter) SetColor

func (s *TSplitter) SetColor(value TColor)

设置颜色。

Set color.

func (*TSplitter) SetComponentIndex

func (s *TSplitter) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TSplitter) SetConstraints

func (s *TSplitter) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TSplitter) SetControlState

func (s *TSplitter) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TSplitter) SetControlStyle

func (s *TSplitter) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TSplitter) SetCursor

func (s *TSplitter) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TSplitter) SetEnabled

func (s *TSplitter) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TSplitter) SetHeight

func (s *TSplitter) SetHeight(value int32)

设置高度。

Set height.

func (*TSplitter) SetHint

func (s *TSplitter) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TSplitter) SetLeft

func (s *TSplitter) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TSplitter) SetMinSize

func (s *TSplitter) SetMinSize(value int32)

func (*TSplitter) SetName

func (s *TSplitter) SetName(value string)

设置组件名称。

Set the component name.

func (*TSplitter) SetOnPaint

func (s *TSplitter) SetOnPaint(fn TNotifyEvent)

设置绘画事件。

func (*TSplitter) SetParent

func (s *TSplitter) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TSplitter) SetParentColor

func (s *TSplitter) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TSplitter) SetResizeAnchor

func (s *TSplitter) SetResizeAnchor(value TAnchorKind)

func (*TSplitter) SetShowHint

func (s *TSplitter) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TSplitter) SetTag

func (s *TSplitter) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TSplitter) SetTextBuf

func (s *TSplitter) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TSplitter) SetTop

func (s *TSplitter) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TSplitter) SetVisible

func (s *TSplitter) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TSplitter) SetWidth

func (s *TSplitter) SetWidth(value int32)

设置宽度。

Set width.

func (*TSplitter) Show

func (s *TSplitter) Show()

显示控件。

Show control.

func (*TSplitter) ShowHint

func (s *TSplitter) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TSplitter) Tag

func (s *TSplitter) Tag() int

获取对象标记。

Get the control tag.

func (*TSplitter) ToString

func (s *TSplitter) ToString() string

文本类信息。

Text information.

func (*TSplitter) Top

func (s *TSplitter) Top() int32

获取顶边位置。

Get Top position.

func (*TSplitter) UnsafeAddr

func (s *TSplitter) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TSplitter) Update

func (s *TSplitter) Update()

控件更新。

Update.

func (*TSplitter) Visible

func (s *TSplitter) Visible() bool

获取控件可视。

Get the control visible.

func (*TSplitter) Width

func (s *TSplitter) Width() int32

获取宽度。

Get width.

type TStartDockEvent

type TStartDockEvent func(sender IObject, dragObject **TDragDockObject)

TStartDockEvent = procedure(Sender: TObject; var DragObject: TDragDockObject) of object;

type TStaticText

type TStaticText struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsStaticText

func AsStaticText(obj interface{}) *TStaticText

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStaticText

func NewStaticText(owner IComponent) *TStaticText

创建一个新的对象。

Create a new object.

func StaticTextFromInst

func StaticTextFromInst(inst uintptr) *TStaticText

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsStaticText.

func StaticTextFromObj

func StaticTextFromObj(obj IObject) *TStaticText

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsStaticText.

func StaticTextFromUnsafePointer

func StaticTextFromUnsafePointer(ptr unsafe.Pointer) *TStaticText

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStaticText.

func (*TStaticText) Action

func (s *TStaticText) Action() *TAction

func (*TStaticText) Align

func (s *TStaticText) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TStaticText) Alignment

func (s *TStaticText) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TStaticText) AnchorAsAlign

func (s *TStaticText) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TStaticText) AnchorClient

func (s *TStaticText) AnchorClient(ASpace int32)

func (*TStaticText) AnchorHorizontalCenterTo

func (s *TStaticText) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TStaticText) AnchorParallel

func (s *TStaticText) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStaticText) AnchorSame

func (s *TStaticText) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TStaticText) AnchorSide

func (s *TStaticText) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TStaticText) AnchorSideBottom

func (s *TStaticText) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TStaticText) AnchorSideLeft

func (s *TStaticText) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TStaticText) AnchorSideRight

func (s *TStaticText) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TStaticText) AnchorSideTop

func (s *TStaticText) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TStaticText) AnchorToNeighbour

func (s *TStaticText) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStaticText) AnchorVerticalCenterTo

func (s *TStaticText) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TStaticText) Anchors

func (s *TStaticText) Anchors() TAnchors

获取四个角位置的锚点。

func (*TStaticText) Assign

func (s *TStaticText) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TStaticText) AutoAdjustLayout

func (s *TStaticText) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TStaticText) AutoSize

func (s *TStaticText) AutoSize() bool

获取自动调整大小。

func (*TStaticText) BiDiMode

func (s *TStaticText) BiDiMode() TBiDiMode

func (*TStaticText) BorderSpacing

func (s *TStaticText) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TStaticText) BorderStyle

func (s *TStaticText) BorderStyle() TStaticBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TStaticText) BoundsRect

func (s *TStaticText) BoundsRect() TRect

func (*TStaticText) BringToFront

func (s *TStaticText) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TStaticText) Brush

func (s *TStaticText) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TStaticText) CanFocus

func (s *TStaticText) CanFocus() bool

是否可以获得焦点。

func (*TStaticText) Caption

func (s *TStaticText) Caption() string

获取控件标题。

Get the control title.

func (*TStaticText) ChildSizing

func (s *TStaticText) ChildSizing() *TControlChildSizing

func (*TStaticText) ClassName

func (s *TStaticText) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TStaticText) ClassType

func (s *TStaticText) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TStaticText) ClientHeight

func (s *TStaticText) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TStaticText) ClientOrigin

func (s *TStaticText) ClientOrigin() TPoint

func (*TStaticText) ClientRect

func (s *TStaticText) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TStaticText) ClientToParent

func (s *TStaticText) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TStaticText) ClientToScreen

func (s *TStaticText) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TStaticText) ClientWidth

func (s *TStaticText) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TStaticText) Color

func (s *TStaticText) Color() TColor

获取颜色。

Get color.

func (*TStaticText) ComponentCount

func (s *TStaticText) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TStaticText) ComponentIndex

func (s *TStaticText) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TStaticText) Components

func (s *TStaticText) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TStaticText) Constraints

func (s *TStaticText) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TStaticText) ContainsControl

func (s *TStaticText) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TStaticText) ControlAtPos

func (s *TStaticText) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TStaticText) ControlCount

func (s *TStaticText) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TStaticText) ControlState

func (s *TStaticText) ControlState() TControlState

获取控件状态。

Get control state.

func (*TStaticText) ControlStyle

func (s *TStaticText) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TStaticText) Controls

func (s *TStaticText) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TStaticText) Cursor

func (s *TStaticText) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TStaticText) DisableAlign

func (s *TStaticText) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TStaticText) DockClientCount

func (s *TStaticText) DockClientCount() int32

获取依靠客户端总数。

func (*TStaticText) DockClients

func (s *TStaticText) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TStaticText) DockSite

func (s *TStaticText) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TStaticText) DoubleBuffered

func (s *TStaticText) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TStaticText) DragCursor

func (s *TStaticText) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TStaticText) DragKind

func (s *TStaticText) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TStaticText) DragMode

func (s *TStaticText) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TStaticText) Dragging

func (s *TStaticText) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TStaticText) EnableAlign

func (s *TStaticText) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TStaticText) Enabled

func (s *TStaticText) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TStaticText) Equals

func (s *TStaticText) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TStaticText) FindChildControl

func (s *TStaticText) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TStaticText) FindComponent

func (s *TStaticText) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TStaticText) FixDesignFontsPPI

func (s *TStaticText) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TStaticText) FlipChildren

func (s *TStaticText) FlipChildren(AllLevels bool)

func (*TStaticText) Floating

func (s *TStaticText) Floating() bool

func (*TStaticText) FocusControl

func (s *TStaticText) FocusControl() *TWinControl

func (*TStaticText) Focused

func (s *TStaticText) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TStaticText) Font

func (s *TStaticText) Font() *TFont

获取字体。

Get Font.

func (*TStaticText) Free

func (s *TStaticText) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TStaticText) GetHashCode

func (s *TStaticText) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TStaticText) GetNamePath

func (s *TStaticText) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TStaticText) GetTextBuf

func (s *TStaticText) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TStaticText) GetTextLen

func (s *TStaticText) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TStaticText) Handle

func (s *TStaticText) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TStaticText) HandleAllocated

func (s *TStaticText) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TStaticText) HasParent

func (s *TStaticText) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TStaticText) Height

func (s *TStaticText) Height() int32

获取高度。

Get height.

func (*TStaticText) Hide

func (s *TStaticText) Hide()

隐藏控件。

Hidden control.

func (*TStaticText) Hint

func (s *TStaticText) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TStaticText) InheritsFrom

func (s *TStaticText) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TStaticText) InsertControl

func (s *TStaticText) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TStaticText) Instance

func (s *TStaticText) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TStaticText) InstanceSize

func (s *TStaticText) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TStaticText) Invalidate

func (s *TStaticText) Invalidate()

要求重绘。

Redraw.

func (*TStaticText) Is

func (s *TStaticText) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStaticText) IsValid

func (s *TStaticText) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TStaticText) Left

func (s *TStaticText) Left() int32

获取左边位置。

Get Left position.

func (*TStaticText) MouseInClient

func (s *TStaticText) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TStaticText) Name

func (s *TStaticText) Name() string

获取组件名称。

Get the component name.

func (*TStaticText) Owner

func (s *TStaticText) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TStaticText) PaintTo

func (s *TStaticText) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TStaticText) Parent

func (s *TStaticText) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TStaticText) ParentColor

func (s *TStaticText) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TStaticText) ParentDoubleBuffered

func (s *TStaticText) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TStaticText) ParentFont

func (s *TStaticText) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TStaticText) ParentShowHint

func (s *TStaticText) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TStaticText) ParentToClient

func (s *TStaticText) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TStaticText) ParentWindow

func (s *TStaticText) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TStaticText) Perform

func (s *TStaticText) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TStaticText) PopupMenu

func (s *TStaticText) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TStaticText) Realign

func (s *TStaticText) Realign()

重新对齐。

Realign.

func (*TStaticText) Refresh

func (s *TStaticText) Refresh()

刷新控件。

Refresh control.

func (*TStaticText) RemoveControl

func (s *TStaticText) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TStaticText) Repaint

func (s *TStaticText) Repaint()

重绘。

Repaint.

func (*TStaticText) Scale96ToFont

func (s *TStaticText) Scale96ToFont(ASize int32) int32

func (*TStaticText) Scale96ToForm

func (s *TStaticText) Scale96ToForm(ASize int32) int32

func (*TStaticText) Scale96ToScreen

func (s *TStaticText) Scale96ToScreen(ASize int32) int32

func (*TStaticText) ScaleBy

func (s *TStaticText) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TStaticText) ScaleDesignToForm

func (s *TStaticText) ScaleDesignToForm(ASize int32) int32

func (*TStaticText) ScaleFontTo96

func (s *TStaticText) ScaleFontTo96(ASize int32) int32

func (*TStaticText) ScaleFontToScreen

func (s *TStaticText) ScaleFontToScreen(ASize int32) int32

func (*TStaticText) ScaleFontsPPI

func (s *TStaticText) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TStaticText) ScaleFormTo96

func (s *TStaticText) ScaleFormTo96(ASize int32) int32

func (*TStaticText) ScaleFormToDesign

func (s *TStaticText) ScaleFormToDesign(ASize int32) int32

func (*TStaticText) ScaleScreenTo96

func (s *TStaticText) ScaleScreenTo96(ASize int32) int32

func (*TStaticText) ScaleScreenToFont

func (s *TStaticText) ScaleScreenToFont(ASize int32) int32

func (*TStaticText) ScreenToClient

func (s *TStaticText) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TStaticText) ScrollBy

func (s *TStaticText) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TStaticText) SendToBack

func (s *TStaticText) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TStaticText) SetAction

func (s *TStaticText) SetAction(value IComponent)

func (*TStaticText) SetAlign

func (s *TStaticText) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TStaticText) SetAlignment

func (s *TStaticText) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TStaticText) SetAnchorSideBottom

func (s *TStaticText) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TStaticText) SetAnchorSideLeft

func (s *TStaticText) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TStaticText) SetAnchorSideRight

func (s *TStaticText) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TStaticText) SetAnchorSideTop

func (s *TStaticText) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TStaticText) SetAnchors

func (s *TStaticText) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TStaticText) SetAutoSize

func (s *TStaticText) SetAutoSize(value bool)

设置自动调整大小。

func (*TStaticText) SetBiDiMode

func (s *TStaticText) SetBiDiMode(value TBiDiMode)

func (*TStaticText) SetBorderSpacing

func (s *TStaticText) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TStaticText) SetBorderStyle

func (s *TStaticText) SetBorderStyle(value TStaticBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TStaticText) SetBounds

func (s *TStaticText) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TStaticText) SetBoundsRect

func (s *TStaticText) SetBoundsRect(value TRect)

func (*TStaticText) SetCaption

func (s *TStaticText) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TStaticText) SetChildSizing

func (s *TStaticText) SetChildSizing(value *TControlChildSizing)

func (*TStaticText) SetClientHeight

func (s *TStaticText) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TStaticText) SetClientWidth

func (s *TStaticText) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TStaticText) SetColor

func (s *TStaticText) SetColor(value TColor)

设置颜色。

Set color.

func (*TStaticText) SetComponentIndex

func (s *TStaticText) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TStaticText) SetConstraints

func (s *TStaticText) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TStaticText) SetControlState

func (s *TStaticText) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TStaticText) SetControlStyle

func (s *TStaticText) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TStaticText) SetCursor

func (s *TStaticText) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TStaticText) SetDockSite

func (s *TStaticText) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TStaticText) SetDoubleBuffered

func (s *TStaticText) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TStaticText) SetDragCursor

func (s *TStaticText) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TStaticText) SetDragKind

func (s *TStaticText) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TStaticText) SetDragMode

func (s *TStaticText) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TStaticText) SetEnabled

func (s *TStaticText) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TStaticText) SetFocus

func (s *TStaticText) SetFocus()

设置控件焦点。

Set control focus.

func (*TStaticText) SetFocusControl

func (s *TStaticText) SetFocusControl(value IWinControl)

func (*TStaticText) SetFont

func (s *TStaticText) SetFont(value *TFont)

设置字体。

Set Font.

func (*TStaticText) SetHeight

func (s *TStaticText) SetHeight(value int32)

设置高度。

Set height.

func (*TStaticText) SetHint

func (s *TStaticText) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TStaticText) SetLeft

func (s *TStaticText) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TStaticText) SetName

func (s *TStaticText) SetName(value string)

设置组件名称。

Set the component name.

func (*TStaticText) SetOnClick

func (s *TStaticText) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TStaticText) SetOnContextPopup

func (s *TStaticText) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TStaticText) SetOnDblClick

func (s *TStaticText) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TStaticText) SetOnDragDrop

func (s *TStaticText) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TStaticText) SetOnDragOver

func (s *TStaticText) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TStaticText) SetOnEndDrag

func (s *TStaticText) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TStaticText) SetOnMouseDown

func (s *TStaticText) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TStaticText) SetOnMouseEnter

func (s *TStaticText) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TStaticText) SetOnMouseLeave

func (s *TStaticText) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TStaticText) SetOnMouseMove

func (s *TStaticText) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TStaticText) SetOnMouseUp

func (s *TStaticText) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TStaticText) SetParent

func (s *TStaticText) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TStaticText) SetParentColor

func (s *TStaticText) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TStaticText) SetParentDoubleBuffered

func (s *TStaticText) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TStaticText) SetParentFont

func (s *TStaticText) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TStaticText) SetParentShowHint

func (s *TStaticText) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TStaticText) SetParentWindow

func (s *TStaticText) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TStaticText) SetPopupMenu

func (s *TStaticText) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TStaticText) SetShowAccelChar

func (s *TStaticText) SetShowAccelChar(value bool)

func (*TStaticText) SetShowHint

func (s *TStaticText) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TStaticText) SetTabOrder

func (s *TStaticText) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TStaticText) SetTabStop

func (s *TStaticText) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TStaticText) SetTag

func (s *TStaticText) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TStaticText) SetTextBuf

func (s *TStaticText) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TStaticText) SetTop

func (s *TStaticText) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TStaticText) SetTransparent

func (s *TStaticText) SetTransparent(value bool)

设置透明。

Set transparent.

func (*TStaticText) SetUseDockManager

func (s *TStaticText) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TStaticText) SetVisible

func (s *TStaticText) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TStaticText) SetWidth

func (s *TStaticText) SetWidth(value int32)

设置宽度。

Set width.

func (*TStaticText) Show

func (s *TStaticText) Show()

显示控件。

Show control.

func (*TStaticText) ShowAccelChar

func (s *TStaticText) ShowAccelChar() bool

func (*TStaticText) ShowHint

func (s *TStaticText) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TStaticText) Showing

func (s *TStaticText) Showing() bool

func (*TStaticText) TabOrder

func (s *TStaticText) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TStaticText) TabStop

func (s *TStaticText) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TStaticText) Tag

func (s *TStaticText) Tag() int

获取对象标记。

Get the control tag.

func (*TStaticText) ToString

func (s *TStaticText) ToString() string

文本类信息。

Text information.

func (*TStaticText) Top

func (s *TStaticText) Top() int32

获取顶边位置。

Get Top position.

func (*TStaticText) Transparent

func (s *TStaticText) Transparent() bool

获取透明。

Get transparent.

func (*TStaticText) UnsafeAddr

func (s *TStaticText) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TStaticText) Update

func (s *TStaticText) Update()

控件更新。

Update.

func (*TStaticText) UseDockManager

func (s *TStaticText) UseDockManager() bool

获取使用停靠管理。

func (*TStaticText) Visible

func (s *TStaticText) Visible() bool

获取控件可视。

Get the control visible.

func (*TStaticText) VisibleDockClientCount

func (s *TStaticText) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TStaticText) Width

func (s *TStaticText) Width() int32

获取宽度。

Get width.

type TStatusBar

type TStatusBar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsStatusBar

func AsStatusBar(obj interface{}) *TStatusBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStatusBar

func NewStatusBar(owner IComponent) *TStatusBar

创建一个新的对象。

Create a new object.

func StatusBarFromInst

func StatusBarFromInst(inst uintptr) *TStatusBar

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsStatusBar.

func StatusBarFromObj

func StatusBarFromObj(obj IObject) *TStatusBar

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsStatusBar.

func StatusBarFromUnsafePointer

func StatusBarFromUnsafePointer(ptr unsafe.Pointer) *TStatusBar

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStatusBar.

func (*TStatusBar) Action

func (s *TStatusBar) Action() *TAction

func (*TStatusBar) Align

func (s *TStatusBar) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TStatusBar) AnchorAsAlign

func (s *TStatusBar) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TStatusBar) AnchorClient

func (s *TStatusBar) AnchorClient(ASpace int32)

func (*TStatusBar) AnchorHorizontalCenterTo

func (s *TStatusBar) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TStatusBar) AnchorParallel

func (s *TStatusBar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStatusBar) AnchorSame

func (s *TStatusBar) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TStatusBar) AnchorSide

func (s *TStatusBar) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TStatusBar) AnchorSideBottom

func (s *TStatusBar) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TStatusBar) AnchorSideLeft

func (s *TStatusBar) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TStatusBar) AnchorSideRight

func (s *TStatusBar) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TStatusBar) AnchorSideTop

func (s *TStatusBar) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TStatusBar) AnchorToNeighbour

func (s *TStatusBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStatusBar) AnchorVerticalCenterTo

func (s *TStatusBar) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TStatusBar) Anchors

func (s *TStatusBar) Anchors() TAnchors

获取四个角位置的锚点。

func (*TStatusBar) Assign

func (s *TStatusBar) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TStatusBar) AutoAdjustLayout

func (s *TStatusBar) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TStatusBar) AutoHint

func (s *TStatusBar) AutoHint() bool

func (*TStatusBar) BiDiMode

func (s *TStatusBar) BiDiMode() TBiDiMode

func (*TStatusBar) BorderSpacing

func (s *TStatusBar) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TStatusBar) BorderWidth

func (s *TStatusBar) BorderWidth() int32

获取边框的宽度。

func (*TStatusBar) BoundsRect

func (s *TStatusBar) BoundsRect() TRect

func (*TStatusBar) BringToFront

func (s *TStatusBar) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TStatusBar) Brush

func (s *TStatusBar) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TStatusBar) CanFocus

func (s *TStatusBar) CanFocus() bool

是否可以获得焦点。

func (*TStatusBar) Canvas

func (s *TStatusBar) Canvas() *TCanvas

获取画布。

func (*TStatusBar) ChildSizing

func (s *TStatusBar) ChildSizing() *TControlChildSizing

func (*TStatusBar) ClassName

func (s *TStatusBar) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TStatusBar) ClassType

func (s *TStatusBar) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TStatusBar) ClientHeight

func (s *TStatusBar) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TStatusBar) ClientOrigin

func (s *TStatusBar) ClientOrigin() TPoint

func (*TStatusBar) ClientRect

func (s *TStatusBar) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TStatusBar) ClientToParent

func (s *TStatusBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TStatusBar) ClientToScreen

func (s *TStatusBar) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TStatusBar) ClientWidth

func (s *TStatusBar) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TStatusBar) Color

func (s *TStatusBar) Color() TColor

获取颜色。

Get color.

func (*TStatusBar) ComponentCount

func (s *TStatusBar) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TStatusBar) ComponentIndex

func (s *TStatusBar) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TStatusBar) Components

func (s *TStatusBar) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TStatusBar) Constraints

func (s *TStatusBar) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TStatusBar) ContainsControl

func (s *TStatusBar) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TStatusBar) ControlAtPos

func (s *TStatusBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TStatusBar) ControlCount

func (s *TStatusBar) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TStatusBar) ControlState

func (s *TStatusBar) ControlState() TControlState

获取控件状态。

Get control state.

func (*TStatusBar) ControlStyle

func (s *TStatusBar) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TStatusBar) Controls

func (s *TStatusBar) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TStatusBar) Cursor

func (s *TStatusBar) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TStatusBar) DisableAlign

func (s *TStatusBar) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TStatusBar) DockClientCount

func (s *TStatusBar) DockClientCount() int32

获取依靠客户端总数。

func (*TStatusBar) DockClients

func (s *TStatusBar) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TStatusBar) DockSite

func (s *TStatusBar) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TStatusBar) DoubleBuffered

func (s *TStatusBar) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TStatusBar) DragCursor

func (s *TStatusBar) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TStatusBar) DragKind

func (s *TStatusBar) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TStatusBar) DragMode

func (s *TStatusBar) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TStatusBar) Dragging

func (s *TStatusBar) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TStatusBar) EnableAlign

func (s *TStatusBar) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TStatusBar) Enabled

func (s *TStatusBar) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TStatusBar) Equals

func (s *TStatusBar) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TStatusBar) FindChildControl

func (s *TStatusBar) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TStatusBar) FindComponent

func (s *TStatusBar) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TStatusBar) FixDesignFontsPPI

func (s *TStatusBar) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TStatusBar) FlipChildren

func (s *TStatusBar) FlipChildren(AllLevels bool)

func (*TStatusBar) Floating

func (s *TStatusBar) Floating() bool

func (*TStatusBar) Focused

func (s *TStatusBar) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TStatusBar) Font

func (s *TStatusBar) Font() *TFont

获取字体。

Get Font.

func (*TStatusBar) Free

func (s *TStatusBar) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TStatusBar) GetHashCode

func (s *TStatusBar) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TStatusBar) GetNamePath

func (s *TStatusBar) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TStatusBar) GetTextBuf

func (s *TStatusBar) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TStatusBar) GetTextLen

func (s *TStatusBar) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TStatusBar) Handle

func (s *TStatusBar) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TStatusBar) HandleAllocated

func (s *TStatusBar) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TStatusBar) HasParent

func (s *TStatusBar) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TStatusBar) Height

func (s *TStatusBar) Height() int32

获取高度。

Get height.

func (*TStatusBar) Hide

func (s *TStatusBar) Hide()

隐藏控件。

Hidden control.

func (*TStatusBar) Hint

func (s *TStatusBar) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TStatusBar) InheritsFrom

func (s *TStatusBar) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TStatusBar) InsertControl

func (s *TStatusBar) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TStatusBar) Instance

func (s *TStatusBar) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TStatusBar) InstanceSize

func (s *TStatusBar) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TStatusBar) Invalidate

func (s *TStatusBar) Invalidate()

要求重绘。

Redraw.

func (*TStatusBar) Is

func (s *TStatusBar) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStatusBar) IsValid

func (s *TStatusBar) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TStatusBar) Left

func (s *TStatusBar) Left() int32

获取左边位置。

Get Left position.

func (*TStatusBar) MouseInClient

func (s *TStatusBar) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TStatusBar) Name

func (s *TStatusBar) Name() string

获取组件名称。

Get the component name.

func (*TStatusBar) Owner

func (s *TStatusBar) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TStatusBar) PaintTo

func (s *TStatusBar) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TStatusBar) Panels

func (s *TStatusBar) Panels() *TStatusPanels

func (*TStatusBar) Parent

func (s *TStatusBar) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TStatusBar) ParentColor

func (s *TStatusBar) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TStatusBar) ParentDoubleBuffered

func (s *TStatusBar) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TStatusBar) ParentFont

func (s *TStatusBar) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TStatusBar) ParentShowHint

func (s *TStatusBar) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TStatusBar) ParentToClient

func (s *TStatusBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TStatusBar) ParentWindow

func (s *TStatusBar) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TStatusBar) Perform

func (s *TStatusBar) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TStatusBar) PopupMenu

func (s *TStatusBar) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TStatusBar) Realign

func (s *TStatusBar) Realign()

重新对齐。

Realign.

func (*TStatusBar) Refresh

func (s *TStatusBar) Refresh()

刷新控件。

Refresh control.

func (*TStatusBar) RemoveControl

func (s *TStatusBar) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TStatusBar) Repaint

func (s *TStatusBar) Repaint()

重绘。

Repaint.

func (*TStatusBar) Scale96ToFont

func (s *TStatusBar) Scale96ToFont(ASize int32) int32

func (*TStatusBar) Scale96ToForm

func (s *TStatusBar) Scale96ToForm(ASize int32) int32

func (*TStatusBar) Scale96ToScreen

func (s *TStatusBar) Scale96ToScreen(ASize int32) int32

func (*TStatusBar) ScaleBy

func (s *TStatusBar) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TStatusBar) ScaleDesignToForm

func (s *TStatusBar) ScaleDesignToForm(ASize int32) int32

func (*TStatusBar) ScaleFontTo96

func (s *TStatusBar) ScaleFontTo96(ASize int32) int32

func (*TStatusBar) ScaleFontToScreen

func (s *TStatusBar) ScaleFontToScreen(ASize int32) int32

func (*TStatusBar) ScaleFontsPPI

func (s *TStatusBar) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TStatusBar) ScaleFormTo96

func (s *TStatusBar) ScaleFormTo96(ASize int32) int32

func (*TStatusBar) ScaleFormToDesign

func (s *TStatusBar) ScaleFormToDesign(ASize int32) int32

func (*TStatusBar) ScaleScreenTo96

func (s *TStatusBar) ScaleScreenTo96(ASize int32) int32

func (*TStatusBar) ScaleScreenToFont

func (s *TStatusBar) ScaleScreenToFont(ASize int32) int32

func (*TStatusBar) ScreenToClient

func (s *TStatusBar) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TStatusBar) ScrollBy

func (s *TStatusBar) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TStatusBar) SendToBack

func (s *TStatusBar) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TStatusBar) SetAction

func (s *TStatusBar) SetAction(value IComponent)

func (*TStatusBar) SetAlign

func (s *TStatusBar) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TStatusBar) SetAnchorSideBottom

func (s *TStatusBar) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TStatusBar) SetAnchorSideLeft

func (s *TStatusBar) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TStatusBar) SetAnchorSideRight

func (s *TStatusBar) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TStatusBar) SetAnchorSideTop

func (s *TStatusBar) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TStatusBar) SetAnchors

func (s *TStatusBar) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TStatusBar) SetAutoHint

func (s *TStatusBar) SetAutoHint(value bool)

func (*TStatusBar) SetBiDiMode

func (s *TStatusBar) SetBiDiMode(value TBiDiMode)

func (*TStatusBar) SetBorderSpacing

func (s *TStatusBar) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TStatusBar) SetBorderWidth

func (s *TStatusBar) SetBorderWidth(value int32)

设置边框的宽度。

func (*TStatusBar) SetBounds

func (s *TStatusBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TStatusBar) SetBoundsRect

func (s *TStatusBar) SetBoundsRect(value TRect)

func (*TStatusBar) SetChildSizing

func (s *TStatusBar) SetChildSizing(value *TControlChildSizing)

func (*TStatusBar) SetClientHeight

func (s *TStatusBar) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TStatusBar) SetClientWidth

func (s *TStatusBar) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TStatusBar) SetColor

func (s *TStatusBar) SetColor(value TColor)

设置颜色。

Set color.

func (*TStatusBar) SetComponentIndex

func (s *TStatusBar) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TStatusBar) SetConstraints

func (s *TStatusBar) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TStatusBar) SetControlState

func (s *TStatusBar) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TStatusBar) SetControlStyle

func (s *TStatusBar) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TStatusBar) SetCursor

func (s *TStatusBar) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TStatusBar) SetDockSite

func (s *TStatusBar) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TStatusBar) SetDoubleBuffered

func (s *TStatusBar) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TStatusBar) SetDragCursor

func (s *TStatusBar) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TStatusBar) SetDragKind

func (s *TStatusBar) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TStatusBar) SetDragMode

func (s *TStatusBar) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TStatusBar) SetEnabled

func (s *TStatusBar) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TStatusBar) SetFocus

func (s *TStatusBar) SetFocus()

设置控件焦点。

Set control focus.

func (*TStatusBar) SetFont

func (s *TStatusBar) SetFont(value *TFont)

设置字体。

Set Font.

func (*TStatusBar) SetHeight

func (s *TStatusBar) SetHeight(value int32)

设置高度。

Set height.

func (*TStatusBar) SetHint

func (s *TStatusBar) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TStatusBar) SetLeft

func (s *TStatusBar) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TStatusBar) SetName

func (s *TStatusBar) SetName(value string)

设置组件名称。

Set the component name.

func (*TStatusBar) SetOnClick

func (s *TStatusBar) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TStatusBar) SetOnContextPopup

func (s *TStatusBar) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TStatusBar) SetOnDblClick

func (s *TStatusBar) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TStatusBar) SetOnDragDrop

func (s *TStatusBar) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TStatusBar) SetOnDragOver

func (s *TStatusBar) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TStatusBar) SetOnEndDock

func (s *TStatusBar) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TStatusBar) SetOnEndDrag

func (s *TStatusBar) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TStatusBar) SetOnHint

func (s *TStatusBar) SetOnHint(fn TNotifyEvent)

设置鼠标悬停提示事件。

func (*TStatusBar) SetOnMouseDown

func (s *TStatusBar) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TStatusBar) SetOnMouseEnter

func (s *TStatusBar) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TStatusBar) SetOnMouseLeave

func (s *TStatusBar) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TStatusBar) SetOnMouseMove

func (s *TStatusBar) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TStatusBar) SetOnMouseUp

func (s *TStatusBar) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TStatusBar) SetOnResize

func (s *TStatusBar) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TStatusBar) SetOnStartDock

func (s *TStatusBar) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TStatusBar) SetPanels

func (s *TStatusBar) SetPanels(value *TStatusPanels)

func (*TStatusBar) SetParent

func (s *TStatusBar) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TStatusBar) SetParentColor

func (s *TStatusBar) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TStatusBar) SetParentDoubleBuffered

func (s *TStatusBar) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TStatusBar) SetParentFont

func (s *TStatusBar) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TStatusBar) SetParentShowHint

func (s *TStatusBar) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TStatusBar) SetParentWindow

func (s *TStatusBar) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TStatusBar) SetPopupMenu

func (s *TStatusBar) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TStatusBar) SetShowHint

func (s *TStatusBar) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TStatusBar) SetSimplePanel

func (s *TStatusBar) SetSimplePanel(value bool)

func (*TStatusBar) SetSimpleText

func (s *TStatusBar) SetSimpleText(value string)

func (*TStatusBar) SetSizeGrip

func (s *TStatusBar) SetSizeGrip(value bool)

func (*TStatusBar) SetTabOrder

func (s *TStatusBar) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TStatusBar) SetTabStop

func (s *TStatusBar) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TStatusBar) SetTag

func (s *TStatusBar) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TStatusBar) SetTextBuf

func (s *TStatusBar) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TStatusBar) SetTop

func (s *TStatusBar) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TStatusBar) SetUseDockManager

func (s *TStatusBar) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TStatusBar) SetUseSystemFont

func (s *TStatusBar) SetUseSystemFont(value bool)

func (*TStatusBar) SetVisible

func (s *TStatusBar) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TStatusBar) SetWidth

func (s *TStatusBar) SetWidth(value int32)

设置宽度。

Set width.

func (*TStatusBar) Show

func (s *TStatusBar) Show()

显示控件。

Show control.

func (*TStatusBar) ShowHint

func (s *TStatusBar) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TStatusBar) Showing

func (s *TStatusBar) Showing() bool

func (*TStatusBar) SimplePanel

func (s *TStatusBar) SimplePanel() bool

func (*TStatusBar) SimpleText

func (s *TStatusBar) SimpleText() string

func (*TStatusBar) SizeGrip

func (s *TStatusBar) SizeGrip() bool

func (*TStatusBar) TabOrder

func (s *TStatusBar) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TStatusBar) TabStop

func (s *TStatusBar) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TStatusBar) Tag

func (s *TStatusBar) Tag() int

获取对象标记。

Get the control tag.

func (*TStatusBar) ToString

func (s *TStatusBar) ToString() string

文本类信息。

Text information.

func (*TStatusBar) Top

func (s *TStatusBar) Top() int32

获取顶边位置。

Get Top position.

func (*TStatusBar) UnsafeAddr

func (s *TStatusBar) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TStatusBar) Update

func (s *TStatusBar) Update()

控件更新。

Update.

func (*TStatusBar) UseDockManager

func (s *TStatusBar) UseDockManager() bool

获取使用停靠管理。

func (*TStatusBar) UseSystemFont

func (s *TStatusBar) UseSystemFont() bool

func (*TStatusBar) Visible

func (s *TStatusBar) Visible() bool

获取控件可视。

Get the control visible.

func (*TStatusBar) VisibleDockClientCount

func (s *TStatusBar) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TStatusBar) Width

func (s *TStatusBar) Width() int32

获取宽度。

Get width.

type TStatusPanel

type TStatusPanel struct {
	IObject
	// contains filtered or unexported fields
}

func AsStatusPanel

func AsStatusPanel(obj interface{}) *TStatusPanel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStatusPanel

func NewStatusPanel(AOwner *TCollection) *TStatusPanel

创建一个新的对象。

Create a new object.

func StatusPanelFromInst

func StatusPanelFromInst(inst uintptr) *TStatusPanel

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsStatusPanel.

func StatusPanelFromObj

func StatusPanelFromObj(obj IObject) *TStatusPanel

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsStatusPanel.

func StatusPanelFromUnsafePointer

func StatusPanelFromUnsafePointer(ptr unsafe.Pointer) *TStatusPanel

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStatusPanel.

func (*TStatusPanel) Alignment

func (s *TStatusPanel) Alignment() TAlignment

获取文字对齐。

Get Text alignment.

func (*TStatusPanel) Assign

func (s *TStatusPanel) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TStatusPanel) BiDiMode

func (s *TStatusPanel) BiDiMode() TBiDiMode

func (*TStatusPanel) ClassName

func (s *TStatusPanel) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TStatusPanel) ClassType

func (s *TStatusPanel) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TStatusPanel) Collection

func (s *TStatusPanel) Collection() *TCollection

func (*TStatusPanel) DisplayName

func (s *TStatusPanel) DisplayName() string

func (*TStatusPanel) Equals

func (s *TStatusPanel) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TStatusPanel) Free

func (s *TStatusPanel) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TStatusPanel) GetHashCode

func (s *TStatusPanel) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TStatusPanel) GetNamePath

func (s *TStatusPanel) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TStatusPanel) Index

func (s *TStatusPanel) Index() int32

func (*TStatusPanel) InheritsFrom

func (s *TStatusPanel) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TStatusPanel) Instance

func (s *TStatusPanel) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TStatusPanel) InstanceSize

func (s *TStatusPanel) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TStatusPanel) Is

func (s *TStatusPanel) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStatusPanel) IsValid

func (s *TStatusPanel) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TStatusPanel) SetAlignment

func (s *TStatusPanel) SetAlignment(value TAlignment)

设置文字对齐。

Set Text alignment.

func (*TStatusPanel) SetBiDiMode

func (s *TStatusPanel) SetBiDiMode(value TBiDiMode)

func (*TStatusPanel) SetCollection

func (s *TStatusPanel) SetCollection(value *TCollection)

func (*TStatusPanel) SetDisplayName

func (s *TStatusPanel) SetDisplayName(value string)

func (*TStatusPanel) SetIndex

func (s *TStatusPanel) SetIndex(value int32)

func (*TStatusPanel) SetStyle

func (s *TStatusPanel) SetStyle(value TStatusPanelStyle)

func (*TStatusPanel) SetText

func (s *TStatusPanel) SetText(value string)

设置文本。

func (*TStatusPanel) SetWidth

func (s *TStatusPanel) SetWidth(value int32)

设置宽度。

Set width.

func (*TStatusPanel) Style

func (s *TStatusPanel) Style() TStatusPanelStyle

func (*TStatusPanel) Text

func (s *TStatusPanel) Text() string

获取文本。

func (*TStatusPanel) ToString

func (s *TStatusPanel) ToString() string

文本类信息。

Text information.

func (*TStatusPanel) UnsafeAddr

func (s *TStatusPanel) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TStatusPanel) Width

func (s *TStatusPanel) Width() int32

获取宽度。

Get width.

type TStatusPanels

type TStatusPanels struct {
	IObject
	// contains filtered or unexported fields
}

func AsStatusPanels

func AsStatusPanels(obj interface{}) *TStatusPanels

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStatusPanels

func NewStatusPanels(AOwner *TStatusBar) *TStatusPanels

创建一个新的对象。

Create a new object.

func StatusPanelsFromInst

func StatusPanelsFromInst(inst uintptr) *TStatusPanels

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsStatusPanels.

func StatusPanelsFromObj

func StatusPanelsFromObj(obj IObject) *TStatusPanels

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsStatusPanels.

func StatusPanelsFromUnsafePointer

func StatusPanelsFromUnsafePointer(ptr unsafe.Pointer) *TStatusPanels

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStatusPanels.

func (*TStatusPanels) Add

func (s *TStatusPanels) Add() *TStatusPanel

func (*TStatusPanels) Assign

func (s *TStatusPanels) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TStatusPanels) BeginUpdate

func (s *TStatusPanels) BeginUpdate()

func (*TStatusPanels) Capacity

func (s *TStatusPanels) Capacity() int32

func (*TStatusPanels) ClassName

func (s *TStatusPanels) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TStatusPanels) ClassType

func (s *TStatusPanels) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TStatusPanels) Clear

func (s *TStatusPanels) Clear()

清除。

func (*TStatusPanels) Count

func (s *TStatusPanels) Count() int32

func (*TStatusPanels) Delete

func (s *TStatusPanels) Delete(Index int32)

func (*TStatusPanels) EndUpdate

func (s *TStatusPanels) EndUpdate()

func (*TStatusPanels) Equals

func (s *TStatusPanels) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TStatusPanels) FindItemID

func (s *TStatusPanels) FindItemID(ID int32) *TCollectionItem

func (*TStatusPanels) Free

func (s *TStatusPanels) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TStatusPanels) GetHashCode

func (s *TStatusPanels) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TStatusPanels) GetNamePath

func (s *TStatusPanels) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TStatusPanels) InheritsFrom

func (s *TStatusPanels) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TStatusPanels) Insert

func (s *TStatusPanels) Insert(Index int32) *TStatusPanel

func (*TStatusPanels) Instance

func (s *TStatusPanels) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TStatusPanels) InstanceSize

func (s *TStatusPanels) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TStatusPanels) Is

func (s *TStatusPanels) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStatusPanels) IsValid

func (s *TStatusPanels) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TStatusPanels) Items

func (s *TStatusPanels) Items(Index int32) *TStatusPanel

func (*TStatusPanels) Owner

func (s *TStatusPanels) Owner() *TObject

组件所有者。

component owner.

func (*TStatusPanels) SetCapacity

func (s *TStatusPanels) SetCapacity(value int32)

func (*TStatusPanels) SetItems

func (s *TStatusPanels) SetItems(Index int32, value *TStatusPanel)

func (*TStatusPanels) ToString

func (s *TStatusPanels) ToString() string

文本类信息。

Text information.

func (*TStatusPanels) UnsafeAddr

func (s *TStatusPanels) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TStringGrid

type TStringGrid struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsStringGrid

func AsStringGrid(obj interface{}) *TStringGrid

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStringGrid

func NewStringGrid(owner IComponent) *TStringGrid

创建一个新的对象。

Create a new object.

func StringGridFromInst

func StringGridFromInst(inst uintptr) *TStringGrid

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsStringGrid.

func StringGridFromObj

func StringGridFromObj(obj IObject) *TStringGrid

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsStringGrid.

func StringGridFromUnsafePointer

func StringGridFromUnsafePointer(ptr unsafe.Pointer) *TStringGrid

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStringGrid.

func (*TStringGrid) Action

func (s *TStringGrid) Action() *TAction

func (*TStringGrid) Align

func (s *TStringGrid) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TStringGrid) AlternateColor

func (s *TStringGrid) AlternateColor() TColor

func (*TStringGrid) AnchorAsAlign

func (s *TStringGrid) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TStringGrid) AnchorClient

func (s *TStringGrid) AnchorClient(ASpace int32)

func (*TStringGrid) AnchorHorizontalCenterTo

func (s *TStringGrid) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TStringGrid) AnchorParallel

func (s *TStringGrid) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStringGrid) AnchorSame

func (s *TStringGrid) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TStringGrid) AnchorSide

func (s *TStringGrid) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TStringGrid) AnchorSideBottom

func (s *TStringGrid) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TStringGrid) AnchorSideLeft

func (s *TStringGrid) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TStringGrid) AnchorSideRight

func (s *TStringGrid) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TStringGrid) AnchorSideTop

func (s *TStringGrid) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TStringGrid) AnchorToNeighbour

func (s *TStringGrid) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStringGrid) AnchorVerticalCenterTo

func (s *TStringGrid) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TStringGrid) Anchors

func (s *TStringGrid) Anchors() TAnchors

获取四个角位置的锚点。

func (*TStringGrid) Assign

func (s *TStringGrid) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TStringGrid) AutoAdjustColumns

func (s *TStringGrid) AutoAdjustColumns()

func (*TStringGrid) AutoAdjustLayout

func (s *TStringGrid) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TStringGrid) AutoAdvance

func (s *TStringGrid) AutoAdvance() TAutoAdvance

func (*TStringGrid) AutoEdit

func (s *TStringGrid) AutoEdit() bool

func (*TStringGrid) AutoFillColumns

func (s *TStringGrid) AutoFillColumns() bool

func (*TStringGrid) BiDiMode

func (s *TStringGrid) BiDiMode() TBiDiMode

func (*TStringGrid) BorderSpacing

func (s *TStringGrid) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TStringGrid) BorderStyle

func (s *TStringGrid) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TStringGrid) BoundsRect

func (s *TStringGrid) BoundsRect() TRect

func (*TStringGrid) BringToFront

func (s *TStringGrid) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TStringGrid) Brush

func (s *TStringGrid) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TStringGrid) CanFocus

func (s *TStringGrid) CanFocus() bool

是否可以获得焦点。

func (*TStringGrid) Canvas

func (s *TStringGrid) Canvas() *TCanvas

获取画布。

func (*TStringGrid) CellHintPriority

func (s *TStringGrid) CellHintPriority() TCellHintPriority

func (*TStringGrid) CellRect

func (s *TStringGrid) CellRect(ACol int32, ARow int32) TRect

func (*TStringGrid) CellToGridZone

func (s *TStringGrid) CellToGridZone(aCol int32, aRow int32) TGridZone

func (*TStringGrid) Cells

func (s *TStringGrid) Cells(ACol int32, ARow int32) string

func (*TStringGrid) CheckPosition

func (s *TStringGrid) CheckPosition()

func (*TStringGrid) ChildSizing

func (s *TStringGrid) ChildSizing() *TControlChildSizing

func (*TStringGrid) ClassName

func (s *TStringGrid) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TStringGrid) ClassType

func (s *TStringGrid) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TStringGrid) Clear

func (s *TStringGrid) Clear()

清除。

func (*TStringGrid) ClearCols

func (s *TStringGrid) ClearCols() bool

func (*TStringGrid) ClearRows

func (s *TStringGrid) ClearRows() bool

func (*TStringGrid) ClearSelections

func (s *TStringGrid) ClearSelections()

func (*TStringGrid) ClientHeight

func (s *TStringGrid) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TStringGrid) ClientOrigin

func (s *TStringGrid) ClientOrigin() TPoint

func (*TStringGrid) ClientRect

func (s *TStringGrid) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TStringGrid) ClientToParent

func (s *TStringGrid) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TStringGrid) ClientToScreen

func (s *TStringGrid) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TStringGrid) ClientWidth

func (s *TStringGrid) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TStringGrid) Col

func (s *TStringGrid) Col() int32

func (*TStringGrid) ColCount

func (s *TStringGrid) ColCount() int32

func (*TStringGrid) ColWidths

func (s *TStringGrid) ColWidths(Index int32) int32

func (*TStringGrid) Color

func (s *TStringGrid) Color() TColor

获取颜色。

Get color.

func (*TStringGrid) Cols

func (s *TStringGrid) Cols(Index int32) *TStrings

func (*TStringGrid) ColumnClickSorts

func (s *TStringGrid) ColumnClickSorts() bool

func (*TStringGrid) Columns

func (s *TStringGrid) Columns() *TGridColumns

func (*TStringGrid) ComponentCount

func (s *TStringGrid) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TStringGrid) ComponentIndex

func (s *TStringGrid) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TStringGrid) Components

func (s *TStringGrid) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TStringGrid) Constraints

func (s *TStringGrid) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TStringGrid) ContainsControl

func (s *TStringGrid) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TStringGrid) ControlAtPos

func (s *TStringGrid) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TStringGrid) ControlCount

func (s *TStringGrid) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TStringGrid) ControlState

func (s *TStringGrid) ControlState() TControlState

获取控件状态。

Get control state.

func (*TStringGrid) ControlStyle

func (s *TStringGrid) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TStringGrid) Controls

func (s *TStringGrid) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TStringGrid) Cursor

func (s *TStringGrid) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TStringGrid) DefaultColWidth

func (s *TStringGrid) DefaultColWidth() int32

func (*TStringGrid) DefaultDrawing

func (s *TStringGrid) DefaultDrawing() bool

func (*TStringGrid) DefaultRowHeight

func (s *TStringGrid) DefaultRowHeight() int32

func (*TStringGrid) DeleteCol

func (s *TStringGrid) DeleteCol(Index int32)

func (*TStringGrid) DeleteColRow

func (s *TStringGrid) DeleteColRow(IsColumn bool, index int32)

func (*TStringGrid) DeleteRow

func (s *TStringGrid) DeleteRow(Index int32)

func (*TStringGrid) DisableAlign

func (s *TStringGrid) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TStringGrid) DockClientCount

func (s *TStringGrid) DockClientCount() int32

获取依靠客户端总数。

func (*TStringGrid) DockClients

func (s *TStringGrid) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TStringGrid) DockSite

func (s *TStringGrid) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TStringGrid) DoubleBuffered

func (s *TStringGrid) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TStringGrid) DragCursor

func (s *TStringGrid) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TStringGrid) DragKind

func (s *TStringGrid) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TStringGrid) DragMode

func (s *TStringGrid) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TStringGrid) Dragging

func (s *TStringGrid) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TStringGrid) EditingDone

func (s *TStringGrid) EditingDone()

func (*TStringGrid) Editor

func (s *TStringGrid) Editor() *TWinControl

func (*TStringGrid) EditorBorderStyle

func (s *TStringGrid) EditorBorderStyle() TBorderStyle

func (*TStringGrid) EditorByStyle

func (s *TStringGrid) EditorByStyle(Style TColumnButtonStyle) *TWinControl

func (*TStringGrid) EditorKeyDown

func (s *TStringGrid) EditorKeyDown(Sender IObject, Key *uint16, Shift TShiftState)

func (*TStringGrid) EditorKeyPress

func (s *TStringGrid) EditorKeyPress(Sender IObject, Key *uint16)

func (*TStringGrid) EditorKeyUp

func (s *TStringGrid) EditorKeyUp(Sender IObject, key *uint16, shift TShiftState)

func (*TStringGrid) EditorMode

func (s *TStringGrid) EditorMode() bool

func (*TStringGrid) EditorTextChanged

func (s *TStringGrid) EditorTextChanged(aCol int32, aRow int32, aText string)

func (*TStringGrid) EnableAlign

func (s *TStringGrid) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TStringGrid) Enabled

func (s *TStringGrid) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TStringGrid) Equals

func (s *TStringGrid) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TStringGrid) ExchangeColRow

func (s *TStringGrid) ExchangeColRow(IsColumn bool, index int32, WithIndex int32)

func (*TStringGrid) ExtendedSelect

func (s *TStringGrid) ExtendedSelect() bool

func (*TStringGrid) FastEditing

func (s *TStringGrid) FastEditing() bool

func (*TStringGrid) FindChildControl

func (s *TStringGrid) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TStringGrid) FindComponent

func (s *TStringGrid) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TStringGrid) FixDesignFontsPPI

func (s *TStringGrid) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TStringGrid) FixedColor

func (s *TStringGrid) FixedColor() TColor

func (*TStringGrid) FixedCols

func (s *TStringGrid) FixedCols() int32

func (*TStringGrid) FixedGridLineColor

func (s *TStringGrid) FixedGridLineColor() TColor

func (*TStringGrid) FixedHotColor

func (s *TStringGrid) FixedHotColor() TColor

func (*TStringGrid) FixedRows

func (s *TStringGrid) FixedRows() int32

func (*TStringGrid) Flat

func (s *TStringGrid) Flat() bool

获取平面样式。

func (*TStringGrid) FlipChildren

func (s *TStringGrid) FlipChildren(AllLevels bool)

func (*TStringGrid) Floating

func (s *TStringGrid) Floating() bool

func (*TStringGrid) FocusColor

func (s *TStringGrid) FocusColor() TColor

func (*TStringGrid) FocusRectVisible

func (s *TStringGrid) FocusRectVisible() bool

func (*TStringGrid) Focused

func (s *TStringGrid) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TStringGrid) Font

func (s *TStringGrid) Font() *TFont

获取字体。

Get Font.

func (*TStringGrid) Free

func (s *TStringGrid) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TStringGrid) GetHashCode

func (s *TStringGrid) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TStringGrid) GetNamePath

func (s *TStringGrid) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TStringGrid) GetTextBuf

func (s *TStringGrid) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TStringGrid) GetTextLen

func (s *TStringGrid) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TStringGrid) GridHeight

func (s *TStringGrid) GridHeight() int32

func (*TStringGrid) GridLineColor

func (s *TStringGrid) GridLineColor() TColor

func (*TStringGrid) GridLineStyle

func (s *TStringGrid) GridLineStyle() TPenStyle

func (*TStringGrid) GridLineWidth

func (s *TStringGrid) GridLineWidth() int32

func (*TStringGrid) GridWidth

func (s *TStringGrid) GridWidth() int32

func (*TStringGrid) Handle

func (s *TStringGrid) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TStringGrid) HandleAllocated

func (s *TStringGrid) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TStringGrid) HasMultiSelection

func (s *TStringGrid) HasMultiSelection() bool

func (*TStringGrid) HasParent

func (s *TStringGrid) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TStringGrid) HeaderHotZones

func (s *TStringGrid) HeaderHotZones() TGridZoneSet

func (*TStringGrid) HeaderPushZones

func (s *TStringGrid) HeaderPushZones() TGridZoneSet

func (*TStringGrid) Height

func (s *TStringGrid) Height() int32

获取高度。

Get height.

func (*TStringGrid) Hide

func (s *TStringGrid) Hide()

隐藏控件。

Hidden control.

func (*TStringGrid) Hint

func (s *TStringGrid) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TStringGrid) ImageIndexSortAsc

func (s *TStringGrid) ImageIndexSortAsc() int32

func (*TStringGrid) ImageIndexSortDesc

func (s *TStringGrid) ImageIndexSortDesc() int32

func (*TStringGrid) InheritsFrom

func (s *TStringGrid) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TStringGrid) InsertColRow

func (s *TStringGrid) InsertColRow(IsColumn bool, index int32)

func (*TStringGrid) InsertControl

func (s *TStringGrid) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TStringGrid) Instance

func (s *TStringGrid) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TStringGrid) InstanceSize

func (s *TStringGrid) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TStringGrid) Invalidate

func (s *TStringGrid) Invalidate()

要求重绘。

Redraw.

func (*TStringGrid) InvalidateCell

func (s *TStringGrid) InvalidateCell(aCol int32, aRow int32)

func (*TStringGrid) InvalidateCol

func (s *TStringGrid) InvalidateCol(ACol int32)

func (*TStringGrid) InvalidateRange

func (s *TStringGrid) InvalidateRange(aRange TRect)

func (*TStringGrid) InvalidateRow

func (s *TStringGrid) InvalidateRow(ARow int32)

func (*TStringGrid) Is

func (s *TStringGrid) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStringGrid) IsCellSelected

func (s *TStringGrid) IsCellSelected(aCol int32, aRow int32) bool

func (*TStringGrid) IsCellVisible

func (s *TStringGrid) IsCellVisible(aCol int32, aRow int32) bool

func (*TStringGrid) IsFixedCellVisible

func (s *TStringGrid) IsFixedCellVisible(aCol int32, aRow int32) bool

func (*TStringGrid) IsValid

func (s *TStringGrid) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TStringGrid) Left

func (s *TStringGrid) Left() int32

获取左边位置。

Get Left position.

func (*TStringGrid) LeftCol

func (s *TStringGrid) LeftCol() int32

func (*TStringGrid) MouseCoord

func (s *TStringGrid) MouseCoord(X int32, Y int32) TGridCoord

func (*TStringGrid) MouseInClient

func (s *TStringGrid) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TStringGrid) MouseToCell

func (s *TStringGrid) MouseToCell(Mouse TPoint) TPoint

func (*TStringGrid) MouseToGridZone

func (s *TStringGrid) MouseToGridZone(X int32, Y int32) TGridZone

func (*TStringGrid) MouseToLogcell

func (s *TStringGrid) MouseToLogcell(Mouse TPoint) TPoint

func (*TStringGrid) MouseWheelOption

func (s *TStringGrid) MouseWheelOption() TMouseWheelOption

func (*TStringGrid) MoveColRow

func (s *TStringGrid) MoveColRow(IsColumn bool, FromIndex int32, ToIndex int32)

func (*TStringGrid) Name

func (s *TStringGrid) Name() string

获取组件名称。

Get the component name.

func (*TStringGrid) Objects

func (s *TStringGrid) Objects(ACol int32, ARow int32) *TObject

func (*TStringGrid) Options

func (s *TStringGrid) Options() TGridOptions

func (*TStringGrid) Options2

func (s *TStringGrid) Options2() TGridOptions2

func (*TStringGrid) Owner

func (s *TStringGrid) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TStringGrid) PaintTo

func (s *TStringGrid) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TStringGrid) Parent

func (s *TStringGrid) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TStringGrid) ParentColor

func (s *TStringGrid) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TStringGrid) ParentDoubleBuffered

func (s *TStringGrid) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TStringGrid) ParentFont

func (s *TStringGrid) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TStringGrid) ParentShowHint

func (s *TStringGrid) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TStringGrid) ParentToClient

func (s *TStringGrid) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TStringGrid) ParentWindow

func (s *TStringGrid) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TStringGrid) Perform

func (s *TStringGrid) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TStringGrid) PopupMenu

func (s *TStringGrid) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TStringGrid) RangeSelectMode

func (s *TStringGrid) RangeSelectMode() TRangeSelectMode

func (*TStringGrid) Realign

func (s *TStringGrid) Realign()

重新对齐。

Realign.

func (*TStringGrid) Refresh

func (s *TStringGrid) Refresh()

刷新控件。

Refresh control.

func (*TStringGrid) RemoveControl

func (s *TStringGrid) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TStringGrid) Repaint

func (s *TStringGrid) Repaint()

重绘。

Repaint.

func (*TStringGrid) Row

func (s *TStringGrid) Row() int32

func (*TStringGrid) RowCount

func (s *TStringGrid) RowCount() int32

func (*TStringGrid) RowHeights

func (s *TStringGrid) RowHeights(Index int32) int32

func (*TStringGrid) Rows

func (s *TStringGrid) Rows(Index int32) *TStrings

func (*TStringGrid) Scale96ToFont

func (s *TStringGrid) Scale96ToFont(ASize int32) int32

func (*TStringGrid) Scale96ToForm

func (s *TStringGrid) Scale96ToForm(ASize int32) int32

func (*TStringGrid) Scale96ToScreen

func (s *TStringGrid) Scale96ToScreen(ASize int32) int32

func (*TStringGrid) ScaleBy

func (s *TStringGrid) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TStringGrid) ScaleDesignToForm

func (s *TStringGrid) ScaleDesignToForm(ASize int32) int32

func (*TStringGrid) ScaleFontTo96

func (s *TStringGrid) ScaleFontTo96(ASize int32) int32

func (*TStringGrid) ScaleFontToScreen

func (s *TStringGrid) ScaleFontToScreen(ASize int32) int32

func (*TStringGrid) ScaleFontsPPI

func (s *TStringGrid) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TStringGrid) ScaleFormTo96

func (s *TStringGrid) ScaleFormTo96(ASize int32) int32

func (*TStringGrid) ScaleFormToDesign

func (s *TStringGrid) ScaleFormToDesign(ASize int32) int32

func (*TStringGrid) ScaleScreenTo96

func (s *TStringGrid) ScaleScreenTo96(ASize int32) int32

func (*TStringGrid) ScaleScreenToFont

func (s *TStringGrid) ScaleScreenToFont(ASize int32) int32

func (*TStringGrid) ScreenToClient

func (s *TStringGrid) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TStringGrid) ScrollBars

func (s *TStringGrid) ScrollBars() TScrollStyle

func (*TStringGrid) ScrollBy

func (s *TStringGrid) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TStringGrid) SelectedColor

func (s *TStringGrid) SelectedColor() TColor

func (*TStringGrid) SelectedColumn

func (s *TStringGrid) SelectedColumn() *TGridColumn

func (*TStringGrid) Selection

func (s *TStringGrid) Selection() TGridRect

func (*TStringGrid) SendToBack

func (s *TStringGrid) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TStringGrid) SetAction

func (s *TStringGrid) SetAction(value IComponent)

func (*TStringGrid) SetAlign

func (s *TStringGrid) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TStringGrid) SetAlternateColor

func (s *TStringGrid) SetAlternateColor(value TColor)

func (*TStringGrid) SetAnchorSideBottom

func (s *TStringGrid) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TStringGrid) SetAnchorSideLeft

func (s *TStringGrid) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TStringGrid) SetAnchorSideRight

func (s *TStringGrid) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TStringGrid) SetAnchorSideTop

func (s *TStringGrid) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TStringGrid) SetAnchors

func (s *TStringGrid) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TStringGrid) SetAutoAdvance

func (s *TStringGrid) SetAutoAdvance(value TAutoAdvance)

func (*TStringGrid) SetAutoEdit

func (s *TStringGrid) SetAutoEdit(value bool)

func (*TStringGrid) SetAutoFillColumns

func (s *TStringGrid) SetAutoFillColumns(value bool)

func (*TStringGrid) SetBiDiMode

func (s *TStringGrid) SetBiDiMode(value TBiDiMode)

func (*TStringGrid) SetBorderSpacing

func (s *TStringGrid) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TStringGrid) SetBorderStyle

func (s *TStringGrid) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TStringGrid) SetBounds

func (s *TStringGrid) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TStringGrid) SetBoundsRect

func (s *TStringGrid) SetBoundsRect(value TRect)

func (*TStringGrid) SetCellHintPriority

func (s *TStringGrid) SetCellHintPriority(value TCellHintPriority)

func (*TStringGrid) SetCells

func (s *TStringGrid) SetCells(ACol int32, ARow int32, value string)

func (*TStringGrid) SetChildSizing

func (s *TStringGrid) SetChildSizing(value *TControlChildSizing)

func (*TStringGrid) SetClientHeight

func (s *TStringGrid) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TStringGrid) SetClientWidth

func (s *TStringGrid) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TStringGrid) SetCol

func (s *TStringGrid) SetCol(value int32)

func (*TStringGrid) SetColCount

func (s *TStringGrid) SetColCount(value int32)

func (*TStringGrid) SetColWidths

func (s *TStringGrid) SetColWidths(Index int32, value int32)

func (*TStringGrid) SetColor

func (s *TStringGrid) SetColor(value TColor)

设置颜色。

Set color.

func (*TStringGrid) SetCols

func (s *TStringGrid) SetCols(Index int32, value IStrings)

func (*TStringGrid) SetColumnClickSorts

func (s *TStringGrid) SetColumnClickSorts(value bool)

func (*TStringGrid) SetColumns

func (s *TStringGrid) SetColumns(value *TGridColumns)

func (*TStringGrid) SetComponentIndex

func (s *TStringGrid) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TStringGrid) SetConstraints

func (s *TStringGrid) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TStringGrid) SetControlState

func (s *TStringGrid) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TStringGrid) SetControlStyle

func (s *TStringGrid) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TStringGrid) SetCursor

func (s *TStringGrid) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TStringGrid) SetDefaultColWidth

func (s *TStringGrid) SetDefaultColWidth(value int32)

func (*TStringGrid) SetDefaultDrawing

func (s *TStringGrid) SetDefaultDrawing(value bool)

func (*TStringGrid) SetDefaultRowHeight

func (s *TStringGrid) SetDefaultRowHeight(value int32)

func (*TStringGrid) SetDockSite

func (s *TStringGrid) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TStringGrid) SetDoubleBuffered

func (s *TStringGrid) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TStringGrid) SetDragCursor

func (s *TStringGrid) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TStringGrid) SetDragKind

func (s *TStringGrid) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TStringGrid) SetDragMode

func (s *TStringGrid) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TStringGrid) SetEditor

func (s *TStringGrid) SetEditor(value IWinControl)

func (*TStringGrid) SetEditorBorderStyle

func (s *TStringGrid) SetEditorBorderStyle(value TBorderStyle)

func (*TStringGrid) SetEditorMode

func (s *TStringGrid) SetEditorMode(value bool)

func (*TStringGrid) SetEnabled

func (s *TStringGrid) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TStringGrid) SetExtendedSelect

func (s *TStringGrid) SetExtendedSelect(value bool)

func (*TStringGrid) SetFastEditing

func (s *TStringGrid) SetFastEditing(value bool)

func (*TStringGrid) SetFixedColor

func (s *TStringGrid) SetFixedColor(value TColor)

func (*TStringGrid) SetFixedCols

func (s *TStringGrid) SetFixedCols(value int32)

func (*TStringGrid) SetFixedGridLineColor

func (s *TStringGrid) SetFixedGridLineColor(value TColor)

func (*TStringGrid) SetFixedHotColor

func (s *TStringGrid) SetFixedHotColor(value TColor)

func (*TStringGrid) SetFixedRows

func (s *TStringGrid) SetFixedRows(value int32)

func (*TStringGrid) SetFlat

func (s *TStringGrid) SetFlat(value bool)

设置平面样式。

func (*TStringGrid) SetFocus

func (s *TStringGrid) SetFocus()

设置控件焦点。

Set control focus.

func (*TStringGrid) SetFocusColor

func (s *TStringGrid) SetFocusColor(value TColor)

func (*TStringGrid) SetFocusRectVisible

func (s *TStringGrid) SetFocusRectVisible(value bool)

func (*TStringGrid) SetFont

func (s *TStringGrid) SetFont(value *TFont)

设置字体。

Set Font.

func (*TStringGrid) SetGridLineColor

func (s *TStringGrid) SetGridLineColor(value TColor)

func (*TStringGrid) SetGridLineStyle

func (s *TStringGrid) SetGridLineStyle(value TPenStyle)

func (*TStringGrid) SetGridLineWidth

func (s *TStringGrid) SetGridLineWidth(value int32)

func (*TStringGrid) SetHeaderHotZones

func (s *TStringGrid) SetHeaderHotZones(value TGridZoneSet)

func (*TStringGrid) SetHeaderPushZones

func (s *TStringGrid) SetHeaderPushZones(value TGridZoneSet)

func (*TStringGrid) SetHeight

func (s *TStringGrid) SetHeight(value int32)

设置高度。

Set height.

func (*TStringGrid) SetHint

func (s *TStringGrid) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TStringGrid) SetImageIndexSortAsc

func (s *TStringGrid) SetImageIndexSortAsc(value int32)

func (*TStringGrid) SetImageIndexSortDesc

func (s *TStringGrid) SetImageIndexSortDesc(value int32)

func (*TStringGrid) SetLeft

func (s *TStringGrid) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TStringGrid) SetLeftCol

func (s *TStringGrid) SetLeftCol(value int32)

func (*TStringGrid) SetMouseWheelOption

func (s *TStringGrid) SetMouseWheelOption(value TMouseWheelOption)

func (*TStringGrid) SetName

func (s *TStringGrid) SetName(value string)

设置组件名称。

Set the component name.

func (*TStringGrid) SetObjects

func (s *TStringGrid) SetObjects(ACol int32, ARow int32, value IObject)

func (*TStringGrid) SetOnAfterSelection

func (s *TStringGrid) SetOnAfterSelection(fn TOnSelectEvent)

func (*TStringGrid) SetOnBeforeSelection

func (s *TStringGrid) SetOnBeforeSelection(fn TOnSelectEvent)

func (*TStringGrid) SetOnButtonClick

func (s *TStringGrid) SetOnButtonClick(fn TOnSelectEvent)

func (*TStringGrid) SetOnCheckboxToggled

func (s *TStringGrid) SetOnCheckboxToggled(fn TToggledCheckboxEvent)

func (*TStringGrid) SetOnClick

func (s *TStringGrid) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TStringGrid) SetOnColRowDeleted

func (s *TStringGrid) SetOnColRowDeleted(fn TGridOperationEvent)

func (*TStringGrid) SetOnColRowExchanged

func (s *TStringGrid) SetOnColRowExchanged(fn TGridOperationEvent)

func (*TStringGrid) SetOnColRowInserted

func (s *TStringGrid) SetOnColRowInserted(fn TGridOperationEvent)

func (*TStringGrid) SetOnColRowMoved

func (s *TStringGrid) SetOnColRowMoved(fn TGridOperationEvent)

func (*TStringGrid) SetOnCompareCells

func (s *TStringGrid) SetOnCompareCells(fn TOnCompareCells)

func (*TStringGrid) SetOnContextPopup

func (s *TStringGrid) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TStringGrid) SetOnDblClick

func (s *TStringGrid) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TStringGrid) SetOnDragDrop

func (s *TStringGrid) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TStringGrid) SetOnDragOver

func (s *TStringGrid) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TStringGrid) SetOnDrawCell

func (s *TStringGrid) SetOnDrawCell(fn TDrawCellEvent)

func (*TStringGrid) SetOnEditingDone

func (s *TStringGrid) SetOnEditingDone(fn TNotifyEvent)

func (*TStringGrid) SetOnEndDock

func (s *TStringGrid) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TStringGrid) SetOnEndDrag

func (s *TStringGrid) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TStringGrid) SetOnEnter

func (s *TStringGrid) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TStringGrid) SetOnExit

func (s *TStringGrid) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TStringGrid) SetOnGetCellHint

func (s *TStringGrid) SetOnGetCellHint(fn TGetCellHintEvent)

func (*TStringGrid) SetOnGetCheckboxState

func (s *TStringGrid) SetOnGetCheckboxState(fn TGetCheckboxStateEvent)

func (*TStringGrid) SetOnGetEditMask

func (s *TStringGrid) SetOnGetEditMask(fn TGetEditEvent)

func (*TStringGrid) SetOnGetEditText

func (s *TStringGrid) SetOnGetEditText(fn TGetEditEvent)

func (*TStringGrid) SetOnHeaderClick

func (s *TStringGrid) SetOnHeaderClick(fn THdrEvent)

func (*TStringGrid) SetOnHeaderSized

func (s *TStringGrid) SetOnHeaderSized(fn THdrEvent)

func (*TStringGrid) SetOnHeaderSizing

func (s *TStringGrid) SetOnHeaderSizing(fn THeaderSizingEvent)

func (*TStringGrid) SetOnKeyDown

func (s *TStringGrid) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TStringGrid) SetOnKeyPress

func (s *TStringGrid) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TStringGrid) SetOnKeyUp

func (s *TStringGrid) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TStringGrid) SetOnMouseDown

func (s *TStringGrid) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TStringGrid) SetOnMouseEnter

func (s *TStringGrid) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TStringGrid) SetOnMouseLeave

func (s *TStringGrid) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TStringGrid) SetOnMouseMove

func (s *TStringGrid) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TStringGrid) SetOnMouseUp

func (s *TStringGrid) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TStringGrid) SetOnMouseWheelDown

func (s *TStringGrid) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TStringGrid) SetOnMouseWheelUp

func (s *TStringGrid) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TStringGrid) SetOnPickListSelect

func (s *TStringGrid) SetOnPickListSelect(fn TNotifyEvent)

func (*TStringGrid) SetOnPrepareCanvas

func (s *TStringGrid) SetOnPrepareCanvas(fn TOnPrepareCanvasEvent)

func (*TStringGrid) SetOnSelectCell

func (s *TStringGrid) SetOnSelectCell(fn TSelectCellEvent)

func (*TStringGrid) SetOnSelectEditor

func (s *TStringGrid) SetOnSelectEditor(fn TSelectEditorEvent)

func (*TStringGrid) SetOnSelection

func (s *TStringGrid) SetOnSelection(fn TOnSelectEvent)

func (*TStringGrid) SetOnSetCheckboxState

func (s *TStringGrid) SetOnSetCheckboxState(fn TSetCheckboxStateEvent)

func (*TStringGrid) SetOnSetEditText

func (s *TStringGrid) SetOnSetEditText(fn TSetEditEvent)

func (*TStringGrid) SetOnStartDock

func (s *TStringGrid) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TStringGrid) SetOnTopLeftChanged

func (s *TStringGrid) SetOnTopLeftChanged(fn TNotifyEvent)

func (*TStringGrid) SetOnUserCheckboxBitmap

func (s *TStringGrid) SetOnUserCheckboxBitmap(fn TUserCheckBoxBitmapEvent)

func (*TStringGrid) SetOnValidateEntry

func (s *TStringGrid) SetOnValidateEntry(fn TValidateEntryEvent)

func (*TStringGrid) SetOptions

func (s *TStringGrid) SetOptions(value TGridOptions)

func (*TStringGrid) SetOptions2

func (s *TStringGrid) SetOptions2(value TGridOptions2)

func (*TStringGrid) SetParent

func (s *TStringGrid) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TStringGrid) SetParentColor

func (s *TStringGrid) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TStringGrid) SetParentDoubleBuffered

func (s *TStringGrid) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TStringGrid) SetParentFont

func (s *TStringGrid) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TStringGrid) SetParentShowHint

func (s *TStringGrid) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TStringGrid) SetParentWindow

func (s *TStringGrid) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TStringGrid) SetPopupMenu

func (s *TStringGrid) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TStringGrid) SetRangeSelectMode

func (s *TStringGrid) SetRangeSelectMode(value TRangeSelectMode)

func (*TStringGrid) SetRow

func (s *TStringGrid) SetRow(value int32)

func (*TStringGrid) SetRowCount

func (s *TStringGrid) SetRowCount(value int32)

func (*TStringGrid) SetRowHeights

func (s *TStringGrid) SetRowHeights(Index int32, value int32)

func (*TStringGrid) SetRows

func (s *TStringGrid) SetRows(Index int32, value IStrings)

func (*TStringGrid) SetScrollBars

func (s *TStringGrid) SetScrollBars(value TScrollStyle)

func (*TStringGrid) SetSelectedColor

func (s *TStringGrid) SetSelectedColor(value TColor)

func (*TStringGrid) SetSelection

func (s *TStringGrid) SetSelection(value TGridRect)

func (*TStringGrid) SetShowHint

func (s *TStringGrid) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TStringGrid) SetSortOrder

func (s *TStringGrid) SetSortOrder(value TSortOrder)

func (*TStringGrid) SetStrictSort

func (s *TStringGrid) SetStrictSort(value bool)

func (*TStringGrid) SetTabAdvance

func (s *TStringGrid) SetTabAdvance(value TAutoAdvance)

func (*TStringGrid) SetTabOrder

func (s *TStringGrid) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TStringGrid) SetTabStop

func (s *TStringGrid) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TStringGrid) SetTag

func (s *TStringGrid) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TStringGrid) SetTextBuf

func (s *TStringGrid) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TStringGrid) SetTitleFont

func (s *TStringGrid) SetTitleFont(value *TFont)

func (*TStringGrid) SetTitleImageList

func (s *TStringGrid) SetTitleImageList(value IComponent)

func (*TStringGrid) SetTitleStyle

func (s *TStringGrid) SetTitleStyle(value TTitleStyle)

func (*TStringGrid) SetTop

func (s *TStringGrid) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TStringGrid) SetTopRow

func (s *TStringGrid) SetTopRow(value int32)

func (*TStringGrid) SetUseDockManager

func (s *TStringGrid) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TStringGrid) SetUseXORFeatures

func (s *TStringGrid) SetUseXORFeatures(value bool)

func (*TStringGrid) SetVisible

func (s *TStringGrid) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TStringGrid) SetWidth

func (s *TStringGrid) SetWidth(value int32)

设置宽度。

Set width.

func (*TStringGrid) Show

func (s *TStringGrid) Show()

显示控件。

Show control.

func (*TStringGrid) ShowHint

func (s *TStringGrid) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TStringGrid) Showing

func (s *TStringGrid) Showing() bool

func (*TStringGrid) SortColRow

func (s *TStringGrid) SortColRow(IsColumn bool, Index int32, FromIndex int32, ToIndex int32)

func (*TStringGrid) SortColumn

func (s *TStringGrid) SortColumn() int32

func (*TStringGrid) SortOrder

func (s *TStringGrid) SortOrder() TSortOrder

func (*TStringGrid) StrictSort

func (s *TStringGrid) StrictSort() bool

func (*TStringGrid) TabAdvance

func (s *TStringGrid) TabAdvance() TAutoAdvance

func (*TStringGrid) TabOrder

func (s *TStringGrid) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TStringGrid) TabStop

func (s *TStringGrid) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TStringGrid) Tag

func (s *TStringGrid) Tag() int

获取对象标记。

Get the control tag.

func (*TStringGrid) TitleFont

func (s *TStringGrid) TitleFont() *TFont

func (*TStringGrid) TitleImageList

func (s *TStringGrid) TitleImageList() *TImageList

func (*TStringGrid) TitleStyle

func (s *TStringGrid) TitleStyle() TTitleStyle

func (*TStringGrid) ToString

func (s *TStringGrid) ToString() string

文本类信息。

Text information.

func (*TStringGrid) Top

func (s *TStringGrid) Top() int32

获取顶边位置。

Get Top position.

func (*TStringGrid) TopRow

func (s *TStringGrid) TopRow() int32

func (*TStringGrid) UnsafeAddr

func (s *TStringGrid) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TStringGrid) Update

func (s *TStringGrid) Update()

控件更新。

Update.

func (*TStringGrid) UseDockManager

func (s *TStringGrid) UseDockManager() bool

获取使用停靠管理。

func (*TStringGrid) UseXORFeatures

func (s *TStringGrid) UseXORFeatures() bool

func (*TStringGrid) Visible

func (s *TStringGrid) Visible() bool

获取控件可视。

Get the control visible.

func (*TStringGrid) VisibleColCount

func (s *TStringGrid) VisibleColCount() int32

func (*TStringGrid) VisibleDockClientCount

func (s *TStringGrid) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TStringGrid) VisibleRowCount

func (s *TStringGrid) VisibleRowCount() int32

func (*TStringGrid) Width

func (s *TStringGrid) Width() int32

获取宽度。

Get width.

type TStringList

type TStringList struct {
	IStrings
	// contains filtered or unexported fields
}

func AsStringList

func AsStringList(obj interface{}) *TStringList

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStringList

func NewStringList() *TStringList

创建一个新的对象。

Create a new object.

func StringListFromInst

func StringListFromInst(inst uintptr) *TStringList

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsStringList.

func StringListFromObj

func StringListFromObj(obj IObject) *TStringList

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsStringList.

func StringListFromUnsafePointer

func StringListFromUnsafePointer(ptr unsafe.Pointer) *TStringList

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStringList.

func (*TStringList) Add

func (s *TStringList) Add(S string) int32

func (*TStringList) AddObject

func (s *TStringList) AddObject(S string, AObject IObject) int32

func (*TStringList) AddPair

func (s *TStringList) AddPair(name, value string) *TStrings

func (*TStringList) AddPair2

func (s *TStringList) AddPair2(name, value string, object IObject) *TStrings

func (*TStringList) AddStrings

func (s *TStringList) AddStrings(list IStrings)

func (*TStringList) AddStrings2

func (s *TStringList) AddStrings2(sArr []string)

func (*TStringList) AddStrings3

func (s *TStringList) AddStrings3(list IStrings, clearFirst bool)

func (*TStringList) Append

func (s *TStringList) Append(S string)

func (*TStringList) Assign

func (s *TStringList) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TStringList) BeginUpdate

func (s *TStringList) BeginUpdate()

func (*TStringList) Capacity

func (s *TStringList) Capacity() int32

func (*TStringList) ClassName

func (s *TStringList) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TStringList) ClassType

func (s *TStringList) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TStringList) Clear

func (s *TStringList) Clear()

清除。

func (*TStringList) CommaText

func (s *TStringList) CommaText() string

func (*TStringList) Count

func (s *TStringList) Count() int32

func (*TStringList) Delete

func (s *TStringList) Delete(Index int32)

func (*TStringList) Delimiter

func (s *TStringList) Delimiter() uint16

func (*TStringList) EndUpdate

func (s *TStringList) EndUpdate()

func (*TStringList) Equals

func (s *TStringList) Equals(Strings IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TStringList) Free

func (s *TStringList) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TStringList) GetHashCode

func (s *TStringList) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TStringList) GetNamePath

func (s *TStringList) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TStringList) IndexOf

func (s *TStringList) IndexOf(S string) int32

func (*TStringList) IndexOfName

func (s *TStringList) IndexOfName(Name string) int32

func (*TStringList) IndexOfObject

func (s *TStringList) IndexOfObject(AObject IObject) int32

func (*TStringList) InheritsFrom

func (s *TStringList) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TStringList) Insert

func (s *TStringList) Insert(Index int32, S string)

func (*TStringList) InsertObject

func (s *TStringList) InsertObject(Index int32, S string, AObject IObject)

func (*TStringList) Instance

func (s *TStringList) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TStringList) InstanceSize

func (s *TStringList) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TStringList) Is

func (s *TStringList) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStringList) IsValid

func (s *TStringList) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TStringList) LoadFromBytes

func (s *TStringList) LoadFromBytes(data []byte)

文件流加载。

func (*TStringList) LoadFromFile

func (s *TStringList) LoadFromFile(FileName string)

从文件加载。

func (*TStringList) LoadFromStream

func (s *TStringList) LoadFromStream(Stream IStream)

文件流加载。

func (*TStringList) Move

func (s *TStringList) Move(CurIndex int32, NewIndex int32)

func (*TStringList) NameValueSeparator

func (s *TStringList) NameValueSeparator() uint16

func (*TStringList) Objects

func (s *TStringList) Objects(Index int32) *TObject

func (*TStringList) S

func (s *TStringList) S(Index int32) string

Strings()的别名。

Alias of Strings().

func (*TStringList) SaveToFile

func (s *TStringList) SaveToFile(FileName string)

保存至文件。

func (*TStringList) SaveToStream

func (s *TStringList) SaveToStream(Stream IStream)

保存至流。

func (*TStringList) SetCapacity

func (s *TStringList) SetCapacity(value int32)

func (*TStringList) SetCommaText

func (s *TStringList) SetCommaText(value string)

func (*TStringList) SetDelimiter

func (s *TStringList) SetDelimiter(value uint16)

func (*TStringList) SetNameValueSeparator

func (s *TStringList) SetNameValueSeparator(value uint16)

func (*TStringList) SetObjects

func (s *TStringList) SetObjects(Index int32, value IObject)

func (*TStringList) SetOnChange

func (s *TStringList) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TStringList) SetOnChanging

func (s *TStringList) SetOnChanging(fn TNotifyEvent)

func (*TStringList) SetS

func (s *TStringList) SetS(Index int32, value string)

SetStrings()的别名。

Alias of SetStrings().

func (*TStringList) SetSorted

func (s *TStringList) SetSorted(value bool)

func (*TStringList) SetStrings

func (s *TStringList) SetStrings(Index int32, value string)

func (*TStringList) SetText

func (s *TStringList) SetText(value string)

设置文本。

func (*TStringList) SetValueFromIndex

func (s *TStringList) SetValueFromIndex(Index int32, value string)

func (*TStringList) SetValues

func (s *TStringList) SetValues(Name string, value string)

func (*TStringList) Sorted

func (s *TStringList) Sorted() bool

func (*TStringList) Strings

func (s *TStringList) Strings(Index int32) string

func (*TStringList) Text

func (s *TStringList) Text() string

获取文本。

func (*TStringList) ToString

func (s *TStringList) ToString() string

文本类信息。

Text information.

func (*TStringList) UnsafeAddr

func (s *TStringList) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TStringList) ValueFromIndex

func (s *TStringList) ValueFromIndex(Index int32) string

func (*TStringList) Values

func (s *TStringList) Values(Name string) string

type TStrings

type TStrings struct {
	IStrings
	// contains filtered or unexported fields
}

func AsStrings

func AsStrings(obj interface{}) *TStrings

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStrings

func NewStrings() *TStrings

创建一个新的对象。

Create a new object.

func StringsFromInst

func StringsFromInst(inst uintptr) *TStrings

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsStrings.

func StringsFromObj

func StringsFromObj(obj IObject) *TStrings

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsStrings.

func StringsFromUnsafePointer

func StringsFromUnsafePointer(ptr unsafe.Pointer) *TStrings

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStrings.

func (*TStrings) Add

func (s *TStrings) Add(S string) int32

func (*TStrings) AddObject

func (s *TStrings) AddObject(S string, AObject IObject) int32

func (*TStrings) AddPair

func (s *TStrings) AddPair(name, value string) *TStrings

func (*TStrings) AddPair2

func (s *TStrings) AddPair2(name, value string, object IObject) *TStrings

func (*TStrings) AddStrings

func (s *TStrings) AddStrings(list IStrings)

func (*TStrings) AddStrings2

func (s *TStrings) AddStrings2(sArr []string)

func (*TStrings) AddStrings3

func (s *TStrings) AddStrings3(list IStrings, clearFirst bool)

func (*TStrings) Append

func (s *TStrings) Append(S string)

func (*TStrings) Assign

func (s *TStrings) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TStrings) BeginUpdate

func (s *TStrings) BeginUpdate()

func (*TStrings) Capacity

func (s *TStrings) Capacity() int32

func (*TStrings) ClassName

func (s *TStrings) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TStrings) ClassType

func (s *TStrings) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TStrings) Clear

func (s *TStrings) Clear()

清除。

func (*TStrings) CommaText

func (s *TStrings) CommaText() string

func (*TStrings) Count

func (s *TStrings) Count() int32

func (*TStrings) Delete

func (s *TStrings) Delete(Index int32)

func (*TStrings) Delimiter

func (s *TStrings) Delimiter() uint16

func (*TStrings) EndUpdate

func (s *TStrings) EndUpdate()

func (*TStrings) Equals

func (s *TStrings) Equals(Strings IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TStrings) Free

func (s *TStrings) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TStrings) GetHashCode

func (s *TStrings) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TStrings) GetNamePath

func (s *TStrings) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TStrings) IndexOf

func (s *TStrings) IndexOf(S string) int32

func (*TStrings) IndexOfName

func (s *TStrings) IndexOfName(Name string) int32

func (*TStrings) IndexOfObject

func (s *TStrings) IndexOfObject(AObject IObject) int32

func (*TStrings) InheritsFrom

func (s *TStrings) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TStrings) Insert

func (s *TStrings) Insert(Index int32, S string)

func (*TStrings) InsertObject

func (s *TStrings) InsertObject(Index int32, S string, AObject IObject)

func (*TStrings) Instance

func (s *TStrings) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TStrings) InstanceSize

func (s *TStrings) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TStrings) Is

func (s *TStrings) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStrings) IsValid

func (s *TStrings) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TStrings) LoadFromBytes

func (s *TStrings) LoadFromBytes(data []byte)

文件流加载。

func (*TStrings) LoadFromFile

func (s *TStrings) LoadFromFile(FileName string)

从文件加载。

func (*TStrings) LoadFromStream

func (s *TStrings) LoadFromStream(Stream IStream)

文件流加载。

func (*TStrings) Move

func (s *TStrings) Move(CurIndex int32, NewIndex int32)

func (*TStrings) NameValueSeparator

func (s *TStrings) NameValueSeparator() uint16

func (*TStrings) Objects

func (s *TStrings) Objects(Index int32) *TObject

func (*TStrings) S

func (s *TStrings) S(Index int32) string

Strings()的别名。

Alias of Strings().

func (*TStrings) SaveToFile

func (s *TStrings) SaveToFile(FileName string)

保存至文件。

func (*TStrings) SaveToStream

func (s *TStrings) SaveToStream(Stream IStream)

保存至流。

func (*TStrings) SetCapacity

func (s *TStrings) SetCapacity(value int32)

func (*TStrings) SetCommaText

func (s *TStrings) SetCommaText(value string)

func (*TStrings) SetDelimiter

func (s *TStrings) SetDelimiter(value uint16)

func (*TStrings) SetNameValueSeparator

func (s *TStrings) SetNameValueSeparator(value uint16)

func (*TStrings) SetObjects

func (s *TStrings) SetObjects(Index int32, value IObject)

func (*TStrings) SetS

func (s *TStrings) SetS(Index int32, value string)

SetStrings()的别名。

Alias of SetStrings().

func (*TStrings) SetStrings

func (s *TStrings) SetStrings(Index int32, value string)

func (*TStrings) SetText

func (s *TStrings) SetText(value string)

设置文本。

func (*TStrings) SetValueFromIndex

func (s *TStrings) SetValueFromIndex(Index int32, value string)

func (*TStrings) SetValues

func (s *TStrings) SetValues(Name string, value string)

func (*TStrings) Strings

func (s *TStrings) Strings(Index int32) string

func (*TStrings) Text

func (s *TStrings) Text() string

获取文本。

func (*TStrings) ToString

func (s *TStrings) ToString() string

文本类信息。

Text information.

func (*TStrings) UnsafeAddr

func (s *TStrings) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TStrings) ValueFromIndex

func (s *TStrings) ValueFromIndex(Index int32) string

func (*TStrings) Values

func (s *TStrings) Values(Name string) string

type TSysLinkEvent

type TSysLinkEvent func(sender IObject, link string, linkType TSysLinkType) // TSysLinkType

TSysLinkEvent LinkLabel

type TTBAdvancedCustomDrawEvent

type TTBAdvancedCustomDrawEvent func(sender *TToolBar, aRect TRect, stage TCustomDrawStage, defaultDraw *bool)

-------------------------TToolBar TTBAdvancedCustomDrawEvent = procedure(Sender: TToolBar; const ARect: TRect;

Stage: TCustomDrawStage; var DefaultDraw: Boolean) of object;

type TTVAdvancedCustomDrawEvent

type TTVAdvancedCustomDrawEvent func(sender *TTreeView, aRect TRect, stage TCustomDrawStage, defaultDraw *bool)

TTVAdvancedCustomDrawEvent = procedure(Sender: TCustomTreeView; const ARect: TRect;

Stage: TCustomDrawStage; var DefaultDraw: Boolean) of object;

type TTVAdvancedCustomDrawItemEvent

type TTVAdvancedCustomDrawItemEvent func(sender *TTreeView, node *TTreeNode, state TCustomDrawState, stage TCustomDrawStage, paintImages, defaultDraw *bool)

TTVAdvancedCustomDrawItemEvent = procedure(Sender: TCustomTreeView; Node: TTreeNode;

State: TCustomDrawState; Stage: TCustomDrawStage; var PaintImages,

DefaultDraw: Boolean) of object;

type TTVChangedEvent

type TTVChangedEvent func(sender IObject, node *TTreeNode)

TTVChangedEvent TTreeView

type TTVChangingEvent

type TTVChangingEvent func(sender IObject, node *TTreeNode, allowChange *bool)

TTVChangingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowChange: Boolean) of object;

type TTVCollapsingEvent

type TTVCollapsingEvent func(sender IObject, node *TTreeNode, allowCollapse *bool)

TTVCollapsingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowCollapse: Boolean) of object;

type TTVCompareEvent

type TTVCompareEvent func(sender IObject, node1, node2 *TTreeNode, data int32, compare *int32)

----------------TTreeView TTVCompareEvent = procedure(Sender: TObject; Node1, Node2: TTreeNode;

Data: Integer; var Compare: Integer) of object;

type TTVCustomDrawEvent

type TTVCustomDrawEvent func(sender *TTreeView, aRect TRect, defaultDraw *bool)

TTVCustomDrawEvent = procedure(Sender: TCustomTreeView; const ARect: TRect;var DefaultDraw: Boolean) of object;

type TTVCustomDrawItemEvent

type TTVCustomDrawItemEvent func(sender *TTreeView, node *TTreeNode, state TCustomDrawState, defaultDraw *bool)

TTVCustomDrawItemEvent = procedure(Sender: TCustomTreeView; Node: TTreeNode; State: TCustomDrawState; var DefaultDraw: Boolean) of object;

type TTVEditedEvent

type TTVEditedEvent func(sender IObject, node *TTreeNode, s *string)

TTVEditedEvent = procedure(Sender: TObject; Node: TTreeNode; var S: string) of object;

type TTVEditingEvent

type TTVEditingEvent func(sender IObject, node *TTreeNode, allowEdit *bool)

TTVEditingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowEdit: Boolean) of object;

type TTVExpandedEvent

type TTVExpandedEvent func(sender IObject, node *TTreeNode)

TTVExpandedEvent = procedure(Sender: TObject; Node: TTreeNode) of object;

type TTVExpandingEvent

type TTVExpandingEvent func(sender IObject, node *TTreeNode, allowExpansion *bool)

TTVExpandingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowExpansion: Boolean) of object;

type TTVHintEvent

type TTVHintEvent func(sender IObject, node *TTreeNode, hint *string)

TTVHintEvent = procedure(Sender: TObject; const Node: TTreeNode; var Hint: String) of object;

type TTabChangingEvent

type TTabChangingEvent func(sender IObject, allowChange *bool)

TTabChangingEvent = procedure(Sender: TObject; var AllowChange: Boolean) of object;

type TTabGetImageEvent

type TTabGetImageEvent func(sender IObject, tabIndex int32, imageIndex *int32)

----------------TPageControl TTabGetImageEvent = procedure(Sender: TObject; TabIndex: Integer; var ImageIndex: Integer) of object;

type TTabSheet

type TTabSheet struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsTabSheet

func AsTabSheet(obj interface{}) *TTabSheet

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTabSheet

func NewTabSheet(owner IComponent) *TTabSheet

创建一个新的对象。

Create a new object.

func TabSheetFromInst

func TabSheetFromInst(inst uintptr) *TTabSheet

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTabSheet.

func TabSheetFromObj

func TabSheetFromObj(obj IObject) *TTabSheet

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTabSheet.

func TabSheetFromUnsafePointer

func TabSheetFromUnsafePointer(ptr unsafe.Pointer) *TTabSheet

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTabSheet.

func (*TTabSheet) Action

func (t *TTabSheet) Action() *TAction

func (*TTabSheet) Align

func (t *TTabSheet) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TTabSheet) AnchorAsAlign

func (t *TTabSheet) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TTabSheet) AnchorClient

func (t *TTabSheet) AnchorClient(ASpace int32)

func (*TTabSheet) AnchorHorizontalCenterTo

func (t *TTabSheet) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TTabSheet) AnchorParallel

func (t *TTabSheet) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTabSheet) AnchorSame

func (t *TTabSheet) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TTabSheet) AnchorSide

func (t *TTabSheet) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TTabSheet) AnchorSideBottom

func (t *TTabSheet) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TTabSheet) AnchorSideLeft

func (t *TTabSheet) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TTabSheet) AnchorSideRight

func (t *TTabSheet) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TTabSheet) AnchorSideTop

func (t *TTabSheet) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TTabSheet) AnchorToNeighbour

func (t *TTabSheet) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTabSheet) AnchorVerticalCenterTo

func (t *TTabSheet) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TTabSheet) Anchors

func (t *TTabSheet) Anchors() TAnchors

获取四个角位置的锚点。

func (*TTabSheet) Assign

func (t *TTabSheet) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTabSheet) AutoAdjustLayout

func (t *TTabSheet) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TTabSheet) BiDiMode

func (t *TTabSheet) BiDiMode() TBiDiMode

func (*TTabSheet) BorderSpacing

func (t *TTabSheet) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TTabSheet) BorderWidth

func (t *TTabSheet) BorderWidth() int32

获取边框的宽度。

func (*TTabSheet) BoundsRect

func (t *TTabSheet) BoundsRect() TRect

func (*TTabSheet) BringToFront

func (t *TTabSheet) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TTabSheet) Brush

func (t *TTabSheet) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TTabSheet) CanFocus

func (t *TTabSheet) CanFocus() bool

是否可以获得焦点。

func (*TTabSheet) Caption

func (t *TTabSheet) Caption() string

获取控件标题。

Get the control title.

func (*TTabSheet) ChildSizing

func (t *TTabSheet) ChildSizing() *TControlChildSizing

func (*TTabSheet) ClassName

func (t *TTabSheet) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTabSheet) ClassType

func (t *TTabSheet) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTabSheet) ClientHeight

func (t *TTabSheet) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TTabSheet) ClientOrigin

func (t *TTabSheet) ClientOrigin() TPoint

func (*TTabSheet) ClientRect

func (t *TTabSheet) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TTabSheet) ClientToParent

func (t *TTabSheet) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TTabSheet) ClientToScreen

func (t *TTabSheet) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TTabSheet) ClientWidth

func (t *TTabSheet) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TTabSheet) ComponentCount

func (t *TTabSheet) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TTabSheet) ComponentIndex

func (t *TTabSheet) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TTabSheet) Components

func (t *TTabSheet) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TTabSheet) Constraints

func (t *TTabSheet) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TTabSheet) ContainsControl

func (t *TTabSheet) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TTabSheet) ControlAtPos

func (t *TTabSheet) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TTabSheet) ControlCount

func (t *TTabSheet) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TTabSheet) ControlState

func (t *TTabSheet) ControlState() TControlState

获取控件状态。

Get control state.

func (*TTabSheet) ControlStyle

func (t *TTabSheet) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TTabSheet) Controls

func (t *TTabSheet) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TTabSheet) Cursor

func (t *TTabSheet) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TTabSheet) DisableAlign

func (t *TTabSheet) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TTabSheet) DockClientCount

func (t *TTabSheet) DockClientCount() int32

获取依靠客户端总数。

func (*TTabSheet) DockClients

func (t *TTabSheet) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TTabSheet) DockSite

func (t *TTabSheet) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TTabSheet) DoubleBuffered

func (t *TTabSheet) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TTabSheet) Dragging

func (t *TTabSheet) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TTabSheet) EnableAlign

func (t *TTabSheet) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TTabSheet) Enabled

func (t *TTabSheet) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TTabSheet) Equals

func (t *TTabSheet) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTabSheet) FindChildControl

func (t *TTabSheet) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TTabSheet) FindComponent

func (t *TTabSheet) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TTabSheet) FixDesignFontsPPI

func (t *TTabSheet) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TTabSheet) FlipChildren

func (t *TTabSheet) FlipChildren(AllLevels bool)

func (*TTabSheet) Floating

func (t *TTabSheet) Floating() bool

func (*TTabSheet) Focused

func (t *TTabSheet) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TTabSheet) Font

func (t *TTabSheet) Font() *TFont

获取字体。

Get Font.

func (*TTabSheet) Free

func (t *TTabSheet) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TTabSheet) GetHashCode

func (t *TTabSheet) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTabSheet) GetNamePath

func (t *TTabSheet) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTabSheet) GetTextBuf

func (t *TTabSheet) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TTabSheet) GetTextLen

func (t *TTabSheet) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TTabSheet) Handle

func (t *TTabSheet) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TTabSheet) HandleAllocated

func (t *TTabSheet) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TTabSheet) HasParent

func (t *TTabSheet) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TTabSheet) Height

func (t *TTabSheet) Height() int32

获取高度。

Get height.

func (*TTabSheet) Hide

func (t *TTabSheet) Hide()

隐藏控件。

Hidden control.

func (*TTabSheet) Hint

func (t *TTabSheet) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TTabSheet) ImageIndex

func (t *TTabSheet) ImageIndex() int32

获取图像在images中的索引。

func (*TTabSheet) InheritsFrom

func (t *TTabSheet) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTabSheet) InsertControl

func (t *TTabSheet) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TTabSheet) Instance

func (t *TTabSheet) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TTabSheet) InstanceSize

func (t *TTabSheet) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTabSheet) Invalidate

func (t *TTabSheet) Invalidate()

要求重绘。

Redraw.

func (*TTabSheet) Is

func (t *TTabSheet) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTabSheet) IsValid

func (t *TTabSheet) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTabSheet) Left

func (t *TTabSheet) Left() int32

获取左边位置。

Get Left position.

func (*TTabSheet) MouseInClient

func (t *TTabSheet) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TTabSheet) Name

func (t *TTabSheet) Name() string

获取组件名称。

Get the component name.

func (*TTabSheet) Owner

func (t *TTabSheet) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TTabSheet) PageControl

func (t *TTabSheet) PageControl() *TPageControl

func (*TTabSheet) PageIndex

func (t *TTabSheet) PageIndex() int32

func (*TTabSheet) PaintTo

func (t *TTabSheet) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TTabSheet) Parent

func (t *TTabSheet) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TTabSheet) ParentDoubleBuffered

func (t *TTabSheet) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TTabSheet) ParentFont

func (t *TTabSheet) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TTabSheet) ParentShowHint

func (t *TTabSheet) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TTabSheet) ParentToClient

func (t *TTabSheet) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TTabSheet) ParentWindow

func (t *TTabSheet) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TTabSheet) Perform

func (t *TTabSheet) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TTabSheet) PopupMenu

func (t *TTabSheet) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TTabSheet) Realign

func (t *TTabSheet) Realign()

重新对齐。

Realign.

func (*TTabSheet) Refresh

func (t *TTabSheet) Refresh()

刷新控件。

Refresh control.

func (*TTabSheet) RemoveControl

func (t *TTabSheet) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TTabSheet) Repaint

func (t *TTabSheet) Repaint()

重绘。

Repaint.

func (*TTabSheet) Scale96ToFont

func (t *TTabSheet) Scale96ToFont(ASize int32) int32

func (*TTabSheet) Scale96ToForm

func (t *TTabSheet) Scale96ToForm(ASize int32) int32

func (*TTabSheet) Scale96ToScreen

func (t *TTabSheet) Scale96ToScreen(ASize int32) int32

func (*TTabSheet) ScaleBy

func (t *TTabSheet) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TTabSheet) ScaleDesignToForm

func (t *TTabSheet) ScaleDesignToForm(ASize int32) int32

func (*TTabSheet) ScaleFontTo96

func (t *TTabSheet) ScaleFontTo96(ASize int32) int32

func (*TTabSheet) ScaleFontToScreen

func (t *TTabSheet) ScaleFontToScreen(ASize int32) int32

func (*TTabSheet) ScaleFontsPPI

func (t *TTabSheet) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TTabSheet) ScaleFormTo96

func (t *TTabSheet) ScaleFormTo96(ASize int32) int32

func (*TTabSheet) ScaleFormToDesign

func (t *TTabSheet) ScaleFormToDesign(ASize int32) int32

func (*TTabSheet) ScaleScreenTo96

func (t *TTabSheet) ScaleScreenTo96(ASize int32) int32

func (*TTabSheet) ScaleScreenToFont

func (t *TTabSheet) ScaleScreenToFont(ASize int32) int32

func (*TTabSheet) ScreenToClient

func (t *TTabSheet) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TTabSheet) ScrollBy

func (t *TTabSheet) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TTabSheet) SendToBack

func (t *TTabSheet) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TTabSheet) SetAction

func (t *TTabSheet) SetAction(value IComponent)

func (*TTabSheet) SetAlign

func (t *TTabSheet) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TTabSheet) SetAnchorSideBottom

func (t *TTabSheet) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TTabSheet) SetAnchorSideLeft

func (t *TTabSheet) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TTabSheet) SetAnchorSideRight

func (t *TTabSheet) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TTabSheet) SetAnchorSideTop

func (t *TTabSheet) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TTabSheet) SetAnchors

func (t *TTabSheet) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TTabSheet) SetBiDiMode

func (t *TTabSheet) SetBiDiMode(value TBiDiMode)

func (*TTabSheet) SetBorderSpacing

func (t *TTabSheet) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TTabSheet) SetBorderWidth

func (t *TTabSheet) SetBorderWidth(value int32)

设置边框的宽度。

func (*TTabSheet) SetBounds

func (t *TTabSheet) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TTabSheet) SetBoundsRect

func (t *TTabSheet) SetBoundsRect(value TRect)

func (*TTabSheet) SetCaption

func (t *TTabSheet) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TTabSheet) SetChildSizing

func (t *TTabSheet) SetChildSizing(value *TControlChildSizing)

func (*TTabSheet) SetClientHeight

func (t *TTabSheet) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TTabSheet) SetClientWidth

func (t *TTabSheet) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TTabSheet) SetComponentIndex

func (t *TTabSheet) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TTabSheet) SetConstraints

func (t *TTabSheet) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TTabSheet) SetControlState

func (t *TTabSheet) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TTabSheet) SetControlStyle

func (t *TTabSheet) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TTabSheet) SetCursor

func (t *TTabSheet) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TTabSheet) SetDockSite

func (t *TTabSheet) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TTabSheet) SetDoubleBuffered

func (t *TTabSheet) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TTabSheet) SetEnabled

func (t *TTabSheet) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TTabSheet) SetFocus

func (t *TTabSheet) SetFocus()

设置控件焦点。

Set control focus.

func (*TTabSheet) SetFont

func (t *TTabSheet) SetFont(value *TFont)

设置字体。

Set Font.

func (*TTabSheet) SetHeight

func (t *TTabSheet) SetHeight(value int32)

设置高度。

Set height.

func (*TTabSheet) SetHint

func (t *TTabSheet) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TTabSheet) SetImageIndex

func (t *TTabSheet) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TTabSheet) SetLeft

func (t *TTabSheet) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TTabSheet) SetName

func (t *TTabSheet) SetName(value string)

设置组件名称。

Set the component name.

func (*TTabSheet) SetOnContextPopup

func (t *TTabSheet) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TTabSheet) SetOnDragDrop

func (t *TTabSheet) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TTabSheet) SetOnDragOver

func (t *TTabSheet) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TTabSheet) SetOnEndDrag

func (t *TTabSheet) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TTabSheet) SetOnEnter

func (t *TTabSheet) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TTabSheet) SetOnExit

func (t *TTabSheet) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TTabSheet) SetOnHide

func (t *TTabSheet) SetOnHide(fn TNotifyEvent)

设置隐藏事件。

func (*TTabSheet) SetOnMouseDown

func (t *TTabSheet) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TTabSheet) SetOnMouseEnter

func (t *TTabSheet) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TTabSheet) SetOnMouseLeave

func (t *TTabSheet) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TTabSheet) SetOnMouseMove

func (t *TTabSheet) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TTabSheet) SetOnMouseUp

func (t *TTabSheet) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TTabSheet) SetOnResize

func (t *TTabSheet) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TTabSheet) SetOnShow

func (t *TTabSheet) SetOnShow(fn TNotifyEvent)

设置显示事件。

func (*TTabSheet) SetPageControl

func (t *TTabSheet) SetPageControl(value IWinControl)

func (*TTabSheet) SetPageIndex

func (t *TTabSheet) SetPageIndex(value int32)

func (*TTabSheet) SetParent

func (t *TTabSheet) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TTabSheet) SetParentDoubleBuffered

func (t *TTabSheet) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TTabSheet) SetParentFont

func (t *TTabSheet) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TTabSheet) SetParentShowHint

func (t *TTabSheet) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TTabSheet) SetParentWindow

func (t *TTabSheet) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TTabSheet) SetPopupMenu

func (t *TTabSheet) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TTabSheet) SetShowHint

func (t *TTabSheet) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TTabSheet) SetTabOrder

func (t *TTabSheet) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TTabSheet) SetTabStop

func (t *TTabSheet) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TTabSheet) SetTabVisible

func (t *TTabSheet) SetTabVisible(value bool)

func (*TTabSheet) SetTag

func (t *TTabSheet) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TTabSheet) SetTextBuf

func (t *TTabSheet) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TTabSheet) SetTop

func (t *TTabSheet) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TTabSheet) SetUseDockManager

func (t *TTabSheet) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TTabSheet) SetVisible

func (t *TTabSheet) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TTabSheet) SetWidth

func (t *TTabSheet) SetWidth(value int32)

设置宽度。

Set width.

func (*TTabSheet) Show

func (t *TTabSheet) Show()

显示控件。

Show control.

func (*TTabSheet) ShowHint

func (t *TTabSheet) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TTabSheet) Showing

func (t *TTabSheet) Showing() bool

func (*TTabSheet) TabIndex

func (t *TTabSheet) TabIndex() int32

func (*TTabSheet) TabOrder

func (t *TTabSheet) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TTabSheet) TabStop

func (t *TTabSheet) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TTabSheet) TabVisible

func (t *TTabSheet) TabVisible() bool

func (*TTabSheet) Tag

func (t *TTabSheet) Tag() int

获取对象标记。

Get the control tag.

func (*TTabSheet) ToString

func (t *TTabSheet) ToString() string

文本类信息。

Text information.

func (*TTabSheet) Top

func (t *TTabSheet) Top() int32

获取顶边位置。

Get Top position.

func (*TTabSheet) UnsafeAddr

func (t *TTabSheet) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TTabSheet) Update

func (t *TTabSheet) Update()

控件更新。

Update.

func (*TTabSheet) UseDockManager

func (t *TTabSheet) UseDockManager() bool

获取使用停靠管理。

func (*TTabSheet) Visible

func (t *TTabSheet) Visible() bool

获取控件可视。

Get the control visible.

func (*TTabSheet) VisibleDockClientCount

func (t *TTabSheet) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TTabSheet) Width

func (t *TTabSheet) Width() int32

获取宽度。

Get width.

type TTaskDialog

type TTaskDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsTaskDialog

func AsTaskDialog(obj interface{}) *TTaskDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTaskDialog

func NewTaskDialog(owner IComponent) *TTaskDialog

创建一个新的对象。

Create a new object.

func TaskDialogFromInst

func TaskDialogFromInst(inst uintptr) *TTaskDialog

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTaskDialog.

func TaskDialogFromObj

func TaskDialogFromObj(obj IObject) *TTaskDialog

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTaskDialog.

func TaskDialogFromUnsafePointer

func TaskDialogFromUnsafePointer(ptr unsafe.Pointer) *TTaskDialog

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTaskDialog.

func (*TTaskDialog) Assign

func (t *TTaskDialog) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTaskDialog) Button

func (t *TTaskDialog) Button() *TTaskDialogButtonItem

func (*TTaskDialog) Buttons

func (t *TTaskDialog) Buttons() *TTaskDialogButtons

func (*TTaskDialog) Caption

func (t *TTaskDialog) Caption() string

获取控件标题。

Get the control title.

func (*TTaskDialog) ClassName

func (t *TTaskDialog) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTaskDialog) ClassType

func (t *TTaskDialog) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTaskDialog) CommonButtons

func (t *TTaskDialog) CommonButtons() TTaskDialogCommonButtons

func (*TTaskDialog) ComponentCount

func (t *TTaskDialog) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TTaskDialog) ComponentIndex

func (t *TTaskDialog) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TTaskDialog) Components

func (t *TTaskDialog) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TTaskDialog) DefaultButton

func (t *TTaskDialog) DefaultButton() TTaskDialogCommonButton

func (*TTaskDialog) Equals

func (t *TTaskDialog) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTaskDialog) Execute

func (t *TTaskDialog) Execute() bool

执行。

func (*TTaskDialog) ExpandButtonCaption

func (t *TTaskDialog) ExpandButtonCaption() string

func (*TTaskDialog) ExpandedText

func (t *TTaskDialog) ExpandedText() string

func (*TTaskDialog) FindComponent

func (t *TTaskDialog) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TTaskDialog) Flags

func (t *TTaskDialog) Flags() TTaskDialogFlags

func (*TTaskDialog) FooterIcon

func (t *TTaskDialog) FooterIcon() TTaskDialogIcon

func (*TTaskDialog) FooterText

func (t *TTaskDialog) FooterText() string

func (*TTaskDialog) Free

func (t *TTaskDialog) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TTaskDialog) GetHashCode

func (t *TTaskDialog) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTaskDialog) GetNamePath

func (t *TTaskDialog) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTaskDialog) HasParent

func (t *TTaskDialog) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TTaskDialog) InheritsFrom

func (t *TTaskDialog) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTaskDialog) Instance

func (t *TTaskDialog) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TTaskDialog) InstanceSize

func (t *TTaskDialog) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTaskDialog) Is

func (t *TTaskDialog) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTaskDialog) IsValid

func (t *TTaskDialog) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTaskDialog) MainIcon

func (t *TTaskDialog) MainIcon() TTaskDialogIcon

func (*TTaskDialog) ModalResult

func (t *TTaskDialog) ModalResult() TModalResult

获取模态对话框显示结果。

func (*TTaskDialog) Name

func (t *TTaskDialog) Name() string

获取组件名称。

Get the component name.

func (*TTaskDialog) Owner

func (t *TTaskDialog) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TTaskDialog) RadioButton

func (t *TTaskDialog) RadioButton() *TTaskDialogRadioButtonItem

func (*TTaskDialog) RadioButtons

func (t *TTaskDialog) RadioButtons() *TTaskDialogButtons

func (*TTaskDialog) SetButton

func (t *TTaskDialog) SetButton(value *TTaskDialogButtonItem)

func (*TTaskDialog) SetButtons

func (t *TTaskDialog) SetButtons(value *TTaskDialogButtons)

func (*TTaskDialog) SetCaption

func (t *TTaskDialog) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TTaskDialog) SetCommonButtons

func (t *TTaskDialog) SetCommonButtons(value TTaskDialogCommonButtons)

func (*TTaskDialog) SetComponentIndex

func (t *TTaskDialog) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TTaskDialog) SetDefaultButton

func (t *TTaskDialog) SetDefaultButton(value TTaskDialogCommonButton)

func (*TTaskDialog) SetExpandButtonCaption

func (t *TTaskDialog) SetExpandButtonCaption(value string)

func (*TTaskDialog) SetExpandedText

func (t *TTaskDialog) SetExpandedText(value string)

func (*TTaskDialog) SetFlags

func (t *TTaskDialog) SetFlags(value TTaskDialogFlags)

func (*TTaskDialog) SetFooterIcon

func (t *TTaskDialog) SetFooterIcon(value TTaskDialogIcon)

func (*TTaskDialog) SetFooterText

func (t *TTaskDialog) SetFooterText(value string)

func (*TTaskDialog) SetMainIcon

func (t *TTaskDialog) SetMainIcon(value TTaskDialogIcon)

func (*TTaskDialog) SetModalResult

func (t *TTaskDialog) SetModalResult(value TModalResult)

设置模态对话框显示结果。

func (*TTaskDialog) SetName

func (t *TTaskDialog) SetName(value string)

设置组件名称。

Set the component name.

func (*TTaskDialog) SetOnButtonClicked

func (t *TTaskDialog) SetOnButtonClicked(fn TTaskDlgClickEvent)

func (*TTaskDialog) SetRadioButtons

func (t *TTaskDialog) SetRadioButtons(value *TTaskDialogButtons)

func (*TTaskDialog) SetTag

func (t *TTaskDialog) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TTaskDialog) SetText

func (t *TTaskDialog) SetText(value string)

设置文本。

func (*TTaskDialog) SetTitle

func (t *TTaskDialog) SetTitle(value string)

func (*TTaskDialog) SetVerificationText

func (t *TTaskDialog) SetVerificationText(value string)

func (*TTaskDialog) Tag

func (t *TTaskDialog) Tag() int

获取对象标记。

Get the control tag.

func (*TTaskDialog) Text

func (t *TTaskDialog) Text() string

获取文本。

func (*TTaskDialog) Title

func (t *TTaskDialog) Title() string

func (*TTaskDialog) ToString

func (t *TTaskDialog) ToString() string

文本类信息。

Text information.

func (*TTaskDialog) UnsafeAddr

func (t *TTaskDialog) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TTaskDialog) VerificationText

func (t *TTaskDialog) VerificationText() string

type TTaskDialogBaseButtonItem

type TTaskDialogBaseButtonItem struct {
	IObject
	// contains filtered or unexported fields
}

func AsTaskDialogBaseButtonItem

func AsTaskDialogBaseButtonItem(obj interface{}) *TTaskDialogBaseButtonItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTaskDialogBaseButtonItem

func NewTaskDialogBaseButtonItem(AOwner *TCollection) *TTaskDialogBaseButtonItem

创建一个新的对象。

Create a new object.

func TaskDialogBaseButtonItemFromInst

func TaskDialogBaseButtonItemFromInst(inst uintptr) *TTaskDialogBaseButtonItem

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTaskDialogBaseButtonItem.

func TaskDialogBaseButtonItemFromObj

func TaskDialogBaseButtonItemFromObj(obj IObject) *TTaskDialogBaseButtonItem

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTaskDialogBaseButtonItem.

func TaskDialogBaseButtonItemFromUnsafePointer

func TaskDialogBaseButtonItemFromUnsafePointer(ptr unsafe.Pointer) *TTaskDialogBaseButtonItem

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTaskDialogBaseButtonItem.

func (*TTaskDialogBaseButtonItem) Assign

func (t *TTaskDialogBaseButtonItem) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTaskDialogBaseButtonItem) Caption

func (t *TTaskDialogBaseButtonItem) Caption() string

获取控件标题。

Get the control title.

func (*TTaskDialogBaseButtonItem) ClassName

func (t *TTaskDialogBaseButtonItem) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTaskDialogBaseButtonItem) ClassType

func (t *TTaskDialogBaseButtonItem) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTaskDialogBaseButtonItem) Collection

func (t *TTaskDialogBaseButtonItem) Collection() *TCollection

func (*TTaskDialogBaseButtonItem) Default

func (t *TTaskDialogBaseButtonItem) Default() bool

func (*TTaskDialogBaseButtonItem) DisplayName

func (t *TTaskDialogBaseButtonItem) DisplayName() string

func (*TTaskDialogBaseButtonItem) Equals

func (t *TTaskDialogBaseButtonItem) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTaskDialogBaseButtonItem) Free

func (t *TTaskDialogBaseButtonItem) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TTaskDialogBaseButtonItem) GetHashCode

func (t *TTaskDialogBaseButtonItem) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTaskDialogBaseButtonItem) GetNamePath

func (t *TTaskDialogBaseButtonItem) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTaskDialogBaseButtonItem) Index

func (t *TTaskDialogBaseButtonItem) Index() int32

func (*TTaskDialogBaseButtonItem) InheritsFrom

func (t *TTaskDialogBaseButtonItem) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTaskDialogBaseButtonItem) Instance

func (t *TTaskDialogBaseButtonItem) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TTaskDialogBaseButtonItem) InstanceSize

func (t *TTaskDialogBaseButtonItem) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTaskDialogBaseButtonItem) Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTaskDialogBaseButtonItem) IsValid

func (t *TTaskDialogBaseButtonItem) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTaskDialogBaseButtonItem) ModalResult

func (t *TTaskDialogBaseButtonItem) ModalResult() TModalResult

获取模态对话框显示结果。

func (*TTaskDialogBaseButtonItem) SetCaption

func (t *TTaskDialogBaseButtonItem) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TTaskDialogBaseButtonItem) SetCollection

func (t *TTaskDialogBaseButtonItem) SetCollection(value *TCollection)

func (*TTaskDialogBaseButtonItem) SetDefault

func (t *TTaskDialogBaseButtonItem) SetDefault(value bool)

func (*TTaskDialogBaseButtonItem) SetDisplayName

func (t *TTaskDialogBaseButtonItem) SetDisplayName(value string)

func (*TTaskDialogBaseButtonItem) SetIndex

func (t *TTaskDialogBaseButtonItem) SetIndex(value int32)

func (*TTaskDialogBaseButtonItem) SetModalResult

func (t *TTaskDialogBaseButtonItem) SetModalResult(value TModalResult)

设置模态对话框显示结果。

func (*TTaskDialogBaseButtonItem) ToString

func (t *TTaskDialogBaseButtonItem) ToString() string

文本类信息。

Text information.

func (*TTaskDialogBaseButtonItem) UnsafeAddr

func (t *TTaskDialogBaseButtonItem) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TTaskDialogButtonItem

type TTaskDialogButtonItem struct {
	IObject
	// contains filtered or unexported fields
}

func AsTaskDialogButtonItem

func AsTaskDialogButtonItem(obj interface{}) *TTaskDialogButtonItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTaskDialogButtonItem

func NewTaskDialogButtonItem(AOwner *TCollection) *TTaskDialogButtonItem

创建一个新的对象。

Create a new object.

func TaskDialogButtonItemFromInst

func TaskDialogButtonItemFromInst(inst uintptr) *TTaskDialogButtonItem

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTaskDialogButtonItem.

func TaskDialogButtonItemFromObj

func TaskDialogButtonItemFromObj(obj IObject) *TTaskDialogButtonItem

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTaskDialogButtonItem.

func TaskDialogButtonItemFromUnsafePointer

func TaskDialogButtonItemFromUnsafePointer(ptr unsafe.Pointer) *TTaskDialogButtonItem

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTaskDialogButtonItem.

func (*TTaskDialogButtonItem) Assign

func (t *TTaskDialogButtonItem) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTaskDialogButtonItem) Caption

func (t *TTaskDialogButtonItem) Caption() string

获取控件标题。

Get the control title.

func (*TTaskDialogButtonItem) ClassName

func (t *TTaskDialogButtonItem) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTaskDialogButtonItem) ClassType

func (t *TTaskDialogButtonItem) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTaskDialogButtonItem) Collection

func (t *TTaskDialogButtonItem) Collection() *TCollection

func (*TTaskDialogButtonItem) Default

func (t *TTaskDialogButtonItem) Default() bool

func (*TTaskDialogButtonItem) DisplayName

func (t *TTaskDialogButtonItem) DisplayName() string

func (*TTaskDialogButtonItem) Equals

func (t *TTaskDialogButtonItem) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTaskDialogButtonItem) Free

func (t *TTaskDialogButtonItem) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TTaskDialogButtonItem) GetHashCode

func (t *TTaskDialogButtonItem) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTaskDialogButtonItem) GetNamePath

func (t *TTaskDialogButtonItem) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTaskDialogButtonItem) Index

func (t *TTaskDialogButtonItem) Index() int32

func (*TTaskDialogButtonItem) InheritsFrom

func (t *TTaskDialogButtonItem) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTaskDialogButtonItem) Instance

func (t *TTaskDialogButtonItem) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TTaskDialogButtonItem) InstanceSize

func (t *TTaskDialogButtonItem) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTaskDialogButtonItem) Is

func (t *TTaskDialogButtonItem) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTaskDialogButtonItem) IsValid

func (t *TTaskDialogButtonItem) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTaskDialogButtonItem) ModalResult

func (t *TTaskDialogButtonItem) ModalResult() TModalResult

获取模态对话框显示结果。

func (*TTaskDialogButtonItem) SetCaption

func (t *TTaskDialogButtonItem) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TTaskDialogButtonItem) SetCollection

func (t *TTaskDialogButtonItem) SetCollection(value *TCollection)

func (*TTaskDialogButtonItem) SetDefault

func (t *TTaskDialogButtonItem) SetDefault(value bool)

func (*TTaskDialogButtonItem) SetDisplayName

func (t *TTaskDialogButtonItem) SetDisplayName(value string)

func (*TTaskDialogButtonItem) SetIndex

func (t *TTaskDialogButtonItem) SetIndex(value int32)

func (*TTaskDialogButtonItem) SetModalResult

func (t *TTaskDialogButtonItem) SetModalResult(value TModalResult)

设置模态对话框显示结果。

func (*TTaskDialogButtonItem) ToString

func (t *TTaskDialogButtonItem) ToString() string

文本类信息。

Text information.

func (*TTaskDialogButtonItem) UnsafeAddr

func (t *TTaskDialogButtonItem) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TTaskDialogButtons

type TTaskDialogButtons struct {
	IObject
	// contains filtered or unexported fields
}

func AsTaskDialogButtons

func AsTaskDialogButtons(obj interface{}) *TTaskDialogButtons

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func TaskDialogButtonsFromInst

func TaskDialogButtonsFromInst(inst uintptr) *TTaskDialogButtons

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTaskDialogButtons.

func TaskDialogButtonsFromObj

func TaskDialogButtonsFromObj(obj IObject) *TTaskDialogButtons

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTaskDialogButtons.

func TaskDialogButtonsFromUnsafePointer

func TaskDialogButtonsFromUnsafePointer(ptr unsafe.Pointer) *TTaskDialogButtons

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTaskDialogButtons.

func (*TTaskDialogButtons) Add

func (*TTaskDialogButtons) Assign

func (t *TTaskDialogButtons) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTaskDialogButtons) BeginUpdate

func (t *TTaskDialogButtons) BeginUpdate()

func (*TTaskDialogButtons) ClassName

func (t *TTaskDialogButtons) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTaskDialogButtons) ClassType

func (t *TTaskDialogButtons) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTaskDialogButtons) Clear

func (t *TTaskDialogButtons) Clear()

清除。

func (*TTaskDialogButtons) Count

func (t *TTaskDialogButtons) Count() int32

func (*TTaskDialogButtons) DefaultButton

func (t *TTaskDialogButtons) DefaultButton() *TTaskDialogBaseButtonItem

func (*TTaskDialogButtons) Delete

func (t *TTaskDialogButtons) Delete(Index int32)

func (*TTaskDialogButtons) EndUpdate

func (t *TTaskDialogButtons) EndUpdate()

func (*TTaskDialogButtons) Equals

func (t *TTaskDialogButtons) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTaskDialogButtons) FindButton

func (t *TTaskDialogButtons) FindButton(AModalResult TModalResult) *TTaskDialogBaseButtonItem

func (*TTaskDialogButtons) FindItemID

func (t *TTaskDialogButtons) FindItemID(ID int32) *TCollectionItem

func (*TTaskDialogButtons) GetHashCode

func (t *TTaskDialogButtons) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTaskDialogButtons) GetNamePath

func (t *TTaskDialogButtons) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTaskDialogButtons) InheritsFrom

func (t *TTaskDialogButtons) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTaskDialogButtons) Insert

func (t *TTaskDialogButtons) Insert(Index int32) *TCollectionItem

func (*TTaskDialogButtons) Instance

func (t *TTaskDialogButtons) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TTaskDialogButtons) InstanceSize

func (t *TTaskDialogButtons) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTaskDialogButtons) Is

func (t *TTaskDialogButtons) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTaskDialogButtons) IsValid

func (t *TTaskDialogButtons) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTaskDialogButtons) Items

func (*TTaskDialogButtons) Owner

func (t *TTaskDialogButtons) Owner() *TObject

组件所有者。

component owner.

func (*TTaskDialogButtons) SetDefaultButton

func (t *TTaskDialogButtons) SetDefaultButton(value *TTaskDialogBaseButtonItem)

func (*TTaskDialogButtons) SetItems

func (t *TTaskDialogButtons) SetItems(Index int32, value *TTaskDialogBaseButtonItem)

func (*TTaskDialogButtons) ToString

func (t *TTaskDialogButtons) ToString() string

文本类信息。

Text information.

func (*TTaskDialogButtons) UnsafeAddr

func (t *TTaskDialogButtons) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TTaskDialogRadioButtonItem

type TTaskDialogRadioButtonItem struct {
	IObject
	// contains filtered or unexported fields
}

func AsTaskDialogRadioButtonItem

func AsTaskDialogRadioButtonItem(obj interface{}) *TTaskDialogRadioButtonItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTaskDialogRadioButtonItem

func NewTaskDialogRadioButtonItem(AOwner *TCollection) *TTaskDialogRadioButtonItem

创建一个新的对象。

Create a new object.

func TaskDialogRadioButtonItemFromInst

func TaskDialogRadioButtonItemFromInst(inst uintptr) *TTaskDialogRadioButtonItem

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTaskDialogRadioButtonItem.

func TaskDialogRadioButtonItemFromObj

func TaskDialogRadioButtonItemFromObj(obj IObject) *TTaskDialogRadioButtonItem

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTaskDialogRadioButtonItem.

func TaskDialogRadioButtonItemFromUnsafePointer

func TaskDialogRadioButtonItemFromUnsafePointer(ptr unsafe.Pointer) *TTaskDialogRadioButtonItem

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTaskDialogRadioButtonItem.

func (*TTaskDialogRadioButtonItem) Assign

func (t *TTaskDialogRadioButtonItem) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTaskDialogRadioButtonItem) Caption

func (t *TTaskDialogRadioButtonItem) Caption() string

获取控件标题。

Get the control title.

func (*TTaskDialogRadioButtonItem) ClassName

func (t *TTaskDialogRadioButtonItem) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTaskDialogRadioButtonItem) ClassType

func (t *TTaskDialogRadioButtonItem) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTaskDialogRadioButtonItem) Collection

func (t *TTaskDialogRadioButtonItem) Collection() *TCollection

func (*TTaskDialogRadioButtonItem) Default

func (t *TTaskDialogRadioButtonItem) Default() bool

func (*TTaskDialogRadioButtonItem) DisplayName

func (t *TTaskDialogRadioButtonItem) DisplayName() string

func (*TTaskDialogRadioButtonItem) Equals

func (t *TTaskDialogRadioButtonItem) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTaskDialogRadioButtonItem) Free

func (t *TTaskDialogRadioButtonItem) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TTaskDialogRadioButtonItem) GetHashCode

func (t *TTaskDialogRadioButtonItem) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTaskDialogRadioButtonItem) GetNamePath

func (t *TTaskDialogRadioButtonItem) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTaskDialogRadioButtonItem) Index

func (t *TTaskDialogRadioButtonItem) Index() int32

func (*TTaskDialogRadioButtonItem) InheritsFrom

func (t *TTaskDialogRadioButtonItem) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTaskDialogRadioButtonItem) Instance

func (t *TTaskDialogRadioButtonItem) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TTaskDialogRadioButtonItem) InstanceSize

func (t *TTaskDialogRadioButtonItem) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTaskDialogRadioButtonItem) Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTaskDialogRadioButtonItem) IsValid

func (t *TTaskDialogRadioButtonItem) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTaskDialogRadioButtonItem) ModalResult

func (t *TTaskDialogRadioButtonItem) ModalResult() TModalResult

获取模态对话框显示结果。

func (*TTaskDialogRadioButtonItem) SetCaption

func (t *TTaskDialogRadioButtonItem) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TTaskDialogRadioButtonItem) SetCollection

func (t *TTaskDialogRadioButtonItem) SetCollection(value *TCollection)

func (*TTaskDialogRadioButtonItem) SetDefault

func (t *TTaskDialogRadioButtonItem) SetDefault(value bool)

func (*TTaskDialogRadioButtonItem) SetDisplayName

func (t *TTaskDialogRadioButtonItem) SetDisplayName(value string)

func (*TTaskDialogRadioButtonItem) SetIndex

func (t *TTaskDialogRadioButtonItem) SetIndex(value int32)

func (*TTaskDialogRadioButtonItem) SetModalResult

func (t *TTaskDialogRadioButtonItem) SetModalResult(value TModalResult)

设置模态对话框显示结果。

func (*TTaskDialogRadioButtonItem) ToString

func (t *TTaskDialogRadioButtonItem) ToString() string

文本类信息。

Text information.

func (*TTaskDialogRadioButtonItem) UnsafeAddr

func (t *TTaskDialogRadioButtonItem) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TTaskDlgClickEvent

type TTaskDlgClickEvent func(sender IObject, modalResult TModalResult, canClose *bool)

TTaskDlgClickEvent = procedure(Sender: TObject; ModalResult: TModalResult; var CanClose: Boolean) of object;

type TTaskDlgTimerEvent

type TTaskDlgTimerEvent func(sender IObject, tickCount uint32, reset *bool)

TTaskDlgTimerEvent = procedure(Sender: TObject; TickCount: Cardinal; var Reset: Boolean) of object;

type TTextAttributes

type TTextAttributes struct {
	IObject
	// contains filtered or unexported fields
}

func AsTextAttributes

func AsTextAttributes(obj interface{}) *TTextAttributes

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func TextAttributesFromInst

func TextAttributesFromInst(inst uintptr) *TTextAttributes

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTextAttributes.

func TextAttributesFromObj

func TextAttributesFromObj(obj IObject) *TTextAttributes

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTextAttributes.

func TextAttributesFromUnsafePointer

func TextAttributesFromUnsafePointer(ptr unsafe.Pointer) *TTextAttributes

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTextAttributes.

func (*TTextAttributes) Assign

func (t *TTextAttributes) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTextAttributes) Charset

func (t *TTextAttributes) Charset() TFontCharset

func (*TTextAttributes) ClassName

func (t *TTextAttributes) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTextAttributes) ClassType

func (t *TTextAttributes) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTextAttributes) Color

func (t *TTextAttributes) Color() TColor

获取颜色。

Get color.

func (*TTextAttributes) Equals

func (t *TTextAttributes) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTextAttributes) GetHashCode

func (t *TTextAttributes) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTextAttributes) GetNamePath

func (t *TTextAttributes) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTextAttributes) Height

func (t *TTextAttributes) Height() int32

获取高度。

Get height.

func (*TTextAttributes) InheritsFrom

func (t *TTextAttributes) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTextAttributes) Instance

func (t *TTextAttributes) Instance() uintptr

-------------------------- Deprecated end -------------------------- 返回对象实例指针。

Return object instance pointer.

func (*TTextAttributes) InstanceSize

func (t *TTextAttributes) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTextAttributes) Is

func (t *TTextAttributes) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTextAttributes) IsValid

func (t *TTextAttributes) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTextAttributes) Name

func (t *TTextAttributes) Name() string

获取组件名称。

Get the component name.

func (*TTextAttributes) Pitch

func (t *TTextAttributes) Pitch() TFontPitch

func (*TTextAttributes) SetCharset

func (t *TTextAttributes) SetCharset(value TFontCharset)

func (*TTextAttributes) SetColor

func (t *TTextAttributes) SetColor(value TColor)

设置颜色。

Set color.

func (*TTextAttributes) SetHeight

func (t *TTextAttributes) SetHeight(value int32)

设置高度。

Set height.

func (*TTextAttributes) SetName

func (t *TTextAttributes) SetName(value string)

设置组件名称。

Set the component name.

func (*TTextAttributes) SetPitch

func (t *TTextAttributes) SetPitch(value TFontPitch)

func (*TTextAttributes) SetSize

func (t *TTextAttributes) SetSize(value int32)

func (*TTextAttributes) SetStyle

func (t *TTextAttributes) SetStyle(value TFontStyles)

func (*TTextAttributes) Size

func (t *TTextAttributes) Size() int32

func (*TTextAttributes) Style

func (t *TTextAttributes) Style() TFontStyles

func (*TTextAttributes) ToString

func (t *TTextAttributes) ToString() string

文本类信息。

Text information.

func (*TTextAttributes) UnsafeAddr

func (t *TTextAttributes) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TThreadProc

type TThreadProc func()

TThreadProc

type TTimer

type TTimer struct {
	IComponent
	// contains filtered or unexported fields
}

func AsTimer

func AsTimer(obj interface{}) *TTimer

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTimer

func NewTimer(owner IComponent) *TTimer

创建一个新的对象。

Create a new object.

func TimerFromInst

func TimerFromInst(inst uintptr) *TTimer

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTimer.

func TimerFromObj

func TimerFromObj(obj IObject) *TTimer

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTimer.

func TimerFromUnsafePointer

func TimerFromUnsafePointer(ptr unsafe.Pointer) *TTimer

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTimer.

func (*TTimer) Assign

func (t *TTimer) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTimer) ClassName

func (t *TTimer) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTimer) ClassType

func (t *TTimer) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTimer) ComponentCount

func (t *TTimer) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TTimer) ComponentIndex

func (t *TTimer) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TTimer) Components

func (t *TTimer) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TTimer) Enabled

func (t *TTimer) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TTimer) Equals

func (t *TTimer) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTimer) FindComponent

func (t *TTimer) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TTimer) Free

func (t *TTimer) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TTimer) GetHashCode

func (t *TTimer) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTimer) GetNamePath

func (t *TTimer) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTimer) HasParent

func (t *TTimer) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TTimer) InheritsFrom

func (t *TTimer) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTimer) Instance

func (t *TTimer) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TTimer) InstanceSize

func (t *TTimer) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTimer) Interval

func (t *TTimer) Interval() uint32

获取时钟每次跳动间隔时间,ms。

func (*TTimer) Is

func (t *TTimer) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTimer) IsValid

func (t *TTimer) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTimer) Name

func (t *TTimer) Name() string

获取组件名称。

Get the component name.

func (*TTimer) Owner

func (t *TTimer) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TTimer) SetComponentIndex

func (t *TTimer) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TTimer) SetEnabled

func (t *TTimer) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TTimer) SetInterval

func (t *TTimer) SetInterval(value uint32)

设置时钟每次跳动间隔时间,ms。

func (*TTimer) SetName

func (t *TTimer) SetName(value string)

设置组件名称。

Set the component name.

func (*TTimer) SetOnTimer

func (t *TTimer) SetOnTimer(fn TNotifyEvent)

设置时钟事件。

func (*TTimer) SetTag

func (t *TTimer) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TTimer) Tag

func (t *TTimer) Tag() int

获取对象标记。

Get the control tag.

func (*TTimer) ToString

func (t *TTimer) ToString() string

文本类信息。

Text information.

func (*TTimer) UnsafeAddr

func (t *TTimer) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TToggleBox

type TToggleBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsToggleBox

func AsToggleBox(obj interface{}) *TToggleBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewToggleBox

func NewToggleBox(owner IComponent) *TToggleBox

创建一个新的对象。

Create a new object.

func ToggleBoxFromInst

func ToggleBoxFromInst(inst uintptr) *TToggleBox

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsToggleBox.

func ToggleBoxFromObj

func ToggleBoxFromObj(obj IObject) *TToggleBox

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsToggleBox.

func ToggleBoxFromUnsafePointer

func ToggleBoxFromUnsafePointer(ptr unsafe.Pointer) *TToggleBox

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsToggleBox.

func (*TToggleBox) Action

func (t *TToggleBox) Action() *TAction

func (*TToggleBox) Align

func (t *TToggleBox) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TToggleBox) AllowGrayed

func (t *TToggleBox) AllowGrayed() bool

func (*TToggleBox) AnchorAsAlign

func (t *TToggleBox) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TToggleBox) AnchorClient

func (t *TToggleBox) AnchorClient(ASpace int32)

func (*TToggleBox) AnchorHorizontalCenterTo

func (t *TToggleBox) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TToggleBox) AnchorParallel

func (t *TToggleBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToggleBox) AnchorSame

func (t *TToggleBox) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TToggleBox) AnchorSide

func (t *TToggleBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TToggleBox) AnchorSideBottom

func (t *TToggleBox) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TToggleBox) AnchorSideLeft

func (t *TToggleBox) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TToggleBox) AnchorSideRight

func (t *TToggleBox) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TToggleBox) AnchorSideTop

func (t *TToggleBox) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TToggleBox) AnchorToNeighbour

func (t *TToggleBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToggleBox) AnchorVerticalCenterTo

func (t *TToggleBox) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TToggleBox) Anchors

func (t *TToggleBox) Anchors() TAnchors

获取四个角位置的锚点。

func (*TToggleBox) Assign

func (t *TToggleBox) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TToggleBox) AutoAdjustLayout

func (t *TToggleBox) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TToggleBox) AutoSize

func (t *TToggleBox) AutoSize() bool

获取自动调整大小。

func (*TToggleBox) BiDiMode

func (t *TToggleBox) BiDiMode() TBiDiMode

func (*TToggleBox) BorderSpacing

func (t *TToggleBox) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TToggleBox) BoundsRect

func (t *TToggleBox) BoundsRect() TRect

func (*TToggleBox) BringToFront

func (t *TToggleBox) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TToggleBox) Brush

func (t *TToggleBox) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TToggleBox) CanFocus

func (t *TToggleBox) CanFocus() bool

是否可以获得焦点。

func (*TToggleBox) Caption

func (t *TToggleBox) Caption() string

获取控件标题。

Get the control title.

func (*TToggleBox) Checked

func (t *TToggleBox) Checked() bool

获取是否选中。

func (*TToggleBox) ChildSizing

func (t *TToggleBox) ChildSizing() *TControlChildSizing

func (*TToggleBox) ClassName

func (t *TToggleBox) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TToggleBox) ClassType

func (t *TToggleBox) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TToggleBox) ClientHeight

func (t *TToggleBox) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TToggleBox) ClientOrigin

func (t *TToggleBox) ClientOrigin() TPoint

func (*TToggleBox) ClientRect

func (t *TToggleBox) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TToggleBox) ClientToParent

func (t *TToggleBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TToggleBox) ClientToScreen

func (t *TToggleBox) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TToggleBox) ClientWidth

func (t *TToggleBox) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TToggleBox) Color

func (t *TToggleBox) Color() TColor

获取颜色。

Get color.

func (*TToggleBox) ComponentCount

func (t *TToggleBox) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TToggleBox) ComponentIndex

func (t *TToggleBox) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TToggleBox) Components

func (t *TToggleBox) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TToggleBox) Constraints

func (t *TToggleBox) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TToggleBox) ContainsControl

func (t *TToggleBox) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TToggleBox) ControlAtPos

func (t *TToggleBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TToggleBox) ControlCount

func (t *TToggleBox) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TToggleBox) ControlState

func (t *TToggleBox) ControlState() TControlState

获取控件状态。

Get control state.

func (*TToggleBox) ControlStyle

func (t *TToggleBox) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TToggleBox) Controls

func (t *TToggleBox) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TToggleBox) Cursor

func (t *TToggleBox) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TToggleBox) DisableAlign

func (t *TToggleBox) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TToggleBox) DockClientCount

func (t *TToggleBox) DockClientCount() int32

获取依靠客户端总数。

func (*TToggleBox) DockClients

func (t *TToggleBox) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TToggleBox) DockSite

func (t *TToggleBox) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TToggleBox) DoubleBuffered

func (t *TToggleBox) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TToggleBox) DragCursor

func (t *TToggleBox) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TToggleBox) DragKind

func (t *TToggleBox) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TToggleBox) DragMode

func (t *TToggleBox) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TToggleBox) Dragging

func (t *TToggleBox) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TToggleBox) EnableAlign

func (t *TToggleBox) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TToggleBox) Enabled

func (t *TToggleBox) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TToggleBox) Equals

func (t *TToggleBox) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TToggleBox) FindChildControl

func (t *TToggleBox) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TToggleBox) FindComponent

func (t *TToggleBox) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TToggleBox) FixDesignFontsPPI

func (t *TToggleBox) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TToggleBox) FlipChildren

func (t *TToggleBox) FlipChildren(AllLevels bool)

func (*TToggleBox) Floating

func (t *TToggleBox) Floating() bool

func (*TToggleBox) Focused

func (t *TToggleBox) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TToggleBox) Font

func (t *TToggleBox) Font() *TFont

获取字体。

Get Font.

func (*TToggleBox) Free

func (t *TToggleBox) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TToggleBox) GetHashCode

func (t *TToggleBox) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TToggleBox) GetNamePath

func (t *TToggleBox) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TToggleBox) GetTextBuf

func (t *TToggleBox) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TToggleBox) GetTextLen

func (t *TToggleBox) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TToggleBox) Handle

func (t *TToggleBox) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TToggleBox) HandleAllocated

func (t *TToggleBox) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TToggleBox) HasParent

func (t *TToggleBox) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TToggleBox) Height

func (t *TToggleBox) Height() int32

获取高度。

Get height.

func (*TToggleBox) Hide

func (t *TToggleBox) Hide()

隐藏控件。

Hidden control.

func (*TToggleBox) Hint

func (t *TToggleBox) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TToggleBox) InheritsFrom

func (t *TToggleBox) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TToggleBox) InsertControl

func (t *TToggleBox) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TToggleBox) Instance

func (t *TToggleBox) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TToggleBox) InstanceSize

func (t *TToggleBox) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TToggleBox) Invalidate

func (t *TToggleBox) Invalidate()

要求重绘。

Redraw.

func (*TToggleBox) Is

func (t *TToggleBox) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TToggleBox) IsValid

func (t *TToggleBox) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TToggleBox) Left

func (t *TToggleBox) Left() int32

获取左边位置。

Get Left position.

func (*TToggleBox) MouseInClient

func (t *TToggleBox) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TToggleBox) Name

func (t *TToggleBox) Name() string

获取组件名称。

Get the component name.

func (*TToggleBox) Owner

func (t *TToggleBox) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TToggleBox) PaintTo

func (t *TToggleBox) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TToggleBox) Parent

func (t *TToggleBox) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TToggleBox) ParentDoubleBuffered

func (t *TToggleBox) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TToggleBox) ParentFont

func (t *TToggleBox) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TToggleBox) ParentShowHint

func (t *TToggleBox) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TToggleBox) ParentToClient

func (t *TToggleBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TToggleBox) ParentWindow

func (t *TToggleBox) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TToggleBox) Perform

func (t *TToggleBox) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TToggleBox) PopupMenu

func (t *TToggleBox) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TToggleBox) Realign

func (t *TToggleBox) Realign()

重新对齐。

Realign.

func (*TToggleBox) Refresh

func (t *TToggleBox) Refresh()

刷新控件。

Refresh control.

func (*TToggleBox) RemoveControl

func (t *TToggleBox) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TToggleBox) Repaint

func (t *TToggleBox) Repaint()

重绘。

Repaint.

func (*TToggleBox) Scale96ToFont

func (t *TToggleBox) Scale96ToFont(ASize int32) int32

func (*TToggleBox) Scale96ToForm

func (t *TToggleBox) Scale96ToForm(ASize int32) int32

func (*TToggleBox) Scale96ToScreen

func (t *TToggleBox) Scale96ToScreen(ASize int32) int32

func (*TToggleBox) ScaleBy

func (t *TToggleBox) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TToggleBox) ScaleDesignToForm

func (t *TToggleBox) ScaleDesignToForm(ASize int32) int32

func (*TToggleBox) ScaleFontTo96

func (t *TToggleBox) ScaleFontTo96(ASize int32) int32

func (*TToggleBox) ScaleFontToScreen

func (t *TToggleBox) ScaleFontToScreen(ASize int32) int32

func (*TToggleBox) ScaleFontsPPI

func (t *TToggleBox) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TToggleBox) ScaleFormTo96

func (t *TToggleBox) ScaleFormTo96(ASize int32) int32

func (*TToggleBox) ScaleFormToDesign

func (t *TToggleBox) ScaleFormToDesign(ASize int32) int32

func (*TToggleBox) ScaleScreenTo96

func (t *TToggleBox) ScaleScreenTo96(ASize int32) int32

func (*TToggleBox) ScaleScreenToFont

func (t *TToggleBox) ScaleScreenToFont(ASize int32) int32

func (*TToggleBox) ScreenToClient

func (t *TToggleBox) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TToggleBox) ScrollBy

func (t *TToggleBox) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TToggleBox) SendToBack

func (t *TToggleBox) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TToggleBox) SetAction

func (t *TToggleBox) SetAction(value IComponent)

func (*TToggleBox) SetAlign

func (t *TToggleBox) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TToggleBox) SetAllowGrayed

func (t *TToggleBox) SetAllowGrayed(value bool)

func (*TToggleBox) SetAnchorSideBottom

func (t *TToggleBox) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TToggleBox) SetAnchorSideLeft

func (t *TToggleBox) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TToggleBox) SetAnchorSideRight

func (t *TToggleBox) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TToggleBox) SetAnchorSideTop

func (t *TToggleBox) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TToggleBox) SetAnchors

func (t *TToggleBox) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TToggleBox) SetAutoSize

func (t *TToggleBox) SetAutoSize(value bool)

设置自动调整大小。

func (*TToggleBox) SetBiDiMode

func (t *TToggleBox) SetBiDiMode(value TBiDiMode)

func (*TToggleBox) SetBorderSpacing

func (t *TToggleBox) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TToggleBox) SetBounds

func (t *TToggleBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TToggleBox) SetBoundsRect

func (t *TToggleBox) SetBoundsRect(value TRect)

func (*TToggleBox) SetCaption

func (t *TToggleBox) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TToggleBox) SetChecked

func (t *TToggleBox) SetChecked(value bool)

设置是否选中。

func (*TToggleBox) SetChildSizing

func (t *TToggleBox) SetChildSizing(value *TControlChildSizing)

func (*TToggleBox) SetClientHeight

func (t *TToggleBox) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TToggleBox) SetClientWidth

func (t *TToggleBox) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TToggleBox) SetColor

func (t *TToggleBox) SetColor(value TColor)

设置颜色。

Set color.

func (*TToggleBox) SetComponentIndex

func (t *TToggleBox) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TToggleBox) SetConstraints

func (t *TToggleBox) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TToggleBox) SetControlState

func (t *TToggleBox) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TToggleBox) SetControlStyle

func (t *TToggleBox) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TToggleBox) SetCursor

func (t *TToggleBox) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TToggleBox) SetDockSite

func (t *TToggleBox) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TToggleBox) SetDoubleBuffered

func (t *TToggleBox) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TToggleBox) SetDragCursor

func (t *TToggleBox) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TToggleBox) SetDragKind

func (t *TToggleBox) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TToggleBox) SetDragMode

func (t *TToggleBox) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TToggleBox) SetEnabled

func (t *TToggleBox) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TToggleBox) SetFocus

func (t *TToggleBox) SetFocus()

设置控件焦点。

Set control focus.

func (*TToggleBox) SetFont

func (t *TToggleBox) SetFont(value *TFont)

设置字体。

Set Font.

func (*TToggleBox) SetHeight

func (t *TToggleBox) SetHeight(value int32)

设置高度。

Set height.

func (*TToggleBox) SetHint

func (t *TToggleBox) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TToggleBox) SetLeft

func (t *TToggleBox) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TToggleBox) SetName

func (t *TToggleBox) SetName(value string)

设置组件名称。

Set the component name.

func (*TToggleBox) SetOnChange

func (t *TToggleBox) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TToggleBox) SetOnClick

func (t *TToggleBox) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TToggleBox) SetOnDragDrop

func (t *TToggleBox) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TToggleBox) SetOnDragOver

func (t *TToggleBox) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TToggleBox) SetOnEndDrag

func (t *TToggleBox) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TToggleBox) SetOnEnter

func (t *TToggleBox) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TToggleBox) SetOnExit

func (t *TToggleBox) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TToggleBox) SetOnMouseDown

func (t *TToggleBox) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TToggleBox) SetOnMouseEnter

func (t *TToggleBox) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TToggleBox) SetOnMouseLeave

func (t *TToggleBox) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TToggleBox) SetOnMouseMove

func (t *TToggleBox) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TToggleBox) SetOnMouseUp

func (t *TToggleBox) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TToggleBox) SetOnMouseWheel

func (t *TToggleBox) SetOnMouseWheel(fn TMouseWheelEvent)

设置鼠标滚轮事件。

func (*TToggleBox) SetOnMouseWheelDown

func (t *TToggleBox) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TToggleBox) SetOnMouseWheelUp

func (t *TToggleBox) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TToggleBox) SetParent

func (t *TToggleBox) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TToggleBox) SetParentDoubleBuffered

func (t *TToggleBox) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TToggleBox) SetParentFont

func (t *TToggleBox) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TToggleBox) SetParentShowHint

func (t *TToggleBox) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TToggleBox) SetParentWindow

func (t *TToggleBox) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TToggleBox) SetPopupMenu

func (t *TToggleBox) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TToggleBox) SetShowHint

func (t *TToggleBox) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TToggleBox) SetState

func (t *TToggleBox) SetState(value TCheckBoxState)

func (*TToggleBox) SetTabOrder

func (t *TToggleBox) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TToggleBox) SetTabStop

func (t *TToggleBox) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TToggleBox) SetTag

func (t *TToggleBox) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TToggleBox) SetTextBuf

func (t *TToggleBox) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TToggleBox) SetTop

func (t *TToggleBox) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TToggleBox) SetUseDockManager

func (t *TToggleBox) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TToggleBox) SetVisible

func (t *TToggleBox) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TToggleBox) SetWidth

func (t *TToggleBox) SetWidth(value int32)

设置宽度。

Set width.

func (*TToggleBox) Show

func (t *TToggleBox) Show()

显示控件。

Show control.

func (*TToggleBox) ShowHint

func (t *TToggleBox) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TToggleBox) Showing

func (t *TToggleBox) Showing() bool

func (*TToggleBox) State

func (t *TToggleBox) State() TCheckBoxState

func (*TToggleBox) TabOrder

func (t *TToggleBox) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TToggleBox) TabStop

func (t *TToggleBox) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TToggleBox) Tag

func (t *TToggleBox) Tag() int

获取对象标记。

Get the control tag.

func (*TToggleBox) ToString

func (t *TToggleBox) ToString() string

文本类信息。

Text information.

func (*TToggleBox) Top

func (t *TToggleBox) Top() int32

获取顶边位置。

Get Top position.

func (*TToggleBox) UnsafeAddr

func (t *TToggleBox) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TToggleBox) Update

func (t *TToggleBox) Update()

控件更新。

Update.

func (*TToggleBox) UseDockManager

func (t *TToggleBox) UseDockManager() bool

获取使用停靠管理。

func (*TToggleBox) Visible

func (t *TToggleBox) Visible() bool

获取控件可视。

Get the control visible.

func (*TToggleBox) VisibleDockClientCount

func (t *TToggleBox) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TToggleBox) Width

func (t *TToggleBox) Width() int32

获取宽度。

Get width.

type TToggledCheckboxEvent

type TToggledCheckboxEvent func(sender IObject, aCol, aRow int32, aState TCheckBoxState)

TToggledCheckboxEvent = procedure(sender: TObject; aCol, aRow: Integer; aState: TCheckboxState) of object;

type TToolBar

type TToolBar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsToolBar

func AsToolBar(obj interface{}) *TToolBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewToolBar

func NewToolBar(owner IComponent) *TToolBar

创建一个新的对象。

Create a new object.

func ToolBarFromInst

func ToolBarFromInst(inst uintptr) *TToolBar

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsToolBar.

func ToolBarFromObj

func ToolBarFromObj(obj IObject) *TToolBar

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsToolBar.

func ToolBarFromUnsafePointer

func ToolBarFromUnsafePointer(ptr unsafe.Pointer) *TToolBar

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsToolBar.

func (*TToolBar) Action

func (t *TToolBar) Action() *TAction

func (*TToolBar) Align

func (t *TToolBar) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TToolBar) AnchorAsAlign

func (t *TToolBar) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TToolBar) AnchorClient

func (t *TToolBar) AnchorClient(ASpace int32)

func (*TToolBar) AnchorHorizontalCenterTo

func (t *TToolBar) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TToolBar) AnchorParallel

func (t *TToolBar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToolBar) AnchorSame

func (t *TToolBar) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TToolBar) AnchorSide

func (t *TToolBar) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TToolBar) AnchorSideBottom

func (t *TToolBar) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TToolBar) AnchorSideLeft

func (t *TToolBar) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TToolBar) AnchorSideRight

func (t *TToolBar) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TToolBar) AnchorSideTop

func (t *TToolBar) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TToolBar) AnchorToNeighbour

func (t *TToolBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToolBar) AnchorVerticalCenterTo

func (t *TToolBar) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TToolBar) Anchors

func (t *TToolBar) Anchors() TAnchors

获取四个角位置的锚点。

func (*TToolBar) Assign

func (t *TToolBar) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TToolBar) AutoAdjustLayout

func (t *TToolBar) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TToolBar) AutoSize

func (t *TToolBar) AutoSize() bool

获取自动调整大小。

func (*TToolBar) BiDiMode

func (t *TToolBar) BiDiMode() TBiDiMode

func (*TToolBar) BorderSpacing

func (t *TToolBar) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TToolBar) BorderWidth

func (t *TToolBar) BorderWidth() int32

获取边框的宽度。

func (*TToolBar) BoundsRect

func (t *TToolBar) BoundsRect() TRect

func (*TToolBar) BringToFront

func (t *TToolBar) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TToolBar) Brush

func (t *TToolBar) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TToolBar) ButtonCount

func (t *TToolBar) ButtonCount() int32

func (*TToolBar) ButtonHeight

func (t *TToolBar) ButtonHeight() int32

func (*TToolBar) ButtonWidth

func (t *TToolBar) ButtonWidth() int32

func (*TToolBar) Buttons

func (t *TToolBar) Buttons(Index int32) *TToolButton

func (*TToolBar) CanFocus

func (t *TToolBar) CanFocus() bool

是否可以获得焦点。

func (*TToolBar) Canvas

func (t *TToolBar) Canvas() *TCanvas

获取画布。

func (*TToolBar) Caption

func (t *TToolBar) Caption() string

获取控件标题。

Get the control title.

func (*TToolBar) ChildSizing

func (t *TToolBar) ChildSizing() *TControlChildSizing

func (*TToolBar) ClassName

func (t *TToolBar) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TToolBar) ClassType

func (t *TToolBar) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TToolBar) ClientHeight

func (t *TToolBar) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TToolBar) ClientOrigin

func (t *TToolBar) ClientOrigin() TPoint

func (*TToolBar) ClientRect

func (t *TToolBar) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TToolBar) ClientToParent

func (t *TToolBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TToolBar) ClientToScreen

func (t *TToolBar) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TToolBar) ClientWidth

func (t *TToolBar) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TToolBar) Color

func (t *TToolBar) Color() TColor

获取颜色。

Get color.

func (*TToolBar) ComponentCount

func (t *TToolBar) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TToolBar) ComponentIndex

func (t *TToolBar) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TToolBar) Components

func (t *TToolBar) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TToolBar) Constraints

func (t *TToolBar) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TToolBar) ContainsControl

func (t *TToolBar) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TToolBar) ControlAtPos

func (t *TToolBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TToolBar) ControlCount

func (t *TToolBar) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TToolBar) ControlState

func (t *TToolBar) ControlState() TControlState

获取控件状态。

Get control state.

func (*TToolBar) ControlStyle

func (t *TToolBar) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TToolBar) Controls

func (t *TToolBar) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TToolBar) Cursor

func (t *TToolBar) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TToolBar) DisableAlign

func (t *TToolBar) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TToolBar) DockClientCount

func (t *TToolBar) DockClientCount() int32

获取依靠客户端总数。

func (*TToolBar) DockClients

func (t *TToolBar) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TToolBar) DockSite

func (t *TToolBar) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TToolBar) DoubleBuffered

func (t *TToolBar) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TToolBar) DragCursor

func (t *TToolBar) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TToolBar) DragKind

func (t *TToolBar) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TToolBar) DragMode

func (t *TToolBar) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TToolBar) Dragging

func (t *TToolBar) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TToolBar) EdgeBorders

func (t *TToolBar) EdgeBorders() TEdgeBorders

func (*TToolBar) EdgeInner

func (t *TToolBar) EdgeInner() TEdgeStyle

func (*TToolBar) EdgeOuter

func (t *TToolBar) EdgeOuter() TEdgeStyle

func (*TToolBar) EnableAlign

func (t *TToolBar) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TToolBar) Enabled

func (t *TToolBar) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TToolBar) Equals

func (t *TToolBar) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TToolBar) FindChildControl

func (t *TToolBar) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TToolBar) FindComponent

func (t *TToolBar) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TToolBar) FixDesignFontsPPI

func (t *TToolBar) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TToolBar) Flat

func (t *TToolBar) Flat() bool

获取平面样式。

func (*TToolBar) FlipChildren

func (t *TToolBar) FlipChildren(AllLevels bool)

func (*TToolBar) Floating

func (t *TToolBar) Floating() bool

func (*TToolBar) Focused

func (t *TToolBar) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TToolBar) Font

func (t *TToolBar) Font() *TFont

获取字体。

Get Font.

func (*TToolBar) Free

func (t *TToolBar) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TToolBar) GetHashCode

func (t *TToolBar) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TToolBar) GetNamePath

func (t *TToolBar) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TToolBar) GetTextBuf

func (t *TToolBar) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TToolBar) GetTextLen

func (t *TToolBar) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TToolBar) Handle

func (t *TToolBar) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TToolBar) HandleAllocated

func (t *TToolBar) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TToolBar) HasParent

func (t *TToolBar) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TToolBar) Height

func (t *TToolBar) Height() int32

获取高度。

Get height.

func (*TToolBar) Hide

func (t *TToolBar) Hide()

隐藏控件。

Hidden control.

func (*TToolBar) Hint

func (t *TToolBar) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TToolBar) HotImages

func (t *TToolBar) HotImages() *TImageList

func (*TToolBar) Images

func (t *TToolBar) Images() *TImageList

获取图标索引列表对象。

func (*TToolBar) Indent

func (t *TToolBar) Indent() int32

func (*TToolBar) InheritsFrom

func (t *TToolBar) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TToolBar) InsertControl

func (t *TToolBar) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TToolBar) Instance

func (t *TToolBar) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TToolBar) InstanceSize

func (t *TToolBar) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TToolBar) Invalidate

func (t *TToolBar) Invalidate()

要求重绘。

Redraw.

func (*TToolBar) Is

func (t *TToolBar) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TToolBar) IsValid

func (t *TToolBar) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TToolBar) Left

func (t *TToolBar) Left() int32

获取左边位置。

Get Left position.

func (*TToolBar) List

func (t *TToolBar) List() bool

func (*TToolBar) MouseInClient

func (t *TToolBar) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TToolBar) Name

func (t *TToolBar) Name() string

获取组件名称。

Get the component name.

func (*TToolBar) Owner

func (t *TToolBar) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TToolBar) PaintTo

func (t *TToolBar) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TToolBar) Parent

func (t *TToolBar) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TToolBar) ParentColor

func (t *TToolBar) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TToolBar) ParentDoubleBuffered

func (t *TToolBar) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TToolBar) ParentFont

func (t *TToolBar) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TToolBar) ParentShowHint

func (t *TToolBar) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TToolBar) ParentToClient

func (t *TToolBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TToolBar) ParentWindow

func (t *TToolBar) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TToolBar) Perform

func (t *TToolBar) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TToolBar) PopupMenu

func (t *TToolBar) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TToolBar) Realign

func (t *TToolBar) Realign()

重新对齐。

Realign.

func (*TToolBar) Refresh

func (t *TToolBar) Refresh()

刷新控件。

Refresh control.

func (*TToolBar) RemoveControl

func (t *TToolBar) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TToolBar) Repaint

func (t *TToolBar) Repaint()

重绘。

Repaint.

func (*TToolBar) RowCount

func (t *TToolBar) RowCount() int32

func (*TToolBar) Scale96ToFont

func (t *TToolBar) Scale96ToFont(ASize int32) int32

func (*TToolBar) Scale96ToForm

func (t *TToolBar) Scale96ToForm(ASize int32) int32

func (*TToolBar) Scale96ToScreen

func (t *TToolBar) Scale96ToScreen(ASize int32) int32

func (*TToolBar) ScaleBy

func (t *TToolBar) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TToolBar) ScaleDesignToForm

func (t *TToolBar) ScaleDesignToForm(ASize int32) int32

func (*TToolBar) ScaleFontTo96

func (t *TToolBar) ScaleFontTo96(ASize int32) int32

func (*TToolBar) ScaleFontToScreen

func (t *TToolBar) ScaleFontToScreen(ASize int32) int32

func (*TToolBar) ScaleFontsPPI

func (t *TToolBar) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TToolBar) ScaleFormTo96

func (t *TToolBar) ScaleFormTo96(ASize int32) int32

func (*TToolBar) ScaleFormToDesign

func (t *TToolBar) ScaleFormToDesign(ASize int32) int32

func (*TToolBar) ScaleScreenTo96

func (t *TToolBar) ScaleScreenTo96(ASize int32) int32

func (*TToolBar) ScaleScreenToFont

func (t *TToolBar) ScaleScreenToFont(ASize int32) int32

func (*TToolBar) ScreenToClient

func (t *TToolBar) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TToolBar) ScrollBy

func (t *TToolBar) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TToolBar) SendToBack

func (t *TToolBar) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TToolBar) SetAction

func (t *TToolBar) SetAction(value IComponent)

func (*TToolBar) SetAlign

func (t *TToolBar) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TToolBar) SetAnchorSideBottom

func (t *TToolBar) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TToolBar) SetAnchorSideLeft

func (t *TToolBar) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TToolBar) SetAnchorSideRight

func (t *TToolBar) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TToolBar) SetAnchorSideTop

func (t *TToolBar) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TToolBar) SetAnchors

func (t *TToolBar) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TToolBar) SetAutoSize

func (t *TToolBar) SetAutoSize(value bool)

设置自动调整大小。

func (*TToolBar) SetBiDiMode

func (t *TToolBar) SetBiDiMode(value TBiDiMode)

func (*TToolBar) SetBorderSpacing

func (t *TToolBar) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TToolBar) SetBorderWidth

func (t *TToolBar) SetBorderWidth(value int32)

设置边框的宽度。

func (*TToolBar) SetBounds

func (t *TToolBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TToolBar) SetBoundsRect

func (t *TToolBar) SetBoundsRect(value TRect)

func (*TToolBar) SetButtonHeight

func (t *TToolBar) SetButtonHeight(value int32)

func (*TToolBar) SetButtonWidth

func (t *TToolBar) SetButtonWidth(value int32)

func (*TToolBar) SetCaption

func (t *TToolBar) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TToolBar) SetChildSizing

func (t *TToolBar) SetChildSizing(value *TControlChildSizing)

func (*TToolBar) SetClientHeight

func (t *TToolBar) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TToolBar) SetClientWidth

func (t *TToolBar) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TToolBar) SetColor

func (t *TToolBar) SetColor(value TColor)

设置颜色。

Set color.

func (*TToolBar) SetComponentIndex

func (t *TToolBar) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TToolBar) SetConstraints

func (t *TToolBar) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TToolBar) SetControlState

func (t *TToolBar) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TToolBar) SetControlStyle

func (t *TToolBar) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TToolBar) SetCursor

func (t *TToolBar) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TToolBar) SetDockSite

func (t *TToolBar) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TToolBar) SetDoubleBuffered

func (t *TToolBar) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TToolBar) SetDragCursor

func (t *TToolBar) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TToolBar) SetDragKind

func (t *TToolBar) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TToolBar) SetDragMode

func (t *TToolBar) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TToolBar) SetEdgeBorders

func (t *TToolBar) SetEdgeBorders(value TEdgeBorders)

func (*TToolBar) SetEdgeInner

func (t *TToolBar) SetEdgeInner(value TEdgeStyle)

func (*TToolBar) SetEdgeOuter

func (t *TToolBar) SetEdgeOuter(value TEdgeStyle)

func (*TToolBar) SetEnabled

func (t *TToolBar) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TToolBar) SetFlat

func (t *TToolBar) SetFlat(value bool)

设置平面样式。

func (*TToolBar) SetFocus

func (t *TToolBar) SetFocus()

设置控件焦点。

Set control focus.

func (*TToolBar) SetFont

func (t *TToolBar) SetFont(value *TFont)

设置字体。

Set Font.

func (*TToolBar) SetHeight

func (t *TToolBar) SetHeight(value int32)

设置高度。

Set height.

func (*TToolBar) SetHint

func (t *TToolBar) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TToolBar) SetHotImages

func (t *TToolBar) SetHotImages(value IComponent)

func (*TToolBar) SetImages

func (t *TToolBar) SetImages(value IComponent)

设置图标索引列表对象。

func (*TToolBar) SetIndent

func (t *TToolBar) SetIndent(value int32)

func (*TToolBar) SetLeft

func (t *TToolBar) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TToolBar) SetList

func (t *TToolBar) SetList(value bool)

func (*TToolBar) SetName

func (t *TToolBar) SetName(value string)

设置组件名称。

Set the component name.

func (*TToolBar) SetOnClick

func (t *TToolBar) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TToolBar) SetOnContextPopup

func (t *TToolBar) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TToolBar) SetOnDblClick

func (t *TToolBar) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TToolBar) SetOnDockDrop

func (t *TToolBar) SetOnDockDrop(fn TDockDropEvent)

func (*TToolBar) SetOnDragDrop

func (t *TToolBar) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TToolBar) SetOnDragOver

func (t *TToolBar) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TToolBar) SetOnEndDrag

func (t *TToolBar) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TToolBar) SetOnEnter

func (t *TToolBar) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TToolBar) SetOnExit

func (t *TToolBar) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TToolBar) SetOnMouseDown

func (t *TToolBar) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TToolBar) SetOnMouseEnter

func (t *TToolBar) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TToolBar) SetOnMouseLeave

func (t *TToolBar) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TToolBar) SetOnMouseMove

func (t *TToolBar) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TToolBar) SetOnMouseUp

func (t *TToolBar) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TToolBar) SetOnResize

func (t *TToolBar) SetOnResize(fn TNotifyEvent)

设置大小被改变事件。

func (*TToolBar) SetOnUnDock

func (t *TToolBar) SetOnUnDock(fn TUnDockEvent)

func (*TToolBar) SetParent

func (t *TToolBar) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TToolBar) SetParentColor

func (t *TToolBar) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TToolBar) SetParentDoubleBuffered

func (t *TToolBar) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TToolBar) SetParentFont

func (t *TToolBar) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TToolBar) SetParentShowHint

func (t *TToolBar) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TToolBar) SetParentWindow

func (t *TToolBar) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TToolBar) SetPopupMenu

func (t *TToolBar) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TToolBar) SetShowCaptions

func (t *TToolBar) SetShowCaptions(value bool)

设置显示标题。

func (*TToolBar) SetShowHint

func (t *TToolBar) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TToolBar) SetTabOrder

func (t *TToolBar) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TToolBar) SetTabStop

func (t *TToolBar) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TToolBar) SetTag

func (t *TToolBar) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TToolBar) SetTextBuf

func (t *TToolBar) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TToolBar) SetTop

func (t *TToolBar) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TToolBar) SetTransparent

func (t *TToolBar) SetTransparent(value bool)

设置透明。

Set transparent.

func (*TToolBar) SetUseDockManager

func (t *TToolBar) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TToolBar) SetVisible

func (t *TToolBar) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TToolBar) SetWidth

func (t *TToolBar) SetWidth(value int32)

设置宽度。

Set width.

func (*TToolBar) SetWrapable

func (t *TToolBar) SetWrapable(value bool)

func (*TToolBar) Show

func (t *TToolBar) Show()

显示控件。

Show control.

func (*TToolBar) ShowCaptions

func (t *TToolBar) ShowCaptions() bool

获取显示标题。

func (*TToolBar) ShowHint

func (t *TToolBar) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TToolBar) Showing

func (t *TToolBar) Showing() bool

func (*TToolBar) TabOrder

func (t *TToolBar) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TToolBar) TabStop

func (t *TToolBar) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TToolBar) Tag

func (t *TToolBar) Tag() int

获取对象标记。

Get the control tag.

func (*TToolBar) ToString

func (t *TToolBar) ToString() string

文本类信息。

Text information.

func (*TToolBar) Top

func (t *TToolBar) Top() int32

获取顶边位置。

Get Top position.

func (*TToolBar) Transparent

func (t *TToolBar) Transparent() bool

获取透明。

Get transparent.

func (*TToolBar) UnsafeAddr

func (t *TToolBar) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TToolBar) Update

func (t *TToolBar) Update()

控件更新。

Update.

func (*TToolBar) UseDockManager

func (t *TToolBar) UseDockManager() bool

获取使用停靠管理。

func (*TToolBar) Visible

func (t *TToolBar) Visible() bool

获取控件可视。

Get the control visible.

func (*TToolBar) VisibleDockClientCount

func (t *TToolBar) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TToolBar) Width

func (t *TToolBar) Width() int32

获取宽度。

Get width.

func (*TToolBar) Wrapable

func (t *TToolBar) Wrapable() bool

type TToolButton

type TToolButton struct {
	IControl
	// contains filtered or unexported fields
}

func AsToolButton

func AsToolButton(obj interface{}) *TToolButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewToolButton

func NewToolButton(owner IComponent) *TToolButton

创建一个新的对象。

Create a new object.

func ToolButtonFromInst

func ToolButtonFromInst(inst uintptr) *TToolButton

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsToolButton.

func ToolButtonFromObj

func ToolButtonFromObj(obj IObject) *TToolButton

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsToolButton.

func ToolButtonFromUnsafePointer

func ToolButtonFromUnsafePointer(ptr unsafe.Pointer) *TToolButton

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsToolButton.

func (*TToolButton) Action

func (t *TToolButton) Action() *TAction

func (*TToolButton) Align

func (t *TToolButton) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TToolButton) AllowAllUp

func (t *TToolButton) AllowAllUp() bool

func (*TToolButton) AnchorAsAlign

func (t *TToolButton) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TToolButton) AnchorClient

func (t *TToolButton) AnchorClient(ASpace int32)

func (*TToolButton) AnchorHorizontalCenterTo

func (t *TToolButton) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TToolButton) AnchorParallel

func (t *TToolButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToolButton) AnchorSame

func (t *TToolButton) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TToolButton) AnchorSide

func (t *TToolButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TToolButton) AnchorSideBottom

func (t *TToolButton) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TToolButton) AnchorSideLeft

func (t *TToolButton) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TToolButton) AnchorSideRight

func (t *TToolButton) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TToolButton) AnchorSideTop

func (t *TToolButton) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TToolButton) AnchorToNeighbour

func (t *TToolButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToolButton) AnchorVerticalCenterTo

func (t *TToolButton) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TToolButton) Anchors

func (t *TToolButton) Anchors() TAnchors

获取四个角位置的锚点。

func (*TToolButton) Assign

func (t *TToolButton) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TToolButton) AutoAdjustLayout

func (t *TToolButton) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TToolButton) AutoSize

func (t *TToolButton) AutoSize() bool

获取自动调整大小。

func (*TToolButton) BiDiMode

func (t *TToolButton) BiDiMode() TBiDiMode

func (*TToolButton) BorderSpacing

func (t *TToolButton) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TToolButton) BoundsRect

func (t *TToolButton) BoundsRect() TRect

func (*TToolButton) BringToFront

func (t *TToolButton) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TToolButton) Caption

func (t *TToolButton) Caption() string

获取控件标题。

Get the control title.

func (*TToolButton) CheckMenuDropdown

func (t *TToolButton) CheckMenuDropdown() bool

func (*TToolButton) ClassName

func (t *TToolButton) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TToolButton) ClassType

func (t *TToolButton) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TToolButton) Click

func (t *TToolButton) Click()

单击。

func (*TToolButton) ClientHeight

func (t *TToolButton) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TToolButton) ClientOrigin

func (t *TToolButton) ClientOrigin() TPoint

func (*TToolButton) ClientRect

func (t *TToolButton) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TToolButton) ClientToParent

func (t *TToolButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TToolButton) ClientToScreen

func (t *TToolButton) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TToolButton) ClientWidth

func (t *TToolButton) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TToolButton) ComponentCount

func (t *TToolButton) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TToolButton) ComponentIndex

func (t *TToolButton) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TToolButton) Components

func (t *TToolButton) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TToolButton) Constraints

func (t *TToolButton) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TToolButton) ControlState

func (t *TToolButton) ControlState() TControlState

获取控件状态。

Get control state.

func (*TToolButton) ControlStyle

func (t *TToolButton) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TToolButton) Cursor

func (t *TToolButton) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TToolButton) Down

func (t *TToolButton) Down() bool

func (*TToolButton) DragCursor

func (t *TToolButton) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TToolButton) DragKind

func (t *TToolButton) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TToolButton) DragMode

func (t *TToolButton) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TToolButton) Dragging

func (t *TToolButton) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TToolButton) DropdownMenu

func (t *TToolButton) DropdownMenu() *TPopupMenu

func (*TToolButton) Enabled

func (t *TToolButton) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TToolButton) Equals

func (t *TToolButton) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TToolButton) FindComponent

func (t *TToolButton) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TToolButton) FixDesignFontsPPI

func (t *TToolButton) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TToolButton) Floating

func (t *TToolButton) Floating() bool

func (*TToolButton) Free

func (t *TToolButton) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TToolButton) GetHashCode

func (t *TToolButton) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TToolButton) GetNamePath

func (t *TToolButton) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TToolButton) GetTextBuf

func (t *TToolButton) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TToolButton) GetTextLen

func (t *TToolButton) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TToolButton) Grouped

func (t *TToolButton) Grouped() bool

func (*TToolButton) HasParent

func (t *TToolButton) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TToolButton) Height

func (t *TToolButton) Height() int32

获取高度。

Get height.

func (*TToolButton) Hide

func (t *TToolButton) Hide()

隐藏控件。

Hidden control.

func (*TToolButton) Hint

func (t *TToolButton) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TToolButton) ImageIndex

func (t *TToolButton) ImageIndex() int32

获取图像在images中的索引。

func (*TToolButton) Indeterminate

func (t *TToolButton) Indeterminate() bool

func (*TToolButton) Index

func (t *TToolButton) Index() int32

func (*TToolButton) InheritsFrom

func (t *TToolButton) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TToolButton) Instance

func (t *TToolButton) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TToolButton) InstanceSize

func (t *TToolButton) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TToolButton) Invalidate

func (t *TToolButton) Invalidate()

要求重绘。

Redraw.

func (*TToolButton) Is

func (t *TToolButton) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TToolButton) IsValid

func (t *TToolButton) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TToolButton) Left

func (t *TToolButton) Left() int32

获取左边位置。

Get Left position.

func (*TToolButton) Marked

func (t *TToolButton) Marked() bool

func (*TToolButton) Name

func (t *TToolButton) Name() string

获取组件名称。

Get the component name.

func (*TToolButton) Owner

func (t *TToolButton) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TToolButton) Parent

func (t *TToolButton) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TToolButton) ParentShowHint

func (t *TToolButton) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TToolButton) ParentToClient

func (t *TToolButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TToolButton) Perform

func (t *TToolButton) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TToolButton) PopupMenu

func (t *TToolButton) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TToolButton) Refresh

func (t *TToolButton) Refresh()

刷新控件。

Refresh control.

func (*TToolButton) Repaint

func (t *TToolButton) Repaint()

重绘。

Repaint.

func (*TToolButton) Scale96ToFont

func (t *TToolButton) Scale96ToFont(ASize int32) int32

func (*TToolButton) Scale96ToForm

func (t *TToolButton) Scale96ToForm(ASize int32) int32

func (*TToolButton) Scale96ToScreen

func (t *TToolButton) Scale96ToScreen(ASize int32) int32

func (*TToolButton) ScaleDesignToForm

func (t *TToolButton) ScaleDesignToForm(ASize int32) int32

func (*TToolButton) ScaleFontTo96

func (t *TToolButton) ScaleFontTo96(ASize int32) int32

func (*TToolButton) ScaleFontToScreen

func (t *TToolButton) ScaleFontToScreen(ASize int32) int32

func (*TToolButton) ScaleFontsPPI

func (t *TToolButton) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TToolButton) ScaleFormTo96

func (t *TToolButton) ScaleFormTo96(ASize int32) int32

func (*TToolButton) ScaleFormToDesign

func (t *TToolButton) ScaleFormToDesign(ASize int32) int32

func (*TToolButton) ScaleScreenTo96

func (t *TToolButton) ScaleScreenTo96(ASize int32) int32

func (*TToolButton) ScaleScreenToFont

func (t *TToolButton) ScaleScreenToFont(ASize int32) int32

func (*TToolButton) ScreenToClient

func (t *TToolButton) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TToolButton) SendToBack

func (t *TToolButton) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TToolButton) SetAction

func (t *TToolButton) SetAction(value IComponent)

func (*TToolButton) SetAlign

func (t *TToolButton) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TToolButton) SetAllowAllUp

func (t *TToolButton) SetAllowAllUp(value bool)

func (*TToolButton) SetAnchorSideBottom

func (t *TToolButton) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TToolButton) SetAnchorSideLeft

func (t *TToolButton) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TToolButton) SetAnchorSideRight

func (t *TToolButton) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TToolButton) SetAnchorSideTop

func (t *TToolButton) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TToolButton) SetAnchors

func (t *TToolButton) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TToolButton) SetAutoSize

func (t *TToolButton) SetAutoSize(value bool)

设置自动调整大小。

func (*TToolButton) SetBiDiMode

func (t *TToolButton) SetBiDiMode(value TBiDiMode)

func (*TToolButton) SetBorderSpacing

func (t *TToolButton) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TToolButton) SetBounds

func (t *TToolButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TToolButton) SetBoundsRect

func (t *TToolButton) SetBoundsRect(value TRect)

func (*TToolButton) SetCaption

func (t *TToolButton) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TToolButton) SetClientHeight

func (t *TToolButton) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TToolButton) SetClientWidth

func (t *TToolButton) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TToolButton) SetComponentIndex

func (t *TToolButton) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TToolButton) SetConstraints

func (t *TToolButton) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TToolButton) SetControlState

func (t *TToolButton) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TToolButton) SetControlStyle

func (t *TToolButton) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TToolButton) SetCursor

func (t *TToolButton) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TToolButton) SetDown

func (t *TToolButton) SetDown(value bool)

func (*TToolButton) SetDragCursor

func (t *TToolButton) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TToolButton) SetDragKind

func (t *TToolButton) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TToolButton) SetDragMode

func (t *TToolButton) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TToolButton) SetDropdownMenu

func (t *TToolButton) SetDropdownMenu(value IComponent)

func (*TToolButton) SetEnabled

func (t *TToolButton) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TToolButton) SetGrouped

func (t *TToolButton) SetGrouped(value bool)

func (*TToolButton) SetHeight

func (t *TToolButton) SetHeight(value int32)

设置高度。

Set height.

func (*TToolButton) SetHint

func (t *TToolButton) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TToolButton) SetImageIndex

func (t *TToolButton) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TToolButton) SetIndeterminate

func (t *TToolButton) SetIndeterminate(value bool)

func (*TToolButton) SetLeft

func (t *TToolButton) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TToolButton) SetMarked

func (t *TToolButton) SetMarked(value bool)

func (*TToolButton) SetName

func (t *TToolButton) SetName(value string)

设置组件名称。

Set the component name.

func (*TToolButton) SetOnClick

func (t *TToolButton) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TToolButton) SetOnContextPopup

func (t *TToolButton) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TToolButton) SetOnDragDrop

func (t *TToolButton) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TToolButton) SetOnDragOver

func (t *TToolButton) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TToolButton) SetOnEndDock

func (t *TToolButton) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TToolButton) SetOnEndDrag

func (t *TToolButton) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TToolButton) SetOnMouseDown

func (t *TToolButton) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TToolButton) SetOnMouseEnter

func (t *TToolButton) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TToolButton) SetOnMouseLeave

func (t *TToolButton) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TToolButton) SetOnMouseMove

func (t *TToolButton) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TToolButton) SetOnMouseUp

func (t *TToolButton) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TToolButton) SetOnStartDock

func (t *TToolButton) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TToolButton) SetParent

func (t *TToolButton) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TToolButton) SetParentShowHint

func (t *TToolButton) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TToolButton) SetPopupMenu

func (t *TToolButton) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TToolButton) SetShowHint

func (t *TToolButton) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TToolButton) SetStyle

func (t *TToolButton) SetStyle(value TToolButtonStyle)

func (*TToolButton) SetTag

func (t *TToolButton) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TToolButton) SetTextBuf

func (t *TToolButton) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TToolButton) SetTop

func (t *TToolButton) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TToolButton) SetVisible

func (t *TToolButton) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TToolButton) SetWidth

func (t *TToolButton) SetWidth(value int32)

设置宽度。

Set width.

func (*TToolButton) SetWrap

func (t *TToolButton) SetWrap(value bool)

func (*TToolButton) Show

func (t *TToolButton) Show()

显示控件。

Show control.

func (*TToolButton) ShowHint

func (t *TToolButton) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TToolButton) Style

func (t *TToolButton) Style() TToolButtonStyle

func (*TToolButton) Tag

func (t *TToolButton) Tag() int

获取对象标记。

Get the control tag.

func (*TToolButton) ToString

func (t *TToolButton) ToString() string

文本类信息。

Text information.

func (*TToolButton) Top

func (t *TToolButton) Top() int32

获取顶边位置。

Get Top position.

func (*TToolButton) UnsafeAddr

func (t *TToolButton) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TToolButton) Update

func (t *TToolButton) Update()

控件更新。

Update.

func (*TToolButton) Visible

func (t *TToolButton) Visible() bool

获取控件可视。

Get the control visible.

func (*TToolButton) Width

func (t *TToolButton) Width() int32

获取宽度。

Get width.

func (*TToolButton) Wrap

func (t *TToolButton) Wrap() bool

type TTrackBar

type TTrackBar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsTrackBar

func AsTrackBar(obj interface{}) *TTrackBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTrackBar

func NewTrackBar(owner IComponent) *TTrackBar

创建一个新的对象。

Create a new object.

func TrackBarFromInst

func TrackBarFromInst(inst uintptr) *TTrackBar

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTrackBar.

func TrackBarFromObj

func TrackBarFromObj(obj IObject) *TTrackBar

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTrackBar.

func TrackBarFromUnsafePointer

func TrackBarFromUnsafePointer(ptr unsafe.Pointer) *TTrackBar

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTrackBar.

func (*TTrackBar) Action

func (t *TTrackBar) Action() *TAction

func (*TTrackBar) Align

func (t *TTrackBar) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TTrackBar) AnchorAsAlign

func (t *TTrackBar) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TTrackBar) AnchorClient

func (t *TTrackBar) AnchorClient(ASpace int32)

func (*TTrackBar) AnchorHorizontalCenterTo

func (t *TTrackBar) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TTrackBar) AnchorParallel

func (t *TTrackBar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTrackBar) AnchorSame

func (t *TTrackBar) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TTrackBar) AnchorSide

func (t *TTrackBar) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TTrackBar) AnchorSideBottom

func (t *TTrackBar) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TTrackBar) AnchorSideLeft

func (t *TTrackBar) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TTrackBar) AnchorSideRight

func (t *TTrackBar) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TTrackBar) AnchorSideTop

func (t *TTrackBar) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TTrackBar) AnchorToNeighbour

func (t *TTrackBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTrackBar) AnchorVerticalCenterTo

func (t *TTrackBar) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TTrackBar) Anchors

func (t *TTrackBar) Anchors() TAnchors

获取四个角位置的锚点。

func (*TTrackBar) Assign

func (t *TTrackBar) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTrackBar) AutoAdjustLayout

func (t *TTrackBar) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TTrackBar) BiDiMode

func (t *TTrackBar) BiDiMode() TBiDiMode

func (*TTrackBar) BorderSpacing

func (t *TTrackBar) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TTrackBar) BorderWidth

func (t *TTrackBar) BorderWidth() int32

获取边框的宽度。

func (*TTrackBar) BoundsRect

func (t *TTrackBar) BoundsRect() TRect

func (*TTrackBar) BringToFront

func (t *TTrackBar) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TTrackBar) Brush

func (t *TTrackBar) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TTrackBar) CanFocus

func (t *TTrackBar) CanFocus() bool

是否可以获得焦点。

func (*TTrackBar) ChildSizing

func (t *TTrackBar) ChildSizing() *TControlChildSizing

func (*TTrackBar) ClassName

func (t *TTrackBar) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTrackBar) ClassType

func (t *TTrackBar) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTrackBar) ClientHeight

func (t *TTrackBar) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TTrackBar) ClientOrigin

func (t *TTrackBar) ClientOrigin() TPoint

func (*TTrackBar) ClientRect

func (t *TTrackBar) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TTrackBar) ClientToParent

func (t *TTrackBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TTrackBar) ClientToScreen

func (t *TTrackBar) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TTrackBar) ClientWidth

func (t *TTrackBar) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TTrackBar) ComponentCount

func (t *TTrackBar) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TTrackBar) ComponentIndex

func (t *TTrackBar) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TTrackBar) Components

func (t *TTrackBar) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TTrackBar) Constraints

func (t *TTrackBar) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TTrackBar) ContainsControl

func (t *TTrackBar) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TTrackBar) ControlAtPos

func (t *TTrackBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TTrackBar) ControlCount

func (t *TTrackBar) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TTrackBar) ControlState

func (t *TTrackBar) ControlState() TControlState

获取控件状态。

Get control state.

func (*TTrackBar) ControlStyle

func (t *TTrackBar) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TTrackBar) Controls

func (t *TTrackBar) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TTrackBar) Cursor

func (t *TTrackBar) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TTrackBar) DisableAlign

func (t *TTrackBar) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TTrackBar) DockClientCount

func (t *TTrackBar) DockClientCount() int32

获取依靠客户端总数。

func (*TTrackBar) DockClients

func (t *TTrackBar) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TTrackBar) DockSite

func (t *TTrackBar) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TTrackBar) DoubleBuffered

func (t *TTrackBar) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TTrackBar) DragCursor

func (t *TTrackBar) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TTrackBar) DragMode

func (t *TTrackBar) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TTrackBar) Dragging

func (t *TTrackBar) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TTrackBar) EnableAlign

func (t *TTrackBar) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TTrackBar) Enabled

func (t *TTrackBar) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TTrackBar) Equals

func (t *TTrackBar) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTrackBar) FindChildControl

func (t *TTrackBar) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TTrackBar) FindComponent

func (t *TTrackBar) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TTrackBar) FixDesignFontsPPI

func (t *TTrackBar) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TTrackBar) FlipChildren

func (t *TTrackBar) FlipChildren(AllLevels bool)

func (*TTrackBar) Floating

func (t *TTrackBar) Floating() bool

func (*TTrackBar) Focused

func (t *TTrackBar) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TTrackBar) Free

func (t *TTrackBar) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TTrackBar) Frequency

func (t *TTrackBar) Frequency() int32

func (*TTrackBar) GetHashCode

func (t *TTrackBar) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTrackBar) GetNamePath

func (t *TTrackBar) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTrackBar) GetTextBuf

func (t *TTrackBar) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TTrackBar) GetTextLen

func (t *TTrackBar) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TTrackBar) Handle

func (t *TTrackBar) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TTrackBar) HandleAllocated

func (t *TTrackBar) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TTrackBar) HasParent

func (t *TTrackBar) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TTrackBar) Height

func (t *TTrackBar) Height() int32

获取高度。

Get height.

func (*TTrackBar) Hide

func (t *TTrackBar) Hide()

隐藏控件。

Hidden control.

func (*TTrackBar) Hint

func (t *TTrackBar) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TTrackBar) InheritsFrom

func (t *TTrackBar) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTrackBar) InsertControl

func (t *TTrackBar) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TTrackBar) Instance

func (t *TTrackBar) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TTrackBar) InstanceSize

func (t *TTrackBar) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTrackBar) Invalidate

func (t *TTrackBar) Invalidate()

要求重绘。

Redraw.

func (*TTrackBar) Is

func (t *TTrackBar) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTrackBar) IsValid

func (t *TTrackBar) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTrackBar) Left

func (t *TTrackBar) Left() int32

获取左边位置。

Get Left position.

func (*TTrackBar) LineSize

func (t *TTrackBar) LineSize() int32

func (*TTrackBar) Max

func (t *TTrackBar) Max() int32

func (*TTrackBar) Min

func (t *TTrackBar) Min() int32

func (*TTrackBar) MouseInClient

func (t *TTrackBar) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TTrackBar) Name

func (t *TTrackBar) Name() string

获取组件名称。

Get the component name.

func (*TTrackBar) Orientation

func (t *TTrackBar) Orientation() TTrackBarOrientation

func (*TTrackBar) Owner

func (t *TTrackBar) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TTrackBar) PageSize

func (t *TTrackBar) PageSize() int32

func (*TTrackBar) PaintTo

func (t *TTrackBar) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TTrackBar) Parent

func (t *TTrackBar) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TTrackBar) ParentDoubleBuffered

func (t *TTrackBar) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TTrackBar) ParentShowHint

func (t *TTrackBar) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TTrackBar) ParentToClient

func (t *TTrackBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TTrackBar) ParentWindow

func (t *TTrackBar) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TTrackBar) Perform

func (t *TTrackBar) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TTrackBar) PopupMenu

func (t *TTrackBar) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TTrackBar) Position

func (t *TTrackBar) Position() int32

func (*TTrackBar) Realign

func (t *TTrackBar) Realign()

重新对齐。

Realign.

func (*TTrackBar) Refresh

func (t *TTrackBar) Refresh()

刷新控件。

Refresh control.

func (*TTrackBar) RemoveControl

func (t *TTrackBar) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TTrackBar) Repaint

func (t *TTrackBar) Repaint()

重绘。

Repaint.

func (*TTrackBar) Scale96ToFont

func (t *TTrackBar) Scale96ToFont(ASize int32) int32

func (*TTrackBar) Scale96ToForm

func (t *TTrackBar) Scale96ToForm(ASize int32) int32

func (*TTrackBar) Scale96ToScreen

func (t *TTrackBar) Scale96ToScreen(ASize int32) int32

func (*TTrackBar) ScaleBy

func (t *TTrackBar) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TTrackBar) ScaleDesignToForm

func (t *TTrackBar) ScaleDesignToForm(ASize int32) int32

func (*TTrackBar) ScaleFontTo96

func (t *TTrackBar) ScaleFontTo96(ASize int32) int32

func (*TTrackBar) ScaleFontToScreen

func (t *TTrackBar) ScaleFontToScreen(ASize int32) int32

func (*TTrackBar) ScaleFontsPPI

func (t *TTrackBar) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TTrackBar) ScaleFormTo96

func (t *TTrackBar) ScaleFormTo96(ASize int32) int32

func (*TTrackBar) ScaleFormToDesign

func (t *TTrackBar) ScaleFormToDesign(ASize int32) int32

func (*TTrackBar) ScaleScreenTo96

func (t *TTrackBar) ScaleScreenTo96(ASize int32) int32

func (*TTrackBar) ScaleScreenToFont

func (t *TTrackBar) ScaleScreenToFont(ASize int32) int32

func (*TTrackBar) ScreenToClient

func (t *TTrackBar) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TTrackBar) ScrollBy

func (t *TTrackBar) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TTrackBar) SelEnd

func (t *TTrackBar) SelEnd() int32

func (*TTrackBar) SelStart

func (t *TTrackBar) SelStart() int32

获取选择的启始位置。

func (*TTrackBar) SendToBack

func (t *TTrackBar) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TTrackBar) SetAction

func (t *TTrackBar) SetAction(value IComponent)

func (*TTrackBar) SetAlign

func (t *TTrackBar) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TTrackBar) SetAnchorSideBottom

func (t *TTrackBar) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TTrackBar) SetAnchorSideLeft

func (t *TTrackBar) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TTrackBar) SetAnchorSideRight

func (t *TTrackBar) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TTrackBar) SetAnchorSideTop

func (t *TTrackBar) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TTrackBar) SetAnchors

func (t *TTrackBar) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TTrackBar) SetBiDiMode

func (t *TTrackBar) SetBiDiMode(value TBiDiMode)

func (*TTrackBar) SetBorderSpacing

func (t *TTrackBar) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TTrackBar) SetBorderWidth

func (t *TTrackBar) SetBorderWidth(value int32)

设置边框的宽度。

func (*TTrackBar) SetBounds

func (t *TTrackBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TTrackBar) SetBoundsRect

func (t *TTrackBar) SetBoundsRect(value TRect)

func (*TTrackBar) SetChildSizing

func (t *TTrackBar) SetChildSizing(value *TControlChildSizing)

func (*TTrackBar) SetClientHeight

func (t *TTrackBar) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TTrackBar) SetClientWidth

func (t *TTrackBar) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TTrackBar) SetComponentIndex

func (t *TTrackBar) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TTrackBar) SetConstraints

func (t *TTrackBar) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TTrackBar) SetControlState

func (t *TTrackBar) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TTrackBar) SetControlStyle

func (t *TTrackBar) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TTrackBar) SetCursor

func (t *TTrackBar) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TTrackBar) SetDockSite

func (t *TTrackBar) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TTrackBar) SetDoubleBuffered

func (t *TTrackBar) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TTrackBar) SetDragCursor

func (t *TTrackBar) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TTrackBar) SetDragMode

func (t *TTrackBar) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TTrackBar) SetEnabled

func (t *TTrackBar) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TTrackBar) SetFocus

func (t *TTrackBar) SetFocus()

设置控件焦点。

Set control focus.

func (*TTrackBar) SetFrequency

func (t *TTrackBar) SetFrequency(value int32)

func (*TTrackBar) SetHeight

func (t *TTrackBar) SetHeight(value int32)

设置高度。

Set height.

func (*TTrackBar) SetHint

func (t *TTrackBar) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TTrackBar) SetLeft

func (t *TTrackBar) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TTrackBar) SetLineSize

func (t *TTrackBar) SetLineSize(value int32)

func (*TTrackBar) SetMax

func (t *TTrackBar) SetMax(value int32)

func (*TTrackBar) SetMin

func (t *TTrackBar) SetMin(value int32)

func (*TTrackBar) SetName

func (t *TTrackBar) SetName(value string)

设置组件名称。

Set the component name.

func (*TTrackBar) SetOnChange

func (t *TTrackBar) SetOnChange(fn TNotifyEvent)

设置改变事件。

Set changed event.

func (*TTrackBar) SetOnContextPopup

func (t *TTrackBar) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TTrackBar) SetOnDragDrop

func (t *TTrackBar) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TTrackBar) SetOnDragOver

func (t *TTrackBar) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TTrackBar) SetOnEndDrag

func (t *TTrackBar) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TTrackBar) SetOnEnter

func (t *TTrackBar) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TTrackBar) SetOnExit

func (t *TTrackBar) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TTrackBar) SetOnKeyDown

func (t *TTrackBar) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TTrackBar) SetOnKeyPress

func (t *TTrackBar) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TTrackBar) SetOnKeyUp

func (t *TTrackBar) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TTrackBar) SetOrientation

func (t *TTrackBar) SetOrientation(value TTrackBarOrientation)

func (*TTrackBar) SetPageSize

func (t *TTrackBar) SetPageSize(value int32)

func (*TTrackBar) SetParent

func (t *TTrackBar) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TTrackBar) SetParentDoubleBuffered

func (t *TTrackBar) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TTrackBar) SetParentShowHint

func (t *TTrackBar) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TTrackBar) SetParentWindow

func (t *TTrackBar) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TTrackBar) SetPopupMenu

func (t *TTrackBar) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TTrackBar) SetPosition

func (t *TTrackBar) SetPosition(value int32)

func (*TTrackBar) SetSelEnd

func (t *TTrackBar) SetSelEnd(value int32)

func (*TTrackBar) SetSelStart

func (t *TTrackBar) SetSelStart(value int32)

设置选择的启始位置。

func (*TTrackBar) SetShowHint

func (t *TTrackBar) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TTrackBar) SetShowSelRange

func (t *TTrackBar) SetShowSelRange(value bool)

func (*TTrackBar) SetTabOrder

func (t *TTrackBar) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TTrackBar) SetTabStop

func (t *TTrackBar) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TTrackBar) SetTag

func (t *TTrackBar) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TTrackBar) SetTextBuf

func (t *TTrackBar) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TTrackBar) SetTick

func (t *TTrackBar) SetTick(Value int32)

func (*TTrackBar) SetTickMarks

func (t *TTrackBar) SetTickMarks(value TTickMark)

func (*TTrackBar) SetTickStyle

func (t *TTrackBar) SetTickStyle(value TTickStyle)

func (*TTrackBar) SetTop

func (t *TTrackBar) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TTrackBar) SetUseDockManager

func (t *TTrackBar) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TTrackBar) SetVisible

func (t *TTrackBar) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TTrackBar) SetWidth

func (t *TTrackBar) SetWidth(value int32)

设置宽度。

Set width.

func (*TTrackBar) Show

func (t *TTrackBar) Show()

显示控件。

Show control.

func (*TTrackBar) ShowHint

func (t *TTrackBar) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TTrackBar) ShowSelRange

func (t *TTrackBar) ShowSelRange() bool

func (*TTrackBar) Showing

func (t *TTrackBar) Showing() bool

func (*TTrackBar) TabOrder

func (t *TTrackBar) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TTrackBar) TabStop

func (t *TTrackBar) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TTrackBar) Tag

func (t *TTrackBar) Tag() int

获取对象标记。

Get the control tag.

func (*TTrackBar) TickMarks

func (t *TTrackBar) TickMarks() TTickMark

func (*TTrackBar) TickStyle

func (t *TTrackBar) TickStyle() TTickStyle

func (*TTrackBar) ToString

func (t *TTrackBar) ToString() string

文本类信息。

Text information.

func (*TTrackBar) Top

func (t *TTrackBar) Top() int32

获取顶边位置。

Get Top position.

func (*TTrackBar) UnsafeAddr

func (t *TTrackBar) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TTrackBar) Update

func (t *TTrackBar) Update()

控件更新。

Update.

func (*TTrackBar) UseDockManager

func (t *TTrackBar) UseDockManager() bool

获取使用停靠管理。

func (*TTrackBar) Visible

func (t *TTrackBar) Visible() bool

获取控件可视。

Get the control visible.

func (*TTrackBar) VisibleDockClientCount

func (t *TTrackBar) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TTrackBar) Width

func (t *TTrackBar) Width() int32

获取宽度。

Get width.

type TTrayIcon

type TTrayIcon struct {
	IComponent
	// contains filtered or unexported fields
}

func AsTrayIcon

func AsTrayIcon(obj interface{}) *TTrayIcon

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTrayIcon

func NewTrayIcon(owner IComponent) *TTrayIcon

创建一个新的对象。

Create a new object.

func TrayIconFromInst

func TrayIconFromInst(inst uintptr) *TTrayIcon

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTrayIcon.

func TrayIconFromObj

func TrayIconFromObj(obj IObject) *TTrayIcon

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTrayIcon.

func TrayIconFromUnsafePointer

func TrayIconFromUnsafePointer(ptr unsafe.Pointer) *TTrayIcon

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTrayIcon.

func (*TTrayIcon) AnimateInterval

func (t *TTrayIcon) AnimateInterval() uint32

func (*TTrayIcon) Assign

func (t *TTrayIcon) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTrayIcon) BalloonFlags

func (t *TTrayIcon) BalloonFlags() TBalloonFlags

func (*TTrayIcon) BalloonHint

func (t *TTrayIcon) BalloonHint() string

func (*TTrayIcon) BalloonTimeout

func (t *TTrayIcon) BalloonTimeout() int32

func (*TTrayIcon) BalloonTitle

func (t *TTrayIcon) BalloonTitle() string

func (*TTrayIcon) ClassName

func (t *TTrayIcon) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTrayIcon) ClassType

func (t *TTrayIcon) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTrayIcon) ComponentCount

func (t *TTrayIcon) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TTrayIcon) ComponentIndex

func (t *TTrayIcon) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TTrayIcon) Components

func (t *TTrayIcon) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TTrayIcon) Equals

func (t *TTrayIcon) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTrayIcon) FindComponent

func (t *TTrayIcon) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TTrayIcon) Free

func (t *TTrayIcon) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TTrayIcon) GetHashCode

func (t *TTrayIcon) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTrayIcon) GetNamePath

func (t *TTrayIcon) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTrayIcon) HasParent

func (t *TTrayIcon) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TTrayIcon) Hint

func (t *TTrayIcon) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TTrayIcon) Icon

func (t *TTrayIcon) Icon() *TIcon

获取图标。

Get icon.

func (*TTrayIcon) InheritsFrom

func (t *TTrayIcon) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTrayIcon) Instance

func (t *TTrayIcon) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TTrayIcon) InstanceSize

func (t *TTrayIcon) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTrayIcon) Is

func (t *TTrayIcon) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTrayIcon) IsValid

func (t *TTrayIcon) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTrayIcon) Name

func (t *TTrayIcon) Name() string

获取组件名称。

Get the component name.

func (*TTrayIcon) Owner

func (t *TTrayIcon) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TTrayIcon) PopupMenu

func (t *TTrayIcon) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TTrayIcon) SetAnimateInterval

func (t *TTrayIcon) SetAnimateInterval(value uint32)

func (*TTrayIcon) SetBalloonFlags

func (t *TTrayIcon) SetBalloonFlags(value TBalloonFlags)

func (*TTrayIcon) SetBalloonHint

func (t *TTrayIcon) SetBalloonHint(value string)

func (*TTrayIcon) SetBalloonTimeout

func (t *TTrayIcon) SetBalloonTimeout(value int32)

func (*TTrayIcon) SetBalloonTitle

func (t *TTrayIcon) SetBalloonTitle(value string)

func (*TTrayIcon) SetComponentIndex

func (t *TTrayIcon) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TTrayIcon) SetHint

func (t *TTrayIcon) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TTrayIcon) SetIcon

func (t *TTrayIcon) SetIcon(value *TIcon)

设置图标。

Set icon.

func (*TTrayIcon) SetName

func (t *TTrayIcon) SetName(value string)

设置组件名称。

Set the component name.

func (*TTrayIcon) SetOnClick

func (t *TTrayIcon) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TTrayIcon) SetOnDblClick

func (t *TTrayIcon) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TTrayIcon) SetOnMouseDown

func (t *TTrayIcon) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TTrayIcon) SetOnMouseMove

func (t *TTrayIcon) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TTrayIcon) SetOnMouseUp

func (t *TTrayIcon) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TTrayIcon) SetPopupMenu

func (t *TTrayIcon) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TTrayIcon) SetTag

func (t *TTrayIcon) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TTrayIcon) SetVisible

func (t *TTrayIcon) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TTrayIcon) ShowBalloonHint

func (t *TTrayIcon) ShowBalloonHint()

func (*TTrayIcon) Tag

func (t *TTrayIcon) Tag() int

获取对象标记。

Get the control tag.

func (*TTrayIcon) ToString

func (t *TTrayIcon) ToString() string

文本类信息。

Text information.

func (*TTrayIcon) UnsafeAddr

func (t *TTrayIcon) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TTrayIcon) Visible

func (t *TTrayIcon) Visible() bool

获取控件可视。

Get the control visible.

type TTreeNode

type TTreeNode struct {
	IObject
	// contains filtered or unexported fields
}

func AsTreeNode

func AsTreeNode(obj interface{}) *TTreeNode

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTreeNode

func NewTreeNode(AOwner *TTreeNodes) *TTreeNode

创建一个新的对象。

Create a new object.

func TreeNodeFromInst

func TreeNodeFromInst(inst uintptr) *TTreeNode

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTreeNode.

func TreeNodeFromObj

func TreeNodeFromObj(obj IObject) *TTreeNode

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTreeNode.

func TreeNodeFromUnsafePointer

func TreeNodeFromUnsafePointer(ptr unsafe.Pointer) *TTreeNode

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTreeNode.

func (*TTreeNode) AbsoluteIndex

func (t *TTreeNode) AbsoluteIndex() int32

func (*TTreeNode) Assign

func (t *TTreeNode) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTreeNode) Bottom

func (t *TTreeNode) Bottom() int32

func (*TTreeNode) BottomExpanded

func (t *TTreeNode) BottomExpanded() int32

func (*TTreeNode) ClassName

func (t *TTreeNode) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTreeNode) ClassType

func (t *TTreeNode) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTreeNode) Collapse

func (t *TTreeNode) Collapse(Recurse bool)

func (*TTreeNode) ConsistencyCheck

func (t *TTreeNode) ConsistencyCheck()

func (*TTreeNode) Count

func (t *TTreeNode) Count() int32

func (*TTreeNode) CustomSort

func (t *TTreeNode) CustomSort(SortProc PFNTVCOMPARE, Data int, ARecurse bool) bool

func (*TTreeNode) Cut

func (t *TTreeNode) Cut() bool

func (*TTreeNode) Data

func (t *TTreeNode) Data() unsafe.Pointer

func (*TTreeNode) DefaultTreeViewSort

func (t *TTreeNode) DefaultTreeViewSort(Node1 *TTreeNode, Node2 *TTreeNode) int32

func (*TTreeNode) Delete

func (t *TTreeNode) Delete()

func (*TTreeNode) DeleteChildren

func (t *TTreeNode) DeleteChildren()

func (*TTreeNode) Deleting

func (t *TTreeNode) Deleting() bool

func (*TTreeNode) DisplayExpandSignLeft

func (t *TTreeNode) DisplayExpandSignLeft() int32

func (*TTreeNode) DisplayExpandSignRect

func (t *TTreeNode) DisplayExpandSignRect() TRect

func (*TTreeNode) DisplayExpandSignRight

func (t *TTreeNode) DisplayExpandSignRight() int32

func (*TTreeNode) DisplayIconLeft

func (t *TTreeNode) DisplayIconLeft() int32

func (*TTreeNode) DisplayRect

func (t *TTreeNode) DisplayRect(TextOnly bool) TRect

func (*TTreeNode) DisplayStateIconLeft

func (t *TTreeNode) DisplayStateIconLeft() int32

func (*TTreeNode) DisplayTextLeft

func (t *TTreeNode) DisplayTextLeft() int32

func (*TTreeNode) DisplayTextRight

func (t *TTreeNode) DisplayTextRight() int32

func (*TTreeNode) DropTarget

func (t *TTreeNode) DropTarget() bool

func (*TTreeNode) EditText

func (t *TTreeNode) EditText() bool

func (*TTreeNode) EndEdit

func (t *TTreeNode) EndEdit(Cancel bool)

func (*TTreeNode) Equals

func (t *TTreeNode) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTreeNode) Expand

func (t *TTreeNode) Expand(Recurse bool)

func (*TTreeNode) ExpandParents

func (t *TTreeNode) ExpandParents()

func (*TTreeNode) Expanded

func (t *TTreeNode) Expanded() bool

func (*TTreeNode) FindNode

func (t *TTreeNode) FindNode(NodeText string) *TTreeNode

func (*TTreeNode) Focused

func (t *TTreeNode) Focused() bool

获取返回是否获取焦点。

Get Return to get focus.

func (*TTreeNode) Free

func (t *TTreeNode) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TTreeNode) FreeAllNodeData

func (t *TTreeNode) FreeAllNodeData()

func (*TTreeNode) GetFirstChild

func (t *TTreeNode) GetFirstChild() *TTreeNode

func (*TTreeNode) GetFirstVisibleChild

func (t *TTreeNode) GetFirstVisibleChild() *TTreeNode

func (*TTreeNode) GetHashCode

func (t *TTreeNode) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTreeNode) GetLastChild

func (t *TTreeNode) GetLastChild() *TTreeNode

func (*TTreeNode) GetLastSibling

func (t *TTreeNode) GetLastSibling() *TTreeNode

func (*TTreeNode) GetLastSubChild

func (t *TTreeNode) GetLastSubChild() *TTreeNode

func (*TTreeNode) GetLastVisibleChild

func (t *TTreeNode) GetLastVisibleChild() *TTreeNode

func (*TTreeNode) GetNamePath

func (t *TTreeNode) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTreeNode) GetNext

func (t *TTreeNode) GetNext() *TTreeNode

func (*TTreeNode) GetNextChild

func (t *TTreeNode) GetNextChild(AValue *TTreeNode) *TTreeNode

func (*TTreeNode) GetNextExpanded

func (t *TTreeNode) GetNextExpanded() *TTreeNode

func (*TTreeNode) GetNextMultiSelected

func (t *TTreeNode) GetNextMultiSelected() *TTreeNode

func (*TTreeNode) GetNextSibling

func (t *TTreeNode) GetNextSibling() *TTreeNode

func (*TTreeNode) GetNextSkipChildren

func (t *TTreeNode) GetNextSkipChildren() *TTreeNode

func (*TTreeNode) GetNextVisible

func (t *TTreeNode) GetNextVisible() *TTreeNode

func (*TTreeNode) GetNextVisibleSibling

func (t *TTreeNode) GetNextVisibleSibling() *TTreeNode

func (*TTreeNode) GetParentNodeOfAbsoluteLevel

func (t *TTreeNode) GetParentNodeOfAbsoluteLevel(TheAbsoluteLevel int32) *TTreeNode

func (*TTreeNode) GetPrev

func (t *TTreeNode) GetPrev() *TTreeNode

func (*TTreeNode) GetPrevChild

func (t *TTreeNode) GetPrevChild(AValue *TTreeNode) *TTreeNode

func (*TTreeNode) GetPrevExpanded

func (t *TTreeNode) GetPrevExpanded() *TTreeNode

func (*TTreeNode) GetPrevMultiSelected

func (t *TTreeNode) GetPrevMultiSelected() *TTreeNode

func (*TTreeNode) GetPrevSibling

func (t *TTreeNode) GetPrevSibling() *TTreeNode

func (*TTreeNode) GetPrevVisible

func (t *TTreeNode) GetPrevVisible() *TTreeNode

func (*TTreeNode) GetPrevVisibleSibling

func (t *TTreeNode) GetPrevVisibleSibling() *TTreeNode

func (*TTreeNode) GetTextPath

func (t *TTreeNode) GetTextPath() string

func (*TTreeNode) Handle

func (t *TTreeNode) Handle() uintptr

获取控件句柄。

Get Control handle.

func (*TTreeNode) HasAsParent

func (t *TTreeNode) HasAsParent(AValue *TTreeNode) bool

func (*TTreeNode) HasChildren

func (t *TTreeNode) HasChildren() bool

func (*TTreeNode) Height

func (t *TTreeNode) Height() int32

获取高度。

Get height.

func (*TTreeNode) ImageIndex

func (t *TTreeNode) ImageIndex() int32

获取图像在images中的索引。

func (*TTreeNode) Index

func (t *TTreeNode) Index() int32

func (*TTreeNode) IndexOf

func (t *TTreeNode) IndexOf(AValue *TTreeNode) int32

func (*TTreeNode) IndexOfText

func (t *TTreeNode) IndexOfText(NodeText string) int32

func (*TTreeNode) InheritsFrom

func (t *TTreeNode) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTreeNode) Instance

func (t *TTreeNode) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TTreeNode) InstanceSize

func (t *TTreeNode) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTreeNode) Is

func (t *TTreeNode) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTreeNode) IsFullHeightVisible

func (t *TTreeNode) IsFullHeightVisible() bool

func (*TTreeNode) IsValid

func (t *TTreeNode) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTreeNode) IsVisible

func (t *TTreeNode) IsVisible() bool

func (*TTreeNode) Item

func (t *TTreeNode) Item(Index int32) *TTreeNode

func (*TTreeNode) Items

func (t *TTreeNode) Items(ItemIndex int32) *TTreeNode

func (*TTreeNode) Level

func (t *TTreeNode) Level() int32

func (*TTreeNode) MakeVisible

func (t *TTreeNode) MakeVisible()

func (*TTreeNode) MoveTo

func (t *TTreeNode) MoveTo(Destination *TTreeNode, Mode TNodeAttachMode)

func (*TTreeNode) MultiSelectGroup

func (t *TTreeNode) MultiSelectGroup()

func (*TTreeNode) MultiSelected

func (t *TTreeNode) MultiSelected() bool

func (*TTreeNode) OverlayIndex

func (t *TTreeNode) OverlayIndex() int32

func (*TTreeNode) Owner

func (t *TTreeNode) Owner() *TTreeNodes

获取组件所有者。

Get component owner.

func (*TTreeNode) Parent

func (t *TTreeNode) Parent() *TTreeNode

获取控件父容器。

Get control parent container.

func (*TTreeNode) Selected

func (t *TTreeNode) Selected() bool

func (*TTreeNode) SelectedIndex

func (t *TTreeNode) SelectedIndex() int32

func (*TTreeNode) SetCut

func (t *TTreeNode) SetCut(value bool)

func (*TTreeNode) SetData

func (t *TTreeNode) SetData(value unsafe.Pointer)

func (*TTreeNode) SetDropTarget

func (t *TTreeNode) SetDropTarget(value bool)

func (*TTreeNode) SetExpanded

func (t *TTreeNode) SetExpanded(value bool)

func (*TTreeNode) SetFocused

func (t *TTreeNode) SetFocused(value bool)

设置返回是否获取焦点。

Set Return to get focus.

func (*TTreeNode) SetHasChildren

func (t *TTreeNode) SetHasChildren(value bool)

func (*TTreeNode) SetHeight

func (t *TTreeNode) SetHeight(value int32)

设置高度。

Set height.

func (*TTreeNode) SetImageIndex

func (t *TTreeNode) SetImageIndex(value int32)

设置图像在images中的索引。

func (*TTreeNode) SetIndex

func (t *TTreeNode) SetIndex(value int32)

func (*TTreeNode) SetItem

func (t *TTreeNode) SetItem(Index int32, value *TTreeNode)

func (*TTreeNode) SetItems

func (t *TTreeNode) SetItems(ItemIndex int32, value *TTreeNode)

func (*TTreeNode) SetMultiSelected

func (t *TTreeNode) SetMultiSelected(value bool)

func (*TTreeNode) SetOverlayIndex

func (t *TTreeNode) SetOverlayIndex(value int32)

func (*TTreeNode) SetSelected

func (t *TTreeNode) SetSelected(value bool)

func (*TTreeNode) SetSelectedIndex

func (t *TTreeNode) SetSelectedIndex(value int32)

func (*TTreeNode) SetStateIndex

func (t *TTreeNode) SetStateIndex(value int32)

func (*TTreeNode) SetText

func (t *TTreeNode) SetText(value string)

设置文本。

func (*TTreeNode) SetVisible

func (t *TTreeNode) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TTreeNode) StateIndex

func (t *TTreeNode) StateIndex() int32

func (*TTreeNode) SubTreeCount

func (t *TTreeNode) SubTreeCount() int32

func (*TTreeNode) Text

func (t *TTreeNode) Text() string

获取文本。

func (*TTreeNode) ToString

func (t *TTreeNode) ToString() string

文本类信息。

Text information.

func (*TTreeNode) Top

func (t *TTreeNode) Top() int32

获取顶边位置。

Get Top position.

func (*TTreeNode) TreeNodes

func (t *TTreeNode) TreeNodes() *TTreeNodes

func (*TTreeNode) TreeView

func (t *TTreeNode) TreeView() *TWinControl

func (*TTreeNode) UnsafeAddr

func (t *TTreeNode) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TTreeNode) Update

func (t *TTreeNode) Update()

控件更新。

Update.

func (*TTreeNode) Visible

func (t *TTreeNode) Visible() bool

获取控件可视。

Get the control visible.

func (*TTreeNode) WriteDebugReport

func (t *TTreeNode) WriteDebugReport(Prefix string, Recurse bool)

type TTreeNodes

type TTreeNodes struct {
	IObject
	// contains filtered or unexported fields
}

func AsTreeNodes

func AsTreeNodes(obj interface{}) *TTreeNodes

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTreeNodes

func NewTreeNodes(AOwner *TTreeView) *TTreeNodes

创建一个新的对象。

Create a new object.

func TreeNodesFromInst

func TreeNodesFromInst(inst uintptr) *TTreeNodes

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTreeNodes.

func TreeNodesFromObj

func TreeNodesFromObj(obj IObject) *TTreeNodes

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTreeNodes.

func TreeNodesFromUnsafePointer

func TreeNodesFromUnsafePointer(ptr unsafe.Pointer) *TTreeNodes

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTreeNodes.

func (*TTreeNodes) Add

func (t *TTreeNodes) Add(Sibling *TTreeNode, S string) *TTreeNode

func (*TTreeNodes) AddChild

func (t *TTreeNodes) AddChild(Parent *TTreeNode, S string) *TTreeNode

func (*TTreeNodes) AddChildFirst

func (t *TTreeNodes) AddChildFirst(Parent *TTreeNode, S string) *TTreeNode

func (*TTreeNodes) AddChildObject

func (t *TTreeNodes) AddChildObject(Parent *TTreeNode, S string, Ptr uintptr) *TTreeNode

func (*TTreeNodes) AddChildObjectFirst

func (t *TTreeNodes) AddChildObjectFirst(Parent *TTreeNode, S string, Ptr uintptr) *TTreeNode

func (*TTreeNodes) AddFirst

func (t *TTreeNodes) AddFirst(Sibling *TTreeNode, S string) *TTreeNode

func (*TTreeNodes) AddNode

func (t *TTreeNodes) AddNode(Node *TTreeNode, Relative *TTreeNode, S string, Ptr uintptr, Method TNodeAttachMode) *TTreeNode

func (*TTreeNodes) AddObject

func (t *TTreeNodes) AddObject(Sibling *TTreeNode, S string, Ptr uintptr) *TTreeNode

func (*TTreeNodes) AddObjectFirst

func (t *TTreeNodes) AddObjectFirst(Sibling *TTreeNode, S string, Ptr uintptr) *TTreeNode

func (*TTreeNodes) Assign

func (t *TTreeNodes) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTreeNodes) BeginUpdate

func (t *TTreeNodes) BeginUpdate()

func (*TTreeNodes) ClassName

func (t *TTreeNodes) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTreeNodes) ClassType

func (t *TTreeNodes) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTreeNodes) Clear

func (t *TTreeNodes) Clear()

清除。

func (*TTreeNodes) Count

func (t *TTreeNodes) Count() int32

func (*TTreeNodes) CustomSort

func (t *TTreeNodes) CustomSort(SortProc PFNTVCOMPARE, Data int, ARecurse bool) bool

func (*TTreeNodes) Delete

func (t *TTreeNodes) Delete(Node *TTreeNode)

func (*TTreeNodes) EndUpdate

func (t *TTreeNodes) EndUpdate()

func (*TTreeNodes) Equals

func (t *TTreeNodes) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTreeNodes) Free

func (t *TTreeNodes) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TTreeNodes) GetFirstNode

func (t *TTreeNodes) GetFirstNode() *TTreeNode

func (*TTreeNodes) GetHashCode

func (t *TTreeNodes) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTreeNodes) GetNamePath

func (t *TTreeNodes) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTreeNodes) InheritsFrom

func (t *TTreeNodes) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTreeNodes) Insert

func (t *TTreeNodes) Insert(Sibling *TTreeNode, S string) *TTreeNode

func (*TTreeNodes) InsertObject

func (t *TTreeNodes) InsertObject(Sibling *TTreeNode, S string, Ptr uintptr) *TTreeNode

func (*TTreeNodes) Instance

func (t *TTreeNodes) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TTreeNodes) InstanceSize

func (t *TTreeNodes) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTreeNodes) Is

func (t *TTreeNodes) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTreeNodes) IsValid

func (t *TTreeNodes) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTreeNodes) Item

func (t *TTreeNodes) Item(Index int32) *TTreeNode

func (*TTreeNodes) Owner

func (t *TTreeNodes) Owner() *TWinControl

获取组件所有者。

Get component owner.

func (*TTreeNodes) ToString

func (t *TTreeNodes) ToString() string

文本类信息。

Text information.

func (*TTreeNodes) UnsafeAddr

func (t *TTreeNodes) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

type TTreeView

type TTreeView struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsTreeView

func AsTreeView(obj interface{}) *TTreeView

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTreeView

func NewTreeView(owner IComponent) *TTreeView

创建一个新的对象。

Create a new object.

func TreeViewFromInst

func TreeViewFromInst(inst uintptr) *TTreeView

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsTreeView.

func TreeViewFromObj

func TreeViewFromObj(obj IObject) *TTreeView

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsTreeView.

func TreeViewFromUnsafePointer

func TreeViewFromUnsafePointer(ptr unsafe.Pointer) *TTreeView

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTreeView.

func (*TTreeView) Action

func (t *TTreeView) Action() *TAction

func (*TTreeView) Align

func (t *TTreeView) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TTreeView) AlphaSort

func (t *TTreeView) AlphaSort(ARecurse bool) bool

按字母排序,所有都参数无效,仅仅用来兼容Delphi的。

Sorted alphabetically, all parameters are invalid, Only used to be compatible with Delphi.

func (*TTreeView) AnchorAsAlign

func (t *TTreeView) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TTreeView) AnchorClient

func (t *TTreeView) AnchorClient(ASpace int32)

func (*TTreeView) AnchorHorizontalCenterTo

func (t *TTreeView) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TTreeView) AnchorParallel

func (t *TTreeView) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTreeView) AnchorSame

func (t *TTreeView) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TTreeView) AnchorSide

func (t *TTreeView) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TTreeView) AnchorSideBottom

func (t *TTreeView) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TTreeView) AnchorSideLeft

func (t *TTreeView) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TTreeView) AnchorSideRight

func (t *TTreeView) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TTreeView) AnchorSideTop

func (t *TTreeView) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TTreeView) AnchorToNeighbour

func (t *TTreeView) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTreeView) AnchorVerticalCenterTo

func (t *TTreeView) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TTreeView) Anchors

func (t *TTreeView) Anchors() TAnchors

获取四个角位置的锚点。

func (*TTreeView) Assign

func (t *TTreeView) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTreeView) AutoAdjustLayout

func (t *TTreeView) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TTreeView) AutoExpand

func (t *TTreeView) AutoExpand() bool

func (*TTreeView) BiDiMode

func (t *TTreeView) BiDiMode() TBiDiMode

func (*TTreeView) BorderSpacing

func (t *TTreeView) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TTreeView) BorderStyle

func (t *TTreeView) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TTreeView) BorderWidth

func (t *TTreeView) BorderWidth() int32

获取边框的宽度。

func (*TTreeView) BoundsRect

func (t *TTreeView) BoundsRect() TRect

func (*TTreeView) BringToFront

func (t *TTreeView) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TTreeView) Brush

func (t *TTreeView) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TTreeView) CanFocus

func (t *TTreeView) CanFocus() bool

是否可以获得焦点。

func (*TTreeView) Canvas

func (t *TTreeView) Canvas() *TCanvas

获取画布。

func (*TTreeView) ChildSizing

func (t *TTreeView) ChildSizing() *TControlChildSizing

func (*TTreeView) ClassName

func (t *TTreeView) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TTreeView) ClassType

func (t *TTreeView) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TTreeView) ClearSelection

func (t *TTreeView) ClearSelection(KeepPrimary bool)

清除选择。

func (*TTreeView) ClientHeight

func (t *TTreeView) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TTreeView) ClientOrigin

func (t *TTreeView) ClientOrigin() TPoint

func (*TTreeView) ClientRect

func (t *TTreeView) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TTreeView) ClientToParent

func (t *TTreeView) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TTreeView) ClientToScreen

func (t *TTreeView) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TTreeView) ClientWidth

func (t *TTreeView) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TTreeView) Color

func (t *TTreeView) Color() TColor

获取颜色。

Get color.

func (*TTreeView) ComponentCount

func (t *TTreeView) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TTreeView) ComponentIndex

func (t *TTreeView) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TTreeView) Components

func (t *TTreeView) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TTreeView) Constraints

func (t *TTreeView) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TTreeView) ContainsControl

func (t *TTreeView) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TTreeView) ControlAtPos

func (t *TTreeView) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TTreeView) ControlCount

func (t *TTreeView) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TTreeView) ControlState

func (t *TTreeView) ControlState() TControlState

获取控件状态。

Get control state.

func (*TTreeView) ControlStyle

func (t *TTreeView) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TTreeView) Controls

func (t *TTreeView) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TTreeView) Cursor

func (t *TTreeView) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TTreeView) CustomSort

func (t *TTreeView) CustomSort(SortProc PFNTVCOMPARE, Data int, ARecurse bool) bool

自定义排序,所有都参数无效,仅仅用来兼容Delphi的。

Custom sorting, All parameters are invalid, Only used to be compatible with Delphi.

func (*TTreeView) DefaultItemHeight

func (t *TTreeView) DefaultItemHeight() int32

func (*TTreeView) DisableAlign

func (t *TTreeView) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TTreeView) DockClientCount

func (t *TTreeView) DockClientCount() int32

获取依靠客户端总数。

func (*TTreeView) DockClients

func (t *TTreeView) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TTreeView) DockSite

func (t *TTreeView) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TTreeView) DoubleBuffered

func (t *TTreeView) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TTreeView) DragCursor

func (t *TTreeView) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TTreeView) DragKind

func (t *TTreeView) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TTreeView) DragMode

func (t *TTreeView) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TTreeView) Dragging

func (t *TTreeView) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TTreeView) DropTarget

func (t *TTreeView) DropTarget() *TTreeNode

func (*TTreeView) EnableAlign

func (t *TTreeView) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TTreeView) Enabled

func (t *TTreeView) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TTreeView) Equals

func (t *TTreeView) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TTreeView) ExpandSignColor

func (t *TTreeView) ExpandSignColor() TColor

func (*TTreeView) ExpandSignSize

func (t *TTreeView) ExpandSignSize() int32

func (*TTreeView) ExpandSignType

func (t *TTreeView) ExpandSignType() TTreeViewExpandSignType

func (*TTreeView) FindChildControl

func (t *TTreeView) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TTreeView) FindComponent

func (t *TTreeView) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TTreeView) FixDesignFontsPPI

func (t *TTreeView) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TTreeView) FlipChildren

func (t *TTreeView) FlipChildren(AllLevels bool)

func (*TTreeView) Floating

func (t *TTreeView) Floating() bool

func (*TTreeView) Focused

func (t *TTreeView) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TTreeView) Font

func (t *TTreeView) Font() *TFont

获取字体。

Get Font.

func (*TTreeView) Free

func (t *TTreeView) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TTreeView) FullCollapse

func (t *TTreeView) FullCollapse()

func (*TTreeView) FullExpand

func (t *TTreeView) FullExpand()

func (*TTreeView) GetHashCode

func (t *TTreeView) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TTreeView) GetHitTestInfoAt

func (t *TTreeView) GetHitTestInfoAt(X int32, Y int32) THitTests

func (*TTreeView) GetNamePath

func (t *TTreeView) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TTreeView) GetNodeAt

func (t *TTreeView) GetNodeAt(X int32, Y int32) *TTreeNode

func (*TTreeView) GetTextBuf

func (t *TTreeView) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TTreeView) GetTextLen

func (t *TTreeView) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TTreeView) Handle

func (t *TTreeView) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TTreeView) HandleAllocated

func (t *TTreeView) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TTreeView) HasParent

func (t *TTreeView) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TTreeView) Height

func (t *TTreeView) Height() int32

获取高度。

Get height.

func (*TTreeView) Hide

func (t *TTreeView) Hide()

隐藏控件。

Hidden control.

func (*TTreeView) HideSelection

func (t *TTreeView) HideSelection() bool

获取隐藏选择。

func (*TTreeView) Hint

func (t *TTreeView) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TTreeView) HotTrack

func (t *TTreeView) HotTrack() bool

func (*TTreeView) HotTrackColor

func (t *TTreeView) HotTrackColor() TColor

func (*TTreeView) Images

func (t *TTreeView) Images() *TImageList

获取图标索引列表对象。

func (*TTreeView) ImagesWidth

func (t *TTreeView) ImagesWidth() int32

func (*TTreeView) Indent

func (t *TTreeView) Indent() int32

func (*TTreeView) InheritsFrom

func (t *TTreeView) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTreeView) InsertControl

func (t *TTreeView) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TTreeView) Instance

func (t *TTreeView) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TTreeView) InstanceSize

func (t *TTreeView) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TTreeView) Invalidate

func (t *TTreeView) Invalidate()

要求重绘。

Redraw.

func (*TTreeView) Is

func (t *TTreeView) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTreeView) IsEditing

func (t *TTreeView) IsEditing() bool

func (*TTreeView) IsValid

func (t *TTreeView) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TTreeView) Items

func (t *TTreeView) Items() *TTreeNodes

func (*TTreeView) Left

func (t *TTreeView) Left() int32

获取左边位置。

Get Left position.

func (*TTreeView) LoadFromFile

func (t *TTreeView) LoadFromFile(FileName string)

从文件加载。

func (*TTreeView) LoadFromStream

func (t *TTreeView) LoadFromStream(Stream IStream)

文件流加载。

func (*TTreeView) MouseInClient

func (t *TTreeView) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TTreeView) MultiSelect

func (t *TTreeView) MultiSelect() bool

func (*TTreeView) MultiSelectStyle

func (t *TTreeView) MultiSelectStyle() TMultiSelectStyle

func (*TTreeView) Name

func (t *TTreeView) Name() string

获取组件名称。

Get the component name.

func (*TTreeView) Options

func (t *TTreeView) Options() TTreeViewOptions

func (*TTreeView) Owner

func (t *TTreeView) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TTreeView) PaintTo

func (t *TTreeView) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TTreeView) Parent

func (t *TTreeView) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TTreeView) ParentColor

func (t *TTreeView) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TTreeView) ParentDoubleBuffered

func (t *TTreeView) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TTreeView) ParentFont

func (t *TTreeView) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TTreeView) ParentShowHint

func (t *TTreeView) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TTreeView) ParentToClient

func (t *TTreeView) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TTreeView) ParentWindow

func (t *TTreeView) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TTreeView) Perform

func (t *TTreeView) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TTreeView) PopupMenu

func (t *TTreeView) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TTreeView) ReadOnly

func (t *TTreeView) ReadOnly() bool

获取只读。

func (*TTreeView) Realign

func (t *TTreeView) Realign()

重新对齐。

Realign.

func (*TTreeView) Refresh

func (t *TTreeView) Refresh()

刷新控件。

Refresh control.

func (*TTreeView) RemoveControl

func (t *TTreeView) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TTreeView) Repaint

func (t *TTreeView) Repaint()

重绘。

Repaint.

func (*TTreeView) RightClickSelect

func (t *TTreeView) RightClickSelect() bool

func (*TTreeView) RowSelect

func (t *TTreeView) RowSelect() bool

func (*TTreeView) SaveToFile

func (t *TTreeView) SaveToFile(FileName string)

保存至文件。

func (*TTreeView) SaveToStream

func (t *TTreeView) SaveToStream(Stream IStream)

保存至流。

func (*TTreeView) Scale96ToFont

func (t *TTreeView) Scale96ToFont(ASize int32) int32

func (*TTreeView) Scale96ToForm

func (t *TTreeView) Scale96ToForm(ASize int32) int32

func (*TTreeView) Scale96ToScreen

func (t *TTreeView) Scale96ToScreen(ASize int32) int32

func (*TTreeView) ScaleBy

func (t *TTreeView) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TTreeView) ScaleDesignToForm

func (t *TTreeView) ScaleDesignToForm(ASize int32) int32

func (*TTreeView) ScaleFontTo96

func (t *TTreeView) ScaleFontTo96(ASize int32) int32

func (*TTreeView) ScaleFontToScreen

func (t *TTreeView) ScaleFontToScreen(ASize int32) int32

func (*TTreeView) ScaleFontsPPI

func (t *TTreeView) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TTreeView) ScaleFormTo96

func (t *TTreeView) ScaleFormTo96(ASize int32) int32

func (*TTreeView) ScaleFormToDesign

func (t *TTreeView) ScaleFormToDesign(ASize int32) int32

func (*TTreeView) ScaleScreenTo96

func (t *TTreeView) ScaleScreenTo96(ASize int32) int32

func (*TTreeView) ScaleScreenToFont

func (t *TTreeView) ScaleScreenToFont(ASize int32) int32

func (*TTreeView) ScreenToClient

func (t *TTreeView) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TTreeView) ScrollBars

func (t *TTreeView) ScrollBars() TScrollStyle

func (*TTreeView) ScrollBy

func (t *TTreeView) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TTreeView) Selected

func (t *TTreeView) Selected() *TTreeNode

func (*TTreeView) SelectionColor

func (t *TTreeView) SelectionColor() TColor

func (*TTreeView) SelectionCount

func (t *TTreeView) SelectionCount() uint32

func (*TTreeView) SelectionFontColor

func (t *TTreeView) SelectionFontColor() TColor

func (*TTreeView) SelectionFontColorUsed

func (t *TTreeView) SelectionFontColorUsed() bool

func (*TTreeView) Selections

func (t *TTreeView) Selections(Index int32) *TTreeNode

func (*TTreeView) SendToBack

func (t *TTreeView) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TTreeView) SeparatorColor

func (t *TTreeView) SeparatorColor() TColor

func (*TTreeView) SetAction

func (t *TTreeView) SetAction(value IComponent)

func (*TTreeView) SetAlign

func (t *TTreeView) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TTreeView) SetAnchorSideBottom

func (t *TTreeView) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TTreeView) SetAnchorSideLeft

func (t *TTreeView) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TTreeView) SetAnchorSideRight

func (t *TTreeView) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TTreeView) SetAnchorSideTop

func (t *TTreeView) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TTreeView) SetAnchors

func (t *TTreeView) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TTreeView) SetAutoExpand

func (t *TTreeView) SetAutoExpand(value bool)

func (*TTreeView) SetBiDiMode

func (t *TTreeView) SetBiDiMode(value TBiDiMode)

func (*TTreeView) SetBorderSpacing

func (t *TTreeView) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TTreeView) SetBorderStyle

func (t *TTreeView) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TTreeView) SetBorderWidth

func (t *TTreeView) SetBorderWidth(value int32)

设置边框的宽度。

func (*TTreeView) SetBounds

func (t *TTreeView) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TTreeView) SetBoundsRect

func (t *TTreeView) SetBoundsRect(value TRect)

func (*TTreeView) SetChildSizing

func (t *TTreeView) SetChildSizing(value *TControlChildSizing)

func (*TTreeView) SetClientHeight

func (t *TTreeView) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TTreeView) SetClientWidth

func (t *TTreeView) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TTreeView) SetColor

func (t *TTreeView) SetColor(value TColor)

设置颜色。

Set color.

func (*TTreeView) SetComponentIndex

func (t *TTreeView) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TTreeView) SetConstraints

func (t *TTreeView) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TTreeView) SetControlState

func (t *TTreeView) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TTreeView) SetControlStyle

func (t *TTreeView) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TTreeView) SetCursor

func (t *TTreeView) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TTreeView) SetDefaultItemHeight

func (t *TTreeView) SetDefaultItemHeight(value int32)

func (*TTreeView) SetDockSite

func (t *TTreeView) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TTreeView) SetDoubleBuffered

func (t *TTreeView) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TTreeView) SetDragCursor

func (t *TTreeView) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TTreeView) SetDragKind

func (t *TTreeView) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TTreeView) SetDragMode

func (t *TTreeView) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TTreeView) SetDropTarget

func (t *TTreeView) SetDropTarget(value *TTreeNode)

func (*TTreeView) SetEnabled

func (t *TTreeView) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TTreeView) SetExpandSignColor

func (t *TTreeView) SetExpandSignColor(value TColor)

func (*TTreeView) SetExpandSignSize

func (t *TTreeView) SetExpandSignSize(value int32)

func (*TTreeView) SetExpandSignType

func (t *TTreeView) SetExpandSignType(value TTreeViewExpandSignType)

func (*TTreeView) SetFocus

func (t *TTreeView) SetFocus()

设置控件焦点。

Set control focus.

func (*TTreeView) SetFont

func (t *TTreeView) SetFont(value *TFont)

设置字体。

Set Font.

func (*TTreeView) SetHeight

func (t *TTreeView) SetHeight(value int32)

设置高度。

Set height.

func (*TTreeView) SetHideSelection

func (t *TTreeView) SetHideSelection(value bool)

设置隐藏选择。

func (*TTreeView) SetHint

func (t *TTreeView) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TTreeView) SetHotTrack

func (t *TTreeView) SetHotTrack(value bool)

func (*TTreeView) SetHotTrackColor

func (t *TTreeView) SetHotTrackColor(value TColor)

func (*TTreeView) SetImages

func (t *TTreeView) SetImages(value IComponent)

设置图标索引列表对象。

func (*TTreeView) SetImagesWidth

func (t *TTreeView) SetImagesWidth(value int32)

func (*TTreeView) SetIndent

func (t *TTreeView) SetIndent(value int32)

func (*TTreeView) SetItems

func (t *TTreeView) SetItems(value *TTreeNodes)

func (*TTreeView) SetLeft

func (t *TTreeView) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TTreeView) SetMultiSelect

func (t *TTreeView) SetMultiSelect(value bool)

func (*TTreeView) SetMultiSelectStyle

func (t *TTreeView) SetMultiSelectStyle(value TMultiSelectStyle)

func (*TTreeView) SetName

func (t *TTreeView) SetName(value string)

设置组件名称。

Set the component name.

func (*TTreeView) SetOnAddition

func (t *TTreeView) SetOnAddition(fn TTVExpandedEvent)

func (*TTreeView) SetOnAdvancedCustomDraw

func (t *TTreeView) SetOnAdvancedCustomDraw(fn TTVAdvancedCustomDrawEvent)

func (*TTreeView) SetOnAdvancedCustomDrawItem

func (t *TTreeView) SetOnAdvancedCustomDrawItem(fn TTVAdvancedCustomDrawItemEvent)

func (*TTreeView) SetOnChange

func (t *TTreeView) SetOnChange(fn TTVChangedEvent)

设置改变事件。

Set changed event.

func (*TTreeView) SetOnChanging

func (t *TTreeView) SetOnChanging(fn TTVChangingEvent)

func (*TTreeView) SetOnClick

func (t *TTreeView) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TTreeView) SetOnCollapsed

func (t *TTreeView) SetOnCollapsed(fn TTVExpandedEvent)

func (*TTreeView) SetOnCollapsing

func (t *TTreeView) SetOnCollapsing(fn TTVCollapsingEvent)

func (*TTreeView) SetOnCompare

func (t *TTreeView) SetOnCompare(fn TTVCompareEvent)

func (*TTreeView) SetOnContextPopup

func (t *TTreeView) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TTreeView) SetOnCustomDraw

func (t *TTreeView) SetOnCustomDraw(fn TTVCustomDrawEvent)

func (*TTreeView) SetOnCustomDrawItem

func (t *TTreeView) SetOnCustomDrawItem(fn TTVCustomDrawItemEvent)

func (*TTreeView) SetOnDblClick

func (t *TTreeView) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TTreeView) SetOnDeletion

func (t *TTreeView) SetOnDeletion(fn TTVExpandedEvent)

func (*TTreeView) SetOnDragDrop

func (t *TTreeView) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TTreeView) SetOnDragOver

func (t *TTreeView) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TTreeView) SetOnEdited

func (t *TTreeView) SetOnEdited(fn TTVEditedEvent)

func (*TTreeView) SetOnEditing

func (t *TTreeView) SetOnEditing(fn TTVEditingEvent)

func (*TTreeView) SetOnEndDrag

func (t *TTreeView) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TTreeView) SetOnEnter

func (t *TTreeView) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TTreeView) SetOnExit

func (t *TTreeView) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TTreeView) SetOnExpanded

func (t *TTreeView) SetOnExpanded(fn TTVExpandedEvent)

func (*TTreeView) SetOnExpanding

func (t *TTreeView) SetOnExpanding(fn TTVExpandingEvent)

func (*TTreeView) SetOnGetSelectedIndex

func (t *TTreeView) SetOnGetSelectedIndex(fn TTVExpandedEvent)

func (*TTreeView) SetOnKeyDown

func (t *TTreeView) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TTreeView) SetOnKeyPress

func (t *TTreeView) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TTreeView) SetOnKeyUp

func (t *TTreeView) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TTreeView) SetOnMouseDown

func (t *TTreeView) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TTreeView) SetOnMouseEnter

func (t *TTreeView) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TTreeView) SetOnMouseLeave

func (t *TTreeView) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TTreeView) SetOnMouseMove

func (t *TTreeView) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TTreeView) SetOnMouseUp

func (t *TTreeView) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TTreeView) SetOptions

func (t *TTreeView) SetOptions(value TTreeViewOptions)

func (*TTreeView) SetParent

func (t *TTreeView) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TTreeView) SetParentColor

func (t *TTreeView) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TTreeView) SetParentDoubleBuffered

func (t *TTreeView) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TTreeView) SetParentFont

func (t *TTreeView) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TTreeView) SetParentShowHint

func (t *TTreeView) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TTreeView) SetParentWindow

func (t *TTreeView) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TTreeView) SetPopupMenu

func (t *TTreeView) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TTreeView) SetReadOnly

func (t *TTreeView) SetReadOnly(value bool)

设置只读。

func (*TTreeView) SetRightClickSelect

func (t *TTreeView) SetRightClickSelect(value bool)

func (*TTreeView) SetRowSelect

func (t *TTreeView) SetRowSelect(value bool)

func (*TTreeView) SetScrollBars

func (t *TTreeView) SetScrollBars(value TScrollStyle)

func (*TTreeView) SetSelected

func (t *TTreeView) SetSelected(value *TTreeNode)

func (*TTreeView) SetSelectionColor

func (t *TTreeView) SetSelectionColor(value TColor)

func (*TTreeView) SetSelectionFontColor

func (t *TTreeView) SetSelectionFontColor(value TColor)

func (*TTreeView) SetSelectionFontColorUsed

func (t *TTreeView) SetSelectionFontColorUsed(value bool)

func (*TTreeView) SetSeparatorColor

func (t *TTreeView) SetSeparatorColor(value TColor)

func (*TTreeView) SetShowButtons

func (t *TTreeView) SetShowButtons(value bool)

func (*TTreeView) SetShowHint

func (t *TTreeView) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TTreeView) SetShowLines

func (t *TTreeView) SetShowLines(value bool)

func (*TTreeView) SetShowRoot

func (t *TTreeView) SetShowRoot(value bool)

func (*TTreeView) SetSortType

func (t *TTreeView) SetSortType(value TSortType)

func (*TTreeView) SetStateImages

func (t *TTreeView) SetStateImages(value IComponent)

func (*TTreeView) SetStateImagesWidth

func (t *TTreeView) SetStateImagesWidth(value int32)

func (*TTreeView) SetTabOrder

func (t *TTreeView) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TTreeView) SetTabStop

func (t *TTreeView) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TTreeView) SetTag

func (t *TTreeView) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TTreeView) SetTextBuf

func (t *TTreeView) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TTreeView) SetToolTips

func (t *TTreeView) SetToolTips(value bool)

func (*TTreeView) SetTop

func (t *TTreeView) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TTreeView) SetTopItem

func (t *TTreeView) SetTopItem(value *TTreeNode)

func (*TTreeView) SetTreeLineColor

func (t *TTreeView) SetTreeLineColor(value TColor)

func (*TTreeView) SetTreeLinePenStyle

func (t *TTreeView) SetTreeLinePenStyle(value TPenStyle)

func (*TTreeView) SetUseDockManager

func (t *TTreeView) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TTreeView) SetVisible

func (t *TTreeView) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TTreeView) SetWidth

func (t *TTreeView) SetWidth(value int32)

设置宽度。

Set width.

func (*TTreeView) Show

func (t *TTreeView) Show()

显示控件。

Show control.

func (*TTreeView) ShowButtons

func (t *TTreeView) ShowButtons() bool

func (*TTreeView) ShowHint

func (t *TTreeView) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TTreeView) ShowLines

func (t *TTreeView) ShowLines() bool

func (*TTreeView) ShowRoot

func (t *TTreeView) ShowRoot() bool

func (*TTreeView) Showing

func (t *TTreeView) Showing() bool

func (*TTreeView) SortType

func (t *TTreeView) SortType() TSortType

func (*TTreeView) StateImages

func (t *TTreeView) StateImages() *TImageList

func (*TTreeView) StateImagesWidth

func (t *TTreeView) StateImagesWidth() int32

func (*TTreeView) TabOrder

func (t *TTreeView) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TTreeView) TabStop

func (t *TTreeView) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TTreeView) Tag

func (t *TTreeView) Tag() int

获取对象标记。

Get the control tag.

func (*TTreeView) ToString

func (t *TTreeView) ToString() string

文本类信息。

Text information.

func (*TTreeView) ToolTips

func (t *TTreeView) ToolTips() bool

func (*TTreeView) Top

func (t *TTreeView) Top() int32

获取顶边位置。

Get Top position.

func (*TTreeView) TopItem

func (t *TTreeView) TopItem() *TTreeNode

func (*TTreeView) TreeLineColor

func (t *TTreeView) TreeLineColor() TColor

func (*TTreeView) TreeLinePenStyle

func (t *TTreeView) TreeLinePenStyle() TPenStyle

func (*TTreeView) UnsafeAddr

func (t *TTreeView) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TTreeView) Update

func (t *TTreeView) Update()

控件更新。

Update.

func (*TTreeView) UseDockManager

func (t *TTreeView) UseDockManager() bool

获取使用停靠管理。

func (*TTreeView) Visible

func (t *TTreeView) Visible() bool

获取控件可视。

Get the control visible.

func (*TTreeView) VisibleDockClientCount

func (t *TTreeView) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TTreeView) Width

func (t *TTreeView) Width() int32

获取宽度。

Get width.

type TUDChangingEvent

type TUDChangingEvent func(sender IObject, allowChange *bool)

TUDChangingEvent = procedure (Sender: TObject; var AllowChange: Boolean) of object;

type TUDClickEvent

type TUDClickEvent func(sender IObject, button TUDBtnType)

TUDClickEvent TUpDown TUDBtnType

type TUTF8KeyPressEvent

type TUTF8KeyPressEvent = func(sender IObject, utf8key *TUTF8Char)

procedure(Sender: TObject; var UTF8Key: TUTF8Char) of Object;

type TUnDockEvent

type TUnDockEvent func(sender IObject, client *TControl, newTarget *TControl, allow *bool)

TUnDockEvent = procedure(Sender: TObject; Client: TControl; NewTarget: TWinControl; var Allow: Boolean) of object;

type TUpDown

type TUpDown struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsUpDown

func AsUpDown(obj interface{}) *TUpDown

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewUpDown

func NewUpDown(owner IComponent) *TUpDown

创建一个新的对象。

Create a new object.

func UpDownFromInst

func UpDownFromInst(inst uintptr) *TUpDown

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsUpDown.

func UpDownFromObj

func UpDownFromObj(obj IObject) *TUpDown

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsUpDown.

func UpDownFromUnsafePointer

func UpDownFromUnsafePointer(ptr unsafe.Pointer) *TUpDown

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsUpDown.

func (*TUpDown) Action

func (u *TUpDown) Action() *TAction

func (*TUpDown) Align

func (u *TUpDown) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TUpDown) AnchorAsAlign

func (u *TUpDown) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TUpDown) AnchorClient

func (u *TUpDown) AnchorClient(ASpace int32)

func (*TUpDown) AnchorHorizontalCenterTo

func (u *TUpDown) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TUpDown) AnchorParallel

func (u *TUpDown) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TUpDown) AnchorSame

func (u *TUpDown) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TUpDown) AnchorSide

func (u *TUpDown) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TUpDown) AnchorSideBottom

func (u *TUpDown) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TUpDown) AnchorSideLeft

func (u *TUpDown) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TUpDown) AnchorSideRight

func (u *TUpDown) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TUpDown) AnchorSideTop

func (u *TUpDown) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TUpDown) AnchorToNeighbour

func (u *TUpDown) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TUpDown) AnchorVerticalCenterTo

func (u *TUpDown) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TUpDown) Anchors

func (u *TUpDown) Anchors() TAnchors

获取四个角位置的锚点。

func (*TUpDown) Assign

func (u *TUpDown) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TUpDown) AutoAdjustLayout

func (u *TUpDown) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TUpDown) BiDiMode

func (u *TUpDown) BiDiMode() TBiDiMode

func (*TUpDown) BorderSpacing

func (u *TUpDown) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TUpDown) BoundsRect

func (u *TUpDown) BoundsRect() TRect

func (*TUpDown) BringToFront

func (u *TUpDown) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TUpDown) Brush

func (u *TUpDown) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TUpDown) CanFocus

func (u *TUpDown) CanFocus() bool

是否可以获得焦点。

func (*TUpDown) ChildSizing

func (u *TUpDown) ChildSizing() *TControlChildSizing

func (*TUpDown) ClassName

func (u *TUpDown) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TUpDown) ClassType

func (u *TUpDown) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TUpDown) ClientHeight

func (u *TUpDown) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TUpDown) ClientOrigin

func (u *TUpDown) ClientOrigin() TPoint

func (*TUpDown) ClientRect

func (u *TUpDown) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TUpDown) ClientToParent

func (u *TUpDown) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TUpDown) ClientToScreen

func (u *TUpDown) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TUpDown) ClientWidth

func (u *TUpDown) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TUpDown) ComponentCount

func (u *TUpDown) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TUpDown) ComponentIndex

func (u *TUpDown) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TUpDown) Components

func (u *TUpDown) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TUpDown) Constraints

func (u *TUpDown) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TUpDown) ContainsControl

func (u *TUpDown) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TUpDown) ControlAtPos

func (u *TUpDown) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TUpDown) ControlCount

func (u *TUpDown) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TUpDown) ControlState

func (u *TUpDown) ControlState() TControlState

获取控件状态。

Get control state.

func (*TUpDown) ControlStyle

func (u *TUpDown) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TUpDown) Controls

func (u *TUpDown) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TUpDown) Cursor

func (u *TUpDown) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TUpDown) DisableAlign

func (u *TUpDown) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TUpDown) DockClientCount

func (u *TUpDown) DockClientCount() int32

获取依靠客户端总数。

func (*TUpDown) DockClients

func (u *TUpDown) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TUpDown) DockSite

func (u *TUpDown) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TUpDown) DoubleBuffered

func (u *TUpDown) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TUpDown) Dragging

func (u *TUpDown) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TUpDown) EnableAlign

func (u *TUpDown) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TUpDown) Enabled

func (u *TUpDown) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TUpDown) Equals

func (u *TUpDown) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TUpDown) FindChildControl

func (u *TUpDown) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TUpDown) FindComponent

func (u *TUpDown) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TUpDown) FixDesignFontsPPI

func (u *TUpDown) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TUpDown) FlipChildren

func (u *TUpDown) FlipChildren(AllLevels bool)

func (*TUpDown) Floating

func (u *TUpDown) Floating() bool

func (*TUpDown) Focused

func (u *TUpDown) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TUpDown) Free

func (u *TUpDown) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TUpDown) GetHashCode

func (u *TUpDown) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TUpDown) GetNamePath

func (u *TUpDown) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TUpDown) GetTextBuf

func (u *TUpDown) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TUpDown) GetTextLen

func (u *TUpDown) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TUpDown) Handle

func (u *TUpDown) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TUpDown) HandleAllocated

func (u *TUpDown) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TUpDown) HasParent

func (u *TUpDown) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TUpDown) Height

func (u *TUpDown) Height() int32

获取高度。

Get height.

func (*TUpDown) Hide

func (u *TUpDown) Hide()

隐藏控件。

Hidden control.

func (*TUpDown) Hint

func (u *TUpDown) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TUpDown) Increment

func (u *TUpDown) Increment() int32

func (*TUpDown) InheritsFrom

func (u *TUpDown) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TUpDown) InsertControl

func (u *TUpDown) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TUpDown) Instance

func (u *TUpDown) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TUpDown) InstanceSize

func (u *TUpDown) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TUpDown) Invalidate

func (u *TUpDown) Invalidate()

要求重绘。

Redraw.

func (*TUpDown) Is

func (u *TUpDown) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TUpDown) IsValid

func (u *TUpDown) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TUpDown) Left

func (u *TUpDown) Left() int32

获取左边位置。

Get Left position.

func (*TUpDown) Max

func (u *TUpDown) Max() int32

func (*TUpDown) Min

func (u *TUpDown) Min() int32

func (*TUpDown) MouseInClient

func (u *TUpDown) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TUpDown) Name

func (u *TUpDown) Name() string

获取组件名称。

Get the component name.

func (*TUpDown) Orientation

func (u *TUpDown) Orientation() TUDOrientation

func (*TUpDown) Owner

func (u *TUpDown) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TUpDown) PaintTo

func (u *TUpDown) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TUpDown) Parent

func (u *TUpDown) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TUpDown) ParentDoubleBuffered

func (u *TUpDown) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TUpDown) ParentShowHint

func (u *TUpDown) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TUpDown) ParentToClient

func (u *TUpDown) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TUpDown) ParentWindow

func (u *TUpDown) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TUpDown) Perform

func (u *TUpDown) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TUpDown) PopupMenu

func (u *TUpDown) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TUpDown) Position

func (u *TUpDown) Position() int32

func (*TUpDown) Realign

func (u *TUpDown) Realign()

重新对齐。

Realign.

func (*TUpDown) Refresh

func (u *TUpDown) Refresh()

刷新控件。

Refresh control.

func (*TUpDown) RemoveControl

func (u *TUpDown) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TUpDown) Repaint

func (u *TUpDown) Repaint()

重绘。

Repaint.

func (*TUpDown) Scale96ToFont

func (u *TUpDown) Scale96ToFont(ASize int32) int32

func (*TUpDown) Scale96ToForm

func (u *TUpDown) Scale96ToForm(ASize int32) int32

func (*TUpDown) Scale96ToScreen

func (u *TUpDown) Scale96ToScreen(ASize int32) int32

func (*TUpDown) ScaleBy

func (u *TUpDown) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TUpDown) ScaleDesignToForm

func (u *TUpDown) ScaleDesignToForm(ASize int32) int32

func (*TUpDown) ScaleFontTo96

func (u *TUpDown) ScaleFontTo96(ASize int32) int32

func (*TUpDown) ScaleFontToScreen

func (u *TUpDown) ScaleFontToScreen(ASize int32) int32

func (*TUpDown) ScaleFontsPPI

func (u *TUpDown) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TUpDown) ScaleFormTo96

func (u *TUpDown) ScaleFormTo96(ASize int32) int32

func (*TUpDown) ScaleFormToDesign

func (u *TUpDown) ScaleFormToDesign(ASize int32) int32

func (*TUpDown) ScaleScreenTo96

func (u *TUpDown) ScaleScreenTo96(ASize int32) int32

func (*TUpDown) ScaleScreenToFont

func (u *TUpDown) ScaleScreenToFont(ASize int32) int32

func (*TUpDown) ScreenToClient

func (u *TUpDown) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TUpDown) ScrollBy

func (u *TUpDown) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TUpDown) SendToBack

func (u *TUpDown) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TUpDown) SetAction

func (u *TUpDown) SetAction(value IComponent)

func (*TUpDown) SetAlign

func (u *TUpDown) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TUpDown) SetAnchorSideBottom

func (u *TUpDown) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TUpDown) SetAnchorSideLeft

func (u *TUpDown) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TUpDown) SetAnchorSideRight

func (u *TUpDown) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TUpDown) SetAnchorSideTop

func (u *TUpDown) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TUpDown) SetAnchors

func (u *TUpDown) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TUpDown) SetBiDiMode

func (u *TUpDown) SetBiDiMode(value TBiDiMode)

func (*TUpDown) SetBorderSpacing

func (u *TUpDown) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TUpDown) SetBounds

func (u *TUpDown) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TUpDown) SetBoundsRect

func (u *TUpDown) SetBoundsRect(value TRect)

func (*TUpDown) SetChildSizing

func (u *TUpDown) SetChildSizing(value *TControlChildSizing)

func (*TUpDown) SetClientHeight

func (u *TUpDown) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TUpDown) SetClientWidth

func (u *TUpDown) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TUpDown) SetComponentIndex

func (u *TUpDown) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TUpDown) SetConstraints

func (u *TUpDown) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TUpDown) SetControlState

func (u *TUpDown) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TUpDown) SetControlStyle

func (u *TUpDown) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TUpDown) SetCursor

func (u *TUpDown) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TUpDown) SetDockSite

func (u *TUpDown) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TUpDown) SetDoubleBuffered

func (u *TUpDown) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TUpDown) SetEnabled

func (u *TUpDown) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TUpDown) SetFocus

func (u *TUpDown) SetFocus()

设置控件焦点。

Set control focus.

func (*TUpDown) SetHeight

func (u *TUpDown) SetHeight(value int32)

设置高度。

Set height.

func (*TUpDown) SetHint

func (u *TUpDown) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TUpDown) SetIncrement

func (u *TUpDown) SetIncrement(value int32)

func (*TUpDown) SetLeft

func (u *TUpDown) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TUpDown) SetMax

func (u *TUpDown) SetMax(value int32)

func (*TUpDown) SetMin

func (u *TUpDown) SetMin(value int32)

func (*TUpDown) SetName

func (u *TUpDown) SetName(value string)

设置组件名称。

Set the component name.

func (*TUpDown) SetOnChanging

func (u *TUpDown) SetOnChanging(fn TUDChangingEvent)

func (*TUpDown) SetOnClick

func (u *TUpDown) SetOnClick(fn TUDClickEvent)

设置控件单击事件。

Set control click event.

func (*TUpDown) SetOnContextPopup

func (u *TUpDown) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TUpDown) SetOnEnter

func (u *TUpDown) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TUpDown) SetOnExit

func (u *TUpDown) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TUpDown) SetOnMouseDown

func (u *TUpDown) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TUpDown) SetOnMouseEnter

func (u *TUpDown) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TUpDown) SetOnMouseLeave

func (u *TUpDown) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TUpDown) SetOnMouseMove

func (u *TUpDown) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TUpDown) SetOnMouseUp

func (u *TUpDown) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TUpDown) SetOrientation

func (u *TUpDown) SetOrientation(value TUDOrientation)

func (*TUpDown) SetParent

func (u *TUpDown) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TUpDown) SetParentDoubleBuffered

func (u *TUpDown) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TUpDown) SetParentShowHint

func (u *TUpDown) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TUpDown) SetParentWindow

func (u *TUpDown) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TUpDown) SetPopupMenu

func (u *TUpDown) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TUpDown) SetPosition

func (u *TUpDown) SetPosition(value int32)

func (*TUpDown) SetShowHint

func (u *TUpDown) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TUpDown) SetTabOrder

func (u *TUpDown) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TUpDown) SetTabStop

func (u *TUpDown) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TUpDown) SetTag

func (u *TUpDown) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TUpDown) SetTextBuf

func (u *TUpDown) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TUpDown) SetTop

func (u *TUpDown) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TUpDown) SetUseDockManager

func (u *TUpDown) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TUpDown) SetVisible

func (u *TUpDown) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TUpDown) SetWidth

func (u *TUpDown) SetWidth(value int32)

设置宽度。

Set width.

func (*TUpDown) SetWrap

func (u *TUpDown) SetWrap(value bool)

func (*TUpDown) Show

func (u *TUpDown) Show()

显示控件。

Show control.

func (*TUpDown) ShowHint

func (u *TUpDown) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TUpDown) Showing

func (u *TUpDown) Showing() bool

func (*TUpDown) TabOrder

func (u *TUpDown) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TUpDown) TabStop

func (u *TUpDown) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TUpDown) Tag

func (u *TUpDown) Tag() int

获取对象标记。

Get the control tag.

func (*TUpDown) ToString

func (u *TUpDown) ToString() string

文本类信息。

Text information.

func (*TUpDown) Top

func (u *TUpDown) Top() int32

获取顶边位置。

Get Top position.

func (*TUpDown) UnsafeAddr

func (u *TUpDown) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TUpDown) Update

func (u *TUpDown) Update()

控件更新。

Update.

func (*TUpDown) UseDockManager

func (u *TUpDown) UseDockManager() bool

获取使用停靠管理。

func (*TUpDown) Visible

func (u *TUpDown) Visible() bool

获取控件可视。

Get the control visible.

func (*TUpDown) VisibleDockClientCount

func (u *TUpDown) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TUpDown) Width

func (u *TUpDown) Width() int32

获取宽度。

Get width.

func (*TUpDown) Wrap

func (u *TUpDown) Wrap() bool

type TUserCheckBoxBitmapEvent

type TUserCheckBoxBitmapEvent func(sender IObject, aCol, aRow int32, CheckedState TCheckBoxState, aBitmap **TBitmap)

TUserCheckBoxBitmapEvent = procedure(Sender: TObject; const aCol, aRow: Integer; const CheckedState: TCheckboxState; var ABitmap: TBitmap) of object;

type TValidateEntryEvent

type TValidateEntryEvent func(sender IObject, aCol, aRow int32, oldValue string, newValue *string)

TValidateEntryEvent = procedure(sender: TObject; aCol, aRow: Integer; const OldValue: string; var NewValue: String) of object;

type TValueListEditor

type TValueListEditor struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsValueListEditor

func AsValueListEditor(obj interface{}) *TValueListEditor

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewValueListEditor

func NewValueListEditor(owner IComponent) *TValueListEditor

创建一个新的对象。

Create a new object.

func ValueListEditorFromInst

func ValueListEditorFromInst(inst uintptr) *TValueListEditor

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsValueListEditor.

func ValueListEditorFromObj

func ValueListEditorFromObj(obj IObject) *TValueListEditor

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsValueListEditor.

func ValueListEditorFromUnsafePointer

func ValueListEditorFromUnsafePointer(ptr unsafe.Pointer) *TValueListEditor

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsValueListEditor.

func (*TValueListEditor) Action

func (v *TValueListEditor) Action() *TAction

func (*TValueListEditor) Align

func (v *TValueListEditor) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TValueListEditor) AnchorAsAlign

func (v *TValueListEditor) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TValueListEditor) AnchorClient

func (v *TValueListEditor) AnchorClient(ASpace int32)

func (*TValueListEditor) AnchorHorizontalCenterTo

func (v *TValueListEditor) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TValueListEditor) AnchorParallel

func (v *TValueListEditor) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TValueListEditor) AnchorSame

func (v *TValueListEditor) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TValueListEditor) AnchorSide

func (v *TValueListEditor) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TValueListEditor) AnchorSideBottom

func (v *TValueListEditor) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TValueListEditor) AnchorSideLeft

func (v *TValueListEditor) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TValueListEditor) AnchorSideRight

func (v *TValueListEditor) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TValueListEditor) AnchorSideTop

func (v *TValueListEditor) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TValueListEditor) AnchorToNeighbour

func (v *TValueListEditor) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TValueListEditor) AnchorVerticalCenterTo

func (v *TValueListEditor) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TValueListEditor) Anchors

func (v *TValueListEditor) Anchors() TAnchors

获取四个角位置的锚点。

func (*TValueListEditor) Assign

func (v *TValueListEditor) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TValueListEditor) AutoAdjustLayout

func (v *TValueListEditor) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TValueListEditor) BiDiMode

func (v *TValueListEditor) BiDiMode() TBiDiMode

func (*TValueListEditor) BorderSpacing

func (v *TValueListEditor) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TValueListEditor) BorderStyle

func (v *TValueListEditor) BorderStyle() TBorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TValueListEditor) BoundsRect

func (v *TValueListEditor) BoundsRect() TRect

func (*TValueListEditor) BringToFront

func (v *TValueListEditor) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TValueListEditor) Brush

func (v *TValueListEditor) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TValueListEditor) CanFocus

func (v *TValueListEditor) CanFocus() bool

是否可以获得焦点。

func (*TValueListEditor) Canvas

func (v *TValueListEditor) Canvas() *TCanvas

获取画布。

func (*TValueListEditor) CellRect

func (v *TValueListEditor) CellRect(ACol int32, ARow int32) TRect

func (*TValueListEditor) Cells

func (v *TValueListEditor) Cells(ACol int32, ARow int32) string

func (*TValueListEditor) ChildSizing

func (v *TValueListEditor) ChildSizing() *TControlChildSizing

func (*TValueListEditor) ClassName

func (v *TValueListEditor) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TValueListEditor) ClassType

func (v *TValueListEditor) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TValueListEditor) ClientHeight

func (v *TValueListEditor) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TValueListEditor) ClientOrigin

func (v *TValueListEditor) ClientOrigin() TPoint

func (*TValueListEditor) ClientRect

func (v *TValueListEditor) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TValueListEditor) ClientToParent

func (v *TValueListEditor) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TValueListEditor) ClientToScreen

func (v *TValueListEditor) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TValueListEditor) ClientWidth

func (v *TValueListEditor) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TValueListEditor) Col

func (v *TValueListEditor) Col() int32

func (*TValueListEditor) ColCount

func (v *TValueListEditor) ColCount() int32

func (*TValueListEditor) ColWidths

func (v *TValueListEditor) ColWidths(Index int32) int32

func (*TValueListEditor) Color

func (v *TValueListEditor) Color() TColor

获取颜色。

Get color.

func (*TValueListEditor) ComponentCount

func (v *TValueListEditor) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TValueListEditor) ComponentIndex

func (v *TValueListEditor) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TValueListEditor) Components

func (v *TValueListEditor) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TValueListEditor) Constraints

func (v *TValueListEditor) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TValueListEditor) ContainsControl

func (v *TValueListEditor) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TValueListEditor) ControlAtPos

func (v *TValueListEditor) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TValueListEditor) ControlCount

func (v *TValueListEditor) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TValueListEditor) ControlState

func (v *TValueListEditor) ControlState() TControlState

获取控件状态。

Get control state.

func (*TValueListEditor) ControlStyle

func (v *TValueListEditor) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TValueListEditor) Controls

func (v *TValueListEditor) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TValueListEditor) Cursor

func (v *TValueListEditor) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TValueListEditor) DefaultColWidth

func (v *TValueListEditor) DefaultColWidth() int32

func (*TValueListEditor) DefaultDrawing

func (v *TValueListEditor) DefaultDrawing() bool

func (*TValueListEditor) DefaultRowHeight

func (v *TValueListEditor) DefaultRowHeight() int32

func (*TValueListEditor) DeleteRow

func (v *TValueListEditor) DeleteRow(ARow int32)

func (*TValueListEditor) DisableAlign

func (v *TValueListEditor) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TValueListEditor) DockClientCount

func (v *TValueListEditor) DockClientCount() int32

获取依靠客户端总数。

func (*TValueListEditor) DockClients

func (v *TValueListEditor) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TValueListEditor) DockSite

func (v *TValueListEditor) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TValueListEditor) DoubleBuffered

func (v *TValueListEditor) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TValueListEditor) DragCursor

func (v *TValueListEditor) DragCursor() TCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TValueListEditor) DragKind

func (v *TValueListEditor) DragKind() TDragKind

获取拖拽方式。

Get Drag and drop.

func (*TValueListEditor) DragMode

func (v *TValueListEditor) DragMode() TDragMode

获取拖拽模式。

Get Drag mode.

func (*TValueListEditor) Dragging

func (v *TValueListEditor) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TValueListEditor) DropDownRows

func (v *TValueListEditor) DropDownRows() int32

func (*TValueListEditor) EditorMode

func (v *TValueListEditor) EditorMode() bool

func (*TValueListEditor) EnableAlign

func (v *TValueListEditor) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TValueListEditor) Enabled

func (v *TValueListEditor) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TValueListEditor) Equals

func (v *TValueListEditor) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TValueListEditor) FindChildControl

func (v *TValueListEditor) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TValueListEditor) FindComponent

func (v *TValueListEditor) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TValueListEditor) FixDesignFontsPPI

func (v *TValueListEditor) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TValueListEditor) FixedColor

func (v *TValueListEditor) FixedColor() TColor

func (*TValueListEditor) FixedCols

func (v *TValueListEditor) FixedCols() int32

func (*TValueListEditor) FlipChildren

func (v *TValueListEditor) FlipChildren(AllLevels bool)

func (*TValueListEditor) Floating

func (v *TValueListEditor) Floating() bool

func (*TValueListEditor) Focused

func (v *TValueListEditor) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TValueListEditor) Font

func (v *TValueListEditor) Font() *TFont

获取字体。

Get Font.

func (*TValueListEditor) Free

func (v *TValueListEditor) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TValueListEditor) GetHashCode

func (v *TValueListEditor) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TValueListEditor) GetNamePath

func (v *TValueListEditor) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TValueListEditor) GetTextBuf

func (v *TValueListEditor) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TValueListEditor) GetTextLen

func (v *TValueListEditor) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TValueListEditor) GridHeight

func (v *TValueListEditor) GridHeight() int32

func (*TValueListEditor) GridLineWidth

func (v *TValueListEditor) GridLineWidth() int32

func (*TValueListEditor) GridWidth

func (v *TValueListEditor) GridWidth() int32

func (*TValueListEditor) Handle

func (v *TValueListEditor) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TValueListEditor) HandleAllocated

func (v *TValueListEditor) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TValueListEditor) HasParent

func (v *TValueListEditor) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TValueListEditor) Height

func (v *TValueListEditor) Height() int32

获取高度。

Get height.

func (*TValueListEditor) Hide

func (v *TValueListEditor) Hide()

隐藏控件。

Hidden control.

func (*TValueListEditor) Hint

func (v *TValueListEditor) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TValueListEditor) InheritsFrom

func (v *TValueListEditor) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TValueListEditor) InsertControl

func (v *TValueListEditor) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TValueListEditor) Instance

func (v *TValueListEditor) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TValueListEditor) InstanceSize

func (v *TValueListEditor) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TValueListEditor) Invalidate

func (v *TValueListEditor) Invalidate()

要求重绘。

Redraw.

func (*TValueListEditor) Is

func (v *TValueListEditor) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TValueListEditor) IsValid

func (v *TValueListEditor) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TValueListEditor) Left

func (v *TValueListEditor) Left() int32

获取左边位置。

Get Left position.

func (*TValueListEditor) LeftCol

func (v *TValueListEditor) LeftCol() int32

func (*TValueListEditor) MouseCoord

func (v *TValueListEditor) MouseCoord(X int32, Y int32) TGridCoord

func (*TValueListEditor) MouseInClient

func (v *TValueListEditor) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TValueListEditor) MouseToCell

func (v *TValueListEditor) MouseToCell(X int32, Y int32, ACol *int32, ARow *int32)

func (*TValueListEditor) Name

func (v *TValueListEditor) Name() string

获取组件名称。

Get the component name.

func (*TValueListEditor) Options

func (v *TValueListEditor) Options() TGridOptions

func (*TValueListEditor) Owner

func (v *TValueListEditor) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TValueListEditor) PaintTo

func (v *TValueListEditor) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TValueListEditor) Parent

func (v *TValueListEditor) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TValueListEditor) ParentColor

func (v *TValueListEditor) ParentColor() bool

获取使用父容器颜色。

Get parent color.

func (*TValueListEditor) ParentDoubleBuffered

func (v *TValueListEditor) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TValueListEditor) ParentFont

func (v *TValueListEditor) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TValueListEditor) ParentShowHint

func (v *TValueListEditor) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TValueListEditor) ParentToClient

func (v *TValueListEditor) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TValueListEditor) ParentWindow

func (v *TValueListEditor) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TValueListEditor) Perform

func (v *TValueListEditor) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TValueListEditor) PopupMenu

func (v *TValueListEditor) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TValueListEditor) Realign

func (v *TValueListEditor) Realign()

重新对齐。

Realign.

func (*TValueListEditor) Refresh

func (v *TValueListEditor) Refresh()

刷新控件。

Refresh control.

func (*TValueListEditor) RemoveControl

func (v *TValueListEditor) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TValueListEditor) Repaint

func (v *TValueListEditor) Repaint()

重绘。

Repaint.

func (*TValueListEditor) Row

func (v *TValueListEditor) Row() int32

func (*TValueListEditor) RowCount

func (v *TValueListEditor) RowCount() int32

func (*TValueListEditor) RowHeights

func (v *TValueListEditor) RowHeights(Index int32) int32

func (*TValueListEditor) Scale96ToFont

func (v *TValueListEditor) Scale96ToFont(ASize int32) int32

func (*TValueListEditor) Scale96ToForm

func (v *TValueListEditor) Scale96ToForm(ASize int32) int32

func (*TValueListEditor) Scale96ToScreen

func (v *TValueListEditor) Scale96ToScreen(ASize int32) int32

func (*TValueListEditor) ScaleBy

func (v *TValueListEditor) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TValueListEditor) ScaleDesignToForm

func (v *TValueListEditor) ScaleDesignToForm(ASize int32) int32

func (*TValueListEditor) ScaleFontTo96

func (v *TValueListEditor) ScaleFontTo96(ASize int32) int32

func (*TValueListEditor) ScaleFontToScreen

func (v *TValueListEditor) ScaleFontToScreen(ASize int32) int32

func (*TValueListEditor) ScaleFontsPPI

func (v *TValueListEditor) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TValueListEditor) ScaleFormTo96

func (v *TValueListEditor) ScaleFormTo96(ASize int32) int32

func (*TValueListEditor) ScaleFormToDesign

func (v *TValueListEditor) ScaleFormToDesign(ASize int32) int32

func (*TValueListEditor) ScaleScreenTo96

func (v *TValueListEditor) ScaleScreenTo96(ASize int32) int32

func (*TValueListEditor) ScaleScreenToFont

func (v *TValueListEditor) ScaleScreenToFont(ASize int32) int32

func (*TValueListEditor) ScreenToClient

func (v *TValueListEditor) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TValueListEditor) ScrollBars

func (v *TValueListEditor) ScrollBars() TScrollStyle

func (*TValueListEditor) ScrollBy

func (v *TValueListEditor) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TValueListEditor) Selection

func (v *TValueListEditor) Selection() TGridRect

func (*TValueListEditor) SendToBack

func (v *TValueListEditor) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TValueListEditor) SetAction

func (v *TValueListEditor) SetAction(value IComponent)

func (*TValueListEditor) SetAlign

func (v *TValueListEditor) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TValueListEditor) SetAnchorSideBottom

func (v *TValueListEditor) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TValueListEditor) SetAnchorSideLeft

func (v *TValueListEditor) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TValueListEditor) SetAnchorSideRight

func (v *TValueListEditor) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TValueListEditor) SetAnchorSideTop

func (v *TValueListEditor) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TValueListEditor) SetAnchors

func (v *TValueListEditor) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TValueListEditor) SetBiDiMode

func (v *TValueListEditor) SetBiDiMode(value TBiDiMode)

func (*TValueListEditor) SetBorderSpacing

func (v *TValueListEditor) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TValueListEditor) SetBorderStyle

func (v *TValueListEditor) SetBorderStyle(value TBorderStyle)

设置窗口边框样式。比如:无边框,单一边框等。

func (*TValueListEditor) SetBounds

func (v *TValueListEditor) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TValueListEditor) SetBoundsRect

func (v *TValueListEditor) SetBoundsRect(value TRect)

func (*TValueListEditor) SetCells

func (v *TValueListEditor) SetCells(ACol int32, ARow int32, value string)

func (*TValueListEditor) SetChildSizing

func (v *TValueListEditor) SetChildSizing(value *TControlChildSizing)

func (*TValueListEditor) SetClientHeight

func (v *TValueListEditor) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TValueListEditor) SetClientWidth

func (v *TValueListEditor) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TValueListEditor) SetCol

func (v *TValueListEditor) SetCol(value int32)

func (*TValueListEditor) SetColCount

func (v *TValueListEditor) SetColCount(value int32)

func (*TValueListEditor) SetColWidths

func (v *TValueListEditor) SetColWidths(Index int32, value int32)

func (*TValueListEditor) SetColor

func (v *TValueListEditor) SetColor(value TColor)

设置颜色。

Set color.

func (*TValueListEditor) SetComponentIndex

func (v *TValueListEditor) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TValueListEditor) SetConstraints

func (v *TValueListEditor) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TValueListEditor) SetControlState

func (v *TValueListEditor) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TValueListEditor) SetControlStyle

func (v *TValueListEditor) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TValueListEditor) SetCursor

func (v *TValueListEditor) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TValueListEditor) SetDefaultColWidth

func (v *TValueListEditor) SetDefaultColWidth(value int32)

func (*TValueListEditor) SetDefaultDrawing

func (v *TValueListEditor) SetDefaultDrawing(value bool)

func (*TValueListEditor) SetDefaultRowHeight

func (v *TValueListEditor) SetDefaultRowHeight(value int32)

func (*TValueListEditor) SetDockSite

func (v *TValueListEditor) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TValueListEditor) SetDoubleBuffered

func (v *TValueListEditor) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TValueListEditor) SetDragCursor

func (v *TValueListEditor) SetDragCursor(value TCursor)

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TValueListEditor) SetDragKind

func (v *TValueListEditor) SetDragKind(value TDragKind)

设置拖拽方式。

Set Drag and drop.

func (*TValueListEditor) SetDragMode

func (v *TValueListEditor) SetDragMode(value TDragMode)

设置拖拽模式。

Set Drag mode.

func (*TValueListEditor) SetDropDownRows

func (v *TValueListEditor) SetDropDownRows(value int32)

func (*TValueListEditor) SetEditorMode

func (v *TValueListEditor) SetEditorMode(value bool)

func (*TValueListEditor) SetEnabled

func (v *TValueListEditor) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TValueListEditor) SetFixedColor

func (v *TValueListEditor) SetFixedColor(value TColor)

func (*TValueListEditor) SetFixedCols

func (v *TValueListEditor) SetFixedCols(value int32)

func (*TValueListEditor) SetFocus

func (v *TValueListEditor) SetFocus()

设置控件焦点。

Set control focus.

func (*TValueListEditor) SetFont

func (v *TValueListEditor) SetFont(value *TFont)

设置字体。

Set Font.

func (*TValueListEditor) SetGridLineWidth

func (v *TValueListEditor) SetGridLineWidth(value int32)

func (*TValueListEditor) SetHeight

func (v *TValueListEditor) SetHeight(value int32)

设置高度。

Set height.

func (*TValueListEditor) SetHint

func (v *TValueListEditor) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TValueListEditor) SetLeft

func (v *TValueListEditor) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TValueListEditor) SetLeftCol

func (v *TValueListEditor) SetLeftCol(value int32)

func (*TValueListEditor) SetName

func (v *TValueListEditor) SetName(value string)

设置组件名称。

Set the component name.

func (*TValueListEditor) SetOnClick

func (v *TValueListEditor) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TValueListEditor) SetOnContextPopup

func (v *TValueListEditor) SetOnContextPopup(fn TContextPopupEvent)

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TValueListEditor) SetOnDblClick

func (v *TValueListEditor) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TValueListEditor) SetOnDragDrop

func (v *TValueListEditor) SetOnDragDrop(fn TDragDropEvent)

设置拖拽下落事件。

Set Drag and drop event.

func (*TValueListEditor) SetOnDragOver

func (v *TValueListEditor) SetOnDragOver(fn TDragOverEvent)

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TValueListEditor) SetOnDrawCell

func (v *TValueListEditor) SetOnDrawCell(fn TDrawCellEvent)

func (*TValueListEditor) SetOnEndDock

func (v *TValueListEditor) SetOnEndDock(fn TEndDragEvent)

设置停靠结束事件。

Set Dock end event.

func (*TValueListEditor) SetOnEndDrag

func (v *TValueListEditor) SetOnEndDrag(fn TEndDragEvent)

设置拖拽结束。

Set End of drag.

func (*TValueListEditor) SetOnEnter

func (v *TValueListEditor) SetOnEnter(fn TNotifyEvent)

设置焦点进入。

Set Focus entry.

func (*TValueListEditor) SetOnExit

func (v *TValueListEditor) SetOnExit(fn TNotifyEvent)

设置焦点退出。

Set Focus exit.

func (*TValueListEditor) SetOnGetEditMask

func (v *TValueListEditor) SetOnGetEditMask(fn TGetEditEvent)

func (*TValueListEditor) SetOnGetEditText

func (v *TValueListEditor) SetOnGetEditText(fn TGetEditEvent)

func (*TValueListEditor) SetOnKeyDown

func (v *TValueListEditor) SetOnKeyDown(fn TKeyEvent)

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TValueListEditor) SetOnKeyPress

func (v *TValueListEditor) SetOnKeyPress(fn TKeyPressEvent)

设置键键下事件。

func (*TValueListEditor) SetOnKeyUp

func (v *TValueListEditor) SetOnKeyUp(fn TKeyEvent)

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TValueListEditor) SetOnMouseDown

func (v *TValueListEditor) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TValueListEditor) SetOnMouseEnter

func (v *TValueListEditor) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TValueListEditor) SetOnMouseLeave

func (v *TValueListEditor) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TValueListEditor) SetOnMouseMove

func (v *TValueListEditor) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TValueListEditor) SetOnMouseUp

func (v *TValueListEditor) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TValueListEditor) SetOnMouseWheelDown

func (v *TValueListEditor) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

设置鼠标滚轮按下事件。

func (*TValueListEditor) SetOnMouseWheelUp

func (v *TValueListEditor) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

设置鼠标滚轮抬起事件。

func (*TValueListEditor) SetOnSelectCell

func (v *TValueListEditor) SetOnSelectCell(fn TSelectCellEvent)

func (*TValueListEditor) SetOnSetEditText

func (v *TValueListEditor) SetOnSetEditText(fn TSetEditEvent)

func (*TValueListEditor) SetOnStartDock

func (v *TValueListEditor) SetOnStartDock(fn TStartDockEvent)

设置启动停靠。

func (*TValueListEditor) SetOnTopLeftChanged

func (v *TValueListEditor) SetOnTopLeftChanged(fn TNotifyEvent)

func (*TValueListEditor) SetOptions

func (v *TValueListEditor) SetOptions(value TGridOptions)

func (*TValueListEditor) SetParent

func (v *TValueListEditor) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TValueListEditor) SetParentColor

func (v *TValueListEditor) SetParentColor(value bool)

设置使用父容器颜色。

Set parent color.

func (*TValueListEditor) SetParentDoubleBuffered

func (v *TValueListEditor) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TValueListEditor) SetParentFont

func (v *TValueListEditor) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TValueListEditor) SetParentShowHint

func (v *TValueListEditor) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TValueListEditor) SetParentWindow

func (v *TValueListEditor) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TValueListEditor) SetPopupMenu

func (v *TValueListEditor) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TValueListEditor) SetRow

func (v *TValueListEditor) SetRow(value int32)

func (*TValueListEditor) SetRowHeights

func (v *TValueListEditor) SetRowHeights(Index int32, value int32)

func (*TValueListEditor) SetScrollBars

func (v *TValueListEditor) SetScrollBars(value TScrollStyle)

func (*TValueListEditor) SetSelection

func (v *TValueListEditor) SetSelection(value TGridRect)

func (*TValueListEditor) SetShowHint

func (v *TValueListEditor) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TValueListEditor) SetStrings

func (v *TValueListEditor) SetStrings(value IStrings)

func (*TValueListEditor) SetTabOrder

func (v *TValueListEditor) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TValueListEditor) SetTabStop

func (v *TValueListEditor) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TValueListEditor) SetTag

func (v *TValueListEditor) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TValueListEditor) SetTextBuf

func (v *TValueListEditor) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TValueListEditor) SetTop

func (v *TValueListEditor) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TValueListEditor) SetTopRow

func (v *TValueListEditor) SetTopRow(value int32)

func (*TValueListEditor) SetUseDockManager

func (v *TValueListEditor) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TValueListEditor) SetValues

func (v *TValueListEditor) SetValues(Key string, value string)

func (*TValueListEditor) SetVisible

func (v *TValueListEditor) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TValueListEditor) SetWidth

func (v *TValueListEditor) SetWidth(value int32)

设置宽度。

Set width.

func (*TValueListEditor) Show

func (v *TValueListEditor) Show()

显示控件。

Show control.

func (*TValueListEditor) ShowHint

func (v *TValueListEditor) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TValueListEditor) Showing

func (v *TValueListEditor) Showing() bool

func (*TValueListEditor) Strings

func (v *TValueListEditor) Strings() *TStrings

func (*TValueListEditor) TabOrder

func (v *TValueListEditor) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TValueListEditor) TabStop

func (v *TValueListEditor) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TValueListEditor) Tag

func (v *TValueListEditor) Tag() int

获取对象标记。

Get the control tag.

func (*TValueListEditor) ToString

func (v *TValueListEditor) ToString() string

文本类信息。

Text information.

func (*TValueListEditor) Top

func (v *TValueListEditor) Top() int32

获取顶边位置。

Get Top position.

func (*TValueListEditor) TopRow

func (v *TValueListEditor) TopRow() int32

func (*TValueListEditor) UnsafeAddr

func (v *TValueListEditor) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TValueListEditor) Update

func (v *TValueListEditor) Update()

控件更新。

Update.

func (*TValueListEditor) UseDockManager

func (v *TValueListEditor) UseDockManager() bool

获取使用停靠管理。

func (*TValueListEditor) Values

func (v *TValueListEditor) Values(Key string) string

func (*TValueListEditor) Visible

func (v *TValueListEditor) Visible() bool

获取控件可视。

Get the control visible.

func (*TValueListEditor) VisibleColCount

func (v *TValueListEditor) VisibleColCount() int32

func (*TValueListEditor) VisibleDockClientCount

func (v *TValueListEditor) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TValueListEditor) VisibleRowCount

func (v *TValueListEditor) VisibleRowCount() int32

func (*TValueListEditor) Width

func (v *TValueListEditor) Width() int32

获取宽度。

Get width.

type TWebJSExternalEvent

type TWebJSExternalEvent func(sender IObject, funcName, args string, retVal *string)

TWebJSExternalEvent = procedure(Sender: TObject; const func: string; const args: WideString; var retval: WideString) of object;

type TWebTitleChangeEvent

type TWebTitleChangeEvent func(sender IObject, text string)

TWebTitleChangeEvent = procedure(Sender: TObject; const Text: string) of object;

type TWinControl

type TWinControl struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsWinControl

func AsWinControl(obj interface{}) *TWinControl

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func FindControl

func FindControl(handle HWND) *TWinControl

func FindLCLWindow

func FindLCLWindow(screenPos TPoint, allowDisabled bool) *TWinControl

func FindOwnerControl

func FindOwnerControl(handle HWND) *TWinControl

func NewWinControl

func NewWinControl(owner IComponent) *TWinControl

创建一个新的对象。

Create a new object.

func WinControlFromInst

func WinControlFromInst(inst uintptr) *TWinControl

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsWinControl.

func WinControlFromObj

func WinControlFromObj(obj IObject) *TWinControl

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsWinControl.

func WinControlFromUnsafePointer

func WinControlFromUnsafePointer(ptr unsafe.Pointer) *TWinControl

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsWinControl.

func (*TWinControl) Action

func (w *TWinControl) Action() *TAction

func (*TWinControl) Align

func (w *TWinControl) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TWinControl) AnchorAsAlign

func (w *TWinControl) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TWinControl) AnchorClient

func (w *TWinControl) AnchorClient(ASpace int32)

func (*TWinControl) AnchorHorizontalCenterTo

func (w *TWinControl) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TWinControl) AnchorParallel

func (w *TWinControl) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TWinControl) AnchorSame

func (w *TWinControl) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TWinControl) AnchorSide

func (w *TWinControl) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TWinControl) AnchorSideBottom

func (w *TWinControl) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TWinControl) AnchorSideLeft

func (w *TWinControl) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TWinControl) AnchorSideRight

func (w *TWinControl) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TWinControl) AnchorSideTop

func (w *TWinControl) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TWinControl) AnchorToNeighbour

func (w *TWinControl) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TWinControl) AnchorVerticalCenterTo

func (w *TWinControl) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TWinControl) Anchors

func (w *TWinControl) Anchors() TAnchors

获取四个角位置的锚点。

func (*TWinControl) Assign

func (w *TWinControl) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TWinControl) AutoAdjustLayout

func (w *TWinControl) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TWinControl) BiDiMode

func (w *TWinControl) BiDiMode() TBiDiMode

func (*TWinControl) BorderSpacing

func (w *TWinControl) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TWinControl) BoundsRect

func (w *TWinControl) BoundsRect() TRect

func (*TWinControl) BringToFront

func (w *TWinControl) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TWinControl) Brush

func (w *TWinControl) Brush() *TBrush

获取画刷对象。

Get Brush.

func (*TWinControl) CanFocus

func (w *TWinControl) CanFocus() bool

是否可以获得焦点。

func (*TWinControl) ChildSizing

func (w *TWinControl) ChildSizing() *TControlChildSizing

func (*TWinControl) ClassName

func (w *TWinControl) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TWinControl) ClassType

func (w *TWinControl) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TWinControl) ClientHeight

func (w *TWinControl) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TWinControl) ClientOrigin

func (w *TWinControl) ClientOrigin() TPoint

func (*TWinControl) ClientRect

func (w *TWinControl) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TWinControl) ClientToParent

func (w *TWinControl) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TWinControl) ClientToScreen

func (w *TWinControl) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TWinControl) ClientWidth

func (w *TWinControl) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TWinControl) ComponentCount

func (w *TWinControl) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TWinControl) ComponentIndex

func (w *TWinControl) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TWinControl) Components

func (w *TWinControl) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TWinControl) Constraints

func (w *TWinControl) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TWinControl) ContainsControl

func (w *TWinControl) ContainsControl(Control IControl) bool

返回是否包含指定控件。

it's contain a specified control.

func (*TWinControl) ControlAtPos

func (w *TWinControl) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TWinControl) ControlCount

func (w *TWinControl) ControlCount() int32

获取子控件数。

Get Number of child controls.

func (*TWinControl) ControlState

func (w *TWinControl) ControlState() TControlState

获取控件状态。

Get control state.

func (*TWinControl) ControlStyle

func (w *TWinControl) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TWinControl) Controls

func (w *TWinControl) Controls(Index int32) *TControl

获取指定索引子控件。

func (*TWinControl) Cursor

func (w *TWinControl) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TWinControl) DisableAlign

func (w *TWinControl) DisableAlign()

禁用控件的对齐。

Disable control alignment.

func (*TWinControl) DockClientCount

func (w *TWinControl) DockClientCount() int32

获取依靠客户端总数。

func (*TWinControl) DockClients

func (w *TWinControl) DockClients(Index int32) *TControl

获取指定索引停靠客户端。

func (*TWinControl) DockSite

func (w *TWinControl) DockSite() bool

获取停靠站点。

Get Docking site.

func (*TWinControl) DoubleBuffered

func (w *TWinControl) DoubleBuffered() bool

获取设置控件双缓冲。

Get Set control double buffering.

func (*TWinControl) Dragging

func (w *TWinControl) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TWinControl) EnableAlign

func (w *TWinControl) EnableAlign()

启用控件对齐。

Enabled control alignment.

func (*TWinControl) Enabled

func (w *TWinControl) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TWinControl) Equals

func (w *TWinControl) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TWinControl) FindChildControl

func (w *TWinControl) FindChildControl(ControlName string) *TControl

查找子控件。

Find sub controls.

func (*TWinControl) FindComponent

func (w *TWinControl) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TWinControl) FixDesignFontsPPI

func (w *TWinControl) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TWinControl) FlipChildren

func (w *TWinControl) FlipChildren(AllLevels bool)

func (*TWinControl) Floating

func (w *TWinControl) Floating() bool

func (*TWinControl) Focused

func (w *TWinControl) Focused() bool

返回是否获取焦点。

Return to get focus.

func (*TWinControl) Free

func (w *TWinControl) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TWinControl) GetHashCode

func (w *TWinControl) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TWinControl) GetNamePath

func (w *TWinControl) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TWinControl) GetTextBuf

func (w *TWinControl) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TWinControl) GetTextLen

func (w *TWinControl) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TWinControl) Handle

func (w *TWinControl) Handle() HWND

获取控件句柄。

Get Control handle.

func (*TWinControl) HandleAllocated

func (w *TWinControl) HandleAllocated() bool

句柄是否已经分配。

Is the handle already allocated.

func (*TWinControl) HasParent

func (w *TWinControl) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TWinControl) Height

func (w *TWinControl) Height() int32

获取高度。

Get height.

func (*TWinControl) Hide

func (w *TWinControl) Hide()

隐藏控件。

Hidden control.

func (*TWinControl) Hint

func (w *TWinControl) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TWinControl) InheritsFrom

func (w *TWinControl) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TWinControl) InsertControl

func (w *TWinControl) InsertControl(AControl IControl)

插入一个控件。

Insert a control.

func (*TWinControl) Instance

func (w *TWinControl) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TWinControl) InstanceSize

func (w *TWinControl) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TWinControl) Invalidate

func (w *TWinControl) Invalidate()

要求重绘。

Redraw.

func (*TWinControl) Is

func (w *TWinControl) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TWinControl) IsValid

func (w *TWinControl) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TWinControl) Left

func (w *TWinControl) Left() int32

获取左边位置。

Get Left position.

func (*TWinControl) MouseInClient

func (w *TWinControl) MouseInClient() bool

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TWinControl) Name

func (w *TWinControl) Name() string

获取组件名称。

Get the component name.

func (*TWinControl) Owner

func (w *TWinControl) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TWinControl) PaintTo

func (w *TWinControl) PaintTo(DC HDC, X int32, Y int32)

绘画至指定DC。

Painting to the specified DC.

func (*TWinControl) Parent

func (w *TWinControl) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TWinControl) ParentDoubleBuffered

func (w *TWinControl) ParentDoubleBuffered() bool

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TWinControl) ParentToClient

func (w *TWinControl) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TWinControl) ParentWindow

func (w *TWinControl) ParentWindow() HWND

获取父容器句柄。

Get Parent container handle.

func (*TWinControl) Perform

func (w *TWinControl) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TWinControl) Realign

func (w *TWinControl) Realign()

重新对齐。

Realign.

func (*TWinControl) Refresh

func (w *TWinControl) Refresh()

刷新控件。

Refresh control.

func (*TWinControl) RemoveControl

func (w *TWinControl) RemoveControl(AControl IControl)

移除一个控件。

Remove a control.

func (*TWinControl) Repaint

func (w *TWinControl) Repaint()

重绘。

Repaint.

func (*TWinControl) Scale96ToFont

func (w *TWinControl) Scale96ToFont(ASize int32) int32

func (*TWinControl) Scale96ToForm

func (w *TWinControl) Scale96ToForm(ASize int32) int32

func (*TWinControl) Scale96ToScreen

func (w *TWinControl) Scale96ToScreen(ASize int32) int32

func (*TWinControl) ScaleBy

func (w *TWinControl) ScaleBy(M int32, D int32)

按比例缩放。

Scale by.

func (*TWinControl) ScaleDesignToForm

func (w *TWinControl) ScaleDesignToForm(ASize int32) int32

func (*TWinControl) ScaleFontTo96

func (w *TWinControl) ScaleFontTo96(ASize int32) int32

func (*TWinControl) ScaleFontToScreen

func (w *TWinControl) ScaleFontToScreen(ASize int32) int32

func (*TWinControl) ScaleFontsPPI

func (w *TWinControl) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TWinControl) ScaleFormTo96

func (w *TWinControl) ScaleFormTo96(ASize int32) int32

func (*TWinControl) ScaleFormToDesign

func (w *TWinControl) ScaleFormToDesign(ASize int32) int32

func (*TWinControl) ScaleScreenTo96

func (w *TWinControl) ScaleScreenTo96(ASize int32) int32

func (*TWinControl) ScaleScreenToFont

func (w *TWinControl) ScaleScreenToFont(ASize int32) int32

func (*TWinControl) ScreenToClient

func (w *TWinControl) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TWinControl) ScrollBy

func (w *TWinControl) ScrollBy(DeltaX int32, DeltaY int32)

滚动至指定位置。

Scroll by.

func (*TWinControl) SendToBack

func (w *TWinControl) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TWinControl) SetAction

func (w *TWinControl) SetAction(value IComponent)

func (*TWinControl) SetAlign

func (w *TWinControl) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TWinControl) SetAnchorSideBottom

func (w *TWinControl) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TWinControl) SetAnchorSideLeft

func (w *TWinControl) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TWinControl) SetAnchorSideRight

func (w *TWinControl) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TWinControl) SetAnchorSideTop

func (w *TWinControl) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TWinControl) SetAnchors

func (w *TWinControl) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TWinControl) SetBiDiMode

func (w *TWinControl) SetBiDiMode(value TBiDiMode)

func (*TWinControl) SetBorderSpacing

func (w *TWinControl) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TWinControl) SetBounds

func (w *TWinControl) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TWinControl) SetBoundsRect

func (w *TWinControl) SetBoundsRect(value TRect)

func (*TWinControl) SetChildSizing

func (w *TWinControl) SetChildSizing(value *TControlChildSizing)

func (*TWinControl) SetClientHeight

func (w *TWinControl) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TWinControl) SetClientWidth

func (w *TWinControl) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TWinControl) SetComponentIndex

func (w *TWinControl) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TWinControl) SetConstraints

func (w *TWinControl) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TWinControl) SetControlState

func (w *TWinControl) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TWinControl) SetControlStyle

func (w *TWinControl) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TWinControl) SetCursor

func (w *TWinControl) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TWinControl) SetDockSite

func (w *TWinControl) SetDockSite(value bool)

设置停靠站点。

Set Docking site.

func (*TWinControl) SetDoubleBuffered

func (w *TWinControl) SetDoubleBuffered(value bool)

设置设置控件双缓冲。

Set Set control double buffering.

func (*TWinControl) SetEnabled

func (w *TWinControl) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TWinControl) SetFocus

func (w *TWinControl) SetFocus()

设置控件焦点。

Set control focus.

func (*TWinControl) SetHeight

func (w *TWinControl) SetHeight(value int32)

设置高度。

Set height.

func (*TWinControl) SetHint

func (w *TWinControl) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TWinControl) SetLeft

func (w *TWinControl) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TWinControl) SetName

func (w *TWinControl) SetName(value string)

设置组件名称。

Set the component name.

func (*TWinControl) SetParent

func (w *TWinControl) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TWinControl) SetParentDoubleBuffered

func (w *TWinControl) SetParentDoubleBuffered(value bool)

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TWinControl) SetParentWindow

func (w *TWinControl) SetParentWindow(value HWND)

设置父容器句柄。

Set Parent container handle.

func (*TWinControl) SetShowHint

func (w *TWinControl) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TWinControl) SetTabOrder

func (w *TWinControl) SetTabOrder(value TTabOrder)

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TWinControl) SetTabStop

func (w *TWinControl) SetTabStop(value bool)

设置Tab可停留。

Set Tab can stay.

func (*TWinControl) SetTag

func (w *TWinControl) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TWinControl) SetTextBuf

func (w *TWinControl) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TWinControl) SetTop

func (w *TWinControl) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TWinControl) SetUseDockManager

func (w *TWinControl) SetUseDockManager(value bool)

设置使用停靠管理。

func (*TWinControl) SetVisible

func (w *TWinControl) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TWinControl) SetWidth

func (w *TWinControl) SetWidth(value int32)

设置宽度。

Set width.

func (*TWinControl) Show

func (w *TWinControl) Show()

显示控件。

Show control.

func (*TWinControl) ShowHint

func (w *TWinControl) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TWinControl) Showing

func (w *TWinControl) Showing() bool

func (*TWinControl) TabOrder

func (w *TWinControl) TabOrder() TTabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TWinControl) TabStop

func (w *TWinControl) TabStop() bool

获取Tab可停留。

Get Tab can stay.

func (*TWinControl) Tag

func (w *TWinControl) Tag() int

获取对象标记。

Get the control tag.

func (*TWinControl) ToString

func (w *TWinControl) ToString() string

文本类信息。

Text information.

func (*TWinControl) Top

func (w *TWinControl) Top() int32

获取顶边位置。

Get Top position.

func (*TWinControl) UnsafeAddr

func (w *TWinControl) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TWinControl) Update

func (w *TWinControl) Update()

控件更新。

Update.

func (*TWinControl) UseDockManager

func (w *TWinControl) UseDockManager() bool

获取使用停靠管理。

func (*TWinControl) Visible

func (w *TWinControl) Visible() bool

获取控件可视。

Get the control visible.

func (*TWinControl) VisibleDockClientCount

func (w *TWinControl) VisibleDockClientCount() int32

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TWinControl) Width

func (w *TWinControl) Width() int32

获取宽度。

Get width.

type TWndProcEvent

type TWndProcEvent func(msg *TMessage)

TWndProcEvent = procedure(Sender: TObject; var AMsg: TMessage) of object;

type TXButton

type TXButton struct {
	IControl
	// contains filtered or unexported fields
}

func AsXButton

func AsXButton(obj interface{}) *TXButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewXButton

func NewXButton(owner IComponent) *TXButton

创建一个新的对象。

Create a new object.

func XButtonFromInst

func XButtonFromInst(inst uintptr) *TXButton

-------------------------- Deprecated begin -------------------------- 新建一个对象来自已经存在的对象实例指针。

Create a new object from an existing object instance pointer. Deprecated: use AsXButton.

func XButtonFromObj

func XButtonFromObj(obj IObject) *TXButton

新建一个对象来自已经存在的对象实例。

Create a new object from an existing object instance. Deprecated: use AsXButton.

func XButtonFromUnsafePointer

func XButtonFromUnsafePointer(ptr unsafe.Pointer) *TXButton

新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。

Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsXButton.

func (*TXButton) Action

func (x *TXButton) Action() *TAction

func (*TXButton) Align

func (x *TXButton) Align() TAlign

获取控件自动调整。

Get Control automatically adjusts.

func (*TXButton) AnchorAsAlign

func (x *TXButton) AnchorAsAlign(ATheAlign TAlign, ASpace int32)

func (*TXButton) AnchorClient

func (x *TXButton) AnchorClient(ASpace int32)

func (*TXButton) AnchorHorizontalCenterTo

func (x *TXButton) AnchorHorizontalCenterTo(ASibling IControl)

置于指定控件的横向中心。

func (*TXButton) AnchorParallel

func (x *TXButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TXButton) AnchorSame

func (x *TXButton) AnchorSame(ASide TAnchorKind, ASibling IControl)

func (*TXButton) AnchorSide

func (x *TXButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

获取锚侧面。

func (*TXButton) AnchorSideBottom

func (x *TXButton) AnchorSideBottom() *TAnchorSide

获取底边锚点。

func (*TXButton) AnchorSideLeft

func (x *TXButton) AnchorSideLeft() *TAnchorSide

获取左边锚点。

func (*TXButton) AnchorSideRight

func (x *TXButton) AnchorSideRight() *TAnchorSide

获取右边锚点。

func (*TXButton) AnchorSideTop

func (x *TXButton) AnchorSideTop() *TAnchorSide

获取顶边锚点。

func (*TXButton) AnchorToNeighbour

func (x *TXButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TXButton) AnchorVerticalCenterTo

func (x *TXButton) AnchorVerticalCenterTo(ASibling IControl)

置于指定控件的纵向中心。

func (*TXButton) Anchors

func (x *TXButton) Anchors() TAnchors

获取四个角位置的锚点。

func (*TXButton) Assign

func (x *TXButton) Assign(Source IObject)

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TXButton) AutoAdjustLayout

func (x *TXButton) AutoAdjustLayout(AMode TLayoutAdjustmentPolicy, AFromPPI int32, AToPPI int32, AOldFormWidth int32, ANewFormWidth int32)

func (*TXButton) BackColor

func (x *TXButton) BackColor() TColor

func (*TXButton) BiDiMode

func (x *TXButton) BiDiMode() TBiDiMode

func (*TXButton) BorderColor

func (x *TXButton) BorderColor() TColor

func (*TXButton) BorderSpacing

func (x *TXButton) BorderSpacing() *TControlBorderSpacing

获取边框间距。

func (*TXButton) BorderWidth

func (x *TXButton) BorderWidth() int32

获取边框的宽度。

func (*TXButton) BoundsRect

func (x *TXButton) BoundsRect() TRect

func (*TXButton) BringToFront

func (x *TXButton) BringToFront()

将控件置于最前。

Bring the control to the front.

func (*TXButton) Caption

func (x *TXButton) Caption() string

获取控件标题。

Get the control title.

func (*TXButton) ClassName

func (x *TXButton) ClassName() string

获取当前对象类名称。

Get the current object class name.

func (*TXButton) ClassType

func (x *TXButton) ClassType() TClass

获取类的类型信息。

Get class type information.

func (*TXButton) ClientHeight

func (x *TXButton) ClientHeight() int32

获取客户区高度。

Get client height.

func (*TXButton) ClientOrigin

func (x *TXButton) ClientOrigin() TPoint

func (*TXButton) ClientRect

func (x *TXButton) ClientRect() TRect

获取客户区矩形。

Get client rectangle.

func (*TXButton) ClientToParent

func (x *TXButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TXButton) ClientToScreen

func (x *TXButton) ClientToScreen(Point TPoint) TPoint

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TXButton) ClientWidth

func (x *TXButton) ClientWidth() int32

获取客户区宽度。

Get client width.

func (*TXButton) ComponentCount

func (x *TXButton) ComponentCount() int32

获取组件总数。

Get the total number of components.

func (*TXButton) ComponentIndex

func (x *TXButton) ComponentIndex() int32

获取组件索引。

Get component index.

func (*TXButton) Components

func (x *TXButton) Components(AIndex int32) *TComponent

获取指定索引组件。

Get the specified index component.

func (*TXButton) Constraints

func (x *TXButton) Constraints() *TSizeConstraints

获取约束控件大小。

func (*TXButton) ControlState

func (x *TXButton) ControlState() TControlState

获取控件状态。

Get control state.

func (*TXButton) ControlStyle

func (x *TXButton) ControlStyle() TControlStyle

获取控件样式。

Get control style.

func (*TXButton) Cursor

func (x *TXButton) Cursor() TCursor

获取控件光标。

Get control cursor.

func (*TXButton) DownColor

func (x *TXButton) DownColor() TColor

func (*TXButton) DownFontColor

func (x *TXButton) DownFontColor() TColor

func (*TXButton) Dragging

func (x *TXButton) Dragging() bool

是否在拖拽中。

Is it in the middle of dragging.

func (*TXButton) DrawMode

func (x *TXButton) DrawMode() TDrawImageMode

func (*TXButton) Enabled

func (x *TXButton) Enabled() bool

获取控件启用。

Get the control enabled.

func (*TXButton) Equals

func (x *TXButton) Equals(Obj IObject) bool

与一个对象进行比较。

Compare with an object.

func (*TXButton) FindComponent

func (x *TXButton) FindComponent(AName string) *TComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TXButton) FixDesignFontsPPI

func (x *TXButton) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TXButton) Floating

func (x *TXButton) Floating() bool

func (*TXButton) Font

func (x *TXButton) Font() *TFont

获取字体。

Get Font.

func (*TXButton) Free

func (x *TXButton) Free()

-------------------------- Deprecated end -------------------------- 释放对象。

Free object.

func (*TXButton) GetHashCode

func (x *TXButton) GetHashCode() int32

获取类的哈希值。

Get the hash value of the class.

func (*TXButton) GetNamePath

func (x *TXButton) GetNamePath() string

获取类名路径。

Get the class name path.

func (*TXButton) GetTextBuf

func (x *TXButton) GetTextBuf(Buffer *string, BufSize int32) int32

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TXButton) GetTextLen

func (x *TXButton) GetTextLen() int32

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TXButton) HasParent

func (x *TXButton) HasParent() bool

是否有父容器。

Is there a parent container.

func (*TXButton) Height

func (x *TXButton) Height() int32

获取高度。

Get height.

func (*TXButton) Hide

func (x *TXButton) Hide()

隐藏控件。

Hidden control.

func (*TXButton) Hint

func (x *TXButton) Hint() string

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TXButton) HoverColor

func (x *TXButton) HoverColor() TColor

func (*TXButton) HoverFontColor

func (x *TXButton) HoverFontColor() TColor

func (*TXButton) InheritsFrom

func (x *TXButton) InheritsFrom(AClass TClass) bool

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TXButton) Instance

func (x *TXButton) Instance() uintptr

返回对象实例指针。

Return object instance pointer.

func (*TXButton) InstanceSize

func (x *TXButton) InstanceSize() int32

获取当前对象实例大小。

Get the current object instance size.

func (*TXButton) Invalidate

func (x *TXButton) Invalidate()

要求重绘。

Redraw.

func (*TXButton) Is

func (x *TXButton) Is() TIs

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TXButton) IsValid

func (x *TXButton) IsValid() bool

检测地址是否为空。

Check if the address is empty.

func (*TXButton) Left

func (x *TXButton) Left() int32

获取左边位置。

Get Left position.

func (*TXButton) Name

func (x *TXButton) Name() string

获取组件名称。

Get the component name.

func (*TXButton) NormalFontColor

func (x *TXButton) NormalFontColor() TColor

func (*TXButton) Owner

func (x *TXButton) Owner() *TComponent

获取组件所有者。

Get component owner.

func (*TXButton) Parent

func (x *TXButton) Parent() *TWinControl

获取控件父容器。

Get control parent container.

func (*TXButton) ParentFont

func (x *TXButton) ParentFont() bool

获取使用父容器字体。

Get Parent container font.

func (*TXButton) ParentShowHint

func (x *TXButton) ParentShowHint() bool

获取以父容器的ShowHint属性为准。

func (*TXButton) ParentToClient

func (x *TXButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TXButton) Perform

func (x *TXButton) Perform(Msg uint32, WParam uintptr, LParam int) int

发送一个消息。

Send a message.

func (*TXButton) Picture

func (x *TXButton) Picture() *TPicture

获取图片。

func (*TXButton) PopupMenu

func (x *TXButton) PopupMenu() *TPopupMenu

获取右键菜单。

Get Right click menu.

func (*TXButton) Refresh

func (x *TXButton) Refresh()

刷新控件。

Refresh control.

func (*TXButton) Repaint

func (x *TXButton) Repaint()

重绘。

Repaint.

func (*TXButton) Scale96ToFont

func (x *TXButton) Scale96ToFont(ASize int32) int32

func (*TXButton) Scale96ToForm

func (x *TXButton) Scale96ToForm(ASize int32) int32

func (*TXButton) Scale96ToScreen

func (x *TXButton) Scale96ToScreen(ASize int32) int32

func (*TXButton) ScaleDesignToForm

func (x *TXButton) ScaleDesignToForm(ASize int32) int32

func (*TXButton) ScaleFontTo96

func (x *TXButton) ScaleFontTo96(ASize int32) int32

func (*TXButton) ScaleFontToScreen

func (x *TXButton) ScaleFontToScreen(ASize int32) int32

func (*TXButton) ScaleFontsPPI

func (x *TXButton) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TXButton) ScaleFormTo96

func (x *TXButton) ScaleFormTo96(ASize int32) int32

func (*TXButton) ScaleFormToDesign

func (x *TXButton) ScaleFormToDesign(ASize int32) int32

func (*TXButton) ScaleScreenTo96

func (x *TXButton) ScaleScreenTo96(ASize int32) int32

func (*TXButton) ScaleScreenToFont

func (x *TXButton) ScaleScreenToFont(ASize int32) int32

func (*TXButton) ScreenToClient

func (x *TXButton) ScreenToClient(Point TPoint) TPoint

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TXButton) SendToBack

func (x *TXButton) SendToBack()

控件至于最后面。

The control is placed at the end.

func (*TXButton) SetAction

func (x *TXButton) SetAction(value IComponent)

func (*TXButton) SetAlign

func (x *TXButton) SetAlign(value TAlign)

设置控件自动调整。

Set Control automatically adjusts.

func (*TXButton) SetAnchorSideBottom

func (x *TXButton) SetAnchorSideBottom(value *TAnchorSide)

设置底边锚点。

func (*TXButton) SetAnchorSideLeft

func (x *TXButton) SetAnchorSideLeft(value *TAnchorSide)

设置左边锚点。

func (*TXButton) SetAnchorSideRight

func (x *TXButton) SetAnchorSideRight(value *TAnchorSide)

设置右边锚点。

func (*TXButton) SetAnchorSideTop

func (x *TXButton) SetAnchorSideTop(value *TAnchorSide)

设置顶边锚点。

func (*TXButton) SetAnchors

func (x *TXButton) SetAnchors(value TAnchors)

设置四个角位置的锚点。

func (*TXButton) SetBackColor

func (x *TXButton) SetBackColor(value TColor)

func (*TXButton) SetBiDiMode

func (x *TXButton) SetBiDiMode(value TBiDiMode)

func (*TXButton) SetBorderColor

func (x *TXButton) SetBorderColor(value TColor)

func (*TXButton) SetBorderSpacing

func (x *TXButton) SetBorderSpacing(value *TControlBorderSpacing)

设置边框间距。

func (*TXButton) SetBorderWidth

func (x *TXButton) SetBorderWidth(value int32)

设置边框的宽度。

func (*TXButton) SetBounds

func (x *TXButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

设置组件边界。

Set component boundaries.

func (*TXButton) SetBoundsRect

func (x *TXButton) SetBoundsRect(value TRect)

func (*TXButton) SetCaption

func (x *TXButton) SetCaption(value string)

设置控件标题。

Set the control title.

func (*TXButton) SetClientHeight

func (x *TXButton) SetClientHeight(value int32)

设置客户区高度。

Set client height.

func (*TXButton) SetClientWidth

func (x *TXButton) SetClientWidth(value int32)

设置客户区宽度。

Set client width.

func (*TXButton) SetComponentIndex

func (x *TXButton) SetComponentIndex(value int32)

设置组件索引。

Set component index.

func (*TXButton) SetConstraints

func (x *TXButton) SetConstraints(value *TSizeConstraints)

设置约束控件大小。

func (*TXButton) SetControlState

func (x *TXButton) SetControlState(value TControlState)

设置控件状态。

Set control state.

func (*TXButton) SetControlStyle

func (x *TXButton) SetControlStyle(value TControlStyle)

设置控件样式。

Set control style.

func (*TXButton) SetCursor

func (x *TXButton) SetCursor(value TCursor)

设置控件光标。

Set control cursor.

func (*TXButton) SetDownColor

func (x *TXButton) SetDownColor(value TColor)

func (*TXButton) SetDownFontColor

func (x *TXButton) SetDownFontColor(value TColor)

func (*TXButton) SetDrawMode

func (x *TXButton) SetDrawMode(value TDrawImageMode)

func (*TXButton) SetEnabled

func (x *TXButton) SetEnabled(value bool)

设置控件启用。

Set the control enabled.

func (*TXButton) SetFont

func (x *TXButton) SetFont(value *TFont)

设置字体。

Set Font.

func (*TXButton) SetHeight

func (x *TXButton) SetHeight(value int32)

设置高度。

Set height.

func (*TXButton) SetHint

func (x *TXButton) SetHint(value string)

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TXButton) SetHoverColor

func (x *TXButton) SetHoverColor(value TColor)

func (*TXButton) SetHoverFontColor

func (x *TXButton) SetHoverFontColor(value TColor)

func (*TXButton) SetLeft

func (x *TXButton) SetLeft(value int32)

设置左边位置。

Set Left position.

func (*TXButton) SetName

func (x *TXButton) SetName(value string)

设置组件名称。

Set the component name.

func (*TXButton) SetNormalFontColor

func (x *TXButton) SetNormalFontColor(value TColor)

func (*TXButton) SetOnClick

func (x *TXButton) SetOnClick(fn TNotifyEvent)

设置控件单击事件。

Set control click event.

func (*TXButton) SetOnDblClick

func (x *TXButton) SetOnDblClick(fn TNotifyEvent)

设置双击事件。

func (*TXButton) SetOnMouseDown

func (x *TXButton) SetOnMouseDown(fn TMouseEvent)

设置鼠标按下事件。

Set Mouse down event.

func (*TXButton) SetOnMouseEnter

func (x *TXButton) SetOnMouseEnter(fn TNotifyEvent)

设置鼠标进入事件。

Set Mouse entry event.

func (*TXButton) SetOnMouseLeave

func (x *TXButton) SetOnMouseLeave(fn TNotifyEvent)

设置鼠标离开事件。

Set Mouse leave event.

func (*TXButton) SetOnMouseMove

func (x *TXButton) SetOnMouseMove(fn TMouseMoveEvent)

设置鼠标移动事件。

func (*TXButton) SetOnMouseUp

func (x *TXButton) SetOnMouseUp(fn TMouseEvent)

设置鼠标抬起事件。

Set Mouse lift event.

func (*TXButton) SetParent

func (x *TXButton) SetParent(value IWinControl)

设置控件父容器。

Set control parent container.

func (*TXButton) SetParentFont

func (x *TXButton) SetParentFont(value bool)

设置使用父容器字体。

Set Parent container font.

func (*TXButton) SetParentShowHint

func (x *TXButton) SetParentShowHint(value bool)

设置以父容器的ShowHint属性为准。

func (*TXButton) SetPicture

func (x *TXButton) SetPicture(value *TPicture)

设置图片。

func (*TXButton) SetPopupMenu

func (x *TXButton) SetPopupMenu(value IComponent)

设置右键菜单。

Set Right click menu.

func (*TXButton) SetShowCaption

func (x *TXButton) SetShowCaption(value bool)

func (*TXButton) SetShowHint

func (x *TXButton) SetShowHint(value bool)

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TXButton) SetTag

func (x *TXButton) SetTag(value int)

设置对象标记。

Set the control tag.

func (*TXButton) SetTextBuf

func (x *TXButton) SetTextBuf(Buffer string)

设置控件字符,如果有。

Set control characters, if any.

func (*TXButton) SetTop

func (x *TXButton) SetTop(value int32)

设置顶边位置。

Set Top position.

func (*TXButton) SetVisible

func (x *TXButton) SetVisible(value bool)

设置控件可视。

Set the control visible.

func (*TXButton) SetWidth

func (x *TXButton) SetWidth(value int32)

设置宽度。

Set width.

func (*TXButton) Show

func (x *TXButton) Show()

显示控件。

Show control.

func (*TXButton) ShowCaption

func (x *TXButton) ShowCaption() bool

func (*TXButton) ShowHint

func (x *TXButton) ShowHint() bool

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TXButton) Tag

func (x *TXButton) Tag() int

获取对象标记。

Get the control tag.

func (*TXButton) ToString

func (x *TXButton) ToString() string

文本类信息。

Text information.

func (*TXButton) Top

func (x *TXButton) Top() int32

获取顶边位置。

Get Top position.

func (*TXButton) UnsafeAddr

func (x *TXButton) UnsafeAddr() unsafe.Pointer

获取一个不安全的地址。

Get an unsafe address.

func (*TXButton) Update

func (x *TXButton) Update()

控件更新。

Update.

func (*TXButton) Visible

func (x *TXButton) Visible() bool

获取控件可视。

Get the control visible.

func (*TXButton) Width

func (x *TXButton) Width() int32

获取宽度。

Get width.

type XID

type XID uintptr

Source Files

Directories

Path Synopsis
api
---------------------------------------- 加载文件或者内存中的窗口资源文件功能 需要配合窗口设计器使用 ----------------------------------------
---------------------------------------- 加载文件或者内存中的窗口资源文件功能 需要配合窗口设计器使用 ----------------------------------------
实现一些Go的Image转lcl的
实现一些Go的Image转lcl的
rtl
win

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL