vcl

package
v2.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 1,113

README


  • api
    lcl库的函数导入等。

  • i18n
    App多语言设置。

  • rtl
    一些非组件类的。

  • types
    所有的类型定义。

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

  • bitmap
    将Go的Image转为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 (
	// DEBUG
	// 如果DEBUG = true则不会屏蔽recover()。
	// If DEBUG = true, recover() will not be blocked.
	DEBUG = false
)

Functions

func CheckPtr

func CheckPtr(value interface{}) uintptr

CheckPtr

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

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

func CreateResForm added in v1.2.7

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

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

func CreateResFrame added in v1.2.7

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

CreateResFrame

从资源中创建TFrame。

Create TFrame from resources.

func EqualsObject

func EqualsObject(obj1, obj2 IObject) bool

EqualsObject

比较两个对象

func ExceptionClass added in v1.1.18

func ExceptionClass() TClass

ExceptionClass

获取类信息指针。

Get class information pointer.

func InputBox

func InputBox(aCaption, aPrompt, aDefault string) string

InputBox

输入框。

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

InputQuery

输入框。

Input box.

func MessageDlg

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

MessageDlg

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

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

func PasswordBox

func PasswordBox(aCaption, aPrompt string) string

PasswordBox

密码输入框。

Password input box.

func RegisterClipboardFormat

func RegisterClipboardFormat(aFormat string) types.TClipboardFormat

func RegisterExtEventCallback added in v1.2.5

func RegisterExtEventCallback(callback TExtEventCallback)

RegisterExtEventCallback

注册外部扩展回调事件

Registering external extension callback events.

func RegisterFormResource added in v1.2.8

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

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

func RunApp added in v1.2.9

func RunApp(values ...interface{})

RunApp

简化运行。

simplify running.

func SelectDirectory1

func SelectDirectory1(options TSelectDirOpts) (bool, string)

SelectDirectory1

选择目录对话框。

Select Directory dialog.

func SelectDirectory2

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

SelectDirectory2

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

Select the directory dialog box. the default options are SdNewUI, and the default parent is nil.

func ShowMessage

func ShowMessage(msg string)

ShowMessage

显示一个消息框。

Show a message box.

func ShowMessageFmt added in v1.1.21

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

ShowMessageFmt

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

Show a message box with formatted text.

func TActionClass added in v1.1.18

func TActionClass() TClass

TActionClass

获取类信息指针。

Get class information pointer.

func TActionListClass added in v1.1.18

func TActionListClass() TClass

TActionListClass

获取类信息指针。

Get class information pointer.

func TAnchorSideClass

func TAnchorSideClass() TClass

TAnchorSideClass

获取类信息指针。

Get class information pointer.

func TApplicationClass added in v1.1.18

func TApplicationClass() TClass

TApplicationClass

获取类信息指针。

Get class information pointer.

func TBevelClass added in v1.1.18

func TBevelClass() TClass

TBevelClass

获取类信息指针。

Get class information pointer.

func TBitBtnClass added in v1.1.18

func TBitBtnClass() TClass

TBitBtnClass

获取类信息指针。

Get class information pointer.

func TBitmapClass added in v1.1.18

func TBitmapClass() TClass

TBitmapClass

获取类信息指针。

Get class information pointer.

func TBoundLabelClass added in v1.1.19

func TBoundLabelClass() TClass

TBoundLabelClass

获取类信息指针。

Get class information pointer.

func TBrushClass added in v1.1.18

func TBrushClass() TClass

TBrushClass

获取类信息指针。

Get class information pointer.

func TButtonClass added in v1.1.18

func TButtonClass() TClass

TButtonClass

获取类信息指针。

Get class information pointer.

func TCanvasClass added in v1.1.18

func TCanvasClass() TClass

TCanvasClass

获取类信息指针。

Get class information pointer.

func TCheckBoxClass added in v1.1.18

func TCheckBoxClass() TClass

TCheckBoxClass

获取类信息指针。

Get class information pointer.

func TCheckComboBoxClass

func TCheckComboBoxClass() TClass

TCheckComboBoxClass

获取类信息指针。

Get class information pointer.

func TCheckGroupClass

func TCheckGroupClass() TClass

TCheckGroupClass

获取类信息指针。

Get class information pointer.

func TCheckListBoxClass added in v1.1.18

func TCheckListBoxClass() TClass

TCheckListBoxClass

获取类信息指针。

Get class information pointer.

func TClipboardClass added in v1.1.18

func TClipboardClass() TClass

TClipboardClass

获取类信息指针。

Get class information pointer.

func TCollectionClass added in v1.1.23

func TCollectionClass() TClass

TCollectionClass

获取类信息指针。

Get class information pointer.

func TCollectionItemClass added in v1.1.18

func TCollectionItemClass() TClass

TCollectionItemClass

获取类信息指针。

Get class information pointer.

func TColorBoxClass added in v1.1.18

func TColorBoxClass() TClass

TColorBoxClass

获取类信息指针。

Get class information pointer.

func TColorButtonClass

func TColorButtonClass() TClass

TColorButtonClass

获取类信息指针。

Get class information pointer.

func TColorDialogClass added in v1.1.18

func TColorDialogClass() TClass

TColorDialogClass

获取类信息指针。

Get class information pointer.

func TColorListBoxClass added in v1.1.18

func TColorListBoxClass() TClass

TColorListBoxClass

获取类信息指针。

Get class information pointer.

func TComboBoxClass added in v1.1.18

func TComboBoxClass() TClass

TComboBoxClass

获取类信息指针。

Get class information pointer.

func TComboBoxExClass added in v1.2.7

func TComboBoxExClass() TClass

TComboBoxExClass

获取类信息指针。

Get class information pointer.

func TComboExItemClass added in v1.2.7

func TComboExItemClass() TClass

TComboExItemClass

获取类信息指针。

Get class information pointer.

func TComboExItemsClass added in v1.2.7

func TComboExItemsClass() TClass

TComboExItemsClass

获取类信息指针。

Get class information pointer.

func TComponentClass added in v1.1.18

func TComponentClass() TClass

TComponentClass

获取类信息指针。

Get class information pointer.

func TControlBorderSpacingClass

func TControlBorderSpacingClass() TClass

TControlBorderSpacingClass

获取类信息指针。

Get class information pointer.

func TControlChildSizingClass

func TControlChildSizingClass() TClass

TControlChildSizingClass

获取类信息指针。

Get class information pointer.

func TControlClass added in v1.1.18

func TControlClass() TClass

TControlClass

获取类信息指针。

Get class information pointer.

func TControlScrollBarClass added in v1.2.7

func TControlScrollBarClass() TClass

TControlScrollBarClass

获取类信息指针。

Get class information pointer.

func TCoolBandClass added in v1.1.19

func TCoolBandClass() TClass

TCoolBandClass

获取类信息指针。

Get class information pointer.

func TCoolBandsClass added in v1.1.19

func TCoolBandsClass() TClass

TCoolBandsClass

获取类信息指针。

Get class information pointer.

func TCoolBarClass added in v1.1.19

func TCoolBarClass() TClass

TCoolBarClass

获取类信息指针。

Get class information pointer.

func TDateTimePickerClass added in v1.1.18

func TDateTimePickerClass() TClass

TDateTimePickerClass

获取类信息指针。

Get class information pointer.

func TDirectoryEditClass

func TDirectoryEditClass() TClass

TDirectoryEditClass

获取类信息指针。

Get class information pointer.

func TDragDockObjectClass added in v1.1.18

func TDragDockObjectClass() TClass

TDragDockObjectClass

获取类信息指针。

Get class information pointer.

func TDragObjectClass added in v1.1.18

func TDragObjectClass() TClass

TDragObjectClass

获取类信息指针。

Get class information pointer.

func TDrawGridClass added in v1.1.19

func TDrawGridClass() TClass

TDrawGridClass

获取类信息指针。

Get class information pointer.

func TEditClass added in v1.1.18

func TEditClass() TClass

TEditClass

获取类信息指针。

Get class information pointer.

func TFindDialogClass added in v1.1.18

func TFindDialogClass() TClass

TFindDialogClass

获取类信息指针。

Get class information pointer.

func TFloatSpinEditClass

func TFloatSpinEditClass() TClass

TFloatSpinEditClass

获取类信息指针。

Get class information pointer.

func TFlowPanelClass added in v1.1.19

func TFlowPanelClass() TClass

TFlowPanelClass

获取类信息指针。

Get class information pointer.

func TFlowPanelControlClass

func TFlowPanelControlClass() TClass

TFlowPanelControlClass

获取类信息指针。

Get class information pointer.

func TFlowPanelControlListClass

func TFlowPanelControlListClass() TClass

TFlowPanelControlListClass

获取类信息指针。

Get class information pointer.

func TFontClass added in v1.1.18

func TFontClass() TClass

TFontClass

获取类信息指针。

Get class information pointer.

func TFontDialogClass added in v1.1.18

func TFontDialogClass() TClass

TFontDialogClass

获取类信息指针。

Get class information pointer.

func TFormClass added in v1.1.18

func TFormClass() TClass

TFormClass

获取类信息指针。

Get class information pointer.

func TFrameClass added in v1.2.7

func TFrameClass() TClass

TFrameClass

获取类信息指针。

Get class information pointer.

func TGIFImageClass added in v1.1.18

func TGIFImageClass() TClass

TGIFImageClass

获取类信息指针。

Get class information pointer.

func TGaugeClass added in v1.1.18

func TGaugeClass() TClass

TGaugeClass

获取类信息指针。

Get class information pointer.

func TGraphicClass added in v1.1.18

func TGraphicClass() TClass

TGraphicClass

获取类信息指针。

Get class information pointer.

func TGridColumnClass

func TGridColumnClass() TClass

TGridColumnClass

获取类信息指针。

Get class information pointer.

func TGridColumnTitleClass

func TGridColumnTitleClass() TClass

TGridColumnTitleClass

获取类信息指针。

Get class information pointer.

func TGridColumnsClass

func TGridColumnsClass() TClass

TGridColumnsClass

获取类信息指针。

Get class information pointer.

func TGroupBoxClass added in v1.1.18

func TGroupBoxClass() TClass

TGroupBoxClass

获取类信息指针。

Get class information pointer.

func THeaderControlClass added in v1.1.19

func THeaderControlClass() TClass

THeaderControlClass

获取类信息指针。

Get class information pointer.

func THeaderSectionClass added in v1.1.19

func THeaderSectionClass() TClass

THeaderSectionClass

获取类信息指针。

Get class information pointer.

func THeaderSectionsClass added in v1.1.19

func THeaderSectionsClass() TClass

THeaderSectionsClass

获取类信息指针。

Get class information pointer.

func TIconClass added in v1.1.18

func TIconClass() TClass

TIconClass

获取类信息指针。

Get class information pointer.

func TIconOptionsClass added in v1.1.18

func TIconOptionsClass() TClass

TIconOptionsClass

获取类信息指针。

Get class information pointer.

func TImageButtonClass added in v1.1.18

func TImageButtonClass() TClass

TImageButtonClass

获取类信息指针。

Get class information pointer.

func TImageClass added in v1.1.18

func TImageClass() TClass

TImageClass

获取类信息指针。

Get class information pointer.

func TImageListClass added in v1.1.18

func TImageListClass() TClass

TImageListClass

获取类信息指针。

Get class information pointer.

func TIniFileClass added in v1.1.18

func TIniFileClass() TClass

TIniFileClass

获取类信息指针。

Get class information pointer.

func TJPEGImageClass added in v1.1.18

func TJPEGImageClass() TClass

TJPEGImageClass

获取类信息指针。

Get class information pointer.

func TLabelClass added in v1.1.18

func TLabelClass() TClass

TLabelClass

获取类信息指针。

Get class information pointer.

func TLabeledEditClass added in v1.1.19

func TLabeledEditClass() TClass

TLabeledEditClass

获取类信息指针。

Get class information pointer.

func TLinkLabelClass added in v1.1.18

func TLinkLabelClass() TClass

TLinkLabelClass

获取类信息指针。

Get class information pointer.

func TListBoxClass added in v1.1.18

func TListBoxClass() TClass

TListBoxClass

获取类信息指针。

Get class information pointer.

func TListClass added in v1.1.18

func TListClass() TClass

TListClass

获取类信息指针。

Get class information pointer.

func TListColumnClass added in v1.1.18

func TListColumnClass() TClass

TListColumnClass

获取类信息指针。

Get class information pointer.

func TListColumnsClass added in v1.1.18

func TListColumnsClass() TClass

TListColumnsClass

获取类信息指针。

Get class information pointer.

func TListItemClass added in v1.1.18

func TListItemClass() TClass

TListItemClass

获取类信息指针。

Get class information pointer.

func TListItemsClass added in v1.1.18

func TListItemsClass() TClass

TListItemsClass

获取类信息指针。

Get class information pointer.

func TListViewClass added in v1.1.18

func TListViewClass() TClass

TListViewClass

获取类信息指针。

Get class information pointer.

func TMainMenuClass added in v1.1.18

func TMainMenuClass() TClass

TMainMenuClass

获取类信息指针。

Get class information pointer.

func TMaskEditClass added in v1.1.18

func TMaskEditClass() TClass

TMaskEditClass

获取类信息指针。

Get class information pointer.

func TMemoClass added in v1.1.18

func TMemoClass() TClass

TMemoClass

获取类信息指针。

Get class information pointer.

func TMemoryStreamClass added in v1.1.18

func TMemoryStreamClass() TClass

TMemoryStreamClass

获取类信息指针。

Get class information pointer.

func TMenuItemClass added in v1.1.18

func TMenuItemClass() TClass

TMenuItemClass

获取类信息指针。

Get class information pointer.

func TMiniWebviewClass added in v1.2.1

func TMiniWebviewClass() TClass

TMiniWebviewClass

获取类信息指针。

Get class information pointer.

func TMonitorClass added in v1.1.18

func TMonitorClass() TClass

TMonitorClass

获取类信息指针。

Get class information pointer.

func TMonthCalendarClass added in v1.1.18

func TMonthCalendarClass() TClass

TMonthCalendarClass

获取类信息指针。

Get class information pointer.

func TMouseClass added in v1.1.18

func TMouseClass() TClass

TMouseClass

获取类信息指针。

Get class information pointer.

func TObjectClass added in v1.1.18

func TObjectClass() TClass

TObjectClass

获取类信息指针。

Get class information pointer.

func TOpenDialogClass added in v1.1.18

func TOpenDialogClass() TClass

TOpenDialogClass

获取类信息指针。

Get class information pointer.

func TOpenPictureDialogClass added in v1.1.18

func TOpenPictureDialogClass() TClass

TOpenPictureDialogClass

获取类信息指针。

Get class information pointer.

func TPageControlClass added in v1.1.18

func TPageControlClass() TClass

TPageControlClass

获取类信息指针。

Get class information pointer.

func TPageSetupDialogClass added in v1.1.18

func TPageSetupDialogClass() TClass

TPageSetupDialogClass

获取类信息指针。

Get class information pointer.

func TPaintBoxClass added in v1.1.18

func TPaintBoxClass() TClass

TPaintBoxClass

获取类信息指针。

Get class information pointer.

func TPanelClass added in v1.1.18

func TPanelClass() TClass

TPanelClass

获取类信息指针。

Get class information pointer.

func TParaAttributesClass added in v1.1.18

func TParaAttributesClass() TClass

TParaAttributesClass

获取类信息指针。

Get class information pointer.

func TPenClass added in v1.1.18

func TPenClass() TClass

TPenClass

获取类信息指针。

Get class information pointer.

func TPictureClass added in v1.1.18

func TPictureClass() TClass

TPictureClass

获取类信息指针。

Get class information pointer.

func TPngImageClass added in v1.1.18

func TPngImageClass() TClass

TPngImageClass

获取类信息指针。

Get class information pointer.

func TPopupMenuClass added in v1.1.18

func TPopupMenuClass() TClass

TPopupMenuClass

获取类信息指针。

Get class information pointer.

func TPrintDialogClass added in v1.1.18

func TPrintDialogClass() TClass

TPrintDialogClass

获取类信息指针。

Get class information pointer.

func TPrinterClass added in v1.1.23

func TPrinterClass() TClass

TPrinterClass

获取类信息指针。

Get class information pointer.

func TPrinterSetupDialogClass added in v1.1.18

func TPrinterSetupDialogClass() TClass

TPrinterSetupDialogClass

获取类信息指针。

Get class information pointer.

func TProgressBarClass added in v1.1.18

func TProgressBarClass() TClass

TProgressBarClass

获取类信息指针。

Get class information pointer.

func TRadioButtonClass added in v1.1.18

func TRadioButtonClass() TClass

TRadioButtonClass

获取类信息指针。

Get class information pointer.

func TRadioGroupClass added in v1.1.18

func TRadioGroupClass() TClass

TRadioGroupClass

获取类信息指针。

Get class information pointer.

func TRegistryClass added in v1.1.18

func TRegistryClass() TClass

TRegistryClass

获取类信息指针。

Get class information pointer.

func TReplaceDialogClass added in v1.1.18

func TReplaceDialogClass() TClass

TReplaceDialogClass

获取类信息指针。

Get class information pointer.

func TRichEditClass added in v1.1.18

func TRichEditClass() TClass

TRichEditClass

获取类信息指针。

Get class information pointer.

func TSaveDialogClass added in v1.1.18

func TSaveDialogClass() TClass

TSaveDialogClass

获取类信息指针。

Get class information pointer.

func TSavePictureDialogClass added in v1.1.18

func TSavePictureDialogClass() TClass

TSavePictureDialogClass

获取类信息指针。

Get class information pointer.

func TScreenClass added in v1.1.18

func TScreenClass() TClass

TScreenClass

获取类信息指针。

Get class information pointer.

func TScrollBarClass added in v1.1.18

func TScrollBarClass() TClass

TScrollBarClass

获取类信息指针。

Get class information pointer.

func TScrollBoxClass added in v1.1.18

func TScrollBoxClass() TClass

TScrollBoxClass

获取类信息指针。

Get class information pointer.

func TSelectDirectoryDialogClass

func TSelectDirectoryDialogClass() TClass

TSelectDirectoryDialogClass

获取类信息指针。

Get class information pointer.

func TShapeClass added in v1.1.18

func TShapeClass() TClass

TShapeClass

获取类信息指针。

Get class information pointer.

func TSizeConstraintsClass added in v1.2.7

func TSizeConstraintsClass() TClass

TSizeConstraintsClass

获取类信息指针。

Get class information pointer.

func TSpeedButtonClass added in v1.1.18

func TSpeedButtonClass() TClass

TSpeedButtonClass

获取类信息指针。

Get class information pointer.

func TSpinEditClass added in v1.2.0

func TSpinEditClass() TClass

TSpinEditClass

获取类信息指针。

Get class information pointer.

func TSplitterClass added in v1.1.18

func TSplitterClass() TClass

TSplitterClass

获取类信息指针。

Get class information pointer.

func TStaticTextClass added in v1.1.18

func TStaticTextClass() TClass

TStaticTextClass

获取类信息指针。

Get class information pointer.

func TStatusBarClass added in v1.1.18

func TStatusBarClass() TClass

TStatusBarClass

获取类信息指针。

Get class information pointer.

func TStatusPanelClass added in v1.1.18

func TStatusPanelClass() TClass

TStatusPanelClass

获取类信息指针。

Get class information pointer.

func TStatusPanelsClass added in v1.1.18

func TStatusPanelsClass() TClass

TStatusPanelsClass

获取类信息指针。

Get class information pointer.

func TStringGridClass added in v1.1.19

func TStringGridClass() TClass

TStringGridClass

获取类信息指针。

Get class information pointer.

func TStringListClass added in v1.1.18

func TStringListClass() TClass

TStringListClass

获取类信息指针。

Get class information pointer.

func TStringsClass added in v1.1.18

func TStringsClass() TClass

TStringsClass

获取类信息指针。

Get class information pointer.

func TTabSheetClass added in v1.1.18

func TTabSheetClass() TClass

TTabSheetClass

获取类信息指针。

Get class information pointer.

func TTaskDialogBaseButtonItemClass added in v1.2.4

func TTaskDialogBaseButtonItemClass() TClass

TTaskDialogBaseButtonItemClass

获取类信息指针。

Get class information pointer.

func TTaskDialogButtonItemClass added in v1.2.4

func TTaskDialogButtonItemClass() TClass

TTaskDialogButtonItemClass

获取类信息指针。

Get class information pointer.

func TTaskDialogButtonsClass added in v1.2.4

func TTaskDialogButtonsClass() TClass

TTaskDialogButtonsClass

获取类信息指针。

Get class information pointer.

func TTaskDialogClass added in v1.2.4

func TTaskDialogClass() TClass

TTaskDialogClass

获取类信息指针。

Get class information pointer.

func TTaskDialogRadioButtonItemClass added in v1.2.4

func TTaskDialogRadioButtonItemClass() TClass

TTaskDialogRadioButtonItemClass

获取类信息指针。

Get class information pointer.

func TTextAttributesClass added in v1.1.18

func TTextAttributesClass() TClass

TTextAttributesClass

获取类信息指针。

Get class information pointer.

func TTimerClass added in v1.1.18

func TTimerClass() TClass

TTimerClass

获取类信息指针。

Get class information pointer.

func TToggleBoxClass

func TToggleBoxClass() TClass

TToggleBoxClass

获取类信息指针。

Get class information pointer.

func TToolBarClass added in v1.1.18

func TToolBarClass() TClass

TToolBarClass

获取类信息指针。

Get class information pointer.

func TToolButtonClass added in v1.1.18

func TToolButtonClass() TClass

TToolButtonClass

获取类信息指针。

Get class information pointer.

func TTrackBarClass added in v1.1.18

func TTrackBarClass() TClass

TTrackBarClass

获取类信息指针。

Get class information pointer.

func TTrayIconClass added in v1.1.18

func TTrayIconClass() TClass

TTrayIconClass

获取类信息指针。

Get class information pointer.

func TTreeNodeClass added in v1.1.18

func TTreeNodeClass() TClass

TTreeNodeClass

获取类信息指针。

Get class information pointer.

func TTreeNodesClass added in v1.1.18

func TTreeNodesClass() TClass

TTreeNodesClass

获取类信息指针。

Get class information pointer.

func TTreeViewClass added in v1.1.18

func TTreeViewClass() TClass

TTreeViewClass

获取类信息指针。

Get class information pointer.

func TUpDownClass added in v1.1.18

func TUpDownClass() TClass

TUpDownClass

获取类信息指针。

Get class information pointer.

func TValueListEditorClass added in v1.1.19

func TValueListEditorClass() TClass

TValueListEditorClass

获取类信息指针。

Get class information pointer.

func TWinControlClass added in v1.1.18

func TWinControlClass() TClass

TWinControlClass

获取类信息指针。

Get class information pointer.

func TXButtonClass added in v1.2.10

func TXButtonClass() TClass

TXButtonClass

获取类信息指针。

Get class information pointer.

func ThreadSync

func ThreadSync(fn TThreadProc)

ThreadSync

主线程中执行。

Executed in the main thread.

Types

type Exception

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

func AsException added in v1.2.10

func AsException(obj interface{}) *Exception

AsException

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

Dynamically convert an existing object instance.

func (*Exception) ClassName

func (e *Exception) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*Exception) ClassType added in v1.1.18

func (e *Exception) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*Exception) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*Exception) GetHashCode

func (e *Exception) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*Exception) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*Exception) Instance

func (e *Exception) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*Exception) InstanceSize added in v1.1.18

func (e *Exception) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*Exception) Is added in v1.2.10

func (e *Exception) Is() TIs

Is

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

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

func (*Exception) IsValid

func (e *Exception) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*Exception) Message

func (e *Exception) Message() string

Message

获取异常消息。

func (*Exception) SetMessage

func (e *Exception) SetMessage(value string)

SetMessage

设置异常消息。

func (*Exception) ToString

func (e *Exception) ToString() string

ToString

文本类信息。

Text information.

func (*Exception) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type GdkWindow added in v1.2.10

type GdkWindow uintptr

func (GdkWindow) XID added in v1.2.10

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

type GtkFixed added in v1.2.10

type GtkFixed uintptr

type GtkWidget added in v1.2.10

type GtkWidget uintptr

func HandleToPlatformHandle added in v1.2.10

func HandleToPlatformHandle(h types.HWND) GtkWidget

PGtkWidget

func (GtkWidget) FixedWidget added in v1.2.10

func (g GtkWidget) FixedWidget() GtkFixed

FixedWidget

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

func (GtkWidget) Window added in v1.2.10

func (g GtkWidget) Window() GdkWindow

type IBitmap

type IBitmap interface {
	IGraphic
}

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 added in v1.1.18

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)

type TAction

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

func AsAction added in v1.2.10

func AsAction(obj interface{}) *TAction

AsAction

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

Dynamically convert an existing object instance.

func NewAction

func NewAction(owner IComponent) *TAction

NewAction

创建一个新的对象。

Create a new object.

func (*TAction) Assign

func (a *TAction) Assign(Source IObject)

Assign

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

Copy an object, if the object implements this method.

func (*TAction) AutoCheck added in v1.2.8

func (a *TAction) AutoCheck() bool

func (*TAction) Caption

func (a *TAction) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TAction) Checked

func (a *TAction) Checked() bool

Checked

获取是否选中。

func (*TAction) ClassName

func (a *TAction) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TAction) ClassType added in v1.1.18

func (a *TAction) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TAction) ComponentCount

func (a *TAction) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TAction) ComponentIndex

func (a *TAction) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TAction) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TAction) Enabled

func (a *TAction) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TAction) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TAction) Execute

func (a *TAction) Execute() bool

Execute

执行。

func (*TAction) FindComponent

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TAction) Free

func (a *TAction) Free()

Free

释放对象。

Free object.

func (*TAction) GetHashCode

func (a *TAction) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TAction) GetNamePath

func (a *TAction) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TAction) GroupIndex

func (a *TAction) GroupIndex() int32

GroupIndex

获取团组索引。

func (*TAction) HasParent

func (a *TAction) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TAction) Hint

func (a *TAction) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TAction) ImageIndex

func (a *TAction) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TAction) Index

func (a *TAction) Index() int32

func (*TAction) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TAction) Instance

func (a *TAction) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TAction) InstanceSize added in v1.1.18

func (a *TAction) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TAction) Is added in v1.2.10

func (a *TAction) Is() TIs

Is

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

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

func (*TAction) IsValid

func (a *TAction) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TAction) Name

func (a *TAction) Name() string

Name

获取组件名称。

Get the component name.

func (*TAction) Owner

func (a *TAction) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TAction) SetAutoCheck added in v1.2.8

func (a *TAction) SetAutoCheck(value bool)

func (*TAction) SetCaption

func (a *TAction) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TAction) SetChecked

func (a *TAction) SetChecked(value bool)

SetChecked

设置是否选中。

func (*TAction) SetComponentIndex

func (a *TAction) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TAction) SetEnabled

func (a *TAction) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TAction) SetGroupIndex

func (a *TAction) SetGroupIndex(value int32)

SetGroupIndex

设置团组索引。

func (*TAction) SetHint

func (a *TAction) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TAction) SetImageIndex

func (a *TAction) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*TAction) SetIndex

func (a *TAction) SetIndex(value int32)

func (*TAction) SetName

func (a *TAction) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TAction) SetOnExecute

func (a *TAction) SetOnExecute(fn TNotifyEvent)

SetOnExecute

设置动作执行事件。

func (*TAction) SetOnUpdate

func (a *TAction) SetOnUpdate(fn TNotifyEvent)

SetOnUpdate

设置动作更新事件。

func (*TAction) SetShortCut

func (a *TAction) SetShortCut(value TShortCut)

SetShortCut

设置快捷键。

func (*TAction) SetTag

func (a *TAction) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TAction) SetVisible

func (a *TAction) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TAction) ShortCut

func (a *TAction) ShortCut() TShortCut

ShortCut

获取快捷键。

func (*TAction) Tag

func (a *TAction) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TAction) ToString

func (a *TAction) ToString() string

ToString

文本类信息。

Text information.

func (*TAction) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TAction) Update

func (a *TAction) Update() bool

Update

控件更新。

Update.

func (*TAction) Visible

func (a *TAction) Visible() bool

Visible

获取控件可视。

Get the control visible.

type TActionList

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

func AsActionList added in v1.2.10

func AsActionList(obj interface{}) *TActionList

AsActionList

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

Dynamically convert an existing object instance.

func NewActionList

func NewActionList(owner IComponent) *TActionList

NewActionList

创建一个新的对象。

Create a new object.

func (*TActionList) Assign

func (a *TActionList) Assign(Source IObject)

Assign

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

Copy an object, if the object implements this method.

func (*TActionList) ClassName

func (a *TActionList) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TActionList) ClassType added in v1.1.18

func (a *TActionList) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TActionList) ComponentCount

func (a *TActionList) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TActionList) ComponentIndex

func (a *TActionList) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TActionList) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TActionList) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TActionList) FindComponent

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TActionList) Free

func (a *TActionList) Free()

Free

释放对象。

Free object.

func (*TActionList) GetHashCode

func (a *TActionList) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TActionList) GetNamePath

func (a *TActionList) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TActionList) HasParent

func (a *TActionList) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TActionList) Images

func (a *TActionList) Images() *TImageList

Images

获取图标索引列表对象。

func (*TActionList) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TActionList) Instance

func (a *TActionList) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TActionList) InstanceSize added in v1.1.18

func (a *TActionList) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TActionList) Is added in v1.2.10

func (a *TActionList) Is() TIs

Is

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

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

func (*TActionList) IsValid

func (a *TActionList) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TActionList) Name

func (a *TActionList) Name() string

Name

获取组件名称。

Get the component name.

func (*TActionList) Owner

func (a *TActionList) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TActionList) SetComponentIndex

func (a *TActionList) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TActionList) SetImages

func (a *TActionList) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

func (*TActionList) SetName

func (a *TActionList) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TActionList) SetOnChange

func (a *TActionList) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TActionList) SetState

func (a *TActionList) SetState(value TActionListState)

func (*TActionList) SetTag

func (a *TActionList) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TActionList) State

func (a *TActionList) State() TActionListState

func (*TActionList) Tag

func (a *TActionList) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TActionList) ToString

func (a *TActionList) ToString() string

ToString

文本类信息。

Text information.

func (*TActionList) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TAlignPositionEvent added in v1.2.10

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

type TAnchorSide

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

func AsAnchorSide

func AsAnchorSide(obj interface{}) *TAnchorSide

AsAnchorSide

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

Dynamically convert an existing object instance.

func (*TAnchorSide) Assign

func (a *TAnchorSide) Assign(Source IObject)

Assign

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

Copy an object, if the object implements this method.

func (*TAnchorSide) ClassName

func (a *TAnchorSide) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TAnchorSide) ClassType

func (a *TAnchorSide) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TAnchorSide) Control

func (a *TAnchorSide) Control() *TControl

func (*TAnchorSide) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TAnchorSide) GetHashCode

func (a *TAnchorSide) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TAnchorSide) GetNamePath

func (a *TAnchorSide) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TAnchorSide) InheritsFrom

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TAnchorSide) Instance

func (a *TAnchorSide) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TAnchorSide) InstanceSize

func (a *TAnchorSide) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TAnchorSide) Is

func (a *TAnchorSide) Is() TIs

Is

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

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

func (*TAnchorSide) IsValid

func (a *TAnchorSide) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TAnchorSide) Kind

func (a *TAnchorSide) Kind() TAnchorKind

func (*TAnchorSide) Owner

func (a *TAnchorSide) Owner() *TControl

Owner

获取组件所有者。

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

ToString

文本类信息。

Text information.

func (*TAnchorSide) UnsafeAddr

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TApplication

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

func AsApplication added in v1.2.10

func AsApplication(obj interface{}) *TApplication

AsApplication

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

Dynamically convert an existing object instance.

func NewApplication

func NewApplication(owner IComponent) *TApplication

NewApplication

创建一个新的对象。

Create a new object.

func (*TApplication) ActivateHint

func (a *TApplication) ActivateHint(CursorPos TPoint)

ActivateHint

激活鼠标悬停提示。

func (*TApplication) Active

func (a *TApplication) Active() bool

func (*TApplication) Assign

func (a *TApplication) Assign(Source IObject)

Assign

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

Copy an object, if the object implements this method.

func (*TApplication) BiDiMode

func (a *TApplication) BiDiMode() TBiDiMode

func (*TApplication) BringToFront

func (a *TApplication) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TApplication) CancelHint

func (a *TApplication) CancelHint()

CancelHint

取消鼠标悬停提示。

func (*TApplication) CaptureExceptions

func (a *TApplication) CaptureExceptions() bool

func (*TApplication) CaseSensitiveOptions

func (a *TApplication) CaseSensitiveOptions() bool

func (*TApplication) ClassName

func (a *TApplication) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TApplication) ClassType added in v1.1.18

func (a *TApplication) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TApplication) ComponentCount

func (a *TApplication) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TApplication) ComponentIndex

func (a *TApplication) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TApplication) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TApplication) CreateForm

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

CreateForm

创建一个TForm。

Create a TForm.

func (*TApplication) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TApplication) ExceptionExitCode

func (a *TApplication) ExceptionExitCode() int32

func (*TApplication) ExeName

func (a *TApplication) ExeName() string

ExeName

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

func (*TApplication) ExtendedKeysSupport

func (a *TApplication) ExtendedKeysSupport() bool

func (*TApplication) FindComponent

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TApplication) FindGlobalComponentEnabled

func (a *TApplication) FindGlobalComponentEnabled() bool

func (*TApplication) Free

func (a *TApplication) Free()

Free

释放对象。

Free object.

func (*TApplication) GetHashCode

func (a *TApplication) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TApplication) GetNamePath

func (a *TApplication) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TApplication) Handle

func (a *TApplication) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TApplication) HandleMessage

func (a *TApplication) HandleMessage()

HandleMessage

消息循环,不要使用。

func (*TApplication) HasParent

func (a *TApplication) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TApplication) HideHint

func (a *TApplication) HideHint()

HideHint

隐藏鼠标悬停提示。

func (*TApplication) Hint

func (a *TApplication) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TApplication) HintColor

func (a *TApplication) HintColor() TColor

HintColor

获取鼠标悬停提示颜色。

func (*TApplication) HintHidePause

func (a *TApplication) HintHidePause() int32

HintHidePause

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

func (*TApplication) HintHidePausePerChar

func (a *TApplication) HintHidePausePerChar() int32

func (*TApplication) HintPause

func (a *TApplication) HintPause() int32

HintPause

获取鼠标悬停暂时时间。

func (*TApplication) HintShortCuts

func (a *TApplication) HintShortCuts() bool

func (*TApplication) HintShortPause

func (a *TApplication) HintShortPause() int32

func (*TApplication) Icon

func (a *TApplication) Icon() *TIcon

Icon

获取图标。

Get icon.

func (*TApplication) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TApplication) Initialize

func (a *TApplication) Initialize()

Initialize

初始APP信息。

Initial APP information.

func (*TApplication) Instance

func (a *TApplication) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TApplication) InstanceSize added in v1.1.18

func (a *TApplication) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TApplication) Is added in v1.2.10

func (a *TApplication) Is() TIs

Is

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

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

func (*TApplication) IsValid

func (a *TApplication) IsValid() bool

IsValid

检测地址是否为空。

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

MainFormOnTaskBar

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

func (*TApplication) MessageBox

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

MessageBox

显示消息框。

func (*TApplication) Minimize

func (a *TApplication) Minimize()

Minimize

最小化应用程序。

func (*TApplication) ModalFinished

func (a *TApplication) ModalFinished()

func (*TApplication) ModalStarted

func (a *TApplication) ModalStarted()

func (*TApplication) MouseControl

func (a *TApplication) MouseControl() *TControl

func (*TApplication) Name

func (a *TApplication) Name() string

Name

获取组件名称。

Get the component name.

func (*TApplication) Owner

func (a *TApplication) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TApplication) ProcessMessages

func (a *TApplication) ProcessMessages()

ProcessMessages

处理消息循环。

func (*TApplication) Restore

func (a *TApplication) Restore()

Restore

恢复小最小的应用。

func (*TApplication) RestoreTopMosts

func (a *TApplication) RestoreTopMosts()

RestoreTopMosts

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

func (*TApplication) Run

func (a *TApplication) Run()

Run

运行APP。

Run the app.

func (*TApplication) Scaled

func (a *TApplication) Scaled() bool

func (*TApplication) SetBiDiMode

func (a *TApplication) SetBiDiMode(value TBiDiMode)

func (*TApplication) SetCaptureExceptions

func (a *TApplication) SetCaptureExceptions(value bool)

func (*TApplication) SetCaseSensitiveOptions

func (a *TApplication) SetCaseSensitiveOptions(value bool)

func (*TApplication) SetComponentIndex

func (a *TApplication) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TApplication) SetExceptionExitCode

func (a *TApplication) SetExceptionExitCode(value int32)

func (*TApplication) SetExtendedKeysSupport

func (a *TApplication) SetExtendedKeysSupport(value bool)

func (*TApplication) SetFindGlobalComponentEnabled

func (a *TApplication) SetFindGlobalComponentEnabled(value bool)

func (*TApplication) SetHandle

func (a *TApplication) SetHandle(value HWND)

SetHandle

设置控件句柄。

Set Control handle.

func (*TApplication) SetHint

func (a *TApplication) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TApplication) SetHintColor

func (a *TApplication) SetHintColor(value TColor)

SetHintColor

设置鼠标悬停提示颜色。

func (*TApplication) SetHintHidePause

func (a *TApplication) SetHintHidePause(value int32)

SetHintHidePause

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

func (*TApplication) SetHintHidePausePerChar

func (a *TApplication) SetHintHidePausePerChar(value int32)

func (*TApplication) SetHintPause

func (a *TApplication) SetHintPause(value int32)

SetHintPause

设置鼠标悬停暂时时间。

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)

SetIcon

设置图标。

Set icon.

func (*TApplication) SetIconResId

func (a *TApplication) SetIconResId(id int)

func (*TApplication) SetMainFormOnTaskBar

func (a *TApplication) SetMainFormOnTaskBar(value bool)

SetMainFormOnTaskBar

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

func (*TApplication) SetName

func (a *TApplication) SetName(value string)

SetName

设置组件名称。

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)

SetOnException

设置应用程序异常事件。

func (*TApplication) SetOnHelp

func (a *TApplication) SetOnHelp(fn THelpEvent)

func (*TApplication) SetOnHint

func (a *TApplication) SetOnHint(fn TNotifyEvent)

SetOnHint

设置鼠标悬停提示事件。

func (*TApplication) SetOnMinimize

func (a *TApplication) SetOnMinimize(fn TNotifyEvent)

SetOnMinimize

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

func (*TApplication) SetOnRestore

func (a *TApplication) SetOnRestore(fn TNotifyEvent)

SetOnRestore

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

func (*TApplication) SetOnShortCut

func (a *TApplication) SetOnShortCut(fn TShortCutEvent)

func (*TApplication) SetRunLoopReceived

func (a *TApplication) SetRunLoopReceived(proc uintptr)

SetRunLoopReceived 这里只是测试,实际Go并未用得着他

func (*TApplication) SetScaled

func (a *TApplication) SetScaled(value bool)

func (*TApplication) SetShowHint

func (a *TApplication) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TApplication) SetShowMainForm

func (a *TApplication) SetShowMainForm(value bool)

SetShowMainForm

设置初始显示主窗口。

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)

SetTag

设置对象标记。

Set the control tag.

func (*TApplication) SetTitle

func (a *TApplication) SetTitle(value string)

func (*TApplication) ShowHint

func (a *TApplication) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TApplication) ShowMainForm

func (a *TApplication) ShowMainForm() bool

ShowMainForm

获取初始显示主窗口。

func (*TApplication) SingleInstanceEnabled

func (a *TApplication) SingleInstanceEnabled() bool

func (*TApplication) StopOnException

func (a *TApplication) StopOnException() bool

func (*TApplication) Tag

func (a *TApplication) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TApplication) Terminate

func (a *TApplication) Terminate()

Terminate

结束应用程序。

func (*TApplication) Terminated

func (a *TApplication) Terminated() bool

func (*TApplication) Title

func (a *TApplication) Title() string

func (*TApplication) ToString

func (a *TApplication) ToString() string

ToString

文本类信息。

Text information.

func (*TApplication) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TAs added in v1.2.10

type TAs uintptr

TAs : As操作符

type TBevel

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

func AsBevel added in v1.2.10

func AsBevel(obj interface{}) *TBevel

AsBevel

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

Dynamically convert an existing object instance.

func NewBevel

func NewBevel(owner IComponent) *TBevel

NewBevel

创建一个新的对象。

Create a new object.

func (*TBevel) Action

func (b *TBevel) Action() *TAction

func (*TBevel) Align

func (b *TBevel) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TBevel) AnchorSideBottom

func (b *TBevel) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TBevel) AnchorSideLeft

func (b *TBevel) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TBevel) AnchorSideRight

func (b *TBevel) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TBevel) AnchorSideTop

func (b *TBevel) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TBevel) AnchorToNeighbour

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

func (*TBevel) AnchorVerticalCenterTo

func (b *TBevel) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TBevel) Anchors

func (b *TBevel) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TBevel) Assign

func (b *TBevel) Assign(Source IObject)

Assign

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

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

BorderSpacing

获取边框间距。

func (*TBevel) BoundsRect

func (b *TBevel) BoundsRect() TRect

func (*TBevel) BringToFront

func (b *TBevel) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TBevel) ClassName

func (b *TBevel) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TBevel) ClassType added in v1.1.18

func (b *TBevel) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TBevel) ClientHeight

func (b *TBevel) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TBevel) ClientOrigin added in v1.1.21

func (b *TBevel) ClientOrigin() TPoint

func (*TBevel) ClientRect

func (b *TBevel) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TBevel) ClientToParent

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TBevel) ClientToScreen

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TBevel) ClientWidth

func (b *TBevel) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TBevel) ComponentCount

func (b *TBevel) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TBevel) ComponentIndex

func (b *TBevel) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TBevel) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TBevel) Constraints added in v1.2.7

func (b *TBevel) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TBevel) ControlState added in v1.1.21

func (b *TBevel) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TBevel) ControlStyle added in v1.1.21

func (b *TBevel) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TBevel) Cursor

func (b *TBevel) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TBevel) Dragging

func (b *TBevel) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TBevel) Enabled

func (b *TBevel) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TBevel) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TBevel) FindComponent

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

FindComponent

查找指定名称的组件。

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()

Free

释放对象。

Free object.

func (*TBevel) GetHashCode

func (b *TBevel) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TBevel) GetNamePath

func (b *TBevel) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TBevel) GetTextBuf

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TBevel) GetTextLen

func (b *TBevel) GetTextLen() int32

GetTextLen

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

Get the character length of the control, if any.

func (*TBevel) HasParent

func (b *TBevel) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TBevel) Height

func (b *TBevel) Height() int32

Height

获取高度。

Get height.

func (*TBevel) Hide

func (b *TBevel) Hide()

Hide

隐藏控件。

Hidden control.

func (*TBevel) Hint

func (b *TBevel) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TBevel) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TBevel) Instance

func (b *TBevel) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TBevel) InstanceSize added in v1.1.18

func (b *TBevel) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TBevel) Invalidate

func (b *TBevel) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TBevel) Is added in v1.2.10

func (b *TBevel) Is() TIs

Is

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

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

func (*TBevel) IsValid

func (b *TBevel) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TBevel) Left

func (b *TBevel) Left() int32

Left

获取左边位置。

Get Left position.

func (*TBevel) Name

func (b *TBevel) Name() string

Name

获取组件名称。

Get the component name.

func (*TBevel) Owner

func (b *TBevel) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TBevel) Parent

func (b *TBevel) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TBevel) ParentShowHint

func (b *TBevel) ParentShowHint() bool

ParentShowHint

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

func (*TBevel) ParentToClient

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TBevel) Perform

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

Perform

发送一个消息。

Send a message.

func (*TBevel) Refresh

func (b *TBevel) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TBevel) Repaint

func (b *TBevel) Repaint()

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TBevel) SendToBack

func (b *TBevel) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TBevel) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TBevel) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TBevel) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TBevel) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TBevel) SetAnchors

func (b *TBevel) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TBevel) SetBiDiMode

func (b *TBevel) SetBiDiMode(value TBiDiMode)

func (*TBevel) SetBorderSpacing

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

SetBorderSpacing

设置边框间距。

func (*TBevel) SetBounds

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

SetBounds

设置组件边界。

Set component boundaries.

func (*TBevel) SetBoundsRect

func (b *TBevel) SetBoundsRect(value TRect)

func (*TBevel) SetClientHeight

func (b *TBevel) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TBevel) SetClientWidth

func (b *TBevel) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TBevel) SetComponentIndex

func (b *TBevel) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TBevel) SetConstraints added in v1.2.7

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

SetConstraints

设置约束控件大小。

func (*TBevel) SetControlState added in v1.1.21

func (b *TBevel) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TBevel) SetControlStyle added in v1.1.21

func (b *TBevel) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TBevel) SetCursor

func (b *TBevel) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TBevel) SetEnabled

func (b *TBevel) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TBevel) SetHeight

func (b *TBevel) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TBevel) SetHint

func (b *TBevel) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TBevel) SetLeft

func (b *TBevel) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TBevel) SetName

func (b *TBevel) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TBevel) SetParent

func (b *TBevel) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TBevel) SetParentShowHint

func (b *TBevel) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TBevel) SetShape

func (b *TBevel) SetShape(value TBevelShape)

func (*TBevel) SetShowHint

func (b *TBevel) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TBevel) SetStyle

func (b *TBevel) SetStyle(value TBevelStyle)

func (*TBevel) SetTag

func (b *TBevel) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TBevel) SetTextBuf added in v1.1.21

func (b *TBevel) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TBevel) SetTop

func (b *TBevel) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TBevel) SetVisible

func (b *TBevel) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TBevel) SetWidth

func (b *TBevel) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TBevel) Shape

func (b *TBevel) Shape() TBevelShape

func (*TBevel) Show

func (b *TBevel) Show()

Show

显示控件。

Show control.

func (*TBevel) ShowHint

func (b *TBevel) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TBevel) Style

func (b *TBevel) Style() TBevelStyle

func (*TBevel) Tag

func (b *TBevel) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TBevel) ToString

func (b *TBevel) ToString() string

ToString

文本类信息。

Text information.

func (*TBevel) Top

func (b *TBevel) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TBevel) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TBevel) Update

func (b *TBevel) Update()

Update

控件更新。

Update.

func (*TBevel) Visible

func (b *TBevel) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TBevel) Width

func (b *TBevel) Width() int32

Width

获取宽度。

Get width.

type TBitBtn

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

func AsBitBtn added in v1.2.10

func AsBitBtn(obj interface{}) *TBitBtn

AsBitBtn

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

Dynamically convert an existing object instance.

func NewBitBtn

func NewBitBtn(owner IComponent) *TBitBtn

NewBitBtn

创建一个新的对象。

Create a new object.

func (*TBitBtn) Action

func (b *TBitBtn) Action() *TAction

func (*TBitBtn) Align

func (b *TBitBtn) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TBitBtn) AnchorSideBottom

func (b *TBitBtn) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TBitBtn) AnchorSideLeft

func (b *TBitBtn) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TBitBtn) AnchorSideRight

func (b *TBitBtn) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TBitBtn) AnchorSideTop

func (b *TBitBtn) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TBitBtn) AnchorToNeighbour

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

func (*TBitBtn) AnchorVerticalCenterTo

func (b *TBitBtn) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TBitBtn) Anchors

func (b *TBitBtn) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TBitBtn) Assign

func (b *TBitBtn) Assign(Source IObject)

Assign

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

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

BorderSpacing

获取边框间距。

func (*TBitBtn) BoundsRect

func (b *TBitBtn) BoundsRect() TRect

func (*TBitBtn) BringToFront

func (b *TBitBtn) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TBitBtn) Brush

func (b *TBitBtn) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TBitBtn) CanFocus

func (b *TBitBtn) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TBitBtn) Cancel

func (b *TBitBtn) Cancel() bool

func (*TBitBtn) Caption

func (b *TBitBtn) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TBitBtn) ChildSizing

func (b *TBitBtn) ChildSizing() *TControlChildSizing

func (*TBitBtn) ClassName

func (b *TBitBtn) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TBitBtn) ClassType added in v1.1.18

func (b *TBitBtn) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TBitBtn) Click

func (b *TBitBtn) Click()

Click

单击。

func (*TBitBtn) ClientHeight

func (b *TBitBtn) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TBitBtn) ClientOrigin added in v1.1.21

func (b *TBitBtn) ClientOrigin() TPoint

func (*TBitBtn) ClientRect

func (b *TBitBtn) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TBitBtn) ClientToParent

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TBitBtn) ClientToScreen

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TBitBtn) ClientWidth

func (b *TBitBtn) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TBitBtn) ComponentCount

func (b *TBitBtn) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TBitBtn) ComponentIndex

func (b *TBitBtn) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TBitBtn) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TBitBtn) Constraints added in v1.2.7

func (b *TBitBtn) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TBitBtn) ContainsControl added in v1.1.21

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

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TBitBtn) ControlAtPos added in v1.1.21

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

ControlAtPos

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

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

func (*TBitBtn) ControlCount

func (b *TBitBtn) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TBitBtn) ControlState added in v1.1.21

func (b *TBitBtn) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TBitBtn) ControlStyle added in v1.1.21

func (b *TBitBtn) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TBitBtn) Controls

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

Controls

获取指定索引子控件。

func (*TBitBtn) Cursor

func (b *TBitBtn) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TBitBtn) Default

func (b *TBitBtn) Default() bool

func (*TBitBtn) DefaultCaption

func (b *TBitBtn) DefaultCaption() bool

func (*TBitBtn) DisableAlign added in v1.1.21

func (b *TBitBtn) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TBitBtn) DockClientCount added in v1.1.21

func (b *TBitBtn) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TBitBtn) DockClients added in v1.1.21

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

DockClients

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

func (*TBitBtn) DockSite

func (b *TBitBtn) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TBitBtn) DoubleBuffered

func (b *TBitBtn) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TBitBtn) Dragging

func (b *TBitBtn) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TBitBtn) EnableAlign added in v1.1.21

func (b *TBitBtn) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TBitBtn) Enabled

func (b *TBitBtn) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TBitBtn) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TBitBtn) FindChildControl added in v1.1.21

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

FindChildControl

查找子控件。

Find sub controls.

func (*TBitBtn) FindComponent

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

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TBitBtn) Font

func (b *TBitBtn) Font() *TFont

Font

获取字体。

Get Font.

func (*TBitBtn) Free

func (b *TBitBtn) Free()

Free

释放对象。

Free object.

func (*TBitBtn) GetHashCode

func (b *TBitBtn) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TBitBtn) GetNamePath

func (b *TBitBtn) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TBitBtn) GetTextBuf

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TBitBtn) GetTextLen

func (b *TBitBtn) GetTextLen() int32

GetTextLen

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

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

Handle

获取控件句柄。

Get Control handle.

func (*TBitBtn) HandleAllocated

func (b *TBitBtn) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TBitBtn) HasParent

func (b *TBitBtn) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TBitBtn) Height

func (b *TBitBtn) Height() int32

Height

获取高度。

Get height.

func (*TBitBtn) Hide

func (b *TBitBtn) Hide()

Hide

隐藏控件。

Hidden control.

func (*TBitBtn) Hint

func (b *TBitBtn) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TBitBtn) ImageIndex

func (b *TBitBtn) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TBitBtn) ImageWidth

func (b *TBitBtn) ImageWidth() int32

func (*TBitBtn) Images

func (b *TBitBtn) Images() *TImageList

Images

获取图标索引列表对象。

func (*TBitBtn) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TBitBtn) InsertControl added in v1.1.21

func (b *TBitBtn) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TBitBtn) Instance

func (b *TBitBtn) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TBitBtn) InstanceSize added in v1.1.18

func (b *TBitBtn) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TBitBtn) Invalidate

func (b *TBitBtn) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TBitBtn) Is added in v1.2.10

func (b *TBitBtn) Is() TIs

Is

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

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

func (*TBitBtn) IsValid

func (b *TBitBtn) IsValid() bool

IsValid

检测地址是否为空。

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

Left

获取左边位置。

Get Left position.

func (*TBitBtn) ModalResult

func (b *TBitBtn) ModalResult() TModalResult

ModalResult

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

func (*TBitBtn) MouseInClient added in v1.1.21

func (b *TBitBtn) MouseInClient() bool

MouseInClient

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

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

func (*TBitBtn) Name

func (b *TBitBtn) Name() string

Name

获取组件名称。

Get the component name.

func (*TBitBtn) NumGlyphs

func (b *TBitBtn) NumGlyphs() TNumGlyphs

func (*TBitBtn) Owner

func (b *TBitBtn) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TBitBtn) PaintTo added in v1.1.21

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

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TBitBtn) Parent

func (b *TBitBtn) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TBitBtn) ParentDoubleBuffered

func (b *TBitBtn) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TBitBtn) ParentFont

func (b *TBitBtn) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TBitBtn) ParentShowHint

func (b *TBitBtn) ParentShowHint() bool

ParentShowHint

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

func (*TBitBtn) ParentToClient

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TBitBtn) ParentWindow

func (b *TBitBtn) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TBitBtn) Perform

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

Perform

发送一个消息。

Send a message.

func (*TBitBtn) PopupMenu

func (b *TBitBtn) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TBitBtn) Realign

func (b *TBitBtn) Realign()

Realign

重新对齐。

Realign.

func (*TBitBtn) Refresh

func (b *TBitBtn) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TBitBtn) RemoveControl added in v1.1.21

func (b *TBitBtn) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TBitBtn) Repaint

func (b *TBitBtn) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TBitBtn) ScrollBy added in v1.1.21

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

ScrollBy

滚动至指定位置。

Scroll by.

func (*TBitBtn) SendToBack

func (b *TBitBtn) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TBitBtn) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TBitBtn) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TBitBtn) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TBitBtn) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TBitBtn) SetAnchors

func (b *TBitBtn) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TBitBtn) SetBiDiMode

func (b *TBitBtn) SetBiDiMode(value TBiDiMode)

func (*TBitBtn) SetBorderSpacing

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

SetBorderSpacing

设置边框间距。

func (*TBitBtn) SetBounds

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

SetBounds

设置组件边界。

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)

SetCaption

设置控件标题。

Set the control title.

func (*TBitBtn) SetChildSizing

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

func (*TBitBtn) SetClientHeight

func (b *TBitBtn) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TBitBtn) SetClientWidth

func (b *TBitBtn) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TBitBtn) SetComponentIndex

func (b *TBitBtn) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TBitBtn) SetConstraints added in v1.2.7

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

SetConstraints

设置约束控件大小。

func (*TBitBtn) SetControlState added in v1.1.21

func (b *TBitBtn) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TBitBtn) SetControlStyle added in v1.1.21

func (b *TBitBtn) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TBitBtn) SetCursor

func (b *TBitBtn) SetCursor(value TCursor)

SetCursor

设置控件光标。

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)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TBitBtn) SetDoubleBuffered

func (b *TBitBtn) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TBitBtn) SetEnabled

func (b *TBitBtn) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TBitBtn) SetFocus

func (b *TBitBtn) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TBitBtn) SetFont

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

SetFont

设置字体。

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)

SetHeight

设置高度。

Set height.

func (*TBitBtn) SetHint

func (b *TBitBtn) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TBitBtn) SetImageIndex

func (b *TBitBtn) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*TBitBtn) SetImageWidth

func (b *TBitBtn) SetImageWidth(value int32)

func (*TBitBtn) SetImages

func (b *TBitBtn) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

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)

SetLeft

设置左边位置。

Set Left position.

func (*TBitBtn) SetModalResult

func (b *TBitBtn) SetModalResult(value TModalResult)

SetModalResult

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

func (*TBitBtn) SetName

func (b *TBitBtn) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TBitBtn) SetNumGlyphs

func (b *TBitBtn) SetNumGlyphs(value TNumGlyphs)

func (*TBitBtn) SetOnClick

func (b *TBitBtn) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TBitBtn) SetOnContextPopup

func (b *TBitBtn) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

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

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

func (*TBitBtn) SetOnDragDrop

func (b *TBitBtn) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TBitBtn) SetOnDragOver

func (b *TBitBtn) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TBitBtn) SetOnEndDrag

func (b *TBitBtn) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TBitBtn) SetOnEnter

func (b *TBitBtn) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TBitBtn) SetOnExit

func (b *TBitBtn) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TBitBtn) SetOnKeyDown

func (b *TBitBtn) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TBitBtn) SetOnKeyPress

func (b *TBitBtn) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TBitBtn) SetOnKeyUp

func (b *TBitBtn) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TBitBtn) SetOnMouseDown

func (b *TBitBtn) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TBitBtn) SetOnMouseEnter

func (b *TBitBtn) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TBitBtn) SetOnMouseLeave

func (b *TBitBtn) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TBitBtn) SetOnMouseMove

func (b *TBitBtn) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TBitBtn) SetOnMouseUp

func (b *TBitBtn) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TBitBtn) SetParent

func (b *TBitBtn) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TBitBtn) SetParentDoubleBuffered

func (b *TBitBtn) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TBitBtn) SetParentFont

func (b *TBitBtn) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TBitBtn) SetParentShowHint

func (b *TBitBtn) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TBitBtn) SetParentWindow

func (b *TBitBtn) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TBitBtn) SetPopupMenu

func (b *TBitBtn) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TBitBtn) SetShowHint

func (b *TBitBtn) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TBitBtn) SetSpacing

func (b *TBitBtn) SetSpacing(value int32)

func (*TBitBtn) SetTabOrder

func (b *TBitBtn) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TBitBtn) SetTabStop

func (b *TBitBtn) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TBitBtn) SetTag

func (b *TBitBtn) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TBitBtn) SetTextBuf added in v1.1.21

func (b *TBitBtn) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TBitBtn) SetTop

func (b *TBitBtn) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TBitBtn) SetUseDockManager

func (b *TBitBtn) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TBitBtn) SetVisible

func (b *TBitBtn) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TBitBtn) SetWidth

func (b *TBitBtn) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TBitBtn) Show

func (b *TBitBtn) Show()

Show

显示控件。

Show control.

func (*TBitBtn) ShowHint

func (b *TBitBtn) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TBitBtn) TabStop

func (b *TBitBtn) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TBitBtn) Tag

func (b *TBitBtn) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TBitBtn) ToString

func (b *TBitBtn) ToString() string

ToString

文本类信息。

Text information.

func (*TBitBtn) Top

func (b *TBitBtn) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TBitBtn) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TBitBtn) Update

func (b *TBitBtn) Update()

Update

控件更新。

Update.

func (*TBitBtn) UseDockManager

func (b *TBitBtn) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TBitBtn) Visible

func (b *TBitBtn) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TBitBtn) VisibleDockClientCount added in v1.1.21

func (b *TBitBtn) VisibleDockClientCount() int32

VisibleDockClientCount

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

Get The total number of visible calls currently docked.

func (*TBitBtn) Width

func (b *TBitBtn) Width() int32

Width

获取宽度。

Get width.

type TBitmap

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

func AsBitmap added in v1.2.10

func AsBitmap(obj interface{}) *TBitmap

AsBitmap

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

Dynamically convert an existing object instance.

func NewBitmap

func NewBitmap() *TBitmap

NewBitmap

创建一个新的对象。

Create a new object.

func (*TBitmap) Assign

func (b *TBitmap) Assign(Source IObject)

Assign

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

Copy an object, if the object implements this method.

func (*TBitmap) BeginUpdate added in v1.2.10

func (b *TBitmap) BeginUpdate(ACanvasOnly bool)

BeginUpdate

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

Used for ScanLine properties, aCanvasOnly defaults to false.

func (*TBitmap) Canvas

func (b *TBitmap) Canvas() *TCanvas

Canvas

获取画布。

func (*TBitmap) ClassName

func (b *TBitmap) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TBitmap) ClassType added in v1.1.18

func (b *TBitmap) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TBitmap) Clear added in v1.2.10

func (b *TBitmap) Clear()

Clear

清除bitmap数据。

Clear bitmap data.

func (*TBitmap) Empty

func (b *TBitmap) Empty() bool

func (*TBitmap) EndUpdate added in v1.2.10

func (b *TBitmap) EndUpdate(AStreamIsValid bool)

EndUpdate

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

Used for ScanLine property, aStreamIsValid defaults to false.

func (*TBitmap) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TBitmap) Free

func (b *TBitmap) Free()

Free

释放对象。

Free object.

func (*TBitmap) FreeImage added in v1.1.23

func (b *TBitmap) FreeImage()

func (*TBitmap) GetHashCode

func (b *TBitmap) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TBitmap) GetNamePath

func (b *TBitmap) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TBitmap) Handle

func (b *TBitmap) Handle() HBITMAP

Handle

获取控件句柄。

Get Control handle.

func (*TBitmap) HandleAllocated

func (b *TBitmap) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TBitmap) HandleType added in v1.1.23

func (b *TBitmap) HandleType() TBitmapHandleType

func (*TBitmap) Height

func (b *TBitmap) Height() int32

Height

获取高度。

Get height.

func (*TBitmap) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TBitmap) Instance

func (b *TBitmap) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TBitmap) InstanceSize added in v1.1.18

func (b *TBitmap) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TBitmap) Is added in v1.2.10

func (b *TBitmap) Is() TIs

Is

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

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

func (*TBitmap) IsValid

func (b *TBitmap) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TBitmap) LoadFromBytes

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

func (*TBitmap) LoadFromDevice added in v1.2.10

func (b *TBitmap) LoadFromDevice(ADc HDC)

LoadFromDevice

从设备驱动中加载Bitmap。

Load the Bitmap from the device driver.

func (*TBitmap) LoadFromFile

func (b *TBitmap) LoadFromFile(Filename string)

LoadFromFile

从文件加载。

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)

LoadFromStream

文件流加载。

func (*TBitmap) MaskHandle added in v1.1.23

func (b *TBitmap) MaskHandle() HBITMAP

func (*TBitmap) Modified

func (b *TBitmap) Modified() bool

Modified

获取修改。

Get modified.

func (*TBitmap) Palette added in v1.1.23

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)

SaveToFile

保存至文件。

func (*TBitmap) SaveToStream

func (b *TBitmap) SaveToStream(Stream IStream)

SaveToStream

保存至流。

func (*TBitmap) ScanLine

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

func (*TBitmap) SetHandle

func (b *TBitmap) SetHandle(value HBITMAP)

SetHandle

设置控件句柄。

Set Control handle.

func (*TBitmap) SetHandleType added in v1.1.23

func (b *TBitmap) SetHandleType(value TBitmapHandleType)

func (*TBitmap) SetHeight

func (b *TBitmap) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TBitmap) SetMaskHandle added in v1.1.23

func (b *TBitmap) SetMaskHandle(value HBITMAP)

func (*TBitmap) SetModified

func (b *TBitmap) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TBitmap) SetOnChange

func (b *TBitmap) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TBitmap) SetPalette added in v1.1.23

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)

SetTransparent

设置透明。

Set transparent.

func (*TBitmap) SetTransparentMode added in v1.2.10

func (b *TBitmap) SetTransparentMode(value TTransparentMode)

func (*TBitmap) SetWidth

func (b *TBitmap) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TBitmap) ToString

func (b *TBitmap) ToString() string

ToString

文本类信息。

Text information.

func (*TBitmap) Transparent

func (b *TBitmap) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TBitmap) TransparentMode added in v1.2.10

func (b *TBitmap) TransparentMode() TTransparentMode

func (*TBitmap) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TBitmap) Width

func (b *TBitmap) Width() int32

Width

获取宽度。

Get width.

type TBoundLabel added in v1.1.19

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

func AsBoundLabel added in v1.2.10

func AsBoundLabel(obj interface{}) *TBoundLabel

AsBoundLabel

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

Dynamically convert an existing object instance.

func NewBoundLabel added in v1.1.19

func NewBoundLabel(owner IComponent) *TBoundLabel

NewBoundLabel

创建一个新的对象。

Create a new object.

func (*TBoundLabel) Action added in v1.1.19

func (b *TBoundLabel) Action() *TAction

func (*TBoundLabel) Align added in v1.1.19

func (b *TBoundLabel) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TBoundLabel) AnchorSideBottom

func (b *TBoundLabel) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TBoundLabel) AnchorSideLeft

func (b *TBoundLabel) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TBoundLabel) AnchorSideRight

func (b *TBoundLabel) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TBoundLabel) AnchorSideTop

func (b *TBoundLabel) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TBoundLabel) AnchorToNeighbour

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

func (*TBoundLabel) AnchorVerticalCenterTo

func (b *TBoundLabel) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TBoundLabel) Anchors added in v1.1.19

func (b *TBoundLabel) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TBoundLabel) Assign added in v1.1.19

func (b *TBoundLabel) Assign(Source IObject)

Assign

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

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 added in v1.1.19

func (b *TBoundLabel) BiDiMode() TBiDiMode

func (*TBoundLabel) BorderSpacing

func (b *TBoundLabel) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TBoundLabel) BoundsRect added in v1.1.19

func (b *TBoundLabel) BoundsRect() TRect

func (*TBoundLabel) BringToFront added in v1.1.19

func (b *TBoundLabel) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TBoundLabel) Canvas added in v1.1.19

func (b *TBoundLabel) Canvas() *TCanvas

Canvas

获取画布。

func (*TBoundLabel) Caption added in v1.1.19

func (b *TBoundLabel) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TBoundLabel) ClassName added in v1.1.19

func (b *TBoundLabel) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TBoundLabel) ClassType added in v1.1.19

func (b *TBoundLabel) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TBoundLabel) ClientHeight added in v1.1.19

func (b *TBoundLabel) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TBoundLabel) ClientOrigin added in v1.1.21

func (b *TBoundLabel) ClientOrigin() TPoint

func (*TBoundLabel) ClientRect added in v1.1.19

func (b *TBoundLabel) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TBoundLabel) ClientToParent added in v1.1.19

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TBoundLabel) ClientToScreen added in v1.1.19

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TBoundLabel) ClientWidth added in v1.1.19

func (b *TBoundLabel) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TBoundLabel) Color added in v1.1.19

func (b *TBoundLabel) Color() TColor

Color

获取颜色。

Get color.

func (*TBoundLabel) ComponentCount added in v1.1.19

func (b *TBoundLabel) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TBoundLabel) ComponentIndex added in v1.1.19

func (b *TBoundLabel) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TBoundLabel) Components added in v1.1.19

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

Components

获取指定索引组件。

Get the specified index component.

func (*TBoundLabel) Constraints added in v1.2.7

func (b *TBoundLabel) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TBoundLabel) ControlState added in v1.1.21

func (b *TBoundLabel) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TBoundLabel) ControlStyle added in v1.1.21

func (b *TBoundLabel) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TBoundLabel) Cursor added in v1.1.19

func (b *TBoundLabel) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TBoundLabel) DragCursor added in v1.1.19

func (b *TBoundLabel) DragCursor() TCursor

DragCursor

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

Get Set the cursor when the control is dragged.

func (*TBoundLabel) DragMode added in v1.1.19

func (b *TBoundLabel) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TBoundLabel) Dragging added in v1.1.19

func (b *TBoundLabel) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TBoundLabel) Enabled added in v1.1.19

func (b *TBoundLabel) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TBoundLabel) Equals added in v1.1.19

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TBoundLabel) FindComponent added in v1.1.19

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TBoundLabel) FixDesignFontsPPI

func (b *TBoundLabel) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TBoundLabel) Floating added in v1.1.19

func (b *TBoundLabel) Floating() bool

func (*TBoundLabel) Font added in v1.1.19

func (b *TBoundLabel) Font() *TFont

Font

获取字体。

Get Font.

func (*TBoundLabel) Free added in v1.1.19

func (b *TBoundLabel) Free()

Free

释放对象。

Free object.

func (*TBoundLabel) GetHashCode added in v1.1.19

func (b *TBoundLabel) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TBoundLabel) GetNamePath added in v1.1.19

func (b *TBoundLabel) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TBoundLabel) GetTextBuf added in v1.1.19

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TBoundLabel) GetTextLen added in v1.1.19

func (b *TBoundLabel) GetTextLen() int32

GetTextLen

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

Get the character length of the control, if any.

func (*TBoundLabel) HasParent added in v1.1.19

func (b *TBoundLabel) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TBoundLabel) Height added in v1.1.19

func (b *TBoundLabel) Height() int32

Height

获取高度。

Get height.

func (*TBoundLabel) Hide added in v1.1.19

func (b *TBoundLabel) Hide()

Hide

隐藏控件。

Hidden control.

func (*TBoundLabel) Hint added in v1.1.19

func (b *TBoundLabel) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TBoundLabel) InheritsFrom added in v1.1.19

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TBoundLabel) Instance added in v1.1.19

func (b *TBoundLabel) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TBoundLabel) InstanceSize added in v1.1.19

func (b *TBoundLabel) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TBoundLabel) Invalidate added in v1.1.19

func (b *TBoundLabel) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TBoundLabel) Is added in v1.2.10

func (b *TBoundLabel) Is() TIs

Is

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

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

func (*TBoundLabel) IsValid added in v1.1.19

func (b *TBoundLabel) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TBoundLabel) Layout added in v1.1.19

func (b *TBoundLabel) Layout() TTextLayout

func (*TBoundLabel) Left added in v1.1.19

func (b *TBoundLabel) Left() int32

Left

获取左边位置。

Get Left position.

func (*TBoundLabel) Name added in v1.1.19

func (b *TBoundLabel) Name() string

Name

获取组件名称。

Get the component name.

func (*TBoundLabel) Owner added in v1.1.19

func (b *TBoundLabel) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TBoundLabel) Parent added in v1.1.19

func (b *TBoundLabel) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TBoundLabel) ParentColor added in v1.1.19

func (b *TBoundLabel) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TBoundLabel) ParentFont added in v1.1.19

func (b *TBoundLabel) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TBoundLabel) ParentShowHint added in v1.1.19

func (b *TBoundLabel) ParentShowHint() bool

ParentShowHint

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

func (*TBoundLabel) ParentToClient added in v1.1.19

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TBoundLabel) Perform added in v1.1.19

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

Perform

发送一个消息。

Send a message.

func (*TBoundLabel) PopupMenu added in v1.1.19

func (b *TBoundLabel) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TBoundLabel) Refresh added in v1.1.19

func (b *TBoundLabel) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TBoundLabel) Repaint added in v1.1.19

func (b *TBoundLabel) Repaint()

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 added in v1.1.19

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TBoundLabel) SendToBack added in v1.1.19

func (b *TBoundLabel) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TBoundLabel) SetAction added in v1.1.19

func (b *TBoundLabel) SetAction(value IComponent)

func (*TBoundLabel) SetAlign added in v1.1.19

func (b *TBoundLabel) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TBoundLabel) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TBoundLabel) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TBoundLabel) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TBoundLabel) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TBoundLabel) SetAnchors added in v1.1.19

func (b *TBoundLabel) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TBoundLabel) SetBiDiMode added in v1.1.19

func (b *TBoundLabel) SetBiDiMode(value TBiDiMode)

func (*TBoundLabel) SetBorderSpacing

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

SetBorderSpacing

设置边框间距。

func (*TBoundLabel) SetBounds added in v1.1.19

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

SetBounds

设置组件边界。

Set component boundaries.

func (*TBoundLabel) SetBoundsRect added in v1.1.19

func (b *TBoundLabel) SetBoundsRect(value TRect)

func (*TBoundLabel) SetCaption added in v1.1.19

func (b *TBoundLabel) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TBoundLabel) SetClientHeight added in v1.1.19

func (b *TBoundLabel) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TBoundLabel) SetClientWidth added in v1.1.19

func (b *TBoundLabel) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TBoundLabel) SetColor added in v1.1.19

func (b *TBoundLabel) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TBoundLabel) SetComponentIndex added in v1.1.19

func (b *TBoundLabel) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TBoundLabel) SetConstraints added in v1.2.7

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

SetConstraints

设置约束控件大小。

func (*TBoundLabel) SetControlState added in v1.1.21

func (b *TBoundLabel) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TBoundLabel) SetControlStyle added in v1.1.21

func (b *TBoundLabel) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TBoundLabel) SetCursor added in v1.1.19

func (b *TBoundLabel) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TBoundLabel) SetDragCursor added in v1.1.19

func (b *TBoundLabel) SetDragCursor(value TCursor)

SetDragCursor

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

Set Set the cursor when the control is dragged.

func (*TBoundLabel) SetDragMode added in v1.1.19

func (b *TBoundLabel) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TBoundLabel) SetEnabled added in v1.1.19

func (b *TBoundLabel) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TBoundLabel) SetFont added in v1.1.19

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

SetFont

设置字体。

Set Font.

func (*TBoundLabel) SetHeight added in v1.1.19

func (b *TBoundLabel) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TBoundLabel) SetHint added in v1.1.19

func (b *TBoundLabel) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TBoundLabel) SetLayout added in v1.1.19

func (b *TBoundLabel) SetLayout(value TTextLayout)

func (*TBoundLabel) SetName added in v1.1.19

func (b *TBoundLabel) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TBoundLabel) SetOnClick added in v1.1.19

func (b *TBoundLabel) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TBoundLabel) SetOnDblClick added in v1.1.19

func (b *TBoundLabel) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TBoundLabel) SetOnDragDrop added in v1.1.19

func (b *TBoundLabel) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TBoundLabel) SetOnDragOver added in v1.1.19

func (b *TBoundLabel) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TBoundLabel) SetOnEndDrag added in v1.1.19

func (b *TBoundLabel) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TBoundLabel) SetOnMouseDown added in v1.1.19

func (b *TBoundLabel) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TBoundLabel) SetOnMouseMove added in v1.1.19

func (b *TBoundLabel) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TBoundLabel) SetOnMouseUp added in v1.1.19

func (b *TBoundLabel) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TBoundLabel) SetParent added in v1.1.19

func (b *TBoundLabel) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TBoundLabel) SetParentColor added in v1.1.19

func (b *TBoundLabel) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TBoundLabel) SetParentFont added in v1.1.19

func (b *TBoundLabel) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TBoundLabel) SetParentShowHint added in v1.1.19

func (b *TBoundLabel) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TBoundLabel) SetPopupMenu added in v1.1.19

func (b *TBoundLabel) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TBoundLabel) SetShowAccelChar added in v1.1.19

func (b *TBoundLabel) SetShowAccelChar(value bool)

func (*TBoundLabel) SetShowHint added in v1.1.19

func (b *TBoundLabel) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TBoundLabel) SetTag added in v1.1.19

func (b *TBoundLabel) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TBoundLabel) SetTextBuf added in v1.1.21

func (b *TBoundLabel) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TBoundLabel) SetVisible added in v1.1.19

func (b *TBoundLabel) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TBoundLabel) SetWidth added in v1.1.19

func (b *TBoundLabel) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TBoundLabel) SetWordWrap added in v1.1.19

func (b *TBoundLabel) SetWordWrap(value bool)

SetWordWrap

设置自动换行。

Set Automatic line break.

func (*TBoundLabel) Show added in v1.1.19

func (b *TBoundLabel) Show()

Show

显示控件。

Show control.

func (*TBoundLabel) ShowAccelChar added in v1.1.19

func (b *TBoundLabel) ShowAccelChar() bool

func (*TBoundLabel) ShowHint added in v1.1.19

func (b *TBoundLabel) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TBoundLabel) Tag added in v1.1.19

func (b *TBoundLabel) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TBoundLabel) ToString added in v1.1.19

func (b *TBoundLabel) ToString() string

ToString

文本类信息。

Text information.

func (*TBoundLabel) Top added in v1.1.19

func (b *TBoundLabel) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TBoundLabel) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TBoundLabel) Update added in v1.1.19

func (b *TBoundLabel) Update()

Update

控件更新。

Update.

func (*TBoundLabel) Visible added in v1.1.19

func (b *TBoundLabel) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TBoundLabel) Width added in v1.1.19

func (b *TBoundLabel) Width() int32

Width

获取宽度。

Get width.

func (*TBoundLabel) WordWrap added in v1.1.19

func (b *TBoundLabel) WordWrap() bool

WordWrap

获取自动换行。

Get Automatic line break.

type TBrush

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

func AsBrush added in v1.2.10

func AsBrush(obj interface{}) *TBrush

AsBrush

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

Dynamically convert an existing object instance.

func NewBrush

func NewBrush() *TBrush

NewBrush

创建一个新的对象。

Create a new object.

func (*TBrush) Assign

func (b *TBrush) Assign(Source IObject)

Assign

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

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TBrush) ClassType added in v1.1.18

func (b *TBrush) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TBrush) Color

func (b *TBrush) Color() TColor

Color

获取颜色。

Get color.

func (*TBrush) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TBrush) Free

func (b *TBrush) Free()

Free

释放对象。

Free object.

func (*TBrush) GetHashCode

func (b *TBrush) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TBrush) GetNamePath

func (b *TBrush) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TBrush) Handle

func (b *TBrush) Handle() HBRUSH

Handle

获取控件句柄。

Get Control handle.

func (*TBrush) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TBrush) Instance

func (b *TBrush) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TBrush) InstanceSize added in v1.1.18

func (b *TBrush) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TBrush) Is added in v1.2.10

func (b *TBrush) Is() TIs

Is

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

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

func (*TBrush) IsValid

func (b *TBrush) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TBrush) SetBitmap

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

func (*TBrush) SetColor

func (b *TBrush) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TBrush) SetHandle

func (b *TBrush) SetHandle(value HBRUSH)

SetHandle

设置控件句柄。

Set Control handle.

func (*TBrush) SetOnChange

func (b *TBrush) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

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

ToString

文本类信息。

Text information.

func (*TBrush) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TButton

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

func AsButton added in v1.2.10

func AsButton(obj interface{}) *TButton

AsButton

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

Dynamically convert an existing object instance.

func NewButton

func NewButton(owner IComponent) *TButton

NewButton

创建一个新的对象。

Create a new object.

func (*TButton) Action

func (b *TButton) Action() *TAction

func (*TButton) Align

func (b *TButton) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TButton) AnchorSideBottom

func (b *TButton) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TButton) AnchorSideLeft

func (b *TButton) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TButton) AnchorSideRight

func (b *TButton) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TButton) AnchorSideTop

func (b *TButton) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TButton) AnchorToNeighbour

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

func (*TButton) AnchorVerticalCenterTo

func (b *TButton) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TButton) Anchors

func (b *TButton) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TButton) Assign

func (b *TButton) Assign(Source IObject)

Assign

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

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

BorderSpacing

获取边框间距。

func (*TButton) BoundsRect

func (b *TButton) BoundsRect() TRect

func (*TButton) BringToFront

func (b *TButton) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TButton) Brush

func (b *TButton) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TButton) CanFocus

func (b *TButton) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TButton) Cancel

func (b *TButton) Cancel() bool

func (*TButton) Caption

func (b *TButton) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TButton) ChildSizing

func (b *TButton) ChildSizing() *TControlChildSizing

func (*TButton) ClassName

func (b *TButton) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TButton) ClassType added in v1.1.18

func (b *TButton) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TButton) Click

func (b *TButton) Click()

Click

单击。

func (*TButton) ClientHeight

func (b *TButton) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TButton) ClientOrigin added in v1.1.21

func (b *TButton) ClientOrigin() TPoint

func (*TButton) ClientRect

func (b *TButton) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TButton) ClientToParent

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TButton) ClientToScreen

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TButton) ClientWidth

func (b *TButton) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TButton) ComponentCount

func (b *TButton) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TButton) ComponentIndex

func (b *TButton) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TButton) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TButton) Constraints added in v1.2.7

func (b *TButton) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TButton) ContainsControl added in v1.1.21

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

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TButton) ControlAtPos added in v1.1.21

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

ControlAtPos

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

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

func (*TButton) ControlCount

func (b *TButton) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TButton) ControlState added in v1.1.21

func (b *TButton) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TButton) ControlStyle added in v1.1.21

func (b *TButton) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TButton) Controls

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

Controls

获取指定索引子控件。

func (*TButton) Cursor

func (b *TButton) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TButton) Default

func (b *TButton) Default() bool

func (*TButton) DisableAlign added in v1.1.21

func (b *TButton) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TButton) DockClientCount added in v1.1.21

func (b *TButton) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TButton) DockClients added in v1.1.21

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

DockClients

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

func (*TButton) DockSite

func (b *TButton) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TButton) DoubleBuffered

func (b *TButton) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TButton) DragCursor

func (b *TButton) DragCursor() TCursor

DragCursor

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

Get Set the cursor when the control is dragged.

func (*TButton) DragKind

func (b *TButton) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TButton) DragMode

func (b *TButton) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TButton) Dragging

func (b *TButton) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TButton) EnableAlign added in v1.1.21

func (b *TButton) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TButton) Enabled

func (b *TButton) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TButton) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TButton) FindChildControl added in v1.1.21

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

FindChildControl

查找子控件。

Find sub controls.

func (*TButton) FindComponent

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

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TButton) Font

func (b *TButton) Font() *TFont

Font

获取字体。

Get Font.

func (*TButton) Free

func (b *TButton) Free()

Free

释放对象。

Free object.

func (*TButton) GetHashCode

func (b *TButton) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TButton) GetNamePath

func (b *TButton) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TButton) GetTextBuf

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TButton) GetTextLen

func (b *TButton) GetTextLen() int32

GetTextLen

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

Get the character length of the control, if any.

func (*TButton) Handle

func (b *TButton) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TButton) HandleAllocated

func (b *TButton) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TButton) HasParent

func (b *TButton) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TButton) Height

func (b *TButton) Height() int32

Height

获取高度。

Get height.

func (*TButton) Hide

func (b *TButton) Hide()

Hide

隐藏控件。

Hidden control.

func (*TButton) Hint

func (b *TButton) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TButton) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TButton) InsertControl added in v1.1.21

func (b *TButton) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TButton) Instance

func (b *TButton) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TButton) InstanceSize added in v1.1.18

func (b *TButton) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TButton) Invalidate

func (b *TButton) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TButton) Is added in v1.2.10

func (b *TButton) Is() TIs

Is

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

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

func (*TButton) IsValid

func (b *TButton) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TButton) Left

func (b *TButton) Left() int32

Left

获取左边位置。

Get Left position.

func (*TButton) ModalResult

func (b *TButton) ModalResult() TModalResult

ModalResult

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

func (*TButton) MouseInClient added in v1.1.21

func (b *TButton) MouseInClient() bool

MouseInClient

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

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

func (*TButton) Name

func (b *TButton) Name() string

Name

获取组件名称。

Get the component name.

func (*TButton) Owner

func (b *TButton) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TButton) PaintTo added in v1.1.21

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

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TButton) Parent

func (b *TButton) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TButton) ParentDoubleBuffered

func (b *TButton) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TButton) ParentFont

func (b *TButton) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TButton) ParentShowHint

func (b *TButton) ParentShowHint() bool

ParentShowHint

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

func (*TButton) ParentToClient

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TButton) ParentWindow

func (b *TButton) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TButton) Perform

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

Perform

发送一个消息。

Send a message.

func (*TButton) PopupMenu

func (b *TButton) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TButton) Realign

func (b *TButton) Realign()

Realign

重新对齐。

Realign.

func (*TButton) Refresh

func (b *TButton) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TButton) RemoveControl added in v1.1.21

func (b *TButton) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TButton) Repaint

func (b *TButton) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TButton) ScrollBy added in v1.1.21

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

ScrollBy

滚动至指定位置。

Scroll by.

func (*TButton) SendToBack

func (b *TButton) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TButton) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TButton) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TButton) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TButton) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TButton) SetAnchors

func (b *TButton) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TButton) SetBiDiMode

func (b *TButton) SetBiDiMode(value TBiDiMode)

func (*TButton) SetBorderSpacing

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

SetBorderSpacing

设置边框间距。

func (*TButton) SetBounds

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

SetBounds

设置组件边界。

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)

SetCaption

设置控件标题。

Set the control title.

func (*TButton) SetChildSizing

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

func (*TButton) SetClientHeight

func (b *TButton) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TButton) SetClientWidth

func (b *TButton) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TButton) SetComponentIndex

func (b *TButton) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TButton) SetConstraints added in v1.2.7

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

SetConstraints

设置约束控件大小。

func (*TButton) SetControlState added in v1.1.21

func (b *TButton) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TButton) SetControlStyle added in v1.1.21

func (b *TButton) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TButton) SetCursor

func (b *TButton) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TButton) SetDefault

func (b *TButton) SetDefault(value bool)

func (*TButton) SetDockSite

func (b *TButton) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TButton) SetDoubleBuffered

func (b *TButton) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TButton) SetDragCursor

func (b *TButton) SetDragCursor(value TCursor)

SetDragCursor

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

Set Set the cursor when the control is dragged.

func (*TButton) SetDragKind

func (b *TButton) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TButton) SetDragMode

func (b *TButton) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TButton) SetEnabled

func (b *TButton) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TButton) SetFocus

func (b *TButton) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TButton) SetFont

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

SetFont

设置字体。

Set Font.

func (*TButton) SetHeight

func (b *TButton) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TButton) SetHint

func (b *TButton) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TButton) SetLeft

func (b *TButton) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TButton) SetModalResult

func (b *TButton) SetModalResult(value TModalResult)

SetModalResult

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

func (*TButton) SetName

func (b *TButton) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TButton) SetOnClick

func (b *TButton) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TButton) SetOnContextPopup

func (b *TButton) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

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

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

func (*TButton) SetOnDragDrop

func (b *TButton) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TButton) SetOnDragOver

func (b *TButton) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TButton) SetOnEndDrag

func (b *TButton) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TButton) SetOnEnter

func (b *TButton) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TButton) SetOnExit

func (b *TButton) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TButton) SetOnKeyDown

func (b *TButton) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TButton) SetOnKeyPress

func (b *TButton) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TButton) SetOnKeyUp

func (b *TButton) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TButton) SetOnMouseDown

func (b *TButton) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TButton) SetOnMouseEnter

func (b *TButton) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TButton) SetOnMouseLeave

func (b *TButton) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TButton) SetOnMouseMove

func (b *TButton) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TButton) SetOnMouseUp

func (b *TButton) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TButton) SetParent

func (b *TButton) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TButton) SetParentDoubleBuffered

func (b *TButton) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TButton) SetParentFont

func (b *TButton) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TButton) SetParentShowHint

func (b *TButton) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TButton) SetParentWindow

func (b *TButton) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TButton) SetPopupMenu

func (b *TButton) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TButton) SetShowHint

func (b *TButton) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TButton) SetTabOrder

func (b *TButton) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TButton) SetTabStop

func (b *TButton) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TButton) SetTag

func (b *TButton) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TButton) SetTextBuf added in v1.1.21

func (b *TButton) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TButton) SetTop

func (b *TButton) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TButton) SetUseDockManager

func (b *TButton) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TButton) SetVisible

func (b *TButton) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TButton) SetWidth

func (b *TButton) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TButton) Show

func (b *TButton) Show()

Show

显示控件。

Show control.

func (*TButton) ShowHint

func (b *TButton) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TButton) Showing

func (b *TButton) Showing() bool

func (*TButton) TabOrder

func (b *TButton) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TButton) TabStop

func (b *TButton) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TButton) Tag

func (b *TButton) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TButton) ToString

func (b *TButton) ToString() string

ToString

文本类信息。

Text information.

func (*TButton) Top

func (b *TButton) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TButton) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TButton) Update

func (b *TButton) Update()

Update

控件更新。

Update.

func (*TButton) UseDockManager

func (b *TButton) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TButton) Visible

func (b *TButton) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TButton) VisibleDockClientCount added in v1.1.21

func (b *TButton) VisibleDockClientCount() int32

VisibleDockClientCount

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

Get The total number of visible calls currently docked.

func (*TButton) Width

func (b *TButton) Width() int32

Width

获取宽度。

Get width.

type TCanvas

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

func AsCanvas added in v1.2.10

func AsCanvas(obj interface{}) *TCanvas

AsCanvas

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

Dynamically convert an existing object instance.

func NewCanvas

func NewCanvas() *TCanvas

NewCanvas

创建一个新的对象。

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)

Assign

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

Copy an object, if the object implements this method.

func (*TCanvas) Brush

func (c *TCanvas) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TCanvas) BrushCopy

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

BrushCopy 画刷复制

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TCanvas) ClassType added in v1.1.18

func (c *TCanvas) ClassType() TClass

ClassType

获取类的类型信息。

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)

CopyRect 制矩形

func (*TCanvas) Draw

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

Draw 绘制graphic对象

func (*TCanvas) DrawFocusRect

func (c *TCanvas) DrawFocusRect(aRect TRect)

DrawFocusRect 画焦点矩形

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TCanvas) FillRect

func (c *TCanvas) FillRect(aRect TRect)

FillRect 填充矩形

func (*TCanvas) FloodFill

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

func (*TCanvas) Font

func (c *TCanvas) Font() *TFont

Font

获取字体。

Get Font.

func (*TCanvas) FrameRect

func (c *TCanvas) FrameRect(aRect TRect)

FrameRect 绘制边框

func (*TCanvas) Free

func (c *TCanvas) Free()

Free

释放对象。

Free object.

func (*TCanvas) GetHashCode

func (c *TCanvas) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TCanvas) GetNamePath

func (c *TCanvas) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TCanvas) Handle

func (c *TCanvas) Handle() HDC

Handle

获取控件句柄。

Get Control handle.

func (*TCanvas) HandleAllocated

func (c *TCanvas) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TCanvas) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TCanvas) Instance

func (c *TCanvas) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TCanvas) InstanceSize added in v1.1.18

func (c *TCanvas) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TCanvas) Is added in v1.2.10

func (c *TCanvas) Is() TIs

Is

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

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

func (*TCanvas) IsValid

func (c *TCanvas) IsValid() bool

IsValid

检测地址是否为空。

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 added in v1.2.9

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

func (*TCanvas) PolyBezier added in v1.2.8

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

PolyBezier 多边形贝塞尔曲线

func (*TCanvas) Polygon added in v1.2.8

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

Polygon 填充多边形

func (*TCanvas) Polyline added in v1.2.8

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

Polyline 画多边形,不填充

func (*TCanvas) Rectangle

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

func (*TCanvas) Refresh

func (c *TCanvas) Refresh()

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)

SetBrush

设置画刷对象。

Set Brush.

func (*TCanvas) SetCopyMode

func (c *TCanvas) SetCopyMode(value int32)

func (*TCanvas) SetFont

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

SetFont

设置字体。

Set Font.

func (*TCanvas) SetHandle

func (c *TCanvas) SetHandle(value HDC)

SetHandle

设置控件句柄。

Set Control handle.

func (*TCanvas) SetOnChange

func (c *TCanvas) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TCanvas) SetOnChanging added in v1.1.21

func (c *TCanvas) SetOnChanging(fn TNotifyEvent)

func (*TCanvas) SetPen

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

func (*TCanvas) SetPixels added in v1.2.9

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)

TextRect 在矩形内绘制文字

func (*TCanvas) TextRect2

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

TextRect2 在矩形内绘制文字

func (*TCanvas) TextWidth

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

func (*TCanvas) ToString

func (c *TCanvas) ToString() string

ToString

文本类信息。

Text information.

func (*TCanvas) TryLock

func (c *TCanvas) TryLock() bool

func (*TCanvas) Unlock

func (c *TCanvas) Unlock()

func (*TCanvas) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TCheckBox

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

func AsCheckBox added in v1.2.10

func AsCheckBox(obj interface{}) *TCheckBox

AsCheckBox

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

Dynamically convert an existing object instance.

func NewCheckBox

func NewCheckBox(owner IComponent) *TCheckBox

NewCheckBox

创建一个新的对象。

Create a new object.

func (*TCheckBox) Action

func (c *TCheckBox) Action() *TAction

func (*TCheckBox) Align

func (c *TCheckBox) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TCheckBox) Alignment

func (c *TCheckBox) Alignment() TLeftRight

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TCheckBox) AnchorSideBottom

func (c *TCheckBox) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TCheckBox) AnchorSideLeft

func (c *TCheckBox) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TCheckBox) AnchorSideRight

func (c *TCheckBox) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TCheckBox) AnchorSideTop

func (c *TCheckBox) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TCheckBox) AnchorToNeighbour

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

func (*TCheckBox) AnchorVerticalCenterTo

func (c *TCheckBox) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TCheckBox) Anchors

func (c *TCheckBox) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TCheckBox) Assign

func (c *TCheckBox) Assign(Source IObject)

Assign

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

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

BorderSpacing

获取边框间距。

func (*TCheckBox) BoundsRect

func (c *TCheckBox) BoundsRect() TRect

func (*TCheckBox) BringToFront

func (c *TCheckBox) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TCheckBox) Brush

func (c *TCheckBox) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TCheckBox) CanFocus

func (c *TCheckBox) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TCheckBox) Caption

func (c *TCheckBox) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TCheckBox) Checked

func (c *TCheckBox) Checked() bool

Checked

获取是否选中。

func (*TCheckBox) ChildSizing

func (c *TCheckBox) ChildSizing() *TControlChildSizing

func (*TCheckBox) ClassName

func (c *TCheckBox) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TCheckBox) ClassType added in v1.1.18

func (c *TCheckBox) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TCheckBox) ClientHeight

func (c *TCheckBox) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TCheckBox) ClientOrigin added in v1.1.21

func (c *TCheckBox) ClientOrigin() TPoint

func (*TCheckBox) ClientRect

func (c *TCheckBox) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TCheckBox) ClientToParent

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TCheckBox) ClientToScreen

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TCheckBox) ClientWidth

func (c *TCheckBox) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TCheckBox) Color

func (c *TCheckBox) Color() TColor

Color

获取颜色。

Get color.

func (*TCheckBox) ComponentCount

func (c *TCheckBox) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TCheckBox) ComponentIndex

func (c *TCheckBox) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TCheckBox) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TCheckBox) Constraints added in v1.2.7

func (c *TCheckBox) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TCheckBox) ContainsControl added in v1.1.21

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

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TCheckBox) ControlAtPos added in v1.1.21

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

ControlAtPos

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

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

func (*TCheckBox) ControlCount

func (c *TCheckBox) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TCheckBox) ControlState added in v1.1.21

func (c *TCheckBox) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TCheckBox) ControlStyle added in v1.1.21

func (c *TCheckBox) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TCheckBox) Controls

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

Controls

获取指定索引子控件。

func (*TCheckBox) Cursor

func (c *TCheckBox) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TCheckBox) DisableAlign added in v1.1.21

func (c *TCheckBox) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TCheckBox) DockClientCount added in v1.1.21

func (c *TCheckBox) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TCheckBox) DockClients added in v1.1.21

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

DockClients

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

func (*TCheckBox) DockSite

func (c *TCheckBox) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TCheckBox) DoubleBuffered

func (c *TCheckBox) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TCheckBox) DragCursor

func (c *TCheckBox) DragCursor() TCursor

DragCursor

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

Get Set the cursor when the control is dragged.

func (*TCheckBox) DragKind

func (c *TCheckBox) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TCheckBox) DragMode

func (c *TCheckBox) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TCheckBox) Dragging

func (c *TCheckBox) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TCheckBox) EnableAlign added in v1.1.21

func (c *TCheckBox) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TCheckBox) Enabled

func (c *TCheckBox) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TCheckBox) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TCheckBox) FindChildControl added in v1.1.21

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

FindChildControl

查找子控件。

Find sub controls.

func (*TCheckBox) FindComponent

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

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TCheckBox) Font

func (c *TCheckBox) Font() *TFont

Font

获取字体。

Get Font.

func (*TCheckBox) Free

func (c *TCheckBox) Free()

Free

释放对象。

Free object.

func (*TCheckBox) GetHashCode

func (c *TCheckBox) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TCheckBox) GetNamePath

func (c *TCheckBox) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TCheckBox) GetTextBuf

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TCheckBox) GetTextLen

func (c *TCheckBox) GetTextLen() int32

GetTextLen

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

Get the character length of the control, if any.

func (*TCheckBox) Handle

func (c *TCheckBox) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TCheckBox) HandleAllocated

func (c *TCheckBox) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TCheckBox) HasParent

func (c *TCheckBox) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TCheckBox) Height

func (c *TCheckBox) Height() int32

Height

获取高度。

Get height.

func (*TCheckBox) Hide

func (c *TCheckBox) Hide()

Hide

隐藏控件。

Hidden control.

func (*TCheckBox) Hint

func (c *TCheckBox) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TCheckBox) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TCheckBox) InsertControl added in v1.1.21

func (c *TCheckBox) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TCheckBox) Instance

func (c *TCheckBox) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TCheckBox) InstanceSize added in v1.1.18

func (c *TCheckBox) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TCheckBox) Invalidate

func (c *TCheckBox) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TCheckBox) Is added in v1.2.10

func (c *TCheckBox) Is() TIs

Is

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

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

func (*TCheckBox) IsValid

func (c *TCheckBox) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TCheckBox) Left

func (c *TCheckBox) Left() int32

Left

获取左边位置。

Get Left position.

func (*TCheckBox) MouseInClient added in v1.1.21

func (c *TCheckBox) MouseInClient() bool

MouseInClient

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

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

func (*TCheckBox) Name

func (c *TCheckBox) Name() string

Name

获取组件名称。

Get the component name.

func (*TCheckBox) Owner

func (c *TCheckBox) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TCheckBox) PaintTo added in v1.1.21

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

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TCheckBox) Parent

func (c *TCheckBox) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TCheckBox) ParentColor

func (c *TCheckBox) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TCheckBox) ParentDoubleBuffered

func (c *TCheckBox) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TCheckBox) ParentFont

func (c *TCheckBox) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TCheckBox) ParentShowHint

func (c *TCheckBox) ParentShowHint() bool

ParentShowHint

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

func (*TCheckBox) ParentToClient

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TCheckBox) ParentWindow

func (c *TCheckBox) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TCheckBox) Perform

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

Perform

发送一个消息。

Send a message.

func (*TCheckBox) PopupMenu

func (c *TCheckBox) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TCheckBox) Realign

func (c *TCheckBox) Realign()

Realign

重新对齐。

Realign.

func (*TCheckBox) Refresh

func (c *TCheckBox) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TCheckBox) RemoveControl added in v1.1.21

func (c *TCheckBox) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TCheckBox) Repaint

func (c *TCheckBox) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TCheckBox) ScrollBy added in v1.1.21

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

ScrollBy

滚动至指定位置。

Scroll by.

func (*TCheckBox) SendToBack

func (c *TCheckBox) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TCheckBox) SetAlignment

func (c *TCheckBox) SetAlignment(value TLeftRight)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TCheckBox) SetAllowGrayed

func (c *TCheckBox) SetAllowGrayed(value bool)

func (*TCheckBox) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TCheckBox) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TCheckBox) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TCheckBox) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TCheckBox) SetAnchors

func (c *TCheckBox) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TCheckBox) SetBiDiMode

func (c *TCheckBox) SetBiDiMode(value TBiDiMode)

func (*TCheckBox) SetBorderSpacing

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

SetBorderSpacing

设置边框间距。

func (*TCheckBox) SetBounds

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

SetBounds

设置组件边界。

Set component boundaries.

func (*TCheckBox) SetBoundsRect

func (c *TCheckBox) SetBoundsRect(value TRect)

func (*TCheckBox) SetCaption

func (c *TCheckBox) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TCheckBox) SetChecked

func (c *TCheckBox) SetChecked(value bool)

SetChecked

设置是否选中。

func (*TCheckBox) SetChildSizing

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

func (*TCheckBox) SetClientHeight

func (c *TCheckBox) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TCheckBox) SetClientWidth

func (c *TCheckBox) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TCheckBox) SetColor

func (c *TCheckBox) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TCheckBox) SetComponentIndex

func (c *TCheckBox) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TCheckBox) SetConstraints added in v1.2.7

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

SetConstraints

设置约束控件大小。

func (*TCheckBox) SetControlState added in v1.1.21

func (c *TCheckBox) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TCheckBox) SetControlStyle added in v1.1.21

func (c *TCheckBox) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TCheckBox) SetCursor

func (c *TCheckBox) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TCheckBox) SetDockSite

func (c *TCheckBox) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TCheckBox) SetDoubleBuffered

func (c *TCheckBox) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TCheckBox) SetDragCursor

func (c *TCheckBox) SetDragCursor(value TCursor)

SetDragCursor

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

Set Set the cursor when the control is dragged.

func (*TCheckBox) SetDragKind

func (c *TCheckBox) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TCheckBox) SetDragMode

func (c *TCheckBox) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TCheckBox) SetEnabled

func (c *TCheckBox) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TCheckBox) SetFocus

func (c *TCheckBox) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TCheckBox) SetFont

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

SetFont

设置字体。

Set Font.

func (*TCheckBox) SetHeight

func (c *TCheckBox) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TCheckBox) SetHint

func (c *TCheckBox) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TCheckBox) SetLeft

func (c *TCheckBox) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TCheckBox) SetName

func (c *TCheckBox) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TCheckBox) SetOnChange

func (c *TCheckBox) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TCheckBox) SetOnClick

func (c *TCheckBox) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TCheckBox) SetOnContextPopup

func (c *TCheckBox) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

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

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

func (*TCheckBox) SetOnDragDrop

func (c *TCheckBox) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TCheckBox) SetOnDragOver

func (c *TCheckBox) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TCheckBox) SetOnEndDrag

func (c *TCheckBox) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TCheckBox) SetOnEnter

func (c *TCheckBox) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TCheckBox) SetOnExit

func (c *TCheckBox) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TCheckBox) SetOnKeyDown

func (c *TCheckBox) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TCheckBox) SetOnKeyPress

func (c *TCheckBox) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TCheckBox) SetOnKeyUp

func (c *TCheckBox) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TCheckBox) SetOnMouseDown

func (c *TCheckBox) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TCheckBox) SetOnMouseEnter

func (c *TCheckBox) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TCheckBox) SetOnMouseLeave

func (c *TCheckBox) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TCheckBox) SetOnMouseMove

func (c *TCheckBox) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TCheckBox) SetOnMouseUp

func (c *TCheckBox) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TCheckBox) SetParent

func (c *TCheckBox) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TCheckBox) SetParentColor

func (c *TCheckBox) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TCheckBox) SetParentDoubleBuffered

func (c *TCheckBox) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TCheckBox) SetParentFont

func (c *TCheckBox) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TCheckBox) SetParentShowHint

func (c *TCheckBox) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TCheckBox) SetParentWindow

func (c *TCheckBox) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TCheckBox) SetPopupMenu

func (c *TCheckBox) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TCheckBox) SetShowHint

func (c *TCheckBox) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TCheckBox) SetState

func (c *TCheckBox) SetState(value TCheckBoxState)

func (*TCheckBox) SetTabOrder

func (c *TCheckBox) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TCheckBox) SetTabStop

func (c *TCheckBox) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TCheckBox) SetTag

func (c *TCheckBox) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TCheckBox) SetTextBuf added in v1.1.21

func (c *TCheckBox) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TCheckBox) SetTop

func (c *TCheckBox) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TCheckBox) SetUseDockManager

func (c *TCheckBox) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TCheckBox) SetVisible

func (c *TCheckBox) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TCheckBox) SetWidth

func (c *TCheckBox) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TCheckBox) Show

func (c *TCheckBox) Show()

Show

显示控件。

Show control.

func (*TCheckBox) ShowHint

func (c *TCheckBox) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TCheckBox) TabStop

func (c *TCheckBox) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TCheckBox) Tag

func (c *TCheckBox) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TCheckBox) ToString

func (c *TCheckBox) ToString() string

ToString

文本类信息。

Text information.

func (*TCheckBox) Top

func (c *TCheckBox) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TCheckBox) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TCheckBox) Update

func (c *TCheckBox) Update()

Update

控件更新。

Update.

func (*TCheckBox) UseDockManager

func (c *TCheckBox) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TCheckBox) Visible

func (c *TCheckBox) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TCheckBox) VisibleDockClientCount added in v1.1.21

func (c *TCheckBox) VisibleDockClientCount() int32

VisibleDockClientCount

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

Get The total number of visible calls currently docked.

func (*TCheckBox) Width

func (c *TCheckBox) Width() int32

Width

获取宽度。

Get width.

type TCheckComboBox

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

func AsCheckComboBox

func AsCheckComboBox(obj interface{}) *TCheckComboBox

AsCheckComboBox

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

Dynamically convert an existing object instance.

func NewCheckComboBox

func NewCheckComboBox(owner IComponent) *TCheckComboBox

NewCheckComboBox

创建一个新的对象。

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

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TCheckComboBox) AnchorSideBottom

func (c *TCheckComboBox) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TCheckComboBox) AnchorSideLeft

func (c *TCheckComboBox) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TCheckComboBox) AnchorSideRight

func (c *TCheckComboBox) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TCheckComboBox) AnchorSideTop

func (c *TCheckComboBox) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TCheckComboBox) AnchorToNeighbour

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

func (*TCheckComboBox) AnchorVerticalCenterTo

func (c *TCheckComboBox) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TCheckComboBox) Anchors

func (c *TCheckComboBox) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TCheckComboBox) Assign

func (c *TCheckComboBox) Assign(Source IObject)

Assign

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

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

AutoSize

获取自动调整大小。

func (*TCheckComboBox) BiDiMode

func (c *TCheckComboBox) BiDiMode() TBiDiMode

func (*TCheckComboBox) BorderSpacing

func (c *TCheckComboBox) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TCheckComboBox) BoundsRect

func (c *TCheckComboBox) BoundsRect() TRect

func (*TCheckComboBox) BringToFront

func (c *TCheckComboBox) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TCheckComboBox) Brush

func (c *TCheckComboBox) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TCheckComboBox) CanFocus

func (c *TCheckComboBox) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TCheckComboBox) Canvas

func (c *TCheckComboBox) Canvas() *TCanvas

Canvas

获取画布。

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

Checked

获取是否选中。

func (*TCheckComboBox) ChildSizing

func (c *TCheckComboBox) ChildSizing() *TControlChildSizing

func (*TCheckComboBox) ClassName

func (c *TCheckComboBox) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TCheckComboBox) ClassType

func (c *TCheckComboBox) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TCheckComboBox) Clear

func (c *TCheckComboBox) Clear()

Clear

清除。

func (*TCheckComboBox) ClearSelection

func (c *TCheckComboBox) ClearSelection()

ClearSelection

清除选择。

func (*TCheckComboBox) ClientHeight

func (c *TCheckComboBox) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TCheckComboBox) ClientOrigin

func (c *TCheckComboBox) ClientOrigin() TPoint

func (*TCheckComboBox) ClientRect

func (c *TCheckComboBox) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TCheckComboBox) ClientToParent

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TCheckComboBox) ClientToScreen

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TCheckComboBox) ClientWidth

func (c *TCheckComboBox) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TCheckComboBox) Color

func (c *TCheckComboBox) Color() TColor

Color

获取颜色。

Get color.

func (*TCheckComboBox) ComponentCount

func (c *TCheckComboBox) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TCheckComboBox) ComponentIndex

func (c *TCheckComboBox) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TCheckComboBox) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TCheckComboBox) Constraints

func (c *TCheckComboBox) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TCheckComboBox) ContainsControl

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

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TCheckComboBox) ControlAtPos

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

ControlAtPos

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

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

func (*TCheckComboBox) ControlCount

func (c *TCheckComboBox) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TCheckComboBox) ControlState

func (c *TCheckComboBox) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TCheckComboBox) ControlStyle

func (c *TCheckComboBox) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TCheckComboBox) Controls

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

Controls

获取指定索引子控件。

func (*TCheckComboBox) Count

func (c *TCheckComboBox) Count() int32

func (*TCheckComboBox) Cursor

func (c *TCheckComboBox) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TCheckComboBox) DeleteItem

func (c *TCheckComboBox) DeleteItem(AIndex int32)

func (*TCheckComboBox) DisableAlign

func (c *TCheckComboBox) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TCheckComboBox) DockClientCount

func (c *TCheckComboBox) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TCheckComboBox) DockClients

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

DockClients

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

func (*TCheckComboBox) DockSite

func (c *TCheckComboBox) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TCheckComboBox) DoubleBuffered

func (c *TCheckComboBox) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TCheckComboBox) DragCursor

func (c *TCheckComboBox) DragCursor() TCursor

DragCursor

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

Get Set the cursor when the control is dragged.

func (*TCheckComboBox) DragKind

func (c *TCheckComboBox) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TCheckComboBox) DragMode

func (c *TCheckComboBox) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TCheckComboBox) Dragging

func (c *TCheckComboBox) Dragging() bool

Dragging

是否在拖拽中。

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()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TCheckComboBox) Enabled

func (c *TCheckComboBox) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TCheckComboBox) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TCheckComboBox) FindChildControl

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

FindChildControl

查找子控件。

Find sub controls.

func (*TCheckComboBox) FindComponent

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

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TCheckComboBox) Font

func (c *TCheckComboBox) Font() *TFont

Font

获取字体。

Get Font.

func (*TCheckComboBox) Free

func (c *TCheckComboBox) Free()

Free

释放对象。

Free object.

func (*TCheckComboBox) GetHashCode

func (c *TCheckComboBox) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TCheckComboBox) GetNamePath

func (c *TCheckComboBox) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TCheckComboBox) GetTextBuf

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TCheckComboBox) GetTextLen

func (c *TCheckComboBox) GetTextLen() int32

GetTextLen

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

Get the character length of the control, if any.

func (*TCheckComboBox) Handle

func (c *TCheckComboBox) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TCheckComboBox) HandleAllocated

func (c *TCheckComboBox) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TCheckComboBox) HasParent

func (c *TCheckComboBox) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TCheckComboBox) Height

func (c *TCheckComboBox) Height() int32

Height

获取高度。

Get height.

func (*TCheckComboBox) Hide

func (c *TCheckComboBox) Hide()

Hide

隐藏控件。

Hidden control.

func (*TCheckComboBox) Hint

func (c *TCheckComboBox) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TCheckComboBox) InheritsFrom

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TCheckComboBox) InsertControl

func (c *TCheckComboBox) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TCheckComboBox) Instance

func (c *TCheckComboBox) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TCheckComboBox) InstanceSize

func (c *TCheckComboBox) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TCheckComboBox) Invalidate

func (c *TCheckComboBox) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TCheckComboBox) Is

func (c *TCheckComboBox) Is() TIs

Is

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

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

func (*TCheckComboBox) IsValid

func (c *TCheckComboBox) IsValid() bool

IsValid

检测地址是否为空。

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

Left

获取左边位置。

Get Left position.

func (*TCheckComboBox) MaxLength

func (c *TCheckComboBox) MaxLength() int32

MaxLength

获取最大长度。

func (*TCheckComboBox) MouseInClient

func (c *TCheckComboBox) MouseInClient() bool

MouseInClient

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

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

func (*TCheckComboBox) Name

func (c *TCheckComboBox) Name() string

Name

获取组件名称。

Get the component name.

func (*TCheckComboBox) Objects

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

func (*TCheckComboBox) Owner

func (c *TCheckComboBox) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TCheckComboBox) PaintTo

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

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TCheckComboBox) Parent

func (c *TCheckComboBox) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TCheckComboBox) ParentColor

func (c *TCheckComboBox) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TCheckComboBox) ParentDoubleBuffered

func (c *TCheckComboBox) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TCheckComboBox) ParentFont

func (c *TCheckComboBox) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TCheckComboBox) ParentShowHint

func (c *TCheckComboBox) ParentShowHint() bool

ParentShowHint

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

func (*TCheckComboBox) ParentToClient

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TCheckComboBox) ParentWindow

func (c *TCheckComboBox) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TCheckComboBox) Perform

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

Perform

发送一个消息。

Send a message.

func (*TCheckComboBox) PopupMenu

func (c *TCheckComboBox) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TCheckComboBox) Realign

func (c *TCheckComboBox) Realign()

Realign

重新对齐。

Realign.

func (*TCheckComboBox) Refresh

func (c *TCheckComboBox) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TCheckComboBox) RemoveControl

func (c *TCheckComboBox) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TCheckComboBox) Repaint

func (c *TCheckComboBox) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TCheckComboBox) ScrollBy

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

ScrollBy

滚动至指定位置。

Scroll by.

func (*TCheckComboBox) SelLength

func (c *TCheckComboBox) SelLength() int32

SelLength

获取选择的长度。

func (*TCheckComboBox) SelStart

func (c *TCheckComboBox) SelStart() int32

SelStart

获取选择的启始位置。

func (*TCheckComboBox) SelText

func (c *TCheckComboBox) SelText() string

SelText

获取选择的文本。

func (*TCheckComboBox) SelectAll

func (c *TCheckComboBox) SelectAll()

SelectAll

全选。

func (*TCheckComboBox) SendToBack

func (c *TCheckComboBox) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TCheckComboBox) SetAllowGrayed

func (c *TCheckComboBox) SetAllowGrayed(value bool)

func (*TCheckComboBox) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TCheckComboBox) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TCheckComboBox) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TCheckComboBox) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TCheckComboBox) SetAnchors

func (c *TCheckComboBox) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

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)

SetAutoSize

设置自动调整大小。

func (*TCheckComboBox) SetBiDiMode

func (c *TCheckComboBox) SetBiDiMode(value TBiDiMode)

func (*TCheckComboBox) SetBorderSpacing

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

SetBorderSpacing

设置边框间距。

func (*TCheckComboBox) SetBounds

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

SetBounds

设置组件边界。

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)

SetChecked

设置是否选中。

func (*TCheckComboBox) SetChildSizing

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

func (*TCheckComboBox) SetClientHeight

func (c *TCheckComboBox) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TCheckComboBox) SetClientWidth

func (c *TCheckComboBox) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TCheckComboBox) SetColor

func (c *TCheckComboBox) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TCheckComboBox) SetComponentIndex

func (c *TCheckComboBox) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TCheckComboBox) SetConstraints

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

SetConstraints

设置约束控件大小。

func (*TCheckComboBox) SetControlState

func (c *TCheckComboBox) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TCheckComboBox) SetControlStyle

func (c *TCheckComboBox) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TCheckComboBox) SetCursor

func (c *TCheckComboBox) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TCheckComboBox) SetDockSite

func (c *TCheckComboBox) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TCheckComboBox) SetDoubleBuffered

func (c *TCheckComboBox) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TCheckComboBox) SetDragCursor

func (c *TCheckComboBox) SetDragCursor(value TCursor)

SetDragCursor

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

Set Set the cursor when the control is dragged.

func (*TCheckComboBox) SetDragKind

func (c *TCheckComboBox) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TCheckComboBox) SetDragMode

func (c *TCheckComboBox) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

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)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TCheckComboBox) SetFocus

func (c *TCheckComboBox) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TCheckComboBox) SetFont

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

SetFont

设置字体。

Set Font.

func (*TCheckComboBox) SetHeight

func (c *TCheckComboBox) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TCheckComboBox) SetHint

func (c *TCheckComboBox) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetLeft

设置左边位置。

Set Left position.

func (*TCheckComboBox) SetMaxLength

func (c *TCheckComboBox) SetMaxLength(value int32)

SetMaxLength

设置最大长度。

func (*TCheckComboBox) SetName

func (c *TCheckComboBox) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TCheckComboBox) SetObjects

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

func (*TCheckComboBox) SetOnChange

func (c *TCheckComboBox) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TCheckComboBox) SetOnClick

func (c *TCheckComboBox) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TCheckComboBox) SetOnCloseUp

func (c *TCheckComboBox) SetOnCloseUp(fn TNotifyEvent)

func (*TCheckComboBox) SetOnContextPopup

func (c *TCheckComboBox) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

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

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

func (*TCheckComboBox) SetOnDblClick

func (c *TCheckComboBox) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TCheckComboBox) SetOnDragDrop

func (c *TCheckComboBox) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TCheckComboBox) SetOnDragOver

func (c *TCheckComboBox) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TCheckComboBox) SetOnDropDown

func (c *TCheckComboBox) SetOnDropDown(fn TNotifyEvent)

func (*TCheckComboBox) SetOnEndDrag

func (c *TCheckComboBox) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TCheckComboBox) SetOnEnter

func (c *TCheckComboBox) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TCheckComboBox) SetOnExit

func (c *TCheckComboBox) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TCheckComboBox) SetOnItemChange

func (c *TCheckComboBox) SetOnItemChange(fn TCheckItemChange)

func (*TCheckComboBox) SetOnKeyDown

func (c *TCheckComboBox) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TCheckComboBox) SetOnKeyPress

func (c *TCheckComboBox) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TCheckComboBox) SetOnKeyUp

func (c *TCheckComboBox) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TCheckComboBox) SetOnMouseDown

func (c *TCheckComboBox) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TCheckComboBox) SetOnMouseEnter

func (c *TCheckComboBox) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TCheckComboBox) SetOnMouseLeave

func (c *TCheckComboBox) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TCheckComboBox) SetOnMouseMove

func (c *TCheckComboBox) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TCheckComboBox) SetOnMouseUp

func (c *TCheckComboBox) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TCheckComboBox) SetOnMouseWheel

func (c *TCheckComboBox) SetOnMouseWheel(fn TMouseWheelEvent)

SetOnMouseWheel

设置鼠标滚轮事件。

func (*TCheckComboBox) SetOnMouseWheelDown

func (c *TCheckComboBox) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TCheckComboBox) SetOnMouseWheelUp

func (c *TCheckComboBox) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TCheckComboBox) SetOnSelect

func (c *TCheckComboBox) SetOnSelect(fn TNotifyEvent)

func (*TCheckComboBox) SetParent

func (c *TCheckComboBox) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TCheckComboBox) SetParentColor

func (c *TCheckComboBox) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TCheckComboBox) SetParentDoubleBuffered

func (c *TCheckComboBox) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TCheckComboBox) SetParentFont

func (c *TCheckComboBox) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TCheckComboBox) SetParentShowHint

func (c *TCheckComboBox) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TCheckComboBox) SetParentWindow

func (c *TCheckComboBox) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TCheckComboBox) SetPopupMenu

func (c *TCheckComboBox) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TCheckComboBox) SetSelLength

func (c *TCheckComboBox) SetSelLength(value int32)

SetSelLength

设置选择的长度。

func (*TCheckComboBox) SetSelStart

func (c *TCheckComboBox) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TCheckComboBox) SetSelText

func (c *TCheckComboBox) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TCheckComboBox) SetShowHint

func (c *TCheckComboBox) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

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)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TCheckComboBox) SetTabStop

func (c *TCheckComboBox) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TCheckComboBox) SetTag

func (c *TCheckComboBox) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TCheckComboBox) SetText

func (c *TCheckComboBox) SetText(value string)

SetText

设置文本。

func (*TCheckComboBox) SetTextBuf

func (c *TCheckComboBox) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TCheckComboBox) SetTextHint

func (c *TCheckComboBox) SetTextHint(value string)

SetTextHint

设置提示文本。

func (*TCheckComboBox) SetTop

func (c *TCheckComboBox) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TCheckComboBox) SetUseDockManager

func (c *TCheckComboBox) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TCheckComboBox) SetVisible

func (c *TCheckComboBox) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TCheckComboBox) SetWidth

func (c *TCheckComboBox) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TCheckComboBox) Show

func (c *TCheckComboBox) Show()

Show

显示控件。

Show control.

func (*TCheckComboBox) ShowHint

func (c *TCheckComboBox) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TCheckComboBox) TabStop

func (c *TCheckComboBox) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TCheckComboBox) Tag

func (c *TCheckComboBox) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TCheckComboBox) Text

func (c *TCheckComboBox) Text() string

Text

获取文本。

func (*TCheckComboBox) TextHint

func (c *TCheckComboBox) TextHint() string

TextHint

获取提示文本。

func (*TCheckComboBox) ToString

func (c *TCheckComboBox) ToString() string

ToString

文本类信息。

Text information.

func (*TCheckComboBox) Toggle

func (c *TCheckComboBox) Toggle(AIndex int32)

func (*TCheckComboBox) Top

func (c *TCheckComboBox) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TCheckComboBox) UnsafeAddr

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TCheckComboBox) Update

func (c *TCheckComboBox) Update()

Update

控件更新。

Update.

func (*TCheckComboBox) UseDockManager

func (c *TCheckComboBox) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TCheckComboBox) Visible

func (c *TCheckComboBox) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TCheckComboBox) VisibleDockClientCount

func (c *TCheckComboBox) VisibleDockClientCount() int32

VisibleDockClientCount

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

Get The total number of visible calls currently docked.

func (*TCheckComboBox) Width

func (c *TCheckComboBox) Width() int32

Width

获取宽度。

Get width.

type TCheckGroup

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

func AsCheckGroup

func AsCheckGroup(obj interface{}) *TCheckGroup

AsCheckGroup

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

Dynamically convert an existing object instance.

func NewCheckGroup

func NewCheckGroup(owner IComponent) *TCheckGroup

NewCheckGroup

创建一个新的对象。

Create a new object.

func (*TCheckGroup) Action

func (c *TCheckGroup) Action() *TAction

func (*TCheckGroup) Align

func (c *TCheckGroup) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TCheckGroup) AnchorSideBottom

func (c *TCheckGroup) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TCheckGroup) AnchorSideLeft

func (c *TCheckGroup) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TCheckGroup) AnchorSideRight

func (c *TCheckGroup) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TCheckGroup) AnchorSideTop

func (c *TCheckGroup) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TCheckGroup) AnchorToNeighbour

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

func (*TCheckGroup) AnchorVerticalCenterTo

func (c *TCheckGroup) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TCheckGroup) Anchors

func (c *TCheckGroup) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TCheckGroup) Assign

func (c *TCheckGroup) Assign(Source IObject)

Assign

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

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

AutoSize

获取自动调整大小。

func (*TCheckGroup) BiDiMode

func (c *TCheckGroup) BiDiMode() TBiDiMode

func (*TCheckGroup) BorderSpacing

func (c *TCheckGroup) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TCheckGroup) BoundsRect

func (c *TCheckGroup) BoundsRect() TRect

func (*TCheckGroup) BringToFront

func (c *TCheckGroup) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TCheckGroup) Brush

func (c *TCheckGroup) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TCheckGroup) CanFocus

func (c *TCheckGroup) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TCheckGroup) Caption

func (c *TCheckGroup) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TCheckGroup) CheckEnabled

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

func (*TCheckGroup) Checked

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

Checked

获取是否选中。

func (*TCheckGroup) ChildSizing

func (c *TCheckGroup) ChildSizing() *TControlChildSizing

func (*TCheckGroup) ClassName

func (c *TCheckGroup) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TCheckGroup) ClassType

func (c *TCheckGroup) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TCheckGroup) ClientHeight

func (c *TCheckGroup) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TCheckGroup) ClientOrigin

func (c *TCheckGroup) ClientOrigin() TPoint

func (*TCheckGroup) ClientRect

func (c *TCheckGroup) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TCheckGroup) ClientToParent

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TCheckGroup) ClientToScreen

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TCheckGroup) ClientWidth

func (c *TCheckGroup) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TCheckGroup) Color

func (c *TCheckGroup) Color() TColor

Color

获取颜色。

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

ComponentCount

获取组件总数。

Get the total number of components.

func (*TCheckGroup) ComponentIndex

func (c *TCheckGroup) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TCheckGroup) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TCheckGroup) Constraints

func (c *TCheckGroup) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TCheckGroup) ContainsControl

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

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TCheckGroup) ControlAtPos

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

ControlAtPos

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

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

func (*TCheckGroup) ControlCount

func (c *TCheckGroup) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TCheckGroup) ControlState

func (c *TCheckGroup) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TCheckGroup) ControlStyle

func (c *TCheckGroup) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TCheckGroup) Controls

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

Controls

获取指定索引子控件。

func (*TCheckGroup) Cursor

func (c *TCheckGroup) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TCheckGroup) DisableAlign

func (c *TCheckGroup) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TCheckGroup) DockClientCount

func (c *TCheckGroup) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TCheckGroup) DockClients

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

DockClients

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

func (*TCheckGroup) DockSite

func (c *TCheckGroup) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TCheckGroup) DoubleBuffered

func (c *TCheckGroup) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TCheckGroup) DragCursor

func (c *TCheckGroup) DragCursor() TCursor

DragCursor

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

Get Set the cursor when the control is dragged.

func (*TCheckGroup) DragMode

func (c *TCheckGroup) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TCheckGroup) Dragging

func (c *TCheckGroup) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TCheckGroup) EnableAlign

func (c *TCheckGroup) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TCheckGroup) Enabled

func (c *TCheckGroup) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TCheckGroup) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TCheckGroup) FindChildControl

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

FindChildControl

查找子控件。

Find sub controls.

func (*TCheckGroup) FindComponent

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

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TCheckGroup) Font

func (c *TCheckGroup) Font() *TFont

Font

获取字体。

Get Font.

func (*TCheckGroup) Free

func (c *TCheckGroup) Free()

Free

释放对象。

Free object.

func (*TCheckGroup) GetHashCode

func (c *TCheckGroup) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TCheckGroup) GetNamePath

func (c *TCheckGroup) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TCheckGroup) GetTextBuf

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TCheckGroup) GetTextLen

func (c *TCheckGroup) GetTextLen() int32

GetTextLen

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

Get the character length of the control, if any.

func (*TCheckGroup) Handle

func (c *TCheckGroup) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TCheckGroup) HandleAllocated

func (c *TCheckGroup) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TCheckGroup) HasParent

func (c *TCheckGroup) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TCheckGroup) Height

func (c *TCheckGroup) Height() int32

Height

获取高度。

Get height.

func (*TCheckGroup) Hide

func (c *TCheckGroup) Hide()

Hide

隐藏控件。

Hidden control.

func (*TCheckGroup) Hint

func (c *TCheckGroup) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TCheckGroup) InheritsFrom

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TCheckGroup) InsertControl

func (c *TCheckGroup) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TCheckGroup) Instance

func (c *TCheckGroup) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TCheckGroup) InstanceSize

func (c *TCheckGroup) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TCheckGroup) Invalidate

func (c *TCheckGroup) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TCheckGroup) Is

func (c *TCheckGroup) Is() TIs

Is

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

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

func (*TCheckGroup) IsValid

func (c *TCheckGroup) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TCheckGroup) Items

func (c *TCheckGroup) Items() *TStrings

func (*TCheckGroup) Left

func (c *TCheckGroup) Left() int32

Left

获取左边位置。

Get Left position.

func (*TCheckGroup) MouseInClient

func (c *TCheckGroup) MouseInClient() bool

MouseInClient

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

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

func (*TCheckGroup) Name

func (c *TCheckGroup) Name() string

Name

获取组件名称。

Get the component name.

func (*TCheckGroup) Owner

func (c *TCheckGroup) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TCheckGroup) PaintTo

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

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TCheckGroup) Parent

func (c *TCheckGroup) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TCheckGroup) ParentBackground

func (c *TCheckGroup) ParentBackground() bool

func (*TCheckGroup) ParentColor

func (c *TCheckGroup) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TCheckGroup) ParentDoubleBuffered

func (c *TCheckGroup) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TCheckGroup) ParentFont

func (c *TCheckGroup) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TCheckGroup) ParentShowHint

func (c *TCheckGroup) ParentShowHint() bool

ParentShowHint

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

func (*TCheckGroup) ParentToClient

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TCheckGroup) ParentWindow

func (c *TCheckGroup) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TCheckGroup) Perform

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

Perform

发送一个消息。

Send a message.

func (*TCheckGroup) PopupMenu

func (c *TCheckGroup) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TCheckGroup) Realign

func (c *TCheckGroup) Realign()

Realign

重新对齐。

Realign.

func (*TCheckGroup) Refresh

func (c *TCheckGroup) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TCheckGroup) RemoveControl

func (c *TCheckGroup) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TCheckGroup) Repaint

func (c *TCheckGroup) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TCheckGroup) ScrollBy

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

ScrollBy

滚动至指定位置。

Scroll by.

func (*TCheckGroup) SendToBack

func (c *TCheckGroup) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TCheckGroup) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TCheckGroup) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TCheckGroup) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TCheckGroup) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TCheckGroup) SetAnchors

func (c *TCheckGroup) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TCheckGroup) SetAutoFill

func (c *TCheckGroup) SetAutoFill(value bool)

func (*TCheckGroup) SetAutoSize

func (c *TCheckGroup) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TCheckGroup) SetBiDiMode

func (c *TCheckGroup) SetBiDiMode(value TBiDiMode)

func (*TCheckGroup) SetBorderSpacing

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

SetBorderSpacing

设置边框间距。

func (*TCheckGroup) SetBounds

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

SetBounds

设置组件边界。

Set component boundaries.

func (*TCheckGroup) SetBoundsRect

func (c *TCheckGroup) SetBoundsRect(value TRect)

func (*TCheckGroup) SetCaption

func (c *TCheckGroup) SetCaption(value string)

SetCaption

设置控件标题。

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)

SetChecked

设置是否选中。

func (*TCheckGroup) SetChildSizing

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

func (*TCheckGroup) SetClientHeight

func (c *TCheckGroup) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TCheckGroup) SetClientWidth

func (c *TCheckGroup) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TCheckGroup) SetColor

func (c *TCheckGroup) SetColor(value TColor)

SetColor

设置颜色。

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)

SetComponentIndex

设置组件索引。

Set component index.

func (*TCheckGroup) SetConstraints

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

SetConstraints

设置约束控件大小。

func (*TCheckGroup) SetControlState

func (c *TCheckGroup) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TCheckGroup) SetControlStyle

func (c *TCheckGroup) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TCheckGroup) SetCursor

func (c *TCheckGroup) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TCheckGroup) SetDockSite

func (c *TCheckGroup) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TCheckGroup) SetDoubleBuffered

func (c *TCheckGroup) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TCheckGroup) SetDragCursor

func (c *TCheckGroup) SetDragCursor(value TCursor)

SetDragCursor

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

Set Set the cursor when the control is dragged.

func (*TCheckGroup) SetDragMode

func (c *TCheckGroup) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TCheckGroup) SetEnabled

func (c *TCheckGroup) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TCheckGroup) SetFocus

func (c *TCheckGroup) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TCheckGroup) SetFont

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

SetFont

设置字体。

Set Font.

func (*TCheckGroup) SetHeight

func (c *TCheckGroup) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TCheckGroup) SetHint

func (c *TCheckGroup) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TCheckGroup) SetItems

func (c *TCheckGroup) SetItems(value IStrings)

func (*TCheckGroup) SetLeft

func (c *TCheckGroup) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TCheckGroup) SetName

func (c *TCheckGroup) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TCheckGroup) SetOnClick

func (c *TCheckGroup) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TCheckGroup) SetOnDblClick

func (c *TCheckGroup) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TCheckGroup) SetOnDragDrop

func (c *TCheckGroup) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TCheckGroup) SetOnDragOver

func (c *TCheckGroup) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TCheckGroup) SetOnEndDrag

func (c *TCheckGroup) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TCheckGroup) SetOnEnter

func (c *TCheckGroup) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TCheckGroup) SetOnExit

func (c *TCheckGroup) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TCheckGroup) SetOnItemClick

func (c *TCheckGroup) SetOnItemClick(fn TCheckGroupClicked)

func (*TCheckGroup) SetOnKeyDown

func (c *TCheckGroup) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TCheckGroup) SetOnKeyPress

func (c *TCheckGroup) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TCheckGroup) SetOnKeyUp

func (c *TCheckGroup) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TCheckGroup) SetOnMouseDown

func (c *TCheckGroup) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TCheckGroup) SetOnMouseEnter

func (c *TCheckGroup) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TCheckGroup) SetOnMouseLeave

func (c *TCheckGroup) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TCheckGroup) SetOnMouseMove

func (c *TCheckGroup) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TCheckGroup) SetOnMouseUp

func (c *TCheckGroup) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TCheckGroup) SetOnMouseWheel

func (c *TCheckGroup) SetOnMouseWheel(fn TMouseWheelEvent)

SetOnMouseWheel

设置鼠标滚轮事件。

func (*TCheckGroup) SetOnMouseWheelDown

func (c *TCheckGroup) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TCheckGroup) SetOnMouseWheelUp

func (c *TCheckGroup) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TCheckGroup) SetOnResize

func (c *TCheckGroup) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TCheckGroup) SetParent

func (c *TCheckGroup) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TCheckGroup) SetParentBackground

func (c *TCheckGroup) SetParentBackground(value bool)

func (*TCheckGroup) SetParentColor

func (c *TCheckGroup) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TCheckGroup) SetParentDoubleBuffered

func (c *TCheckGroup) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TCheckGroup) SetParentFont

func (c *TCheckGroup) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TCheckGroup) SetParentShowHint

func (c *TCheckGroup) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TCheckGroup) SetParentWindow

func (c *TCheckGroup) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TCheckGroup) SetPopupMenu

func (c *TCheckGroup) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TCheckGroup) SetShowHint

func (c *TCheckGroup) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TCheckGroup) SetTabOrder

func (c *TCheckGroup) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TCheckGroup) SetTabStop

func (c *TCheckGroup) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TCheckGroup) SetTag

func (c *TCheckGroup) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TCheckGroup) SetTextBuf

func (c *TCheckGroup) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TCheckGroup) SetTop

func (c *TCheckGroup) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TCheckGroup) SetUseDockManager

func (c *TCheckGroup) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TCheckGroup) SetVisible

func (c *TCheckGroup) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TCheckGroup) SetWidth

func (c *TCheckGroup) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TCheckGroup) Show

func (c *TCheckGroup) Show()

Show

显示控件。

Show control.

func (*TCheckGroup) ShowHint

func (c *TCheckGroup) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TCheckGroup) Showing

func (c *TCheckGroup) Showing() bool

func (*TCheckGroup) TabOrder

func (c *TCheckGroup) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TCheckGroup) TabStop

func (c *TCheckGroup) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TCheckGroup) Tag

func (c *TCheckGroup) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TCheckGroup) ToString

func (c *TCheckGroup) ToString() string

ToString

文本类信息。

Text information.

func (*TCheckGroup) Top

func (c *TCheckGroup) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TCheckGroup) UnsafeAddr

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TCheckGroup) Update

func (c *TCheckGroup) Update()

Update

控件更新。

Update.

func (*TCheckGroup) UseDockManager

func (c *TCheckGroup) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TCheckGroup) Visible

func (c *TCheckGroup) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TCheckGroup) VisibleDockClientCount

func (c *TCheckGroup) VisibleDockClientCount() int32

VisibleDockClientCount

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

Get The total number of visible calls currently docked.

func (*TCheckGroup) Width

func (c *TCheckGroup) Width() int32

Width

获取宽度。

Get width.

type TCheckGroupClicked

type TCheckGroupClicked func(sender IObject, index int32)

type TCheckItemChange

type TCheckItemChange func(sender IObject, index int32)

type TCheckListBox

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

func AsCheckListBox added in v1.2.10

func AsCheckListBox(obj interface{}) *TCheckListBox

AsCheckListBox

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

Dynamically convert an existing object instance.

func NewCheckListBox

func NewCheckListBox(owner IComponent) *TCheckListBox

NewCheckListBox

创建一个新的对象。

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

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TCheckListBox) AnchorSideBottom

func (c *TCheckListBox) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TCheckListBox) AnchorSideLeft

func (c *TCheckListBox) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TCheckListBox) AnchorSideRight

func (c *TCheckListBox) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TCheckListBox) AnchorSideTop

func (c *TCheckListBox) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TCheckListBox) AnchorToNeighbour

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

func (*TCheckListBox) AnchorVerticalCenterTo

func (c *TCheckListBox) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TCheckListBox) Anchors

func (c *TCheckListBox) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TCheckListBox) Assign

func (c *TCheckListBox) Assign(Source IObject)

Assign

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

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

BorderSpacing

获取边框间距。

func (*TCheckListBox) BorderStyle

func (c *TCheckListBox) BorderStyle() TBorderStyle

BorderStyle

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

func (*TCheckListBox) BoundsRect

func (c *TCheckListBox) BoundsRect() TRect

func (*TCheckListBox) BringToFront

func (c *TCheckListBox) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TCheckListBox) Brush

func (c *TCheckListBox) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TCheckListBox) CanFocus

func (c *TCheckListBox) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TCheckListBox) Canvas

func (c *TCheckListBox) Canvas() *TCanvas

Canvas

获取画布。

func (*TCheckListBox) CheckAll

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

func (*TCheckListBox) Checked

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

Checked

获取是否选中。

func (*TCheckListBox) ChildSizing

func (c *TCheckListBox) ChildSizing() *TControlChildSizing

func (*TCheckListBox) ClassName

func (c *TCheckListBox) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TCheckListBox) ClassType added in v1.1.18

func (c *TCheckListBox) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TCheckListBox) Clear

func (c *TCheckListBox) Clear()

Clear

清除。

func (*TCheckListBox) ClearSelection

func (c *TCheckListBox) ClearSelection()

ClearSelection

清除选择。

func (*TCheckListBox) ClientHeight

func (c *TCheckListBox) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TCheckListBox) ClientOrigin added in v1.1.21

func (c *TCheckListBox) ClientOrigin() TPoint

func (*TCheckListBox) ClientRect

func (c *TCheckListBox) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TCheckListBox) ClientToParent

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TCheckListBox) ClientToScreen

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TCheckListBox) ClientWidth

func (c *TCheckListBox) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TCheckListBox) Color

func (c *TCheckListBox) Color() TColor

Color

获取颜色。

Get color.

func (*TCheckListBox) Columns

func (c *TCheckListBox) Columns() int32

func (*TCheckListBox) ComponentCount

func (c *TCheckListBox) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TCheckListBox) ComponentIndex

func (c *TCheckListBox) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TCheckListBox) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TCheckListBox) Constraints added in v1.2.7

func (c *TCheckListBox) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TCheckListBox) ContainsControl added in v1.1.21

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

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TCheckListBox) ControlAtPos added in v1.1.21

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

ControlAtPos

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

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

func (*TCheckListBox) ControlCount

func (c *TCheckListBox) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TCheckListBox) ControlState added in v1.1.21

func (c *TCheckListBox) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TCheckListBox) ControlStyle added in v1.1.21

func (c *TCheckListBox) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TCheckListBox) Controls

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

Controls

获取指定索引子控件。

func (*TCheckListBox) Count

func (c *TCheckListBox) Count() int32

func (*TCheckListBox) Cursor

func (c *TCheckListBox) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TCheckListBox) DeleteSelected

func (c *TCheckListBox) DeleteSelected()

DeleteSelected

删除选择的。

func (*TCheckListBox) DisableAlign added in v1.1.21

func (c *TCheckListBox) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TCheckListBox) DockClientCount added in v1.1.21

func (c *TCheckListBox) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TCheckListBox) DockClients added in v1.1.21

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

DockClients

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

func (*TCheckListBox) DockSite

func (c *TCheckListBox) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TCheckListBox) DoubleBuffered

func (c *TCheckListBox) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TCheckListBox) DragCursor

func (c *TCheckListBox) DragCursor() TCursor

DragCursor

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

Get Set the cursor when the control is dragged.

func (*TCheckListBox) DragMode

func (c *TCheckListBox) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TCheckListBox) Dragging

func (c *TCheckListBox) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TCheckListBox) EnableAlign added in v1.1.21

func (c *TCheckListBox) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TCheckListBox) Enabled

func (c *TCheckListBox) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TCheckListBox) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TCheckListBox) FindChildControl added in v1.1.21

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

FindChildControl

查找子控件。

Find sub controls.

func (*TCheckListBox) FindComponent

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

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TCheckListBox) Font

func (c *TCheckListBox) Font() *TFont

Font

获取字体。

Get Font.

func (*TCheckListBox) Free

func (c *TCheckListBox) Free()

Free

释放对象。

Free object.

func (*TCheckListBox) GetHashCode

func (c *TCheckListBox) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TCheckListBox) GetNamePath

func (c *TCheckListBox) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TCheckListBox) GetTextBuf

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TCheckListBox) GetTextLen

func (c *TCheckListBox) GetTextLen() int32

GetTextLen

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

Get the character length of the control, if any.

func (*TCheckListBox) Handle

func (c *TCheckListBox) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TCheckListBox) HandleAllocated

func (c *TCheckListBox) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TCheckListBox) HasParent

func (c *TCheckListBox) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TCheckListBox) Header

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

func (*TCheckListBox) Height

func (c *TCheckListBox) Height() int32

Height

获取高度。

Get height.

func (*TCheckListBox) Hide

func (c *TCheckListBox) Hide()

Hide

隐藏控件。

Hidden control.

func (*TCheckListBox) Hint

func (c *TCheckListBox) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TCheckListBox) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TCheckListBox) InsertControl added in v1.1.21

func (c *TCheckListBox) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TCheckListBox) Instance

func (c *TCheckListBox) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TCheckListBox) InstanceSize added in v1.1.18

func (c *TCheckListBox) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TCheckListBox) Invalidate

func (c *TCheckListBox) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TCheckListBox) Is added in v1.2.10

func (c *TCheckListBox) Is() TIs

Is

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

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

func (*TCheckListBox) IsValid

func (c *TCheckListBox) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TCheckListBox) ItemAtPos added in v1.2.10

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 added in v1.2.10

func (c *TCheckListBox) ItemRect(Index int32) TRect

func (*TCheckListBox) Items

func (c *TCheckListBox) Items() *TStrings

func (*TCheckListBox) Left

func (c *TCheckListBox) Left() int32

Left

获取左边位置。

Get Left position.

func (*TCheckListBox) MouseInClient added in v1.1.21

func (c *TCheckListBox) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅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

Name

获取组件名称。

Get the component name.

func (*TCheckListBox) Owner

func (c *TCheckListBox) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TCheckListBox) PaintTo added in v1.1.21

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

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TCheckListBox) Parent

func (c *TCheckListBox) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TCheckListBox) ParentColor

func (c *TCheckListBox) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TCheckListBox) ParentDoubleBuffered

func (c *TCheckListBox) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TCheckListBox) ParentFont

func (c *TCheckListBox) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TCheckListBox) ParentShowHint

func (c *TCheckListBox) ParentShowHint() bool

ParentShowHint

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

func (*TCheckListBox) ParentToClient

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TCheckListBox) ParentWindow

func (c *TCheckListBox) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TCheckListBox) Perform

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

Perform

发送一个消息。

Send a message.

func (*TCheckListBox) PopupMenu

func (c *TCheckListBox) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TCheckListBox) Realign

func (c *TCheckListBox) Realign()

Realign

重新对齐。

Realign.

func (*TCheckListBox) Refresh

func (c *TCheckListBox) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TCheckListBox) RemoveControl added in v1.1.21

func (c *TCheckListBox) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TCheckListBox) Repaint

func (c *TCheckListBox) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TCheckListBox) ScrollBy added in v1.1.21

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

ScrollBy

滚动至指定位置。

Scroll by.

func (*TCheckListBox) SelCount

func (c *TCheckListBox) SelCount() int32

func (*TCheckListBox) SelectAll

func (c *TCheckListBox) SelectAll()

SelectAll

全选。

func (*TCheckListBox) Selected

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

func (*TCheckListBox) SendToBack

func (c *TCheckListBox) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TCheckListBox) SetAllowGrayed

func (c *TCheckListBox) SetAllowGrayed(value bool)

func (*TCheckListBox) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TCheckListBox) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TCheckListBox) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TCheckListBox) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TCheckListBox) SetAnchors

func (c *TCheckListBox) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TCheckListBox) SetBiDiMode

func (c *TCheckListBox) SetBiDiMode(value TBiDiMode)

func (*TCheckListBox) SetBorderSpacing

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

SetBorderSpacing

设置边框间距。

func (*TCheckListBox) SetBorderStyle

func (c *TCheckListBox) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TCheckListBox) SetBounds

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

SetBounds

设置组件边界。

Set component boundaries.

func (*TCheckListBox) SetBoundsRect

func (c *TCheckListBox) SetBoundsRect(value TRect)

func (*TCheckListBox) SetChecked

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

SetChecked

设置是否选中。

func (*TCheckListBox) SetChildSizing

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

func (*TCheckListBox) SetClientHeight

func (c *TCheckListBox) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TCheckListBox) SetClientWidth

func (c *TCheckListBox) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TCheckListBox) SetColor

func (c *TCheckListBox) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TCheckListBox) SetColumns

func (c *TCheckListBox) SetColumns(value int32)

func (*TCheckListBox) SetComponentIndex

func (c *TCheckListBox) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TCheckListBox) SetConstraints added in v1.2.7

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

SetConstraints

设置约束控件大小。

func (*TCheckListBox) SetControlState added in v1.1.21

func (c *TCheckListBox) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TCheckListBox) SetControlStyle added in v1.1.21

func (c *TCheckListBox) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TCheckListBox) SetCursor

func (c *TCheckListBox) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TCheckListBox) SetDockSite

func (c *TCheckListBox) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TCheckListBox) SetDoubleBuffered

func (c *TCheckListBox) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TCheckListBox) SetDragCursor

func (c *TCheckListBox) SetDragCursor(value TCursor)

SetDragCursor

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

Set Set the cursor when the control is dragged.

func (*TCheckListBox) SetDragMode

func (c *TCheckListBox) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TCheckListBox) SetEnabled

func (c *TCheckListBox) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TCheckListBox) SetFocus

func (c *TCheckListBox) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TCheckListBox) SetFont

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

SetFont

设置字体。

Set Font.

func (*TCheckListBox) SetHeader

func (c *TCheckListBox) SetHeader(Index int32, value bool)

func (*TCheckListBox) SetHeight

func (c *TCheckListBox) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TCheckListBox) SetHint

func (c *TCheckListBox) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetLeft

设置左边位置。

Set Left position.

func (*TCheckListBox) SetMultiSelect

func (c *TCheckListBox) SetMultiSelect(value bool)

func (*TCheckListBox) SetName

func (c *TCheckListBox) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TCheckListBox) SetOnClick

func (c *TCheckListBox) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TCheckListBox) SetOnClickCheck

func (c *TCheckListBox) SetOnClickCheck(fn TNotifyEvent)

func (*TCheckListBox) SetOnContextPopup

func (c *TCheckListBox) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

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

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

func (*TCheckListBox) SetOnDblClick

func (c *TCheckListBox) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TCheckListBox) SetOnDragDrop

func (c *TCheckListBox) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TCheckListBox) SetOnDragOver

func (c *TCheckListBox) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TCheckListBox) SetOnEndDrag

func (c *TCheckListBox) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TCheckListBox) SetOnEnter

func (c *TCheckListBox) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TCheckListBox) SetOnExit

func (c *TCheckListBox) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TCheckListBox) SetOnKeyDown

func (c *TCheckListBox) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TCheckListBox) SetOnKeyPress

func (c *TCheckListBox) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TCheckListBox) SetOnKeyUp

func (c *TCheckListBox) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TCheckListBox) SetOnMeasureItem added in v1.1.21

func (c *TCheckListBox) SetOnMeasureItem(fn TMeasureItemEvent)

func (*TCheckListBox) SetOnMouseDown

func (c *TCheckListBox) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TCheckListBox) SetOnMouseEnter

func (c *TCheckListBox) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TCheckListBox) SetOnMouseLeave

func (c *TCheckListBox) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TCheckListBox) SetOnMouseMove

func (c *TCheckListBox) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TCheckListBox) SetOnMouseUp

func (c *TCheckListBox) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TCheckListBox) SetParent

func (c *TCheckListBox) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TCheckListBox) SetParentColor

func (c *TCheckListBox) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TCheckListBox) SetParentDoubleBuffered

func (c *TCheckListBox) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TCheckListBox) SetParentFont

func (c *TCheckListBox) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TCheckListBox) SetParentShowHint

func (c *TCheckListBox) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TCheckListBox) SetParentWindow

func (c *TCheckListBox) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TCheckListBox) SetPopupMenu

func (c *TCheckListBox) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TCheckListBox) SetSelected

func (c *TCheckListBox) SetSelected(Index int32, value bool)

func (*TCheckListBox) SetShowHint

func (c *TCheckListBox) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

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)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TCheckListBox) SetTabStop

func (c *TCheckListBox) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TCheckListBox) SetTag

func (c *TCheckListBox) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TCheckListBox) SetTextBuf added in v1.1.21

func (c *TCheckListBox) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TCheckListBox) SetTop

func (c *TCheckListBox) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TCheckListBox) SetTopIndex

func (c *TCheckListBox) SetTopIndex(value int32)

func (*TCheckListBox) SetUseDockManager

func (c *TCheckListBox) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TCheckListBox) SetVisible

func (c *TCheckListBox) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TCheckListBox) SetWidth

func (c *TCheckListBox) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TCheckListBox) Show

func (c *TCheckListBox) Show()

Show

显示控件。

Show control.

func (*TCheckListBox) ShowHint

func (c *TCheckListBox) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TCheckListBox) TabStop

func (c *TCheckListBox) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TCheckListBox) Tag

func (c *TCheckListBox) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TCheckListBox) ToString

func (c *TCheckListBox) ToString() string

ToString

文本类信息。

Text information.

func (*TCheckListBox) Top

func (c *TCheckListBox) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TCheckListBox) TopIndex

func (c *TCheckListBox) TopIndex() int32

func (*TCheckListBox) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TCheckListBox) Update

func (c *TCheckListBox) Update()

Update

控件更新。

Update.

func (*TCheckListBox) UseDockManager

func (c *TCheckListBox) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TCheckListBox) Visible

func (c *TCheckListBox) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TCheckListBox) VisibleDockClientCount added in v1.1.21

func (c *TCheckListBox) VisibleDockClientCount() int32

VisibleDockClientCount

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

Get The total number of visible calls currently docked.

func (*TCheckListBox) Width

func (c *TCheckListBox) Width() int32

Width

获取宽度。

Get width.

type TClipboard

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

func AsClipboard added in v1.2.10

func AsClipboard(obj interface{}) *TClipboard

AsClipboard

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

Dynamically convert an existing object instance.

func NewClipboard

func NewClipboard() *TClipboard

NewClipboard

创建一个新的对象。

Create a new object.

func SetClipboard

func SetClipboard(newClipboard IObject) *TClipboard

func (*TClipboard) AddFormat

func (c *TClipboard) AddFormat(FormatID TClipboardFormat, Stream IStream) bool

func (*TClipboard) AsText

func (c *TClipboard) AsText() string

func (*TClipboard) Assign

func (c *TClipboard) Assign(Source IObject)

Assign

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

Copy an object, if the object implements this method.

func (*TClipboard) ClassName

func (c *TClipboard) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TClipboard) ClassType added in v1.1.18

func (c *TClipboard) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TClipboard) Clear

func (c *TClipboard) Clear()

Clear

清除。

func (*TClipboard) Close

func (c *TClipboard) Close()

Close

关闭。

func (*TClipboard) Equals

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

Equals

与一个对象进行比较。

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()

Free

释放对象。

Free object.

func (*TClipboard) GetAsHtml

func (c *TClipboard) GetAsHtml(ExtractFragmentOnly bool) string

func (*TClipboard) GetComponent

func (c *TClipboard) GetComponent(Owner IComponent, Parent IComponent) *TComponent

func (*TClipboard) GetFormat

func (c *TClipboard) GetFormat(FormatID TClipboardFormat, Stream IStream) bool

func (*TClipboard) GetHashCode

func (c *TClipboard) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TClipboard) GetNamePath

func (c *TClipboard) GetNamePath() string

GetNamePath

获取类名路径。

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 added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TClipboard) Instance

func (c *TClipboard) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TClipboard) InstanceSize added in v1.1.18

func (c *TClipboard) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TClipboard) Is added in v1.2.10

func (c *TClipboard) Is() TIs

Is

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

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

func (*TClipboard) IsValid

func (c *TClipboard) IsValid() bool

IsValid

检测地址是否为空。

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) SetComponent

func (c *TClipboard) SetComponent(Component IComponent) bool

func (*TClipboard) SetComponentAsText

func (c *TClipboard) SetComponentAsText(Component IComponent) bool

func (*TClipboard) SetFormat

func (c *TClipboard) SetFormat(FormatID TClipboardFormat, Stream IStream) bool

func (*TClipboard) SetTextBuf added in v1.1.21

func (c *TClipboard) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TClipboard) SupportedFormats

func (c *TClipboard) SupportedFormats(List IStrings)

func (*TClipboard) ToString

func (c *TClipboard) ToString() string

ToString

文本类信息。

Text information.

func (*TClipboard) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TCloseEvent

type TCloseEvent func(sender IObject, action *TCloseAction)

type TCloseQueryEvent

type TCloseQueryEvent func(sender IObject, canClose *bool)

type TCollection added in v1.1.23

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

func AsCollection added in v1.2.10

func AsCollection(obj interface{}) *TCollection

AsCollection

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

Dynamically convert an existing object instance.

func NewCollection added in v1.1.23

func NewCollection(AOwner *TCollectionItem) *TCollection

NewCollection

创建一个新的对象。

Create a new object.

func (*TCollection) Add added in v1.1.23

func (c *TCollection) Add() *TCollectionItem

func (*TCollection) Assign added in v1.1.23

func (c *TCollection) Assign(Source IObject)

Assign

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

Copy an object, if the object implements this method.

func (*TCollection) BeginUpdate added in v1.1.23

func (c *TCollection) BeginUpdate()

func (*TCollection) ClassName added in v1.1.23

func (c *TCollection) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TCollection) ClassType added in v1.1.23

func (c *TCollection) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TCollection) Clear added in v1.1.23

func (c *TCollection) Clear()

Clear

清除。

func (*TCollection) Count added in v1.1.23

func (c *TCollection) Count() int32

func (*TCollection) Delete added in v1.1.23

func (c *TCollection) Delete(Index int32)

func (*TCollection) EndUpdate added in v1.1.23

func (c *TCollection) EndUpdate()

func (*TCollection) Equals added in v1.1.23

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TCollection) FindItemID added in v1.1.23

func (c *TCollection) FindItemID(ID int32) *TCollectionItem

func (*TCollection) Free added in v1.1.23

func (c *TCollection) Free()

Free

释放对象。

Free object.

func (*TCollection) GetHashCode added in v1.1.23

func (c *TCollection) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TCollection) GetNamePath added in v1.1.23

func (c *TCollection) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TCollection) InheritsFrom added in v1.1.23

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TCollection) Insert added in v1.1.23

func (c *TCollection) Insert(Index int32) *TCollectionItem

func (*TCollection) Instance added in v1.1.23

func (c *TCollection) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TCollection) InstanceSize added in v1.1.23

func (c *TCollection) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TCollection) Is added in v1.2.10

func (c *TCollection) Is() TIs

Is

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

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

func (*TCollection) IsValid added in v1.1.23

func (c *TCollection) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TCollection) Items added in v1.1.23

func (c *TCollection) Items(Index int32) *TCollectionItem

func (*TCollection) Owner added in v1.1.23

func (c *TCollection) Owner() *TObject

Owner

组件所有者。

component owner.

func (*TCollection) SetItems added in v1.1.23

func (c *TCollection) SetItems(Index int32, value *TCollectionItem)

func (*TCollection) ToString added in v1.1.23

func (c *TCollection) ToString() string

ToString

文本类信息。

Text information.

func (*TCollection) UnsafeAddr added in v1.1.23

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TCollectionItem

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

func AsCollectionItem added in v1.2.10

func AsCollectionItem(obj interface{}) *TCollectionItem

AsCollectionItem

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

Dynamically convert an existing object instance.

func NewCollectionItem

func NewCollectionItem(AOwner *TCollection) *TCollectionItem

NewCollectionItem

创建一个新的对象。

Create a new object.

func (*TCollectionItem) Assign

func (c *TCollectionItem) Assign(Source IObject)

Assign

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

Copy an object, if the object implements this method.

func (*TCollectionItem) ClassName

func (c *TCollectionItem) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TCollectionItem) ClassType added in v1.1.18

func (c *TCollectionItem) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TCollectionItem) Collection added in v1.1.23

func (c *TCollectionItem) Collection() *TCollection

func (*TCollectionItem) DisplayName added in v1.2.7

func (c *TCollectionItem) DisplayName() string

func (*TCollectionItem) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TCollectionItem) Free

func (c *TCollectionItem) Free()

Free

释放对象。

Free object.

func (*TCollectionItem) GetHashCode

func (c *TCollectionItem) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TCollectionItem) GetNamePath

func (c *TCollectionItem) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TCollectionItem) Index

func (c *TCollectionItem) Index() int32

func (*TCollectionItem) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TCollectionItem) Instance

func (c *TCollectionItem) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TCollectionItem) InstanceSize added in v1.1.18

func (c *TCollectionItem) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TCollectionItem) Is added in v1.2.10

func (c *TCollectionItem) Is() TIs

Is

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

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

func (*TCollectionItem) IsValid

func (c *TCollectionItem) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TCollectionItem) SetCollection added in v1.1.23

func (c *TCollectionItem) SetCollection(value *TCollection)

func (*TCollectionItem) SetDisplayName added in v1.2.7

func (c *TCollectionItem) SetDisplayName(value string)

func (*TCollectionItem) SetIndex

func (c *TCollectionItem) SetIndex(value int32)

func (*TCollectionItem) ToString

func (c *TCollectionItem) ToString() string

ToString

文本类信息。

Text information.

func (*TCollectionItem) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TColorBox

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

func AsColorBox added in v1.2.10

func AsColorBox(obj interface{}) *TColorBox

AsColorBox

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

Dynamically convert an existing object instance.

func NewColorBox

func NewColorBox(owner IComponent) *TColorBox

NewColorBox

创建一个新的对象。

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

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TColorBox) AnchorSideBottom

func (c *TColorBox) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TColorBox) AnchorSideLeft

func (c *TColorBox) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TColorBox) AnchorSideRight

func (c *TColorBox) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TColorBox) AnchorSideTop

func (c *TColorBox) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TColorBox) AnchorToNeighbour

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

func (*TColorBox) AnchorVerticalCenterTo

func (c *TColorBox) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TColorBox) Anchors

func (c *TColorBox) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TColorBox) Assign

func (c *TColorBox) Assign(Source IObject)

Assign

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

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

BorderSpacing

获取边框间距。

func (*TColorBox) BoundsRect

func (c *TColorBox) BoundsRect() TRect

func (*TColorBox) BringToFront

func (c *TColorBox) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TColorBox) Brush

func (c *TColorBox) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TColorBox) CanFocus

func (c *TColorBox) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TColorBox) Canvas

func (c *TColorBox) Canvas() *TCanvas

Canvas

获取画布。

func (*TColorBox) CharCase added in v1.1.19

func (c *TColorBox) CharCase() TEditCharCase

func (*TColorBox) ChildSizing

func (c *TColorBox) ChildSizing() *TControlChildSizing

func (*TColorBox) ClassName

func (c *TColorBox) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TColorBox) ClassType added in v1.1.18

func (c *TColorBox) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TColorBox) Clear

func (c *TColorBox) Clear()

Clear

清除。

func (*TColorBox) ClearSelection

func (c *TColorBox) ClearSelection()

ClearSelection

清除选择。

func (*TColorBox) ClientHeight

func (c *TColorBox) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TColorBox) ClientOrigin added in v1.1.21

func (c *TColorBox) ClientOrigin() TPoint

func (*TColorBox) ClientRect

func (c *TColorBox) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TColorBox) ClientToParent

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TColorBox) ClientToScreen

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TColorBox) ClientWidth

func (c *TColorBox) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TColorBox) Color

func (c *TColorBox) Color() TColor

Color

获取颜色。

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

ComponentCount

获取组件总数。

Get the total number of components.

func (*TColorBox) ComponentIndex

func (c *TColorBox) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TColorBox) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TColorBox) Constraints added in v1.2.7

func (c *TColorBox) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TColorBox) ContainsControl added in v1.1.21

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

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TColorBox) ControlAtPos added in v1.1.21

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

ControlAtPos

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

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

func (*TColorBox) ControlCount

func (c *TColorBox) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TColorBox) ControlState added in v1.1.21

func (c *TColorBox) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TColorBox) ControlStyle added in v1.1.21

func (c *TColorBox) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TColorBox) Controls

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

Controls

获取指定索引子控件。

func (*TColorBox) Cursor

func (c *TColorBox) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TColorBox) DefaultColorColor

func (c *TColorBox) DefaultColorColor() TColor

func (*TColorBox) DeleteSelected

func (c *TColorBox) DeleteSelected()

DeleteSelected

删除选择的。

func (*TColorBox) DisableAlign added in v1.1.21

func (c *TColorBox) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TColorBox) DockClientCount added in v1.1.21

func (c *TColorBox) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TColorBox) DockClients added in v1.1.21

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

DockClients

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

func (*TColorBox) DockSite

func (c *TColorBox) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TColorBox) DoubleBuffered

func (c *TColorBox) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TColorBox) Dragging

func (c *TColorBox) Dragging() bool

Dragging

是否在拖拽中。

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 added in v1.1.21

func (c *TColorBox) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TColorBox) Enabled

func (c *TColorBox) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TColorBox) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TColorBox) FindChildControl added in v1.1.21

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

FindChildControl

查找子控件。

Find sub controls.

func (*TColorBox) FindComponent

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

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TColorBox) Font

func (c *TColorBox) Font() *TFont

Font

获取字体。

Get Font.

func (*TColorBox) Free

func (c *TColorBox) Free()

Free

释放对象。

Free object.

func (*TColorBox) GetHashCode

func (c *TColorBox) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TColorBox) GetNamePath

func (c *TColorBox) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TColorBox) GetTextBuf

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TColorBox) GetTextLen

func (c *TColorBox) GetTextLen() int32

GetTextLen

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

Get the character length of the control, if any.

func (*TColorBox) Handle

func (c *TColorBox) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TColorBox) HandleAllocated

func (c *TColorBox) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TColorBox) HasParent

func (c *TColorBox) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TColorBox) Height

func (c *TColorBox) Height() int32

Height

获取高度。

Get height.

func (*TColorBox) Hide

func (c *TColorBox) Hide()

Hide

隐藏控件。

Hidden control.

func (*TColorBox) Hint

func (c *TColorBox) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TColorBox) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TColorBox) InsertControl added in v1.1.21

func (c *TColorBox) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TColorBox) Instance

func (c *TColorBox) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TColorBox) InstanceSize added in v1.1.18

func (c *TColorBox) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TColorBox) Invalidate

func (c *TColorBox) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TColorBox) Is added in v1.2.10

func (c *TColorBox) Is() TIs

Is

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

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

func (*TColorBox) IsValid

func (c *TColorBox) IsValid() bool

IsValid

检测地址是否为空。

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

Left

获取左边位置。

Get Left position.

func (*TColorBox) MouseInClient added in v1.1.21

func (c *TColorBox) MouseInClient() bool

MouseInClient

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

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

func (*TColorBox) Name

func (c *TColorBox) Name() string

Name

获取组件名称。

Get the component name.

func (*TColorBox) NoneColorColor

func (c *TColorBox) NoneColorColor() TColor

func (*TColorBox) Owner

func (c *TColorBox) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TColorBox) PaintTo added in v1.1.21

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

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TColorBox) Parent

func (c *TColorBox) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TColorBox) ParentColor

func (c *TColorBox) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TColorBox) ParentDoubleBuffered

func (c *TColorBox) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TColorBox) ParentFont

func (c *TColorBox) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TColorBox) ParentShowHint

func (c *TColorBox) ParentShowHint() bool

ParentShowHint

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

func (*TColorBox) ParentToClient

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TColorBox) ParentWindow

func (c *TColorBox) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TColorBox) Perform

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

Perform

发送一个消息。

Send a message.

func (*TColorBox) PopupMenu

func (c *TColorBox) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TColorBox) Realign

func (c *TColorBox) Realign()

Realign

重新对齐。

Realign.

func (*TColorBox) Refresh

func (c *TColorBox) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TColorBox) RemoveControl added in v1.1.21

func (c *TColorBox) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TColorBox) Repaint

func (c *TColorBox) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TColorBox) ScrollBy added in v1.1.21

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

ScrollBy

滚动至指定位置。

Scroll by.

func (*TColorBox) SelLength

func (c *TColorBox) SelLength() int32

SelLength

获取选择的长度。

func (*TColorBox) SelStart

func (c *TColorBox) SelStart() int32

SelStart

获取选择的启始位置。

func (*TColorBox) SelText

func (c *TColorBox) SelText() string

SelText

获取选择的文本。

func (*TColorBox) SelectAll

func (c *TColorBox) SelectAll()

SelectAll

全选。

func (*TColorBox) Selected

func (c *TColorBox) Selected() TColor

func (*TColorBox) SendToBack

func (c *TColorBox) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TColorBox) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TColorBox) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TColorBox) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TColorBox) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TColorBox) SetAnchors

func (c *TColorBox) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

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)

SetBorderSpacing

设置边框间距。

func (*TColorBox) SetBounds

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

SetBounds

设置组件边界。

Set component boundaries.

func (*TColorBox) SetBoundsRect

func (c *TColorBox) SetBoundsRect(value TRect)

func (*TColorBox) SetCharCase added in v1.1.19

func (c *TColorBox) SetCharCase(value TEditCharCase)

func (*TColorBox) SetChildSizing

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

func (*TColorBox) SetClientHeight

func (c *TColorBox) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TColorBox) SetClientWidth

func (c *TColorBox) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TColorBox) SetColor

func (c *TColorBox) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TColorBox) SetComponentIndex

func (c *TColorBox) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TColorBox) SetConstraints added in v1.2.7

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

SetConstraints

设置约束控件大小。

func (*TColorBox) SetControlState added in v1.1.21

func (c *TColorBox) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TColorBox) SetControlStyle added in v1.1.21

func (c *TColorBox) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TColorBox) SetCursor

func (c *TColorBox) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TColorBox) SetDefaultColorColor

func (c *TColorBox) SetDefaultColorColor(value TColor)

func (*TColorBox) SetDockSite

func (c *TColorBox) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TColorBox) SetDoubleBuffered

func (c *TColorBox) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

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)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TColorBox) SetFocus

func (c *TColorBox) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TColorBox) SetFont

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

SetFont

设置字体。

Set Font.

func (*TColorBox) SetHeight

func (c *TColorBox) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TColorBox) SetHint

func (c *TColorBox) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetLeft

设置左边位置。

Set Left position.

func (*TColorBox) SetName

func (c *TColorBox) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TColorBox) SetNoneColorColor

func (c *TColorBox) SetNoneColorColor(value TColor)

func (*TColorBox) SetOnChange

func (c *TColorBox) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TColorBox) SetOnClick

func (c *TColorBox) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TColorBox) SetOnCloseUp

func (c *TColorBox) SetOnCloseUp(fn TNotifyEvent)

func (*TColorBox) SetOnContextPopup

func (c *TColorBox) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

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

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

func (*TColorBox) SetOnDragDrop

func (c *TColorBox) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TColorBox) SetOnDragOver

func (c *TColorBox) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TColorBox) SetOnDropDown added in v1.2.7

func (c *TColorBox) SetOnDropDown(fn TNotifyEvent)

func (*TColorBox) SetOnEndDrag

func (c *TColorBox) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TColorBox) SetOnEnter

func (c *TColorBox) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TColorBox) SetOnExit

func (c *TColorBox) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TColorBox) SetOnKeyDown

func (c *TColorBox) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TColorBox) SetOnKeyPress

func (c *TColorBox) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TColorBox) SetOnKeyUp

func (c *TColorBox) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TColorBox) SetOnMouseEnter

func (c *TColorBox) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TColorBox) SetOnMouseLeave

func (c *TColorBox) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TColorBox) SetOnSelect added in v1.2.7

func (c *TColorBox) SetOnSelect(fn TNotifyEvent)

func (*TColorBox) SetParent

func (c *TColorBox) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TColorBox) SetParentColor

func (c *TColorBox) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TColorBox) SetParentDoubleBuffered

func (c *TColorBox) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TColorBox) SetParentFont

func (c *TColorBox) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TColorBox) SetParentShowHint

func (c *TColorBox) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TColorBox) SetParentWindow

func (c *TColorBox) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TColorBox) SetPopupMenu

func (c *TColorBox) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TColorBox) SetSelLength

func (c *TColorBox) SetSelLength(value int32)

SetSelLength

设置选择的长度。

func (*TColorBox) SetSelStart

func (c *TColorBox) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TColorBox) SetSelText

func (c *TColorBox) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TColorBox) SetSelected

func (c *TColorBox) SetSelected(value TColor)

func (*TColorBox) SetShowHint

func (c *TColorBox) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TColorBox) SetStyle

func (c *TColorBox) SetStyle(value TColorBoxStyle)

func (*TColorBox) SetTabOrder

func (c *TColorBox) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TColorBox) SetTabStop

func (c *TColorBox) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TColorBox) SetTag

func (c *TColorBox) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TColorBox) SetTextBuf added in v1.1.21

func (c *TColorBox) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TColorBox) SetTop

func (c *TColorBox) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TColorBox) SetUseDockManager

func (c *TColorBox) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TColorBox) SetVisible

func (c *TColorBox) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TColorBox) SetWidth

func (c *TColorBox) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TColorBox) Show

func (c *TColorBox) Show()

Show

显示控件。

Show control.

func (*TColorBox) ShowHint

func (c *TColorBox) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TColorBox) TabStop

func (c *TColorBox) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TColorBox) Tag

func (c *TColorBox) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TColorBox) ToString

func (c *TColorBox) ToString() string

ToString

文本类信息。

Text information.

func (*TColorBox) Top

func (c *TColorBox) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TColorBox) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TColorBox) Update

func (c *TColorBox) Update()

Update

控件更新。

Update.

func (*TColorBox) UseDockManager

func (c *TColorBox) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TColorBox) Visible

func (c *TColorBox) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TColorBox) VisibleDockClientCount added in v1.1.21

func (c *TColorBox) VisibleDockClientCount() int32

VisibleDockClientCount

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

Get The total number of visible calls currently docked.

func (*TColorBox) Width

func (c *TColorBox) Width() int32

Width

获取宽度。

Get width.

type TColorButton

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

func AsColorButton

func AsColorButton(obj interface{}) *TColorButton

AsColorButton

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

Dynamically convert an existing object instance.

func NewColorButton

func NewColorButton(owner IComponent) *TColorButton

NewColorButton

创建一个新的对象。

Create a new object.

func (*TColorButton) Action

func (c *TColorButton) Action() *TAction

func (*TColorButton) Align

func (c *TColorButton) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TColorButton) AnchorSideBottom

func (c *TColorButton) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TColorButton) AnchorSideLeft

func (c *TColorButton) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TColorButton) AnchorSideRight

func (c *TColorButton) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TColorButton) AnchorSideTop

func (c *TColorButton) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TColorButton) AnchorToNeighbour

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

func (*TColorButton) AnchorVerticalCenterTo

func (c *TColorButton) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TColorButton) Anchors

func (c *TColorButton) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TColorButton) Assign

func (c *TColorButton) Assign(Source IObject)

Assign

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

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

BorderSpacing

获取边框间距。

func (*TColorButton) BorderWidth

func (c *TColorButton) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TColorButton) BoundsRect

func (c *TColorButton) BoundsRect() TRect

func (*TColorButton) BringToFront

func (c *TColorButton) BringToFront()

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

Caption

获取控件标题。

Get the control title.

func (*TColorButton) ClassName

func (c *TColorButton) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TColorButton) ClassType

func (c *TColorButton) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TColorButton) Click

func (c *TColorButton) Click()

Click

单击。

func (*TColorButton) ClientHeight

func (c *TColorButton) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TColorButton) ClientOrigin

func (c *TColorButton) ClientOrigin() TPoint

func (*TColorButton) ClientRect

func (c *TColorButton) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TColorButton) ClientToParent

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TColorButton) ClientToScreen

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TColorButton) ClientWidth

func (c *TColorButton) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TColorButton) Color

func (c *TColorButton) Color() TColor

Color

获取颜色。

Get color.

func (*TColorButton) ColorDialog

func (c *TColorButton) ColorDialog() *TColorDialog

func (*TColorButton) ComponentCount

func (c *TColorButton) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TColorButton) ComponentIndex

func (c *TColorButton) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TColorButton) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TColorButton) Constraints

func (c *TColorButton) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TColorButton) ControlState

func (c *TColorButton) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TColorButton) ControlStyle

func (c *TColorButton) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TColorButton) Cursor

func (c *TColorButton) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TColorButton) Down

func (c *TColorButton) Down() bool

func (*TColorButton) Dragging

func (c *TColorButton) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TColorButton) Enabled

func (c *TColorButton) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TColorButton) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TColorButton) FindComponent

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TColorButton) FixDesignFontsPPI

func (c *TColorButton) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TColorButton) Flat

func (c *TColorButton) Flat() bool

Flat

获取平面样式。

func (*TColorButton) Floating

func (c *TColorButton) Floating() bool

func (*TColorButton) Font

func (c *TColorButton) Font() *TFont

Font

获取字体。

Get Font.

func (*TColorButton) Free

func (c *TColorButton) Free()

Free

释放对象。

Free object.

func (*TColorButton) GetHashCode

func (c *TColorButton) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TColorButton) GetNamePath

func (c *TColorButton) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TColorButton) GetTextBuf

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TColorButton) GetTextLen

func (c *TColorButton) GetTextLen() int32

GetTextLen

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

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

GroupIndex

获取团组索引。

func (*TColorButton) HasParent

func (c *TColorButton) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TColorButton) Height

func (c *TColorButton) Height() int32

Height

获取高度。

Get height.

func (*TColorButton) Hide

func (c *TColorButton) Hide()

Hide

隐藏控件。

Hidden control.

func (*TColorButton) Hint

func (c *TColorButton) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TColorButton) ImageIndex

func (c *TColorButton) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TColorButton) ImageWidth

func (c *TColorButton) ImageWidth() int32

func (*TColorButton) Images

func (c *TColorButton) Images() *TImageList

Images

获取图标索引列表对象。

func (*TColorButton) InheritsFrom

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TColorButton) Instance

func (c *TColorButton) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TColorButton) InstanceSize

func (c *TColorButton) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TColorButton) Invalidate

func (c *TColorButton) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TColorButton) Is

func (c *TColorButton) Is() TIs

Is

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

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

func (*TColorButton) IsValid

func (c *TColorButton) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TColorButton) Layout

func (c *TColorButton) Layout() TButtonLayout

func (*TColorButton) Left

func (c *TColorButton) Left() int32

Left

获取左边位置。

Get Left position.

func (*TColorButton) Name

func (c *TColorButton) Name() string

Name

获取组件名称。

Get the component name.

func (*TColorButton) NumGlyphs

func (c *TColorButton) NumGlyphs() TNumGlyphs

func (*TColorButton) Owner

func (c *TColorButton) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TColorButton) Parent

func (c *TColorButton) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TColorButton) ParentFont

func (c *TColorButton) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TColorButton) ParentShowHint

func (c *TColorButton) ParentShowHint() bool

ParentShowHint

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

func (*TColorButton) ParentToClient

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TColorButton) Perform

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

Perform

发送一个消息。

Send a message.

func (*TColorButton) PopupMenu

func (c *TColorButton) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TColorButton) Refresh

func (c *TColorButton) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TColorButton) Repaint

func (c *TColorButton) Repaint()

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TColorButton) SendToBack

func (c *TColorButton) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TColorButton) SetAllowAllUp

func (c *TColorButton) SetAllowAllUp(value bool)

func (*TColorButton) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TColorButton) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TColorButton) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TColorButton) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TColorButton) SetAnchors

func (c *TColorButton) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TColorButton) SetBiDiMode

func (c *TColorButton) SetBiDiMode(value TBiDiMode)

func (*TColorButton) SetBorderSpacing

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

SetBorderSpacing

设置边框间距。

func (*TColorButton) SetBorderWidth

func (c *TColorButton) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TColorButton) SetBounds

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

SetBounds

设置组件边界。

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)

SetCaption

设置控件标题。

Set the control title.

func (*TColorButton) SetClientHeight

func (c *TColorButton) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TColorButton) SetClientWidth

func (c *TColorButton) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TColorButton) SetColor

func (c *TColorButton) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TColorButton) SetColorDialog

func (c *TColorButton) SetColorDialog(value IComponent)

func (*TColorButton) SetComponentIndex

func (c *TColorButton) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TColorButton) SetConstraints

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

SetConstraints

设置约束控件大小。

func (*TColorButton) SetControlState

func (c *TColorButton) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TColorButton) SetControlStyle

func (c *TColorButton) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TColorButton) SetCursor

func (c *TColorButton) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TColorButton) SetDown

func (c *TColorButton) SetDown(value bool)

func (*TColorButton) SetEnabled

func (c *TColorButton) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TColorButton) SetFlat

func (c *TColorButton) SetFlat(value bool)

SetFlat

设置平面样式。

func (*TColorButton) SetFont

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

SetFont

设置字体。

Set Font.

func (*TColorButton) SetGlyph

func (c *TColorButton) SetGlyph(value *TBitmap)

func (*TColorButton) SetGroupIndex

func (c *TColorButton) SetGroupIndex(value int32)

SetGroupIndex

设置团组索引。

func (*TColorButton) SetHeight

func (c *TColorButton) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TColorButton) SetHint

func (c *TColorButton) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TColorButton) SetImageIndex

func (c *TColorButton) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*TColorButton) SetImageWidth

func (c *TColorButton) SetImageWidth(value int32)

func (*TColorButton) SetImages

func (c *TColorButton) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

func (*TColorButton) SetLayout

func (c *TColorButton) SetLayout(value TButtonLayout)

func (*TColorButton) SetLeft

func (c *TColorButton) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TColorButton) SetName

func (c *TColorButton) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TColorButton) SetNumGlyphs

func (c *TColorButton) SetNumGlyphs(value TNumGlyphs)

func (*TColorButton) SetOnClick

func (c *TColorButton) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TColorButton) SetOnColorChanged

func (c *TColorButton) SetOnColorChanged(fn TNotifyEvent)

func (*TColorButton) SetOnDblClick

func (c *TColorButton) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TColorButton) SetOnMouseDown

func (c *TColorButton) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TColorButton) SetOnMouseEnter

func (c *TColorButton) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TColorButton) SetOnMouseLeave

func (c *TColorButton) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TColorButton) SetOnMouseMove

func (c *TColorButton) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TColorButton) SetOnMouseUp

func (c *TColorButton) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TColorButton) SetOnMouseWheel

func (c *TColorButton) SetOnMouseWheel(fn TMouseWheelEvent)

SetOnMouseWheel

设置鼠标滚轮事件。

func (*TColorButton) SetOnMouseWheelDown

func (c *TColorButton) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TColorButton) SetOnMouseWheelUp

func (c *TColorButton) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TColorButton) SetOnPaint

func (c *TColorButton) SetOnPaint(fn TNotifyEvent)

SetOnPaint

设置绘画事件。

func (*TColorButton) SetOnResize

func (c *TColorButton) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TColorButton) SetParent

func (c *TColorButton) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TColorButton) SetParentFont

func (c *TColorButton) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TColorButton) SetParentShowHint

func (c *TColorButton) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TColorButton) SetPopupMenu

func (c *TColorButton) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TColorButton) SetShowCaption

func (c *TColorButton) SetShowCaption(value bool)

func (*TColorButton) SetShowHint

func (c *TColorButton) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TColorButton) SetSpacing

func (c *TColorButton) SetSpacing(value int32)

func (*TColorButton) SetTag

func (c *TColorButton) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TColorButton) SetTextBuf

func (c *TColorButton) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TColorButton) SetTop

func (c *TColorButton) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TColorButton) SetTransparent

func (c *TColorButton) SetTransparent(value bool)

SetTransparent

设置透明。

Set transparent.

func (*TColorButton) SetVisible

func (c *TColorButton) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TColorButton) SetWidth

func (c *TColorButton) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TColorButton) Show

func (c *TColorButton) Show()

Show

显示控件。

Show control.

func (*TColorButton) ShowCaption

func (c *TColorButton) ShowCaption() bool

func (*TColorButton) ShowHint

func (c *TColorButton) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TColorButton) Spacing

func (c *TColorButton) Spacing() int32

func (*TColorButton) Tag

func (c *TColorButton) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TColorButton) ToString

func (c *TColorButton) ToString() string

ToString

文本类信息。

Text information.

func (*TColorButton) Top

func (c *TColorButton) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TColorButton) Transparent

func (c *TColorButton) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TColorButton) UnsafeAddr

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TColorButton) Update

func (c *TColorButton) Update()

Update

控件更新。

Update.

func (*TColorButton) Visible

func (c *TColorButton) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TColorButton) Width

func (c *TColorButton) Width() int32

Width

获取宽度。

Get width.

type TColorDialog

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

func AsColorDialog added in v1.2.10

func AsColorDialog(obj interface{}) *TColorDialog

AsColorDialog

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

Dynamically convert an existing object instance.

func NewColorDialog

func NewColorDialog(owner IComponent) *TColorDialog

NewColorDialog

创建一个新的对象。

Create a new object.

func (*TColorDialog) Assign

func (c *TColorDialog) Assign(Source IObject)

Assign

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

Copy an object, if the object implements this method.

func (*TColorDialog) ClassName

func (c *TColorDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TColorDialog) ClassType added in v1.1.18

func (c *TColorDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TColorDialog) Color

func (c *TColorDialog) Color() TColor

Color

获取颜色。

Get color.

func (*TColorDialog) ComponentCount

func (c *TColorDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TColorDialog) ComponentIndex

func (c *TColorDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TColorDialog) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TColorDialog) CustomColors

func (c *TColorDialog) CustomColors() *TStrings

func (*TColorDialog) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TColorDialog) Execute

func (c *TColorDialog) Execute() bool

Execute

执行。

func (*TColorDialog) FindComponent

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TColorDialog) Free

func (c *TColorDialog) Free()

Free

释放对象。

Free object.

func (*TColorDialog) GetHashCode

func (c *TColorDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TColorDialog) GetNamePath

func (c *TColorDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TColorDialog) Handle

func (c *TColorDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TColorDialog) HasParent

func (c *TColorDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TColorDialog) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TColorDialog) Instance

func (c *TColorDialog) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TColorDialog) InstanceSize added in v1.1.18

func (c *TColorDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TColorDialog) Is added in v1.2.10

func (c *TColorDialog) Is() TIs

Is

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

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

func (*TColorDialog) IsValid

func (c *TColorDialog) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TColorDialog) Name

func (c *TColorDialog) Name() string

Name

获取组件名称。

Get the component name.

func (*TColorDialog) Owner

func (c *TColorDialog) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TColorDialog) SetColor

func (c *TColorDialog) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TColorDialog) SetComponentIndex

func (c *TColorDialog) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TColorDialog) SetCustomColors

func (c *TColorDialog) SetCustomColors(value IStrings)

func (*TColorDialog) SetName

func (c *TColorDialog) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TColorDialog) SetOnClose

func (c *TColorDialog) SetOnClose(fn TNotifyEvent)

func (*TColorDialog) SetOnShow

func (c *TColorDialog) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

func (*TColorDialog) SetTag

func (c *TColorDialog) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TColorDialog) Tag

func (c *TColorDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TColorDialog) ToString

func (c *TColorDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TColorDialog) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TColorListBox

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

func AsColorListBox added in v1.2.10

func AsColorListBox(obj interface{}) *TColorListBox

AsColorListBox

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

Dynamically convert an existing object instance.

func NewColorListBox

func NewColorListBox(owner IComponent) *TColorListBox

NewColorListBox

创建一个新的对象。

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

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TColorListBox) AnchorSideBottom

func (c *TColorListBox) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TColorListBox) AnchorSideLeft

func (c *TColorListBox) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TColorListBox) AnchorSideRight

func (c *TColorListBox) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TColorListBox) AnchorSideTop

func (c *TColorListBox) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TColorListBox) AnchorToNeighbour

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

func (*TColorListBox) AnchorVerticalCenterTo

func (c *TColorListBox) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TColorListBox) Anchors

func (c *TColorListBox) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TColorListBox) Assign

func (c *TColorListBox) Assign(Source IObject)

Assign

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

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

BorderSpacing

获取边框间距。

func (*TColorListBox) BoundsRect

func (c *TColorListBox) BoundsRect() TRect

func (*TColorListBox) BringToFront

func (c *TColorListBox) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TColorListBox) Brush

func (c *TColorListBox) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TColorListBox) CanFocus

func (c *TColorListBox) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TColorListBox) Canvas

func (c *TColorListBox) Canvas() *TCanvas

Canvas

获取画布。

func (*TColorListBox) ChildSizing

func (c *TColorListBox) ChildSizing() *TControlChildSizing

func (*TColorListBox) ClassName

func (c *TColorListBox) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TColorListBox) ClassType added in v1.1.18

func (c *TColorListBox) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TColorListBox) Clear

func (c *TColorListBox) Clear()

Clear

清除。

func (*TColorListBox) ClearSelection

func (c *TColorListBox) ClearSelection()

ClearSelection

清除选择。

func (*TColorListBox) ClientHeight

func (c *TColorListBox) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TColorListBox) ClientOrigin added in v1.1.21

func (c *TColorListBox) ClientOrigin() TPoint

func (*TColorListBox) ClientRect

func (c *TColorListBox) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TColorListBox) ClientToParent

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TColorListBox) ClientToScreen

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TColorListBox) ClientWidth

func (c *TColorListBox) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TColorListBox) Color

func (c *TColorListBox) Color() TColor

Color

获取颜色。

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

ComponentCount

获取组件总数。

Get the total number of components.

func (*TColorListBox) ComponentIndex

func (c *TColorListBox) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TColorListBox) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TColorListBox) Constraints added in v1.2.7

func (c *TColorListBox) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TColorListBox) ContainsControl added in v1.1.21

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

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TColorListBox) ControlAtPos added in v1.1.21

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

ControlAtPos

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

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

func (*TColorListBox) ControlCount

func (c *TColorListBox) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TColorListBox) ControlState added in v1.1.21

func (c *TColorListBox) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TColorListBox) ControlStyle added in v1.1.21

func (c *TColorListBox) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TColorListBox) Controls

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

Controls

获取指定索引子控件。

func (*TColorListBox) Count

func (c *TColorListBox) Count() int32

func (*TColorListBox) Cursor

func (c *TColorListBox) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TColorListBox) DefaultColorColor

func (c *TColorListBox) DefaultColorColor() TColor

func (*TColorListBox) DeleteSelected

func (c *TColorListBox) DeleteSelected()

DeleteSelected

删除选择的。

func (*TColorListBox) DisableAlign added in v1.1.21

func (c *TColorListBox) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TColorListBox) DockClientCount added in v1.1.21

func (c *TColorListBox) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TColorListBox) DockClients added in v1.1.21

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

DockClients

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

func (*TColorListBox) DockSite

func (c *TColorListBox) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TColorListBox) DoubleBuffered

func (c *TColorListBox) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TColorListBox) Dragging

func (c *TColorListBox) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TColorListBox) EnableAlign added in v1.1.21

func (c *TColorListBox) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TColorListBox) Enabled

func (c *TColorListBox) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TColorListBox) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TColorListBox) FindChildControl added in v1.1.21

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

FindChildControl

查找子控件。

Find sub controls.

func (*TColorListBox) FindComponent

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

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TColorListBox) Font

func (c *TColorListBox) Font() *TFont

Font

获取字体。

Get Font.

func (*TColorListBox) Free

func (c *TColorListBox) Free()

Free

释放对象。

Free object.

func (*TColorListBox) GetHashCode

func (c *TColorListBox) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TColorListBox) GetNamePath

func (c *TColorListBox) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TColorListBox) GetTextBuf

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TColorListBox) GetTextLen

func (c *TColorListBox) GetTextLen() int32

GetTextLen

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

Get the character length of the control, if any.

func (*TColorListBox) Handle

func (c *TColorListBox) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TColorListBox) HandleAllocated

func (c *TColorListBox) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TColorListBox) HasParent

func (c *TColorListBox) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TColorListBox) Height

func (c *TColorListBox) Height() int32

Height

获取高度。

Get height.

func (*TColorListBox) Hide

func (c *TColorListBox) Hide()

Hide

隐藏控件。

Hidden control.

func (*TColorListBox) Hint

func (c *TColorListBox) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TColorListBox) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TColorListBox) InsertControl added in v1.1.21

func (c *TColorListBox) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TColorListBox) Instance

func (c *TColorListBox) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TColorListBox) InstanceSize added in v1.1.18

func (c *TColorListBox) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TColorListBox) Invalidate

func (c *TColorListBox) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TColorListBox) Is added in v1.2.10

func (c *TColorListBox) Is() TIs

Is

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

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

func (*TColorListBox) IsValid

func (c *TColorListBox) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TColorListBox) ItemAtPos added in v1.2.10

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 added in v1.2.10

func (c *TColorListBox) ItemRect(Index int32) TRect

func (*TColorListBox) Items

func (c *TColorListBox) Items() *TStrings

func (*TColorListBox) Left

func (c *TColorListBox) Left() int32

Left

获取左边位置。

Get Left position.

func (*TColorListBox) MouseInClient added in v1.1.21

func (c *TColorListBox) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅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

Name

获取组件名称。

Get the component name.

func (*TColorListBox) NoneColorColor

func (c *TColorListBox) NoneColorColor() TColor

func (*TColorListBox) Owner

func (c *TColorListBox) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TColorListBox) PaintTo added in v1.1.21

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

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TColorListBox) Parent

func (c *TColorListBox) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TColorListBox) ParentColor

func (c *TColorListBox) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TColorListBox) ParentDoubleBuffered

func (c *TColorListBox) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TColorListBox) ParentFont

func (c *TColorListBox) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TColorListBox) ParentShowHint

func (c *TColorListBox) ParentShowHint() bool

ParentShowHint

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

func (*TColorListBox) ParentToClient

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TColorListBox) ParentWindow

func (c *TColorListBox) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TColorListBox) Perform

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

Perform

发送一个消息。

Send a message.

func (*TColorListBox) PopupMenu

func (c *TColorListBox) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TColorListBox) Realign

func (c *TColorListBox) Realign()

Realign

重新对齐。

Realign.

func (*TColorListBox) Refresh

func (c *TColorListBox) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TColorListBox) RemoveControl added in v1.1.21

func (c *TColorListBox) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TColorListBox) Repaint

func (c *TColorListBox) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TColorListBox) ScrollBy added in v1.1.21

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

ScrollBy

滚动至指定位置。

Scroll by.

func (*TColorListBox) SelCount

func (c *TColorListBox) SelCount() int32

func (*TColorListBox) SelectAll

func (c *TColorListBox) SelectAll()

SelectAll

全选。

func (*TColorListBox) Selected

func (c *TColorListBox) Selected() TColor

func (*TColorListBox) SendToBack

func (c *TColorListBox) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TColorListBox) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TColorListBox) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TColorListBox) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TColorListBox) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TColorListBox) SetAnchors

func (c *TColorListBox) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TColorListBox) SetBiDiMode

func (c *TColorListBox) SetBiDiMode(value TBiDiMode)

func (*TColorListBox) SetBorderSpacing

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

SetBorderSpacing

设置边框间距。

func (*TColorListBox) SetBounds

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

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TColorListBox) SetClientWidth

func (c *TColorListBox) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TColorListBox) SetColor

func (c *TColorListBox) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TColorListBox) SetComponentIndex

func (c *TColorListBox) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TColorListBox) SetConstraints added in v1.2.7

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

SetConstraints

设置约束控件大小。

func (*TColorListBox) SetControlState added in v1.1.21

func (c *TColorListBox) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TColorListBox) SetControlStyle added in v1.1.21

func (c *TColorListBox) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TColorListBox) SetCursor

func (c *TColorListBox) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TColorListBox) SetDefaultColorColor

func (c *TColorListBox) SetDefaultColorColor(value TColor)

func (*TColorListBox) SetDockSite

func (c *TColorListBox) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TColorListBox) SetDoubleBuffered

func (c *TColorListBox) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TColorListBox) SetEnabled

func (c *TColorListBox) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TColorListBox) SetFocus

func (c *TColorListBox) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TColorListBox) SetFont

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

SetFont

设置字体。

Set Font.

func (*TColorListBox) SetHeight

func (c *TColorListBox) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TColorListBox) SetHint

func (c *TColorListBox) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetLeft

设置左边位置。

Set Left position.

func (*TColorListBox) SetMultiSelect

func (c *TColorListBox) SetMultiSelect(value bool)

func (*TColorListBox) SetName

func (c *TColorListBox) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TColorListBox) SetNoneColorColor

func (c *TColorListBox) SetNoneColorColor(value TColor)

func (*TColorListBox) SetOnClick

func (c *TColorListBox) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TColorListBox) SetOnContextPopup

func (c *TColorListBox) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

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

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

func (*TColorListBox) SetOnDblClick

func (c *TColorListBox) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TColorListBox) SetOnDragDrop

func (c *TColorListBox) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TColorListBox) SetOnDragOver

func (c *TColorListBox) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TColorListBox) SetOnEndDrag

func (c *TColorListBox) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TColorListBox) SetOnEnter

func (c *TColorListBox) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TColorListBox) SetOnExit

func (c *TColorListBox) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TColorListBox) SetOnKeyDown

func (c *TColorListBox) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TColorListBox) SetOnKeyPress

func (c *TColorListBox) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TColorListBox) SetOnKeyUp

func (c *TColorListBox) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TColorListBox) SetOnMouseDown

func (c *TColorListBox) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TColorListBox) SetOnMouseEnter

func (c *TColorListBox) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TColorListBox) SetOnMouseLeave

func (c *TColorListBox) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TColorListBox) SetOnMouseMove

func (c *TColorListBox) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TColorListBox) SetOnMouseUp

func (c *TColorListBox) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TColorListBox) SetParent

func (c *TColorListBox) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TColorListBox) SetParentColor

func (c *TColorListBox) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TColorListBox) SetParentDoubleBuffered

func (c *TColorListBox) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TColorListBox) SetParentFont

func (c *TColorListBox) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TColorListBox) SetParentShowHint

func (c *TColorListBox) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TColorListBox) SetParentWindow

func (c *TColorListBox) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TColorListBox) SetPopupMenu

func (c *TColorListBox) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TColorListBox) SetSelected

func (c *TColorListBox) SetSelected(value TColor)

func (*TColorListBox) SetShowHint

func (c *TColorListBox) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TColorListBox) SetStyle

func (c *TColorListBox) SetStyle(value TColorBoxStyle)

func (*TColorListBox) SetTabOrder

func (c *TColorListBox) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TColorListBox) SetTabStop

func (c *TColorListBox) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TColorListBox) SetTag

func (c *TColorListBox) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TColorListBox) SetTextBuf added in v1.1.21

func (c *TColorListBox) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TColorListBox) SetTop

func (c *TColorListBox) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TColorListBox) SetTopIndex

func (c *TColorListBox) SetTopIndex(value int32)

func (*TColorListBox) SetUseDockManager

func (c *TColorListBox) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TColorListBox) SetVisible

func (c *TColorListBox) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TColorListBox) SetWidth

func (c *TColorListBox) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TColorListBox) Show

func (c *TColorListBox) Show()

Show

显示控件。

Show control.

func (*TColorListBox) ShowHint

func (c *TColorListBox) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TColorListBox) TabStop

func (c *TColorListBox) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TColorListBox) Tag

func (c *TColorListBox) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TColorListBox) ToString

func (c *TColorListBox) ToString() string

ToString

文本类信息。

Text information.

func (*TColorListBox) Top

func (c *TColorListBox) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TColorListBox) TopIndex

func (c *TColorListBox) TopIndex() int32

func (*TColorListBox) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TColorListBox) Update

func (c *TColorListBox) Update()

Update

控件更新。

Update.

func (*TColorListBox) UseDockManager

func (c *TColorListBox) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TColorListBox) Visible

func (c *TColorListBox) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TColorListBox) VisibleDockClientCount added in v1.1.21

func (c *TColorListBox) VisibleDockClientCount() int32

VisibleDockClientCount

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

Get The total number of visible calls currently docked.

func (*TColorListBox) Width

func (c *TColorListBox) Width() int32

Width

获取宽度。

Get width.

type TComboBox

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

func AsComboBox added in v1.2.10

func AsComboBox(obj interface{}) *TComboBox

AsComboBox

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

Dynamically convert an existing object instance.

func NewComboBox

func NewComboBox(owner IComponent) *TComboBox

NewComboBox

创建一个新的对象。

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

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TComboBox) AnchorSideBottom

func (c *TComboBox) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TComboBox) AnchorSideLeft

func (c *TComboBox) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TComboBox) AnchorSideRight

func (c *TComboBox) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TComboBox) AnchorSideTop

func (c *TComboBox) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TComboBox) AnchorToNeighbour

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

func (*TComboBox) AnchorVerticalCenterTo

func (c *TComboBox) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TComboBox) Anchors

func (c *TComboBox) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TComboBox) Assign

func (c *TComboBox) Assign(Source IObject)

Assign

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

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

BorderSpacing

获取边框间距。

func (*TComboBox) BoundsRect

func (c *TComboBox) BoundsRect() TRect

func (*TComboBox) BringToFront

func (c *TComboBox) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TComboBox) Brush

func (c *TComboBox) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TComboBox) CanFocus

func (c *TComboBox) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TComboBox) Canvas

func (c *TComboBox) Canvas() *TCanvas

Canvas

获取画布。

func (*TComboBox) CharCase added in v1.1.19

func (c *TComboBox) CharCase() TEditCharCase

func (*TComboBox) ChildSizing

func (c *TComboBox) ChildSizing() *TControlChildSizing

func (*TComboBox) ClassName

func (c *TComboBox) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TComboBox) ClassType added in v1.1.18

func (c *TComboBox) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TComboBox) Clear

func (c *TComboBox) Clear()

Clear

清除。

func (*TComboBox) ClearSelection

func (c *TComboBox) ClearSelection()

ClearSelection

清除选择。

func (*TComboBox) ClientHeight

func (c *TComboBox) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TComboBox) ClientOrigin added in v1.1.21

func (c *TComboBox) ClientOrigin() TPoint

func (*TComboBox) ClientRect

func (c *TComboBox) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TComboBox) ClientToParent

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TComboBox) ClientToScreen

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TComboBox) ClientWidth

func (c *TComboBox) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TComboBox) Color

func (c *TComboBox) Color() TColor

Color

获取颜色。

Get color.

func (*TComboBox) ComponentCount

func (c *TComboBox) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TComboBox) ComponentIndex

func (c *TComboBox) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TComboBox) Components

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

Components

获取指定索引组件。

Get the specified index component.

func (*TComboBox) Constraints added in v1.2.7

func (c *TComboBox) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TComboBox) ContainsControl added in v1.1.21

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

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TComboBox) ControlAtPos added in v1.1.21

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

ControlAtPos

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

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

func (*TComboBox) ControlCount

func (c *TComboBox) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TComboBox) ControlState added in v1.1.21

func (c *TComboBox) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TComboBox) ControlStyle added in v1.1.21

func (c *TComboBox) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TComboBox) Controls

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

Controls

获取指定索引子控件。

func (*TComboBox) Cursor

func (c *TComboBox) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TComboBox) DeleteSelected

func (c *TComboBox) DeleteSelected()

DeleteSelected

删除选择的。

func (*TComboBox) DisableAlign added in v1.1.21

func (c *TComboBox) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TComboBox) DockClientCount added in v1.1.21

func (c *TComboBox) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TComboBox) DockClients added in v1.1.21

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

DockClients

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

func (*TComboBox) DockSite

func (c *TComboBox) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TComboBox) DoubleBuffered

func (c *TComboBox) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TComboBox) DragCursor

func (c *TComboBox) DragCursor() TCursor

DragCursor

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

Get Set the cursor when the control is dragged.

func (*TComboBox) DragKind

func (c *TComboBox) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TComboBox) DragMode

func (c *TComboBox) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TComboBox) Dragging

func (c *TComboBox) Dragging() bool

Dragging

是否在拖拽中。

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 added in v1.1.21

func (c *TComboBox) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TComboBox) Enabled

func (c *TComboBox) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TComboBox) Equals

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TComboBox) FindChildControl added in v1.1.21

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

FindChildControl

查找子控件。

Find sub controls.

func (*TComboBox) FindComponent

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

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TComboBox) Font

func (c *TComboBox) Font() *TFont

Font

获取字体。

Get Font.

func (*TComboBox) Free

func (c *TComboBox) Free()

Free

释放对象。

Free object.

func (*TComboBox) GetHashCode

func (c *TComboBox) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TComboBox) GetNamePath

func (c *TComboBox) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TComboBox) GetTextBuf

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TComboBox) GetTextLen

func (c *TComboBox) GetTextLen() int32

GetTextLen

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

Get the character length of the control, if any.

func (*TComboBox) Handle

func (c *TComboBox) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TComboBox) HandleAllocated

func (c *TComboBox) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TComboBox) HasParent

func (c *TComboBox) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TComboBox) Height

func (c *TComboBox) Height() int32

Height

获取高度。

Get height.

func (*TComboBox) Hide

func (c *TComboBox) Hide()

Hide

隐藏控件。

Hidden control.

func (*TComboBox) Hint

func (c *TComboBox) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TComboBox) InheritsFrom added in v1.1.18

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TComboBox) InsertControl added in v1.1.21

func (c *TComboBox) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TComboBox) Instance

func (c *TComboBox) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TComboBox) InstanceSize added in v1.1.18

func (c *TComboBox) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TComboBox) Invalidate

func (c *TComboBox) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TComboBox) Is added in v1.2.10

func (c *TComboBox) Is() TIs

Is

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

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

func (*TComboBox) IsValid

func (c *TComboBox) IsValid() bool

IsValid

检测地址是否为空。

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

Left

获取左边位置。

Get Left position.

func (*TComboBox) MaxLength

func (c *TComboBox) MaxLength() int32

MaxLength

获取最大长度。

func (*TComboBox) MouseInClient added in v1.1.21

func (c *TComboBox) MouseInClient() bool

MouseInClient

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

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

func (*TComboBox) Name

func (c *TComboBox) Name() string

Name

获取组件名称。

Get the component name.

func (*TComboBox) Owner

func (c *TComboBox) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TComboBox) PaintTo added in v1.1.21

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

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TComboBox) Parent

func (c *TComboBox) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TComboBox) ParentColor

func (c *TComboBox) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TComboBox) ParentDoubleBuffered

func (c *TComboBox) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TComboBox) ParentFont

func (c *TComboBox) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TComboBox) ParentShowHint

func (c *TComboBox) ParentShowHint() bool

ParentShowHint

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

func (*TComboBox) ParentToClient

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TComboBox) ParentWindow

func (c *TComboBox) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TComboBox) Perform

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

Perform

发送一个消息。

Send a message.

func (*TComboBox) PopupMenu

func (c *TComboBox) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TComboBox) ReadOnly

func (c *TComboBox) ReadOnly() bool

ReadOnly

获取只读。

func (*TComboBox) Realign

func (c *TComboBox) Realign()

Realign

重新对齐。

Realign.

func (*TComboBox) Refresh

func (c *TComboBox) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TComboBox) RemoveControl added in v1.1.21

func (c *TComboBox) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TComboBox) Repaint

func (c *TComboBox) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TComboBox) ScrollBy added in v1.1.21

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

ScrollBy

滚动至指定位置。

Scroll by.

func (*TComboBox) SelLength

func (c *TComboBox) SelLength() int32

SelLength

获取选择的长度。

func (*TComboBox) SelStart

func (c *TComboBox) SelStart() int32

SelStart

获取选择的启始位置。

func (*TComboBox) SelText

func (c *TComboBox) SelText() string

SelText

获取选择的文本。

func (*TComboBox) SelectAll

func (c *TComboBox) SelectAll()

SelectAll

全选。

func (*TComboBox) SendToBack

func (c *TComboBox) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TComboBox) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TComboBox) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TComboBox) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TComboBox) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TComboBox) SetAnchors

func (c *TComboBox) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

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)

SetBorderSpacing

设置边框间距。

func (*TComboBox) SetBounds

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

SetBounds

设置组件边界。

Set component boundaries.

func (*TComboBox) SetBoundsRect

func (c *TComboBox) SetBoundsRect(value TRect)

func (*TComboBox) SetCharCase added in v1.1.19

func (c *TComboBox) SetCharCase(value TEditCharCase)

func (*TComboBox) SetChildSizing

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

func (*TComboBox) SetClientHeight

func (c *TComboBox) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TComboBox) SetClientWidth

func (c *TComboBox) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TComboBox) SetColor

func (c *TComboBox) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TComboBox) SetComponentIndex

func (c *TComboBox) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TComboBox) SetConstraints added in v1.2.7

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

SetConstraints

设置约束控件大小。

func (*TComboBox) SetControlState added in v1.1.21

func (c *TComboBox) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TComboBox) SetControlStyle added in v1.1.21

func (c *TComboBox) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TComboBox) SetCursor

func (c *TComboBox) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TComboBox) SetDockSite

func (c *TComboBox) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TComboBox) SetDoubleBuffered

func (c *TComboBox) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TComboBox) SetDragCursor

func (c *TComboBox) SetDragCursor(value TCursor)

SetDragCursor

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

Set Set the cursor when the control is dragged.

func (*TComboBox) SetDragKind

func (c *TComboBox) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TComboBox) SetDragMode

func (c *TComboBox) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

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)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TComboBox) SetFocus

func (c *TComboBox) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TComboBox) SetFont

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

SetFont

设置字体。

Set Font.

func (*TComboBox) SetHeight

func (c *TComboBox) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TComboBox) SetHint

func (c *TComboBox) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetLeft

设置左边位置。

Set Left position.

func (*TComboBox) SetMaxLength

func (c *TComboBox) SetMaxLength(value int32)

SetMaxLength

设置最大长度。

func (*TComboBox) SetName

func (c *TComboBox) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TComboBox) SetOnChange

func (c *TComboBox) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TComboBox) SetOnClick

func (c *TComboBox) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TComboBox) SetOnCloseUp

func (c *TComboBox) SetOnCloseUp(fn TNotifyEvent)

func (*TComboBox) SetOnContextPopup

func (c *TComboBox) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

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

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

func (*TComboBox) SetOnDblClick

func (c *TComboBox) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TComboBox) SetOnDragDrop

func (c *TComboBox) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TComboBox) SetOnDragOver

func (c *TComboBox) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TComboBox) SetOnDrawItem

func (c *TComboBox) SetOnDrawItem(fn TDrawItemEvent)

func (*TComboBox) SetOnDropDown added in v1.2.7

func (c *TComboBox) SetOnDropDown(fn TNotifyEvent)

func (*TComboBox) SetOnEndDrag

func (c *TComboBox) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TComboBox) SetOnEnter

func (c *TComboBox) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TComboBox) SetOnExit

func (c *TComboBox) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TComboBox) SetOnKeyDown

func (c *TComboBox) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TComboBox) SetOnKeyPress

func (c *TComboBox) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TComboBox) SetOnKeyUp

func (c *TComboBox) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TComboBox) SetOnMeasureItem added in v1.1.21

func (c *TComboBox) SetOnMeasureItem(fn TMeasureItemEvent)

func (*TComboBox) SetOnMouseEnter

func (c *TComboBox) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TComboBox) SetOnMouseLeave

func (c *TComboBox) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TComboBox) SetOnSelect added in v1.2.7

func (c *TComboBox) SetOnSelect(fn TNotifyEvent)

func (*TComboBox) SetParent

func (c *TComboBox) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TComboBox) SetParentColor

func (c *TComboBox) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TComboBox) SetParentDoubleBuffered

func (c *TComboBox) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TComboBox) SetParentFont

func (c *TComboBox) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TComboBox) SetParentShowHint

func (c *TComboBox) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TComboBox) SetParentWindow

func (c *TComboBox) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TComboBox) SetPopupMenu

func (c *TComboBox) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TComboBox) SetReadOnly

func (c *TComboBox) SetReadOnly(value bool)

SetReadOnly

设置只读。

func (*TComboBox) SetSelLength

func (c *TComboBox) SetSelLength(value int32)

SetSelLength

设置选择的长度。

func (*TComboBox) SetSelStart

func (c *TComboBox) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TComboBox) SetSelText

func (c *TComboBox) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TComboBox) SetShowHint

func (c *TComboBox) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

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)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TComboBox) SetTabStop

func (c *TComboBox) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TComboBox) SetTag

func (c *TComboBox) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TComboBox) SetText

func (c *TComboBox) SetText(value string)

SetText

设置文本。

func (*TComboBox) SetTextBuf added in v1.1.21

func (c *TComboBox) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TComboBox) SetTop

func (c *TComboBox) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TComboBox) SetUseDockManager

func (c *TComboBox) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TComboBox) SetVisible

func (c *TComboBox) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TComboBox) SetWidth

func (c *TComboBox) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TComboBox) Show

func (c *TComboBox) Show()

Show

显示控件。

Show control.

func (*TComboBox) ShowHint

func (c *TComboBox) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TComboBox) TabStop

func (c *TComboBox) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TComboBox) Tag

func (c *TComboBox) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TComboBox) Text

func (c *TComboBox) Text() string

Text

获取文本。

func (*TComboBox) ToString

func (c *TComboBox) ToString() string

ToString

文本类信息。

Text information.

func (*TComboBox) Top

func (c *TComboBox) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TComboBox) UnsafeAddr added in v1.1.21

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TComboBox) Update

func (c *TComboBox) Update()

Update

控件更新。

Update.

func (*TComboBox) UseDockManager

func (c *TComboBox) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TComboBox) Visible

func (c *TComboBox) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TComboBox) VisibleDockClientCount added in v1.1.21

func (c *TComboBox) VisibleDockClientCount() int32

VisibleDockClientCount

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

Get The total number of visible calls currently docked.

func (*TComboBox) Width

func (c *TComboBox) Width() int32

Width

获取宽度。

Get width.

type TComboBoxEx added in v1.2.7

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

func AsComboBoxEx added in v1.2.10

func AsComboBoxEx(obj interface{}) *TComboBoxEx

AsComboBoxEx

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

Dynamically convert an existing object instance.

func NewComboBoxEx added in v1.2.7

func NewComboBoxEx(owner IComponent) *TComboBoxEx

NewComboBoxEx

创建一个新的对象。

Create a new object.

func (*TComboBoxEx) Action added in v1.2.7

func (c *TComboBoxEx) Action() *TAction

func (*TComboBoxEx) AddItem added in v1.2.7

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

func (*TComboBoxEx) Align added in v1.2.7

func (c *TComboBoxEx) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

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

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

AnchorSide

获取锚侧面。

func (*TComboBoxEx) AnchorSideBottom

func (c *TComboBoxEx) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TComboBoxEx) AnchorSideLeft

func (c *TComboBoxEx) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TComboBoxEx) AnchorSideRight

func (c *TComboBoxEx) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TComboBoxEx) AnchorSideTop

func (c *TComboBoxEx) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TComboBoxEx) AnchorToNeighbour

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

func (*TComboBoxEx) AnchorVerticalCenterTo

func (c *TComboBoxEx) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

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

func (*TComboBoxEx) Anchors added in v1.2.7

func (c *TComboBoxEx) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TComboBoxEx) Assign added in v1.2.7

func (c *TComboBoxEx) Assign(Source IObject)

Assign

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

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 added in v1.2.7

func (c *TComboBoxEx) AutoCompleteOptions() TAutoCompleteOptions

func (*TComboBoxEx) BiDiMode added in v1.2.7

func (c *TComboBoxEx) BiDiMode() TBiDiMode

func (*TComboBoxEx) BorderSpacing

func (c *TComboBoxEx) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TComboBoxEx) BoundsRect added in v1.2.7

func (c *TComboBoxEx) BoundsRect() TRect

func (*TComboBoxEx) BringToFront added in v1.2.7

func (c *TComboBoxEx) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TComboBoxEx) Brush added in v1.2.7

func (c *TComboBoxEx) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TComboBoxEx) CanFocus added in v1.2.7

func (c *TComboBoxEx) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TComboBoxEx) Canvas added in v1.2.7

func (c *TComboBoxEx) Canvas() *TCanvas

Canvas

获取画布。

func (*TComboBoxEx) ChildSizing

func (c *TComboBoxEx) ChildSizing() *TControlChildSizing

func (*TComboBoxEx) ClassName added in v1.2.7

func (c *TComboBoxEx) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TComboBoxEx) ClassType added in v1.2.7

func (c *TComboBoxEx) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TComboBoxEx) Clear added in v1.2.7

func (c *TComboBoxEx) Clear()

Clear

清除。

func (*TComboBoxEx) ClearSelection added in v1.2.7

func (c *TComboBoxEx) ClearSelection()

ClearSelection

清除选择。

func (*TComboBoxEx) ClientHeight added in v1.2.7

func (c *TComboBoxEx) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TComboBoxEx) ClientOrigin added in v1.2.7

func (c *TComboBoxEx) ClientOrigin() TPoint

func (*TComboBoxEx) ClientRect added in v1.2.7

func (c *TComboBoxEx) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TComboBoxEx) ClientToParent added in v1.2.7

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

ClientToParent

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

Convert client coordinates to parent container coordinates.

func (*TComboBoxEx) ClientToScreen added in v1.2.7

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

ClientToScreen

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

Convert client coordinates to absolute screen coordinates.

func (*TComboBoxEx) ClientWidth added in v1.2.7

func (c *TComboBoxEx) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TComboBoxEx) Color added in v1.2.7

func (c *TComboBoxEx) Color() TColor

Color

获取颜色。

Get color.

func (*TComboBoxEx) ComponentCount added in v1.2.7

func (c *TComboBoxEx) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TComboBoxEx) ComponentIndex added in v1.2.7

func (c *TComboBoxEx) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TComboBoxEx) Components added in v1.2.7

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

Components

获取指定索引组件。

Get the specified index component.

func (*TComboBoxEx) Constraints added in v1.2.7

func (c *TComboBoxEx) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TComboBoxEx) ContainsControl added in v1.2.7

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

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TComboBoxEx) ControlAtPos added in v1.2.7

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

ControlAtPos

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

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

func (*TComboBoxEx) ControlCount added in v1.2.7

func (c *TComboBoxEx) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TComboBoxEx) ControlState added in v1.2.7

func (c *TComboBoxEx) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TComboBoxEx) ControlStyle added in v1.2.7

func (c *TComboBoxEx) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TComboBoxEx) Controls added in v1.2.7

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

Controls

获取指定索引子控件。

func (*TComboBoxEx) Cursor added in v1.2.7

func (c *TComboBoxEx) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TComboBoxEx) DeleteSelected added in v1.2.7

func (c *TComboBoxEx) DeleteSelected()

DeleteSelected

删除选择的。

func (*TComboBoxEx) DisableAlign added in v1.2.7

func (c *TComboBoxEx) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TComboBoxEx) DockClientCount added in v1.2.7

func (c *TComboBoxEx) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TComboBoxEx) DockClients added in v1.2.7

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

DockClients

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

func (*TComboBoxEx) DockSite added in v1.2.7

func (c *TComboBoxEx) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TComboBoxEx) DoubleBuffered added in v1.2.7

func (c *TComboBoxEx) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TComboBoxEx) DragCursor added in v1.2.7

func (c *TComboBoxEx) DragCursor() TCursor

DragCursor

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

Get Set the cursor when the control is dragged.

func (*TComboBoxEx) DragKind added in v1.2.7

func (c *TComboBoxEx) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TComboBoxEx) DragMode added in v1.2.7

func (c *TComboBoxEx) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TComboBoxEx) Dragging added in v1.2.7

func (c *TComboBoxEx) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TComboBoxEx) DropDownCount added in v1.2.7

func (c *TComboBoxEx) DropDownCount() int32

func (*TComboBoxEx) DroppedDown added in v1.2.7

func (c *TComboBoxEx) DroppedDown() bool

func (*TComboBoxEx) EnableAlign added in v1.2.7

func (c *TComboBoxEx) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TComboBoxEx) Enabled added in v1.2.7

func (c *TComboBoxEx) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TComboBoxEx) Equals added in v1.2.7

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TComboBoxEx) FindChildControl added in v1.2.7

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

FindChildControl

查找子控件。

Find sub controls.

func (*TComboBoxEx) FindComponent added in v1.2.7

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TComboBoxEx) FixDesignFontsPPI

func (c *TComboBoxEx) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TComboBoxEx) FlipChildren added in v1.2.7

func (c *TComboBoxEx) FlipChildren(AllLevels bool)

func (*TComboBoxEx) Floating added in v1.2.7

func (c *TComboBoxEx) Floating() bool

func (*TComboBoxEx) Focused added in v1.2.7

func (c *TComboBoxEx) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*TComboBoxEx) Font added in v1.2.7

func (c *TComboBoxEx) Font() *TFont

Font

获取字体。

Get Font.

func (*TComboBoxEx) Free added in v1.2.7

func (c *TComboBoxEx) Free()

Free

释放对象。

Free object.

func (*TComboBoxEx) GetHashCode added in v1.2.7

func (c *TComboBoxEx) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TComboBoxEx) GetNamePath added in v1.2.7

func (c *TComboBoxEx) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TComboBoxEx) GetTextBuf added in v1.2.7

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

GetTextBuf

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

Get the characters of the control, if any.

func (*TComboBoxEx) GetTextLen added in v1.2.7

func (c *TComboBoxEx) GetTextLen() int32

GetTextLen

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

Get the character length of the control, if any.

func (*TComboBoxEx) Handle added in v1.2.7

func (c *TComboBoxEx) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TComboBoxEx) HandleAllocated added in v1.2.7

func (c *TComboBoxEx) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TComboBoxEx) HasParent added in v1.2.7

func (c *TComboBoxEx) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TComboBoxEx) Height added in v1.2.7

func (c *TComboBoxEx) Height() int32

Height

获取高度。

Get height.

func (*TComboBoxEx) Hide added in v1.2.7

func (c *TComboBoxEx) Hide()

Hide

隐藏控件。

Hidden control.

func (*TComboBoxEx) Hint added in v1.2.7

func (c *TComboBoxEx) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TComboBoxEx) Images added in v1.2.7

func (c *TComboBoxEx) Images() *TImageList

Images

获取图标索引列表对象。

func (*TComboBoxEx) InheritsFrom added in v1.2.7

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

InheritsFrom

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

Determine whether the current class inherits from the specified class.

func (*TComboBoxEx) InsertControl added in v1.2.7

func (c *TComboBoxEx) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TComboBoxEx) Instance added in v1.2.7

func (c *TComboBoxEx) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TComboBoxEx) InstanceSize added in v1.2.7

func (c *TComboBoxEx) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TComboBoxEx) Invalidate added in v1.2.7

func (c *TComboBoxEx) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TComboBoxEx) Is added in v1.2.10

func (c *TComboBoxEx) Is() TIs

Is

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

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

func (*TComboBoxEx) IsValid added in v1.2.7

func (c *TComboBoxEx) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TComboBoxEx) ItemHeight added in v1.2.7

func (c *TComboBoxEx) ItemHeight() int32

func (*TComboBoxEx) ItemIndex added in v1.2.7

func (c *TComboBoxEx) ItemIndex() int32

func (*TComboBoxEx) Items added in v1.2.7

func (c *TComboBoxEx) Items() *TStrings

func (*TComboBoxEx) ItemsEx added in v1.2.7

func (c *TComboBoxEx) ItemsEx() *TComboExItems

func (*TComboBoxEx) Left added in v1.2.7

func (c *TComboBoxEx) Left() int32

Left

获取左边位置。

Get Left position.

func (*TComboBoxEx) MaxLength added in v1.2.7

func (c *TComboBoxEx) MaxLength() int32

MaxLength

获取最大长度。

func (*TComboBoxEx) MouseInClient added in v1.2.7

func (c *TComboBoxEx) MouseInClient() bool

MouseInClient

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

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

func (*TComboBoxEx) Name added in v1.2.7

func (c *TComboBoxEx) Name() string

Name

获取组件名称。

Get the component name.

func (*TComboBoxEx) Owner added in v1.2.7

func (c *TComboBoxEx) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TComboBoxEx) PaintTo added in v1.2.7

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

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TComboBoxEx) Parent added in v1.2.7

func (c *TComboBoxEx) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TComboBoxEx) ParentColor added in v1.2.7

func (c *TComboBoxEx) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TComboBoxEx) ParentDoubleBuffered added in v1.2.7

func (c *TComboBoxEx) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TComboBoxEx) ParentFont added in v1.2.7

func (c *TComboBoxEx) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TComboBoxEx) ParentShowHint added in v1.2.7

func (c *TComboBoxEx) ParentShowHint() bool

ParentShowHint

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

func (*TComboBoxEx) ParentToClient added in v1.2.7

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

ParentToClient

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

Convert parent container coordinates to client coordinates.

func (*TComboBoxEx) ParentWindow added in v1.2.7

func (c *TComboBoxEx) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TComboBoxEx) Perform added in v1.2.7

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

Perform

发送一个消息。

Send a message.

func (*TComboBoxEx) PopupMenu added in v1.2.7

func (c *TComboBoxEx) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TComboBoxEx) Realign added in v1.2.7

func (c *TComboBoxEx) Realign()

Realign

重新对齐。

Realign.

func (*TComboBoxEx) Refresh added in v1.2.7

func (c *TComboBoxEx) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TComboBoxEx) RemoveControl added in v1.2.7

func (c *TComboBoxEx) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TComboBoxEx) Repaint added in v1.2.7

func (c *TComboBoxEx) Repaint()

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 added in v1.2.7

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

ScaleBy

按比例缩放。

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 added in v1.2.7

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

ScreenToClient

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

Convert screen coordinates to client coordinates.

func (*TComboBoxEx) ScrollBy added in v1.2.7

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

ScrollBy

滚动至指定位置。

Scroll by.

func (*TComboBoxEx) SelLength added in v1.2.7

func (c *TComboBoxEx) SelLength() int32

SelLength

获取选择的长度。

func (*TComboBoxEx) SelStart added in v1.2.7

func (c *TComboBoxEx) SelStart() int32

SelStart

获取选择的启始位置。

func (*TComboBoxEx) SelText added in v1.2.7

func (c *TComboBoxEx) SelText() string

SelText

获取选择的文本。

func (*TComboBoxEx) SelectAll added in v1.2.7

func (c *TComboBoxEx) SelectAll()

SelectAll

全选。

func (*TComboBoxEx) SendToBack added in v1.2.7

func (c *TComboBoxEx) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TComboBoxEx) SetAction added in v1.2.7

func (c *TComboBoxEx) SetAction(value IComponent)

func (*TComboBoxEx) SetAlign added in v1.2.7

func (c *TComboBoxEx) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TComboBoxEx) SetAnchorSideBottom

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

SetAnchorSideBottom

设置底边锚点。

func (*TComboBoxEx) SetAnchorSideLeft

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

SetAnchorSideLeft

设置左边锚点。

func (*TComboBoxEx) SetAnchorSideRight

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

SetAnchorSideRight

设置右边锚点。

func (*TComboBoxEx) SetAnchorSideTop

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

SetAnchorSideTop

设置顶边锚点。

func (*TComboBoxEx) SetAnchors added in v1.2.7

func (c *TComboBoxEx) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TComboBoxEx) SetAutoCompleteOptions added in v1.2.7

func (c *TComboBoxEx) SetAutoCompleteOptions(value TAutoCompleteOptions)

func (*TComboBoxEx) SetBiDiMode added in v1.2.7

func (c *TComboBoxEx) SetBiDiMode(value TBiDiMode)

func (*TComboBoxEx) SetBorderSpacing

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

SetBorderSpacing

设置边框间距。

func (*TComboBoxEx) SetBounds added in v1.2.7

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

SetBounds

设置组件边界。

Set component boundaries.

func (*TComboBoxEx) SetBoundsRect added in v1.2.7

func (c *TComboBoxEx) SetBoundsRect(value TRect)

func (*TComboBoxEx) SetChildSizing

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

func (*TComboBoxEx) SetClientHeight added in v1.2.7

func (c *TComboBoxEx) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TComboBoxEx) SetClientWidth added in v1.2.7

func (c *TComboBoxEx) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TComboBoxEx) SetColor added in v1.2.7

func (c *TComboBoxEx) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TComboBoxEx) SetComponentIndex added in v1.2.7

func (c *TComboBoxEx) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TComboBoxEx) SetConstraints added in v1.2.7

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

SetConstraints

设置约束控件大小。

func (*TComboBoxEx) SetControlState added in v1.2.7

func (c *TComboBoxEx) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TComboBoxEx) SetControlStyle added in v1.2.7

func (c *TComboBoxEx) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TComboBoxEx) SetCursor added in v1.2.7

func (c *TComboBoxEx) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TComboBoxEx) SetDockSite added in v1.2.7

func (c *TComboBoxEx) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TComboBoxEx) SetDoubleBuffered added in v1.2.7

func (c *TComboBoxEx) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TComboBoxEx) SetDragCursor added in v1.2.7

func (c *TComboBoxEx) SetDragCursor(value TCursor)

SetDragCursor

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

Set Set the cursor when the control is dragged.

func (*TComboBoxEx) SetDragKind added in v1.2.7

func (c *TComboBoxEx) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TComboBoxEx) SetDragMode added in v1.2.7

func (c *TComboBoxEx) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TComboBoxEx) SetDropDownCount added in v1.2.7

func (c *TComboBoxEx) SetDropDownCount(value int32)

func (*TComboBoxEx) SetDroppedDown added in v1.2.7

func (c *TComboBoxEx) SetDroppedDown(value bool)

func (*TComboBoxEx) SetEnabled added in v1.2.7

func (c *TComboBoxEx) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TComboBoxEx) SetFocus added in v1.2.7

func (c *TComboBoxEx) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TComboBoxEx) SetFont added in v1.2.7

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

SetFont

设置字体。

Set Font.

func (*TComboBoxEx) SetHeight added in v1.2.7

func (c *TComboBoxEx) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TComboBoxEx) SetHint added in v1.2.7

func (c *TComboBoxEx) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TComboBoxEx) SetImages added in v1.2.7

func (c *TComboBoxEx) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

func (*TComboBoxEx) SetItemHeight added in v1.2.7

func (c *TComboBoxEx) SetItemHeight(value int32)

func (*TComboBoxEx) SetItemIndex added in v1.2.7

func (c *TComboBoxEx) SetItemIndex(value int32)

func (*TComboBoxEx) SetItems added in v1.2.7

func (c *TComboBoxEx) SetItems(value IStrings)

func (*TComboBoxEx) SetItemsEx added in v1.2.7

func (c *TComboBoxEx) SetItemsEx(value *TComboExItems)

func (*TComboBoxEx) SetLeft added in v1.2.7

func (c *TComboBoxEx) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TComboBoxEx) SetMaxLength added in v1.2.7

func (c *TComboBoxEx) SetMaxLength(value int32)

SetMaxLength

设置最大长度。

func (*TComboBoxEx) SetName added in v1.2.7

func (c *TComboBoxEx) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TComboBoxEx) SetOnChange added in v1.2.7

func (c *TComboBoxEx) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TComboBoxEx) SetOnClick added in v1.2.7

func (c *TComboBoxEx) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TComboBoxEx) SetOnContextPopup added in v1.2.7

func (c *TComboBoxEx) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

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

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

func (*TComboBoxEx) SetOnDblClick added in v1.2.7

func (c *TComboBoxEx) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TComboBoxEx) SetOnDragDrop added in v1.2.7

func (c *TComboBoxEx) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TComboBoxEx) SetOnDragOver added in v1.2.7

func (c *TComboBoxEx) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TComboBoxEx) SetOnDropDown added in v1.2.7

func (c *TComboBoxEx) SetOnDropDown(fn TNotifyEvent)

func (*TComboBoxEx) SetOnEndDock added in v1.2.7

func (c *TComboBoxEx) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TComboBoxEx) SetOnEndDrag added in v1.2.7

func (c *TComboBoxEx) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TComboBoxEx) SetOnEnter added in v1.2.7

func (c *TComboBoxEx) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TComboBoxEx) SetOnExit added in v1.2.7

func (c *TComboBoxEx) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TComboBoxEx) SetOnKeyDown added in v1.2.7

func (c *TComboBoxEx) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TComboBoxEx) SetOnKeyPress added in v1.2.7

func (c *TComboBoxEx) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TComboBoxEx) SetOnKeyUp added in v1.2.7

func (c *TComboBoxEx) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TComboBoxEx) SetOnMouseMove added in v1.2.7

func (c *TComboBoxEx) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TComboBoxEx) SetOnSelect added in v1.2.7

func (c *TComboBoxEx) SetOnSelect(fn TNotifyEvent)

func (*TComboBoxEx) SetOnStartDock added in v1.2.7

func (c *TComboBoxEx) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TComboBoxEx) SetParent added in v1.2.7

func (c *TComboBoxEx) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TComboBoxEx) SetParentColor added in v1.2.7

func (c *TComboBoxEx) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TComboBoxEx) SetParentDoubleBuffered added in v1.2.7

func (c *TComboBoxEx) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TComboBoxEx) SetParentFont added in v1.2.7

func (c *TComboBoxEx) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TComboBoxEx) SetParentShowHint added in v1.2.7

func (c *TComboBoxEx) SetParentShowHint(value bool)

SetParentShowHint

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

func (*TComboBoxEx) SetParentWindow added in v1.2.7

func (c *TComboBoxEx) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TComboBoxEx) SetPopupMenu added in v1.2.7

func (c *TComboBoxEx) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TComboBoxEx) SetSelLength added in v1.2.7

func (c *TComboBoxEx) SetSelLength(value int32)

SetSelLength

设置选择的长度。

func (*TComboBoxEx) SetSelStart added in v1.2.7

func (c *TComboBoxEx) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TComboBoxEx) SetSelText added in v1.2.7

func (c *TComboBoxEx) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TComboBoxEx) SetShowHint added in v1.2.7

func (c *TComboBoxEx) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TComboBoxEx) SetStyle added in v1.2.7

func (c *TComboBoxEx) SetStyle(value TComboBoxExStyle)

func (*TComboBoxEx) SetStyleEx added in v1.2.7

func (c *TComboBoxEx) SetStyleEx(value TComboBoxExStyles)

func (*TComboBoxEx) SetTabOrder added in v1.2.7

func (c *TComboBoxEx) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TComboBoxEx) SetTabStop added in v1.2.7

func (c *TComboBoxEx) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TComboBoxEx) SetTag added in v1.2.7

func (c *TComboBoxEx) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TComboBoxEx) SetText added in v1.2.7

func (c *TComboBoxEx) SetText(value string)

SetText

设置文本。

func (*TComboBoxEx) SetTextBuf added in v1.2.7

func (c *TComboBoxEx) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TComboBoxEx) SetTop added in v1.2.7

func (c *TComboBoxEx) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TComboBoxEx) SetUseDockManager added in v1.2.7

func (c *TComboBoxEx) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TComboBoxEx) SetVisible added in v1.2.7

func (c *TComboBoxEx) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TComboBoxEx) SetWidth added in v1.2.7

func (c *TComboBoxEx) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TComboBoxEx) Show added in v1.2.7

func (c *TComboBoxEx) Show()

Show

显示控件。

Show control.

func (*TComboBoxEx) ShowHint added in v1.2.7

func (c *TComboBoxEx) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TComboBoxEx) Showing

func (c *TComboBoxEx) Showing() bool

func (*TComboBoxEx) Style added in v1.2.7

func (c *TComboBoxEx) Style() TComboBoxExStyle

func (*TComboBoxEx) StyleEx added in v1.2.7

func (c *TComboBoxEx) StyleEx() TComboBoxExStyles

func (*TComboBoxEx) TabOrder added in v1.2.7

func (c *TComboBoxEx) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TComboBoxEx) TabStop added in v1.2.7

func (c *TComboBoxEx) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TComboBoxEx) Tag added in v1.2.7

func (c *TComboBoxEx) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TComboBoxEx) Text added in v1.2.7

func (c *TComboBoxEx) Text() string

Text

获取文本。

func (*TComboBoxEx) ToString added in v1.2.7

func (c *TComboBoxEx) ToString() string

ToString

文本类信息。

Text information.

func (*TComboBoxEx) Top added in v1.2.7

func (c *TComboBoxEx) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TComboBoxEx) UnsafeAddr added in v1.2.7

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

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TComboBoxEx) Update added in v1.2.7

func (c *TComboBoxEx) Update()

Update

控件更新。

Update.

func (*TComboBoxEx) UseDockManager added in v1.2.7

func (c *TComboBoxEx) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TComboBoxEx) Visible added in v1.2.7

func (c *TComboBoxEx) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TComboBoxEx) VisibleDockClientCount added in v1.2.7

func (c *TComboBoxEx) VisibleDockClientCount() int32

VisibleDockClientCount

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

Get The total number of visible calls currently docked.

func (*TComboBoxEx) Width added in v1.2.7

func (c *TComboBoxEx) Width() int32

Width

获取宽度。

Get width.

type TComboExItem added in v1.2.7

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

func AsComboExItem added in v1.2.10

func AsComboExItem(obj interface{}) *TComboExItem

AsComboExItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TComboExItem) Assign added in v1.2.7

func (c *TComboExItem) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TComboExItem) Caption added in v1.2.7

func (c *TComboExItem) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TComboExItem) ClassName added in v1.2.7

func (c *TComboExItem) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TComboExItem) ClassType added in v1.2.7

func (c *TComboExItem) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TComboExItem) Collection added in v1.2.7

func (c *TComboExItem) Collection() *TCollection

func (*TComboExItem) Data added in v1.2.7

func (c *TComboExItem) Data() unsafe.Pointer

func (*TComboExItem) DisplayName added in v1.2.7

func (c *TComboExItem) DisplayName() string

func (*TComboExItem) Equals added in v1.2.7

func (c *TComboExItem) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TComboExItem) GetHashCode added in v1.2.7

func (c *TComboExItem) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TComboExItem) GetNamePath added in v1.2.7

func (c *TComboExItem) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TComboExItem) ImageIndex added in v1.2.7

func (c *TComboExItem) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TComboExItem) Indent added in v1.2.7

func (c *TComboExItem) Indent() int32

func (*TComboExItem) Index added in v1.2.7

func (c *TComboExItem) Index() int32

func (*TComboExItem) InheritsFrom added in v1.2.7

func (c *TComboExItem) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TComboExItem) Instance added in v1.2.7

func (c *TComboExItem) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TComboExItem) InstanceSize added in v1.2.7

func (c *TComboExItem) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TComboExItem) Is added in v1.2.10

func (c *TComboExItem) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TComboExItem) IsValid added in v1.2.7

func (c *TComboExItem) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TComboExItem) OverlayImageIndex added in v1.2.7

func (c *TComboExItem) OverlayImageIndex() int32

func (*TComboExItem) SetCaption added in v1.2.7

func (c *TComboExItem) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TComboExItem) SetCollection added in v1.2.7

func (c *TComboExItem) SetCollection(value *TCollection)

func (*TComboExItem) SetData added in v1.2.7

func (c *TComboExItem) SetData(value unsafe.Pointer)

func (*TComboExItem) SetDisplayName added in v1.2.7

func (c *TComboExItem) SetDisplayName(value string)

func (*TComboExItem) SetImageIndex added in v1.2.7

func (c *TComboExItem) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*TComboExItem) SetIndent added in v1.2.7

func (c *TComboExItem) SetIndent(value int32)

func (*TComboExItem) SetIndex added in v1.2.7

func (c *TComboExItem) SetIndex(value int32)

func (*TComboExItem) SetOverlayImageIndex added in v1.2.7

func (c *TComboExItem) SetOverlayImageIndex(value int32)

func (*TComboExItem) ToString added in v1.2.7

func (c *TComboExItem) ToString() string

ToString

文本类信息。

Text information.

func (*TComboExItem) UnsafeAddr added in v1.2.7

func (c *TComboExItem) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TComboExItems added in v1.2.7

type TComboExItems struct {
	IObject
	// contains filtered or unexported fields
}

func AsComboExItems added in v1.2.10

func AsComboExItems(obj interface{}) *TComboExItems

AsComboExItems

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TComboExItems) Add added in v1.2.7

func (c *TComboExItems) Add() *TComboExItem

func (*TComboExItems) AddItem added in v1.2.7

func (c *TComboExItems) AddItem(Caption string, ImageIndex int32, SelectedImageIndex int32, OverlayImageIndex int32, Indent int32, Data uintptr) *TComboExItem

func (*TComboExItems) Assign added in v1.2.7

func (c *TComboExItems) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TComboExItems) BeginUpdate added in v1.2.7

func (c *TComboExItems) BeginUpdate()

func (*TComboExItems) ClassName added in v1.2.7

func (c *TComboExItems) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TComboExItems) ClassType added in v1.2.7

func (c *TComboExItems) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TComboExItems) Clear added in v1.2.7

func (c *TComboExItems) Clear()

Clear

清除。

func (*TComboExItems) ComboItems added in v1.2.7

func (c *TComboExItems) ComboItems(Index int32) *TComboExItem

func (*TComboExItems) Count added in v1.2.7

func (c *TComboExItems) Count() int32

func (*TComboExItems) Delete added in v1.2.7

func (c *TComboExItems) Delete(Index int32)

func (*TComboExItems) EndUpdate added in v1.2.7

func (c *TComboExItems) EndUpdate()

func (*TComboExItems) Equals added in v1.2.7

func (c *TComboExItems) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TComboExItems) FindItemID added in v1.2.7

func (c *TComboExItems) FindItemID(ID int32) *TCollectionItem

func (*TComboExItems) GetHashCode added in v1.2.7

func (c *TComboExItems) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TComboExItems) GetNamePath added in v1.2.7

func (c *TComboExItems) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TComboExItems) InheritsFrom added in v1.2.7

func (c *TComboExItems) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TComboExItems) Insert added in v1.2.7

func (c *TComboExItems) Insert(Index int32) *TComboExItem

func (*TComboExItems) Instance added in v1.2.7

func (c *TComboExItems) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TComboExItems) InstanceSize added in v1.2.7

func (c *TComboExItems) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TComboExItems) Is added in v1.2.10

func (c *TComboExItems) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TComboExItems) IsValid added in v1.2.7

func (c *TComboExItems) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TComboExItems) Owner added in v1.2.7

func (c *TComboExItems) Owner() *TObject

Owner

组件所有者。

component owner.

func (*TComboExItems) ToString added in v1.2.7

func (c *TComboExItems) ToString() string

ToString

文本类信息。

Text information.

func (*TComboExItems) UnsafeAddr added in v1.2.7

func (c *TComboExItems) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TComponent

type TComponent struct {
	IComponent
	// contains filtered or unexported fields
}

func AsComponent added in v1.2.10

func AsComponent(obj interface{}) *TComponent

AsComponent

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewComponent

func NewComponent(owner IComponent) *TComponent

NewComponent

创建一个新的对象。

Create a new object.

func (*TComponent) Assign

func (c *TComponent) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TComponent) ClassName

func (c *TComponent) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TComponent) ClassType added in v1.1.18

func (c *TComponent) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TComponent) ComponentCount

func (c *TComponent) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TComponent) ComponentIndex

func (c *TComponent) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TComponent) Components

func (c *TComponent) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TComponent) Equals

func (c *TComponent) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TComponent) FindComponent

func (c *TComponent) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TComponent) Free

func (c *TComponent) Free()

Free

释放对象。

Free object.

func (*TComponent) GetHashCode

func (c *TComponent) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TComponent) GetNamePath

func (c *TComponent) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TComponent) HasParent

func (c *TComponent) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TComponent) InheritsFrom added in v1.1.18

func (c *TComponent) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TComponent) Instance

func (c *TComponent) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TComponent) InstanceSize added in v1.1.18

func (c *TComponent) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TComponent) Is added in v1.2.10

func (c *TComponent) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TComponent) IsValid

func (c *TComponent) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TComponent) Name

func (c *TComponent) Name() string

Name

获取组件名称。

Get the component name.

func (*TComponent) Owner

func (c *TComponent) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TComponent) SetComponentIndex

func (c *TComponent) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TComponent) SetName

func (c *TComponent) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TComponent) SetTag

func (c *TComponent) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TComponent) Tag

func (c *TComponent) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TComponent) ToString

func (c *TComponent) ToString() string

ToString

文本类信息。

Text information.

func (*TComponent) UnsafeAddr added in v1.1.21

func (c *TComponent) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

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)

type TControl

type TControl struct {
	IControl
	// contains filtered or unexported fields
}

func AsControl added in v1.2.10

func AsControl(obj interface{}) *TControl

AsControl

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

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

NewControl

创建一个新的对象。

Create a new object.

func (*TControl) Action

func (c *TControl) Action() *TAction

func (*TControl) Align

func (c *TControl) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TControl) AnchorSideBottom

func (c *TControl) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TControl) AnchorSideLeft

func (c *TControl) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TControl) AnchorSideRight

func (c *TControl) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TControl) AnchorSideTop

func (c *TControl) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TControl) AnchorToNeighbour

func (c *TControl) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TControl) AnchorVerticalCenterTo

func (c *TControl) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TControl) Anchors

func (c *TControl) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TControl) Assign

func (c *TControl) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TControl) BoundsRect

func (c *TControl) BoundsRect() TRect

func (*TControl) BringToFront

func (c *TControl) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TControl) ClassName

func (c *TControl) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TControl) ClassType added in v1.1.18

func (c *TControl) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TControl) ClientHeight

func (c *TControl) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TControl) ClientOrigin added in v1.1.21

func (c *TControl) ClientOrigin() TPoint

func (*TControl) ClientRect

func (c *TControl) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TControl) ClientToParent

func (c *TControl) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TControl) ClientToScreen

func (c *TControl) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TControl) ClientWidth

func (c *TControl) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TControl) ComponentCount

func (c *TControl) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TControl) ComponentIndex

func (c *TControl) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TControl) Components

func (c *TControl) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TControl) Constraints added in v1.2.7

func (c *TControl) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TControl) ControlState added in v1.1.21

func (c *TControl) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TControl) ControlStyle added in v1.1.21

func (c *TControl) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TControl) Cursor

func (c *TControl) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TControl) Dragging

func (c *TControl) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TControl) Enabled

func (c *TControl) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TControl) Equals

func (c *TControl) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TControl) FindComponent

func (c *TControl) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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()

Free

释放对象。

Free object.

func (*TControl) GetHashCode

func (c *TControl) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TControl) GetNamePath

func (c *TControl) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TControl) GetTextBuf

func (c *TControl) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TControl) GetTextLen

func (c *TControl) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TControl) HasParent

func (c *TControl) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TControl) Height

func (c *TControl) Height() int32

Height

获取高度。

Get height.

func (*TControl) Hide

func (c *TControl) Hide()

Hide

隐藏控件。

Hidden control.

func (*TControl) Hint

func (c *TControl) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TControl) InheritsFrom added in v1.1.18

func (c *TControl) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TControl) Instance

func (c *TControl) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TControl) InstanceSize added in v1.1.18

func (c *TControl) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TControl) Invalidate

func (c *TControl) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TControl) Is added in v1.2.10

func (c *TControl) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TControl) IsValid

func (c *TControl) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TControl) Left

func (c *TControl) Left() int32

Left

获取左边位置。

Get Left position.

func (*TControl) Name

func (c *TControl) Name() string

Name

获取组件名称。

Get the component name.

func (*TControl) Owner

func (c *TControl) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TControl) Parent

func (c *TControl) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TControl) ParentToClient

func (c *TControl) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TControl) Perform

func (c *TControl) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TControl) Refresh

func (c *TControl) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TControl) Repaint

func (c *TControl) Repaint()

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TControl) SendToBack

func (c *TControl) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TControl) SetAnchorSideBottom

func (c *TControl) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TControl) SetAnchorSideLeft

func (c *TControl) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TControl) SetAnchorSideRight

func (c *TControl) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TControl) SetAnchorSideTop

func (c *TControl) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TControl) SetAnchors

func (c *TControl) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TControl) SetBiDiMode

func (c *TControl) SetBiDiMode(value TBiDiMode)

func (*TControl) SetBorderSpacing

func (c *TControl) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TControl) SetBounds

func (c *TControl) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TControl) SetBoundsRect

func (c *TControl) SetBoundsRect(value TRect)

func (*TControl) SetClientHeight

func (c *TControl) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TControl) SetClientWidth

func (c *TControl) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TControl) SetComponentIndex

func (c *TControl) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TControl) SetConstraints added in v1.2.7

func (c *TControl) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TControl) SetControlState added in v1.1.21

func (c *TControl) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TControl) SetControlStyle added in v1.1.21

func (c *TControl) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TControl) SetCursor

func (c *TControl) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TControl) SetEnabled

func (c *TControl) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TControl) SetHeight

func (c *TControl) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TControl) SetHint

func (c *TControl) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TControl) SetLeft

func (c *TControl) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TControl) SetName

func (c *TControl) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TControl) SetParent

func (c *TControl) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TControl) SetShowHint

func (c *TControl) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TControl) SetTag

func (c *TControl) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TControl) SetTextBuf added in v1.1.21

func (c *TControl) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TControl) SetTop

func (c *TControl) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TControl) SetVisible

func (c *TControl) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TControl) SetWidth

func (c *TControl) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TControl) Show

func (c *TControl) Show()

Show

显示控件。

Show control.

func (*TControl) ShowHint

func (c *TControl) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TControl) Tag

func (c *TControl) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TControl) ToString

func (c *TControl) ToString() string

ToString

文本类信息。

Text information.

func (*TControl) Top

func (c *TControl) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TControl) UnsafeAddr added in v1.1.21

func (c *TControl) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TControl) Update

func (c *TControl) Update()

Update

控件更新。

Update.

func (*TControl) Visible

func (c *TControl) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TControl) Width

func (c *TControl) Width() int32

Width

获取宽度。

Get width.

type TControlBorderSpacing

type TControlBorderSpacing struct {
	IObject
	// contains filtered or unexported fields
}

func AsControlBorderSpacing

func AsControlBorderSpacing(obj interface{}) *TControlBorderSpacing

AsControlBorderSpacing

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

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)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TControlBorderSpacing) ClassType

func (c *TControlBorderSpacing) ClassType() TClass

ClassType

获取类的类型信息。

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TControlBorderSpacing) GetHashCode

func (c *TControlBorderSpacing) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TControlBorderSpacing) GetNamePath

func (c *TControlBorderSpacing) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TControlBorderSpacing) InheritsFrom

func (c *TControlBorderSpacing) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TControlBorderSpacing) InstanceSize

func (c *TControlBorderSpacing) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TControlBorderSpacing) Is

func (c *TControlBorderSpacing) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TControlBorderSpacing) IsValid

func (c *TControlBorderSpacing) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TControlBorderSpacing) Left

func (c *TControlBorderSpacing) Left() int32

Left

获取左边位置。

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)

SetLeft

设置左边位置。

Set Left position.

func (*TControlBorderSpacing) SetOnChange

func (c *TControlBorderSpacing) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

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)

SetTop

设置顶边位置。

Set Top position.

func (*TControlBorderSpacing) Space

func (c *TControlBorderSpacing) Space(Kind TAnchorKind) int32

func (*TControlBorderSpacing) ToString

func (c *TControlBorderSpacing) ToString() string

ToString

文本类信息。

Text information.

func (*TControlBorderSpacing) Top

func (c *TControlBorderSpacing) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TControlBorderSpacing) UnsafeAddr

func (c *TControlBorderSpacing) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TControlChildSizing

type TControlChildSizing struct {
	IObject
	// contains filtered or unexported fields
}

func AsControlChildSizing

func AsControlChildSizing(obj interface{}) *TControlChildSizing

AsControlChildSizing

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TControlChildSizing) Assign

func (c *TControlChildSizing) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TControlChildSizing) ClassName

func (c *TControlChildSizing) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TControlChildSizing) ClassType

func (c *TControlChildSizing) ClassType() TClass

ClassType

获取类的类型信息。

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TControlChildSizing) GetHashCode

func (c *TControlChildSizing) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TControlChildSizing) GetNamePath

func (c *TControlChildSizing) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TControlChildSizing) HorizontalSpacing

func (c *TControlChildSizing) HorizontalSpacing() int32

func (*TControlChildSizing) InheritsFrom

func (c *TControlChildSizing) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TControlChildSizing) Instance

func (c *TControlChildSizing) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TControlChildSizing) InstanceSize

func (c *TControlChildSizing) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TControlChildSizing) Is

func (c *TControlChildSizing) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TControlChildSizing) IsValid

func (c *TControlChildSizing) IsValid() bool

IsValid

检测地址是否为空。

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)

SetOnChange

设置改变事件。

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

ToString

文本类信息。

Text information.

func (*TControlChildSizing) TopBottomSpacing

func (c *TControlChildSizing) TopBottomSpacing() int32

func (*TControlChildSizing) UnsafeAddr

func (c *TControlChildSizing) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TControlChildSizing) VerticalSpacing

func (c *TControlChildSizing) VerticalSpacing() int32

type TControlScrollBar added in v1.2.7

type TControlScrollBar struct {
	IObject
	// contains filtered or unexported fields
}

func AsControlScrollBar added in v1.2.10

func AsControlScrollBar(obj interface{}) *TControlScrollBar

AsControlScrollBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TControlScrollBar) Assign added in v1.2.7

func (c *TControlScrollBar) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TControlScrollBar) ClassName added in v1.2.7

func (c *TControlScrollBar) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TControlScrollBar) ClassType added in v1.2.7

func (c *TControlScrollBar) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TControlScrollBar) Equals added in v1.2.7

func (c *TControlScrollBar) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TControlScrollBar) GetHashCode added in v1.2.7

func (c *TControlScrollBar) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TControlScrollBar) GetNamePath added in v1.2.7

func (c *TControlScrollBar) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TControlScrollBar) Increment added in v1.2.7

func (c *TControlScrollBar) Increment() TScrollBarInc

func (*TControlScrollBar) InheritsFrom added in v1.2.7

func (c *TControlScrollBar) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TControlScrollBar) Instance added in v1.2.7

func (c *TControlScrollBar) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TControlScrollBar) InstanceSize added in v1.2.7

func (c *TControlScrollBar) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TControlScrollBar) Is added in v1.2.10

func (c *TControlScrollBar) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TControlScrollBar) IsScrollBarVisible added in v1.2.7

func (c *TControlScrollBar) IsScrollBarVisible() bool

func (*TControlScrollBar) IsValid added in v1.2.7

func (c *TControlScrollBar) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TControlScrollBar) Kind added in v1.2.7

func (c *TControlScrollBar) Kind() TScrollBarKind

func (*TControlScrollBar) Position added in v1.2.7

func (c *TControlScrollBar) Position() int32

func (*TControlScrollBar) Range added in v1.2.7

func (c *TControlScrollBar) Range() int32

func (*TControlScrollBar) ScrollPos added in v1.2.7

func (c *TControlScrollBar) ScrollPos() int32

func (*TControlScrollBar) SetIncrement added in v1.2.7

func (c *TControlScrollBar) SetIncrement(value TScrollBarInc)

func (*TControlScrollBar) SetPosition added in v1.2.7

func (c *TControlScrollBar) SetPosition(value int32)

func (*TControlScrollBar) SetRange added in v1.2.7

func (c *TControlScrollBar) SetRange(value int32)

func (*TControlScrollBar) SetSmooth added in v1.2.7

func (c *TControlScrollBar) SetSmooth(value bool)

func (*TControlScrollBar) SetTracking added in v1.2.7

func (c *TControlScrollBar) SetTracking(value bool)

func (*TControlScrollBar) SetVisible added in v1.2.7

func (c *TControlScrollBar) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TControlScrollBar) Smooth added in v1.2.7

func (c *TControlScrollBar) Smooth() bool

func (*TControlScrollBar) ToString added in v1.2.7

func (c *TControlScrollBar) ToString() string

ToString

文本类信息。

Text information.

func (*TControlScrollBar) Tracking added in v1.2.7

func (c *TControlScrollBar) Tracking() bool

func (*TControlScrollBar) UnsafeAddr added in v1.2.7

func (c *TControlScrollBar) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TControlScrollBar) Visible added in v1.2.7

func (c *TControlScrollBar) Visible() bool

Visible

获取控件可视。

Get the control visible.

type TCoolBand added in v1.1.19

type TCoolBand struct {
	IObject
	// contains filtered or unexported fields
}

func AsCoolBand added in v1.2.10

func AsCoolBand(obj interface{}) *TCoolBand

AsCoolBand

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewCoolBand added in v1.1.19

func NewCoolBand(AOwner *TCollection) *TCoolBand

NewCoolBand

创建一个新的对象。

Create a new object.

func (*TCoolBand) Assign added in v1.1.19

func (c *TCoolBand) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCoolBand) Bitmap added in v1.1.19

func (c *TCoolBand) Bitmap() *TBitmap

func (*TCoolBand) BorderStyle added in v1.1.19

func (c *TCoolBand) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TCoolBand) Break added in v1.1.19

func (c *TCoolBand) Break() bool

func (*TCoolBand) ClassName added in v1.1.19

func (c *TCoolBand) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TCoolBand) ClassType added in v1.1.19

func (c *TCoolBand) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TCoolBand) Collection added in v1.1.23

func (c *TCoolBand) Collection() *TCollection

func (*TCoolBand) Color added in v1.1.19

func (c *TCoolBand) Color() TColor

Color

获取颜色。

Get color.

func (*TCoolBand) Control added in v1.1.19

func (c *TCoolBand) Control() *TWinControl

func (*TCoolBand) DisplayName added in v1.2.7

func (c *TCoolBand) DisplayName() string

func (*TCoolBand) Equals added in v1.1.19

func (c *TCoolBand) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TCoolBand) FixedBackground added in v1.1.19

func (c *TCoolBand) FixedBackground() bool

func (*TCoolBand) FixedSize added in v1.1.19

func (c *TCoolBand) FixedSize() bool

func (*TCoolBand) Free added in v1.1.19

func (c *TCoolBand) Free()

Free

释放对象。

Free object.

func (*TCoolBand) GetHashCode added in v1.1.19

func (c *TCoolBand) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TCoolBand) GetNamePath added in v1.1.19

func (c *TCoolBand) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TCoolBand) Height added in v1.1.19

func (c *TCoolBand) Height() int32

Height

获取高度。

Get height.

func (*TCoolBand) HorizontalOnly added in v1.1.19

func (c *TCoolBand) HorizontalOnly() bool

func (*TCoolBand) ImageIndex added in v1.1.19

func (c *TCoolBand) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TCoolBand) Index added in v1.1.19

func (c *TCoolBand) Index() int32

func (*TCoolBand) InheritsFrom added in v1.1.19

func (c *TCoolBand) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCoolBand) Instance added in v1.1.19

func (c *TCoolBand) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TCoolBand) InstanceSize added in v1.1.19

func (c *TCoolBand) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TCoolBand) Is added in v1.2.10

func (c *TCoolBand) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCoolBand) IsValid added in v1.1.19

func (c *TCoolBand) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TCoolBand) MinHeight added in v1.1.19

func (c *TCoolBand) MinHeight() int32

func (*TCoolBand) MinWidth added in v1.1.19

func (c *TCoolBand) MinWidth() int32

func (*TCoolBand) ParentBitmap added in v1.1.19

func (c *TCoolBand) ParentBitmap() bool

func (*TCoolBand) ParentColor added in v1.1.19

func (c *TCoolBand) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TCoolBand) SetBitmap added in v1.1.19

func (c *TCoolBand) SetBitmap(value *TBitmap)

func (*TCoolBand) SetBorderStyle added in v1.1.19

func (c *TCoolBand) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TCoolBand) SetBreak added in v1.1.19

func (c *TCoolBand) SetBreak(value bool)

func (*TCoolBand) SetCollection added in v1.1.23

func (c *TCoolBand) SetCollection(value *TCollection)

func (*TCoolBand) SetColor added in v1.1.19

func (c *TCoolBand) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TCoolBand) SetControl added in v1.1.19

func (c *TCoolBand) SetControl(value IWinControl)

func (*TCoolBand) SetDisplayName added in v1.2.7

func (c *TCoolBand) SetDisplayName(value string)

func (*TCoolBand) SetFixedBackground added in v1.1.19

func (c *TCoolBand) SetFixedBackground(value bool)

func (*TCoolBand) SetFixedSize added in v1.1.19

func (c *TCoolBand) SetFixedSize(value bool)

func (*TCoolBand) SetHorizontalOnly added in v1.1.19

func (c *TCoolBand) SetHorizontalOnly(value bool)

func (*TCoolBand) SetImageIndex added in v1.1.19

func (c *TCoolBand) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*TCoolBand) SetIndex added in v1.1.19

func (c *TCoolBand) SetIndex(value int32)

func (*TCoolBand) SetMinHeight added in v1.1.19

func (c *TCoolBand) SetMinHeight(value int32)

func (*TCoolBand) SetMinWidth added in v1.1.19

func (c *TCoolBand) SetMinWidth(value int32)

func (*TCoolBand) SetParentBitmap added in v1.1.19

func (c *TCoolBand) SetParentBitmap(value bool)

func (*TCoolBand) SetParentColor added in v1.1.19

func (c *TCoolBand) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TCoolBand) SetText added in v1.1.19

func (c *TCoolBand) SetText(value string)

SetText

设置文本。

func (*TCoolBand) SetVisible added in v1.1.19

func (c *TCoolBand) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TCoolBand) SetWidth added in v1.1.19

func (c *TCoolBand) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TCoolBand) Text added in v1.1.19

func (c *TCoolBand) Text() string

Text

获取文本。

func (*TCoolBand) ToString added in v1.1.19

func (c *TCoolBand) ToString() string

ToString

文本类信息。

Text information.

func (*TCoolBand) UnsafeAddr added in v1.1.21

func (c *TCoolBand) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TCoolBand) Visible added in v1.1.19

func (c *TCoolBand) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TCoolBand) Width added in v1.1.19

func (c *TCoolBand) Width() int32

Width

获取宽度。

Get width.

type TCoolBands added in v1.1.19

type TCoolBands struct {
	IObject
	// contains filtered or unexported fields
}

func AsCoolBands added in v1.2.10

func AsCoolBands(obj interface{}) *TCoolBands

AsCoolBands

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewCoolBands added in v1.1.19

func NewCoolBands(AOwner *TCoolBar) *TCoolBands

NewCoolBands

创建一个新的对象。

Create a new object.

func (*TCoolBands) Add added in v1.1.19

func (c *TCoolBands) Add() *TCoolBand

func (*TCoolBands) Assign added in v1.1.19

func (c *TCoolBands) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TCoolBands) BeginUpdate added in v1.1.19

func (c *TCoolBands) BeginUpdate()

func (*TCoolBands) ClassName added in v1.1.19

func (c *TCoolBands) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TCoolBands) ClassType added in v1.1.19

func (c *TCoolBands) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TCoolBands) Clear added in v1.1.19

func (c *TCoolBands) Clear()

Clear

清除。

func (*TCoolBands) Count added in v1.1.19

func (c *TCoolBands) Count() int32

func (*TCoolBands) Delete added in v1.1.19

func (c *TCoolBands) Delete(Index int32)

func (*TCoolBands) EndUpdate added in v1.1.19

func (c *TCoolBands) EndUpdate()

func (*TCoolBands) Equals added in v1.1.19

func (c *TCoolBands) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TCoolBands) FindBand added in v1.1.19

func (c *TCoolBands) FindBand(AControl IControl) *TCoolBand

func (*TCoolBands) FindItemID added in v1.1.23

func (c *TCoolBands) FindItemID(ID int32) *TCollectionItem

func (*TCoolBands) Free added in v1.1.19

func (c *TCoolBands) Free()

Free

释放对象。

Free object.

func (*TCoolBands) GetHashCode added in v1.1.19

func (c *TCoolBands) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TCoolBands) GetNamePath added in v1.1.19

func (c *TCoolBands) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TCoolBands) InheritsFrom added in v1.1.19

func (c *TCoolBands) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCoolBands) Insert added in v1.1.19

func (c *TCoolBands) Insert(Index int32) *TCollectionItem

func (*TCoolBands) Instance added in v1.1.19

func (c *TCoolBands) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TCoolBands) InstanceSize added in v1.1.19

func (c *TCoolBands) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TCoolBands) Is added in v1.2.10

func (c *TCoolBands) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCoolBands) IsValid added in v1.1.19

func (c *TCoolBands) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TCoolBands) Items added in v1.1.19

func (c *TCoolBands) Items(Index int32) *TCoolBand

func (*TCoolBands) Owner added in v1.1.19

func (c *TCoolBands) Owner() *TObject

Owner

组件所有者。

component owner.

func (*TCoolBands) SetItems added in v1.1.19

func (c *TCoolBands) SetItems(Index int32, value *TCoolBand)

func (*TCoolBands) ToString added in v1.1.19

func (c *TCoolBands) ToString() string

ToString

文本类信息。

Text information.

func (*TCoolBands) UnsafeAddr added in v1.1.21

func (c *TCoolBands) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TCoolBar added in v1.1.19

type TCoolBar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsCoolBar added in v1.2.10

func AsCoolBar(obj interface{}) *TCoolBar

AsCoolBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewCoolBar added in v1.1.19

func NewCoolBar(owner IComponent) *TCoolBar

NewCoolBar

创建一个新的对象。

Create a new object.

func (*TCoolBar) Action added in v1.1.19

func (c *TCoolBar) Action() *TAction

func (*TCoolBar) Align added in v1.1.19

func (c *TCoolBar) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TCoolBar) AnchorSideBottom

func (c *TCoolBar) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TCoolBar) AnchorSideLeft

func (c *TCoolBar) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TCoolBar) AnchorSideRight

func (c *TCoolBar) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TCoolBar) AnchorSideTop

func (c *TCoolBar) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TCoolBar) AnchorToNeighbour

func (c *TCoolBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TCoolBar) AnchorVerticalCenterTo

func (c *TCoolBar) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TCoolBar) Anchors added in v1.1.19

func (c *TCoolBar) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TCoolBar) Assign added in v1.1.19

func (c *TCoolBar) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.1.19

func (c *TCoolBar) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TCoolBar) BandBorderStyle added in v1.1.19

func (c *TCoolBar) BandBorderStyle() TBorderStyle

func (*TCoolBar) BandMaximize added in v1.1.19

func (c *TCoolBar) BandMaximize() TCoolBandMaximize

func (*TCoolBar) Bands added in v1.1.19

func (c *TCoolBar) Bands() *TCoolBands

func (*TCoolBar) BiDiMode added in v1.1.19

func (c *TCoolBar) BiDiMode() TBiDiMode

func (*TCoolBar) Bitmap added in v1.1.19

func (c *TCoolBar) Bitmap() *TBitmap

func (*TCoolBar) BorderSpacing

func (c *TCoolBar) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TCoolBar) BorderWidth added in v1.1.19

func (c *TCoolBar) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TCoolBar) BoundsRect added in v1.1.19

func (c *TCoolBar) BoundsRect() TRect

func (*TCoolBar) BringToFront added in v1.1.19

func (c *TCoolBar) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TCoolBar) Brush added in v1.1.19

func (c *TCoolBar) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TCoolBar) CanFocus added in v1.1.19

func (c *TCoolBar) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TCoolBar) ChildSizing

func (c *TCoolBar) ChildSizing() *TControlChildSizing

func (*TCoolBar) ClassName added in v1.1.19

func (c *TCoolBar) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TCoolBar) ClassType added in v1.1.19

func (c *TCoolBar) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TCoolBar) ClientHeight added in v1.1.19

func (c *TCoolBar) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TCoolBar) ClientOrigin added in v1.1.21

func (c *TCoolBar) ClientOrigin() TPoint

func (*TCoolBar) ClientRect added in v1.1.19

func (c *TCoolBar) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TCoolBar) ClientToParent added in v1.1.19

func (c *TCoolBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TCoolBar) ClientToScreen added in v1.1.19

func (c *TCoolBar) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TCoolBar) ClientWidth added in v1.1.19

func (c *TCoolBar) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TCoolBar) Color added in v1.1.19

func (c *TCoolBar) Color() TColor

Color

获取颜色。

Get color.

func (*TCoolBar) ComponentCount added in v1.1.19

func (c *TCoolBar) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TCoolBar) ComponentIndex added in v1.1.19

func (c *TCoolBar) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TCoolBar) Components added in v1.1.19

func (c *TCoolBar) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TCoolBar) Constraints added in v1.2.7

func (c *TCoolBar) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TCoolBar) ContainsControl added in v1.1.21

func (c *TCoolBar) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TCoolBar) ControlAtPos added in v1.1.21

func (c *TCoolBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TCoolBar) ControlCount added in v1.1.19

func (c *TCoolBar) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TCoolBar) ControlState added in v1.1.21

func (c *TCoolBar) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TCoolBar) ControlStyle added in v1.1.21

func (c *TCoolBar) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TCoolBar) Controls added in v1.1.19

func (c *TCoolBar) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TCoolBar) Cursor added in v1.1.19

func (c *TCoolBar) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TCoolBar) DisableAlign added in v1.1.21

func (c *TCoolBar) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TCoolBar) DockClientCount added in v1.1.21

func (c *TCoolBar) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TCoolBar) DockClients added in v1.1.21

func (c *TCoolBar) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TCoolBar) DockSite added in v1.1.19

func (c *TCoolBar) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TCoolBar) DoubleBuffered added in v1.1.19

func (c *TCoolBar) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TCoolBar) DragCursor added in v1.1.19

func (c *TCoolBar) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TCoolBar) DragKind added in v1.1.19

func (c *TCoolBar) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TCoolBar) DragMode added in v1.1.19

func (c *TCoolBar) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TCoolBar) Dragging added in v1.1.19

func (c *TCoolBar) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TCoolBar) EdgeBorders added in v1.1.19

func (c *TCoolBar) EdgeBorders() TEdgeBorders

func (*TCoolBar) EdgeInner added in v1.1.19

func (c *TCoolBar) EdgeInner() TEdgeStyle

func (*TCoolBar) EdgeOuter added in v1.1.19

func (c *TCoolBar) EdgeOuter() TEdgeStyle

func (*TCoolBar) EnableAlign added in v1.1.21

func (c *TCoolBar) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TCoolBar) Enabled added in v1.1.19

func (c *TCoolBar) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TCoolBar) Equals added in v1.1.19

func (c *TCoolBar) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TCoolBar) FindChildControl added in v1.1.21

func (c *TCoolBar) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TCoolBar) FindComponent added in v1.1.19

func (c *TCoolBar) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TCoolBar) FixDesignFontsPPI

func (c *TCoolBar) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TCoolBar) FixedOrder added in v1.1.19

func (c *TCoolBar) FixedOrder() bool

func (*TCoolBar) FixedSize added in v1.1.19

func (c *TCoolBar) FixedSize() bool

func (*TCoolBar) FlipChildren added in v1.1.19

func (c *TCoolBar) FlipChildren(AllLevels bool)

func (*TCoolBar) Floating added in v1.1.19

func (c *TCoolBar) Floating() bool

func (*TCoolBar) Focused added in v1.1.19

func (c *TCoolBar) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*TCoolBar) Font added in v1.1.19

func (c *TCoolBar) Font() *TFont

Font

获取字体。

Get Font.

func (*TCoolBar) Free added in v1.1.19

func (c *TCoolBar) Free()

Free

释放对象。

Free object.

func (*TCoolBar) GetHashCode added in v1.1.19

func (c *TCoolBar) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TCoolBar) GetNamePath added in v1.1.19

func (c *TCoolBar) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TCoolBar) GetTextBuf added in v1.1.19

func (c *TCoolBar) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TCoolBar) GetTextLen added in v1.1.19

func (c *TCoolBar) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TCoolBar) Handle added in v1.1.19

func (c *TCoolBar) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TCoolBar) HandleAllocated added in v1.1.19

func (c *TCoolBar) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TCoolBar) HasParent added in v1.1.19

func (c *TCoolBar) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TCoolBar) Height added in v1.1.19

func (c *TCoolBar) Height() int32

Height

获取高度。

Get height.

func (*TCoolBar) Hide added in v1.1.19

func (c *TCoolBar) Hide()

Hide

隐藏控件。

Hidden control.

func (*TCoolBar) Hint added in v1.1.19

func (c *TCoolBar) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TCoolBar) Images added in v1.1.19

func (c *TCoolBar) Images() *TImageList

Images

获取图标索引列表对象。

func (*TCoolBar) InheritsFrom added in v1.1.19

func (c *TCoolBar) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TCoolBar) Instance added in v1.1.19

func (c *TCoolBar) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TCoolBar) InstanceSize added in v1.1.19

func (c *TCoolBar) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TCoolBar) Invalidate added in v1.1.19

func (c *TCoolBar) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TCoolBar) Is added in v1.2.10

func (c *TCoolBar) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TCoolBar) IsValid added in v1.1.19

func (c *TCoolBar) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TCoolBar) Left added in v1.1.19

func (c *TCoolBar) Left() int32

Left

获取左边位置。

Get Left position.

func (*TCoolBar) MouseInClient added in v1.1.21

func (c *TCoolBar) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TCoolBar) Name added in v1.1.19

func (c *TCoolBar) Name() string

Name

获取组件名称。

Get the component name.

func (*TCoolBar) Owner added in v1.1.19

func (c *TCoolBar) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TCoolBar) PaintTo added in v1.1.21

func (c *TCoolBar) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TCoolBar) Parent added in v1.1.19

func (c *TCoolBar) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TCoolBar) ParentColor added in v1.1.19

func (c *TCoolBar) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TCoolBar) ParentDoubleBuffered added in v1.1.19

func (c *TCoolBar) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TCoolBar) ParentFont added in v1.1.19

func (c *TCoolBar) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TCoolBar) ParentShowHint added in v1.1.19

func (c *TCoolBar) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TCoolBar) ParentToClient added in v1.1.19

func (c *TCoolBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TCoolBar) ParentWindow added in v1.1.19

func (c *TCoolBar) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TCoolBar) Perform added in v1.1.19

func (c *TCoolBar) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TCoolBar) PopupMenu added in v1.1.19

func (c *TCoolBar) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TCoolBar) Realign added in v1.1.19

func (c *TCoolBar) Realign()

Realign

重新对齐。

Realign.

func (*TCoolBar) Refresh added in v1.1.19

func (c *TCoolBar) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TCoolBar) RemoveControl added in v1.1.21

func (c *TCoolBar) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TCoolBar) Repaint added in v1.1.19

func (c *TCoolBar) Repaint()

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 added in v1.1.19

func (c *TCoolBar) ScaleBy(M int32, D int32)

ScaleBy

按比例缩放。

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 added in v1.1.19

func (c *TCoolBar) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TCoolBar) ScrollBy added in v1.1.21

func (c *TCoolBar) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TCoolBar) SendToBack added in v1.1.19

func (c *TCoolBar) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TCoolBar) SetAction added in v1.1.19

func (c *TCoolBar) SetAction(value IComponent)

func (*TCoolBar) SetAlign added in v1.1.19

func (c *TCoolBar) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TCoolBar) SetAnchorSideBottom

func (c *TCoolBar) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TCoolBar) SetAnchorSideLeft

func (c *TCoolBar) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TCoolBar) SetAnchorSideRight

func (c *TCoolBar) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TCoolBar) SetAnchorSideTop

func (c *TCoolBar) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TCoolBar) SetAnchors added in v1.1.19

func (c *TCoolBar) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TCoolBar) SetAutoSize added in v1.1.19

func (c *TCoolBar) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TCoolBar) SetBandBorderStyle added in v1.1.19

func (c *TCoolBar) SetBandBorderStyle(value TBorderStyle)

func (*TCoolBar) SetBandMaximize added in v1.1.19

func (c *TCoolBar) SetBandMaximize(value TCoolBandMaximize)

func (*TCoolBar) SetBands added in v1.1.19

func (c *TCoolBar) SetBands(value *TCoolBands)

func (*TCoolBar) SetBiDiMode added in v1.1.19

func (c *TCoolBar) SetBiDiMode(value TBiDiMode)

func (*TCoolBar) SetBitmap added in v1.1.19

func (c *TCoolBar) SetBitmap(value *TBitmap)

func (*TCoolBar) SetBorderSpacing

func (c *TCoolBar) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TCoolBar) SetBorderWidth added in v1.1.19

func (c *TCoolBar) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TCoolBar) SetBounds added in v1.1.19

func (c *TCoolBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TCoolBar) SetBoundsRect added in v1.1.19

func (c *TCoolBar) SetBoundsRect(value TRect)

func (*TCoolBar) SetChildSizing

func (c *TCoolBar) SetChildSizing(value *TControlChildSizing)

func (*TCoolBar) SetClientHeight added in v1.1.19

func (c *TCoolBar) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TCoolBar) SetClientWidth added in v1.1.19

func (c *TCoolBar) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TCoolBar) SetColor added in v1.1.19

func (c *TCoolBar) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TCoolBar) SetComponentIndex added in v1.1.19

func (c *TCoolBar) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TCoolBar) SetConstraints added in v1.2.7

func (c *TCoolBar) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TCoolBar) SetControlState added in v1.1.21

func (c *TCoolBar) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TCoolBar) SetControlStyle added in v1.1.21

func (c *TCoolBar) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TCoolBar) SetCursor added in v1.1.19

func (c *TCoolBar) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TCoolBar) SetDockSite added in v1.1.19

func (c *TCoolBar) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TCoolBar) SetDoubleBuffered added in v1.1.19

func (c *TCoolBar) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TCoolBar) SetDragCursor added in v1.1.19

func (c *TCoolBar) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TCoolBar) SetDragKind added in v1.1.19

func (c *TCoolBar) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TCoolBar) SetDragMode added in v1.1.19

func (c *TCoolBar) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TCoolBar) SetEdgeBorders added in v1.1.19

func (c *TCoolBar) SetEdgeBorders(value TEdgeBorders)

func (*TCoolBar) SetEdgeInner added in v1.1.19

func (c *TCoolBar) SetEdgeInner(value TEdgeStyle)

func (*TCoolBar) SetEdgeOuter added in v1.1.19

func (c *TCoolBar) SetEdgeOuter(value TEdgeStyle)

func (*TCoolBar) SetEnabled added in v1.1.19

func (c *TCoolBar) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TCoolBar) SetFixedOrder added in v1.1.19

func (c *TCoolBar) SetFixedOrder(value bool)

func (*TCoolBar) SetFixedSize added in v1.1.19

func (c *TCoolBar) SetFixedSize(value bool)

func (*TCoolBar) SetFocus added in v1.1.19

func (c *TCoolBar) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TCoolBar) SetFont added in v1.1.19

func (c *TCoolBar) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TCoolBar) SetHeight added in v1.1.19

func (c *TCoolBar) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TCoolBar) SetHint added in v1.1.19

func (c *TCoolBar) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TCoolBar) SetImages added in v1.1.19

func (c *TCoolBar) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

func (*TCoolBar) SetLeft added in v1.1.19

func (c *TCoolBar) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TCoolBar) SetName added in v1.1.19

func (c *TCoolBar) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TCoolBar) SetOnChange added in v1.1.19

func (c *TCoolBar) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TCoolBar) SetOnClick added in v1.1.19

func (c *TCoolBar) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TCoolBar) SetOnContextPopup added in v1.1.19

func (c *TCoolBar) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TCoolBar) SetOnDblClick added in v1.1.19

func (c *TCoolBar) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TCoolBar) SetOnDockDrop added in v1.1.19

func (c *TCoolBar) SetOnDockDrop(fn TDockDropEvent)

func (*TCoolBar) SetOnDragDrop added in v1.1.19

func (c *TCoolBar) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TCoolBar) SetOnDragOver added in v1.1.19

func (c *TCoolBar) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TCoolBar) SetOnEndDock added in v1.1.19

func (c *TCoolBar) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TCoolBar) SetOnEndDrag added in v1.1.19

func (c *TCoolBar) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TCoolBar) SetOnGetSiteInfo added in v1.1.19

func (c *TCoolBar) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TCoolBar) SetOnMouseDown added in v1.1.19

func (c *TCoolBar) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TCoolBar) SetOnMouseEnter added in v1.1.19

func (c *TCoolBar) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TCoolBar) SetOnMouseLeave added in v1.1.19

func (c *TCoolBar) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TCoolBar) SetOnMouseMove added in v1.1.19

func (c *TCoolBar) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TCoolBar) SetOnMouseUp added in v1.1.19

func (c *TCoolBar) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TCoolBar) SetOnResize added in v1.1.19

func (c *TCoolBar) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TCoolBar) SetOnStartDock added in v1.1.19

func (c *TCoolBar) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TCoolBar) SetOnUnDock added in v1.1.19

func (c *TCoolBar) SetOnUnDock(fn TUnDockEvent)

func (*TCoolBar) SetParent added in v1.1.19

func (c *TCoolBar) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TCoolBar) SetParentColor added in v1.1.19

func (c *TCoolBar) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TCoolBar) SetParentDoubleBuffered added in v1.1.19

func (c *TCoolBar) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TCoolBar) SetParentFont added in v1.1.19

func (c *TCoolBar) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TCoolBar) SetParentShowHint added in v1.1.19

func (c *TCoolBar) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TCoolBar) SetParentWindow added in v1.1.19

func (c *TCoolBar) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TCoolBar) SetPopupMenu added in v1.1.19

func (c *TCoolBar) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TCoolBar) SetShowHint added in v1.1.19

func (c *TCoolBar) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TCoolBar) SetShowText added in v1.1.19

func (c *TCoolBar) SetShowText(value bool)

func (*TCoolBar) SetTabOrder added in v1.1.19

func (c *TCoolBar) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TCoolBar) SetTabStop added in v1.1.19

func (c *TCoolBar) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TCoolBar) SetTag added in v1.1.19

func (c *TCoolBar) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TCoolBar) SetTextBuf added in v1.1.21

func (c *TCoolBar) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TCoolBar) SetTop added in v1.1.19

func (c *TCoolBar) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TCoolBar) SetUseDockManager added in v1.1.19

func (c *TCoolBar) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TCoolBar) SetVertical added in v1.1.19

func (c *TCoolBar) SetVertical(value bool)

func (*TCoolBar) SetVisible added in v1.1.19

func (c *TCoolBar) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TCoolBar) SetWidth added in v1.1.19

func (c *TCoolBar) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TCoolBar) Show added in v1.1.19

func (c *TCoolBar) Show()

Show

显示控件。

Show control.

func (*TCoolBar) ShowHint added in v1.1.19

func (c *TCoolBar) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TCoolBar) ShowText added in v1.1.19

func (c *TCoolBar) ShowText() bool

func (*TCoolBar) Showing

func (c *TCoolBar) Showing() bool

func (*TCoolBar) TabOrder added in v1.1.19

func (c *TCoolBar) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TCoolBar) TabStop added in v1.1.19

func (c *TCoolBar) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TCoolBar) Tag added in v1.1.19

func (c *TCoolBar) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TCoolBar) ToString added in v1.1.19

func (c *TCoolBar) ToString() string

ToString

文本类信息。

Text information.

func (*TCoolBar) Top added in v1.1.19

func (c *TCoolBar) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TCoolBar) UnsafeAddr added in v1.1.21

func (c *TCoolBar) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TCoolBar) Update added in v1.1.19

func (c *TCoolBar) Update()

Update

控件更新。

Update.

func (*TCoolBar) UseDockManager added in v1.1.19

func (c *TCoolBar) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TCoolBar) Vertical added in v1.1.19

func (c *TCoolBar) Vertical() bool

func (*TCoolBar) Visible added in v1.1.19

func (c *TCoolBar) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TCoolBar) VisibleDockClientCount added in v1.1.21

func (c *TCoolBar) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TCoolBar) Width added in v1.1.19

func (c *TCoolBar) Width() int32

Width

获取宽度。

Get width.

type TCreatingListErrorEvent added in v1.1.23

type TCreatingListErrorEvent func(sender IObject, winErrorCode uint32, errorDescription string, handled *bool)

type TCustomSectionNotifyEvent added in v1.1.19

type TCustomSectionNotifyEvent func(headerControl *THeaderControl, section *THeaderSection)

type TDateTimePicker

type TDateTimePicker struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsDateTimePicker added in v1.2.10

func AsDateTimePicker(obj interface{}) *TDateTimePicker

AsDateTimePicker

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewDateTimePicker

func NewDateTimePicker(owner IComponent) *TDateTimePicker

NewDateTimePicker

创建一个新的对象。

Create a new object.

func (*TDateTimePicker) Action

func (d *TDateTimePicker) Action() *TAction

func (*TDateTimePicker) Align

func (d *TDateTimePicker) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TDateTimePicker) AnchorSideBottom

func (d *TDateTimePicker) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TDateTimePicker) AnchorSideLeft

func (d *TDateTimePicker) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TDateTimePicker) AnchorSideRight

func (d *TDateTimePicker) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TDateTimePicker) AnchorSideTop

func (d *TDateTimePicker) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TDateTimePicker) AnchorToNeighbour

func (d *TDateTimePicker) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDateTimePicker) AnchorVerticalCenterTo

func (d *TDateTimePicker) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TDateTimePicker) Anchors

func (d *TDateTimePicker) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TDateTimePicker) ArrowShape

func (d *TDateTimePicker) ArrowShape() TArrowShape

func (*TDateTimePicker) Assign

func (d *TDateTimePicker) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TDateTimePicker) BoundsRect

func (d *TDateTimePicker) BoundsRect() TRect

func (*TDateTimePicker) BringToFront

func (d *TDateTimePicker) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TDateTimePicker) Brush

func (d *TDateTimePicker) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TDateTimePicker) CalAlignment

func (d *TDateTimePicker) CalAlignment() TDTCalAlignment

func (*TDateTimePicker) CanFocus

func (d *TDateTimePicker) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TDateTimePicker) Cascade

func (d *TDateTimePicker) Cascade() bool

func (*TDateTimePicker) CenturyFrom

func (d *TDateTimePicker) CenturyFrom() uint16

func (*TDateTimePicker) Checked

func (d *TDateTimePicker) Checked() bool

Checked

获取是否选中。

func (*TDateTimePicker) ChildSizing

func (d *TDateTimePicker) ChildSizing() *TControlChildSizing

func (*TDateTimePicker) ClassName

func (d *TDateTimePicker) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TDateTimePicker) ClassType added in v1.1.18

func (d *TDateTimePicker) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TDateTimePicker) ClientHeight

func (d *TDateTimePicker) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TDateTimePicker) ClientOrigin added in v1.1.21

func (d *TDateTimePicker) ClientOrigin() TPoint

func (*TDateTimePicker) ClientRect

func (d *TDateTimePicker) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TDateTimePicker) ClientToParent

func (d *TDateTimePicker) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TDateTimePicker) ClientToScreen

func (d *TDateTimePicker) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TDateTimePicker) ClientWidth

func (d *TDateTimePicker) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TDateTimePicker) Color

func (d *TDateTimePicker) Color() TColor

Color

获取颜色。

Get color.

func (*TDateTimePicker) ComponentCount

func (d *TDateTimePicker) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TDateTimePicker) ComponentIndex

func (d *TDateTimePicker) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TDateTimePicker) Components

func (d *TDateTimePicker) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TDateTimePicker) Constraints added in v1.2.7

func (d *TDateTimePicker) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TDateTimePicker) ContainsControl added in v1.1.21

func (d *TDateTimePicker) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TDateTimePicker) ControlAtPos added in v1.1.21

func (d *TDateTimePicker) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TDateTimePicker) ControlCount

func (d *TDateTimePicker) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TDateTimePicker) ControlState added in v1.1.21

func (d *TDateTimePicker) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TDateTimePicker) ControlStyle added in v1.1.21

func (d *TDateTimePicker) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TDateTimePicker) Controls

func (d *TDateTimePicker) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TDateTimePicker) Cursor

func (d *TDateTimePicker) Cursor() TCursor

Cursor

获取控件光标。

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 added in v1.1.21

func (d *TDateTimePicker) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TDateTimePicker) DockClientCount added in v1.1.21

func (d *TDateTimePicker) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TDateTimePicker) DockClients added in v1.1.21

func (d *TDateTimePicker) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TDateTimePicker) DockSite

func (d *TDateTimePicker) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TDateTimePicker) DoubleBuffered

func (d *TDateTimePicker) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TDateTimePicker) Dragging

func (d *TDateTimePicker) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TDateTimePicker) DroppedDown

func (d *TDateTimePicker) DroppedDown() bool

func (*TDateTimePicker) EnableAlign added in v1.1.21

func (d *TDateTimePicker) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TDateTimePicker) Enabled

func (d *TDateTimePicker) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TDateTimePicker) Equals

func (d *TDateTimePicker) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TDateTimePicker) FindChildControl added in v1.1.21

func (d *TDateTimePicker) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TDateTimePicker) FindComponent

func (d *TDateTimePicker) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TDateTimePicker) Font

func (d *TDateTimePicker) Font() *TFont

Font

获取字体。

Get Font.

func (*TDateTimePicker) Free

func (d *TDateTimePicker) Free()

Free

释放对象。

Free object.

func (*TDateTimePicker) GetHashCode

func (d *TDateTimePicker) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TDateTimePicker) GetNamePath

func (d *TDateTimePicker) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TDateTimePicker) GetTextBuf

func (d *TDateTimePicker) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TDateTimePicker) GetTextLen

func (d *TDateTimePicker) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TDateTimePicker) Handle

func (d *TDateTimePicker) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TDateTimePicker) HandleAllocated

func (d *TDateTimePicker) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TDateTimePicker) HasParent

func (d *TDateTimePicker) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TDateTimePicker) Height

func (d *TDateTimePicker) Height() int32

Height

获取高度。

Get height.

func (*TDateTimePicker) Hide

func (d *TDateTimePicker) Hide()

Hide

隐藏控件。

Hidden control.

func (*TDateTimePicker) HideDateTimeParts

func (d *TDateTimePicker) HideDateTimeParts() TDateTimeParts

func (*TDateTimePicker) Hint

func (d *TDateTimePicker) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TDateTimePicker) InheritsFrom added in v1.1.18

func (d *TDateTimePicker) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TDateTimePicker) InsertControl added in v1.1.21

func (d *TDateTimePicker) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TDateTimePicker) Instance

func (d *TDateTimePicker) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TDateTimePicker) InstanceSize added in v1.1.18

func (d *TDateTimePicker) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TDateTimePicker) Invalidate

func (d *TDateTimePicker) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TDateTimePicker) Is added in v1.2.10

func (d *TDateTimePicker) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TDateTimePicker) IsValid

func (d *TDateTimePicker) IsValid() bool

IsValid

检测地址是否为空。

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

Left

获取左边位置。

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 added in v1.1.21

func (d *TDateTimePicker) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TDateTimePicker) Name

func (d *TDateTimePicker) Name() string

Name

获取组件名称。

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

Owner

获取组件所有者。

Get component owner.

func (*TDateTimePicker) PaintTo added in v1.1.21

func (d *TDateTimePicker) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TDateTimePicker) Parent

func (d *TDateTimePicker) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TDateTimePicker) ParentColor

func (d *TDateTimePicker) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TDateTimePicker) ParentDoubleBuffered

func (d *TDateTimePicker) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TDateTimePicker) ParentFont

func (d *TDateTimePicker) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TDateTimePicker) ParentShowHint

func (d *TDateTimePicker) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TDateTimePicker) ParentToClient

func (d *TDateTimePicker) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TDateTimePicker) ParentWindow

func (d *TDateTimePicker) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TDateTimePicker) Perform

func (d *TDateTimePicker) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TDateTimePicker) PopupMenu

func (d *TDateTimePicker) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TDateTimePicker) ReadOnly

func (d *TDateTimePicker) ReadOnly() bool

ReadOnly

获取只读。

func (*TDateTimePicker) Realign

func (d *TDateTimePicker) Realign()

Realign

重新对齐。

Realign.

func (*TDateTimePicker) Refresh

func (d *TDateTimePicker) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TDateTimePicker) RemoveControl added in v1.1.21

func (d *TDateTimePicker) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TDateTimePicker) Repaint

func (d *TDateTimePicker) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TDateTimePicker) ScrollBy added in v1.1.21

func (d *TDateTimePicker) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TDateTimePicker) SelectDate

func (d *TDateTimePicker) SelectDate()

func (*TDateTimePicker) SelectTime

func (d *TDateTimePicker) SelectTime()

func (*TDateTimePicker) SendToBack

func (d *TDateTimePicker) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TDateTimePicker) SetAnchorSideBottom

func (d *TDateTimePicker) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TDateTimePicker) SetAnchorSideLeft

func (d *TDateTimePicker) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TDateTimePicker) SetAnchorSideRight

func (d *TDateTimePicker) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TDateTimePicker) SetAnchorSideTop

func (d *TDateTimePicker) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TDateTimePicker) SetAnchors

func (d *TDateTimePicker) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

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)

SetBorderSpacing

设置边框间距。

func (*TDateTimePicker) SetBounds

func (d *TDateTimePicker) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetChecked

设置是否选中。

func (*TDateTimePicker) SetChildSizing

func (d *TDateTimePicker) SetChildSizing(value *TControlChildSizing)

func (*TDateTimePicker) SetClientHeight

func (d *TDateTimePicker) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TDateTimePicker) SetClientWidth

func (d *TDateTimePicker) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TDateTimePicker) SetColor

func (d *TDateTimePicker) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TDateTimePicker) SetComponentIndex

func (d *TDateTimePicker) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TDateTimePicker) SetConstraints added in v1.2.7

func (d *TDateTimePicker) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TDateTimePicker) SetControlState added in v1.1.21

func (d *TDateTimePicker) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TDateTimePicker) SetControlStyle added in v1.1.21

func (d *TDateTimePicker) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TDateTimePicker) SetCursor

func (d *TDateTimePicker) SetCursor(value TCursor)

SetCursor

设置控件光标。

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)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TDateTimePicker) SetDoubleBuffered

func (d *TDateTimePicker) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TDateTimePicker) SetEnabled

func (d *TDateTimePicker) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TDateTimePicker) SetFocus

func (d *TDateTimePicker) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TDateTimePicker) SetFont

func (d *TDateTimePicker) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TDateTimePicker) SetHeight

func (d *TDateTimePicker) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TDateTimePicker) SetHideDateTimeParts

func (d *TDateTimePicker) SetHideDateTimeParts(value TDateTimeParts)

func (*TDateTimePicker) SetHint

func (d *TDateTimePicker) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetLeft

设置左边位置。

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)

SetName

设置组件名称。

Set the component name.

func (*TDateTimePicker) SetNullInputAllowed

func (d *TDateTimePicker) SetNullInputAllowed(value bool)

func (*TDateTimePicker) SetOnChange

func (d *TDateTimePicker) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TDateTimePicker) SetOnClick

func (d *TDateTimePicker) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TDateTimePicker) SetOnCloseUp

func (d *TDateTimePicker) SetOnCloseUp(fn TNotifyEvent)

func (*TDateTimePicker) SetOnContextPopup

func (d *TDateTimePicker) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TDateTimePicker) SetOnDropDown added in v1.2.7

func (d *TDateTimePicker) SetOnDropDown(fn TNotifyEvent)

func (*TDateTimePicker) SetOnEnter

func (d *TDateTimePicker) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TDateTimePicker) SetOnExit

func (d *TDateTimePicker) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TDateTimePicker) SetOnKeyDown

func (d *TDateTimePicker) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TDateTimePicker) SetOnKeyPress

func (d *TDateTimePicker) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TDateTimePicker) SetOnKeyUp

func (d *TDateTimePicker) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TDateTimePicker) SetOnMouseEnter

func (d *TDateTimePicker) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TDateTimePicker) SetOnMouseLeave

func (d *TDateTimePicker) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TDateTimePicker) SetOptions

func (d *TDateTimePicker) SetOptions(value TDateTimePickerOptions)

func (*TDateTimePicker) SetParent

func (d *TDateTimePicker) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TDateTimePicker) SetParentColor

func (d *TDateTimePicker) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TDateTimePicker) SetParentDoubleBuffered

func (d *TDateTimePicker) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TDateTimePicker) SetParentFont

func (d *TDateTimePicker) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TDateTimePicker) SetParentShowHint

func (d *TDateTimePicker) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TDateTimePicker) SetParentWindow

func (d *TDateTimePicker) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TDateTimePicker) SetPopupMenu

func (d *TDateTimePicker) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TDateTimePicker) SetReadOnly

func (d *TDateTimePicker) SetReadOnly(value bool)

SetReadOnly

设置只读。

func (*TDateTimePicker) SetShowCheckBox

func (d *TDateTimePicker) SetShowCheckBox(value bool)

func (*TDateTimePicker) SetShowHint

func (d *TDateTimePicker) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TDateTimePicker) SetShowMonthNames

func (d *TDateTimePicker) SetShowMonthNames(value bool)

func (*TDateTimePicker) SetTabOrder

func (d *TDateTimePicker) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TDateTimePicker) SetTabStop

func (d *TDateTimePicker) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TDateTimePicker) SetTag

func (d *TDateTimePicker) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TDateTimePicker) SetTextBuf added in v1.1.21

func (d *TDateTimePicker) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

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)

SetTop

设置顶边位置。

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)

SetUseDockManager

设置使用停靠管理。

func (*TDateTimePicker) SetVisible

func (d *TDateTimePicker) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TDateTimePicker) SetWidth

func (d *TDateTimePicker) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TDateTimePicker) Show

func (d *TDateTimePicker) Show()

Show

显示控件。

Show control.

func (*TDateTimePicker) ShowCheckBox

func (d *TDateTimePicker) ShowCheckBox() bool

func (*TDateTimePicker) ShowHint

func (d *TDateTimePicker) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TDateTimePicker) TabStop

func (d *TDateTimePicker) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TDateTimePicker) Tag

func (d *TDateTimePicker) Tag() int

Tag

获取对象标记。

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

ToString

文本类信息。

Text information.

func (*TDateTimePicker) Top

func (d *TDateTimePicker) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TDateTimePicker) TrailingSeparator

func (d *TDateTimePicker) TrailingSeparator() bool

func (*TDateTimePicker) UnsafeAddr added in v1.1.21

func (d *TDateTimePicker) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TDateTimePicker) Update

func (d *TDateTimePicker) Update()

Update

控件更新。

Update.

func (*TDateTimePicker) UseDefaultSeparators

func (d *TDateTimePicker) UseDefaultSeparators() bool

func (*TDateTimePicker) UseDockManager

func (d *TDateTimePicker) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TDateTimePicker) Visible

func (d *TDateTimePicker) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TDateTimePicker) VisibleDockClientCount added in v1.1.21

func (d *TDateTimePicker) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TDateTimePicker) Width

func (d *TDateTimePicker) Width() int32

Width

获取宽度。

Get width.

type TDirectoryEdit

type TDirectoryEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsDirectoryEdit

func AsDirectoryEdit(obj interface{}) *TDirectoryEdit

AsDirectoryEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewDirectoryEdit

func NewDirectoryEdit(owner IComponent) *TDirectoryEdit

NewDirectoryEdit

创建一个新的对象。

Create a new object.

func (*TDirectoryEdit) Action

func (d *TDirectoryEdit) Action() *TAction

func (*TDirectoryEdit) Align

func (d *TDirectoryEdit) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TDirectoryEdit) Alignment

func (d *TDirectoryEdit) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TDirectoryEdit) AnchorSideBottom

func (d *TDirectoryEdit) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TDirectoryEdit) AnchorSideLeft

func (d *TDirectoryEdit) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TDirectoryEdit) AnchorSideRight

func (d *TDirectoryEdit) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TDirectoryEdit) AnchorSideTop

func (d *TDirectoryEdit) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TDirectoryEdit) AnchorToNeighbour

func (d *TDirectoryEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDirectoryEdit) AnchorVerticalCenterTo

func (d *TDirectoryEdit) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TDirectoryEdit) Anchors

func (d *TDirectoryEdit) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TDirectoryEdit) Assign

func (d *TDirectoryEdit) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSelect

获取自动选择。

func (*TDirectoryEdit) AutoSelected

func (d *TDirectoryEdit) AutoSelected() bool

func (*TDirectoryEdit) AutoSize

func (d *TDirectoryEdit) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TDirectoryEdit) BiDiMode

func (d *TDirectoryEdit) BiDiMode() TBiDiMode

func (*TDirectoryEdit) BorderSpacing

func (d *TDirectoryEdit) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TDirectoryEdit) BoundsRect

func (d *TDirectoryEdit) BoundsRect() TRect

func (*TDirectoryEdit) BringToFront

func (d *TDirectoryEdit) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TDirectoryEdit) Brush

func (d *TDirectoryEdit) Brush() *TBrush

Brush

获取画刷对象。

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

CanFocus

是否可以获得焦点。

func (*TDirectoryEdit) CanUndo

func (d *TDirectoryEdit) CanUndo() bool

CanUndo

获取能否撤销。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TDirectoryEdit) ClassType

func (d *TDirectoryEdit) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TDirectoryEdit) Clear

func (d *TDirectoryEdit) Clear()

Clear

清除。

func (*TDirectoryEdit) ClearSelection

func (d *TDirectoryEdit) ClearSelection()

ClearSelection

清除选择。

func (*TDirectoryEdit) ClientHeight

func (d *TDirectoryEdit) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TDirectoryEdit) ClientOrigin

func (d *TDirectoryEdit) ClientOrigin() TPoint

func (*TDirectoryEdit) ClientRect

func (d *TDirectoryEdit) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TDirectoryEdit) ClientToParent

func (d *TDirectoryEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TDirectoryEdit) ClientToScreen

func (d *TDirectoryEdit) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TDirectoryEdit) ClientWidth

func (d *TDirectoryEdit) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TDirectoryEdit) Color

func (d *TDirectoryEdit) Color() TColor

Color

获取颜色。

Get color.

func (*TDirectoryEdit) ComponentCount

func (d *TDirectoryEdit) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TDirectoryEdit) ComponentIndex

func (d *TDirectoryEdit) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TDirectoryEdit) Components

func (d *TDirectoryEdit) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TDirectoryEdit) Constraints

func (d *TDirectoryEdit) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TDirectoryEdit) ContainsControl

func (d *TDirectoryEdit) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TDirectoryEdit) ControlAtPos

func (d *TDirectoryEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TDirectoryEdit) ControlCount

func (d *TDirectoryEdit) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TDirectoryEdit) ControlState

func (d *TDirectoryEdit) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TDirectoryEdit) ControlStyle

func (d *TDirectoryEdit) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TDirectoryEdit) Controls

func (d *TDirectoryEdit) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TDirectoryEdit) CopyToClipboard

func (d *TDirectoryEdit) CopyToClipboard()

CopyToClipboard

复制到粘贴板。

func (*TDirectoryEdit) Cursor

func (d *TDirectoryEdit) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TDirectoryEdit) CutToClipboard

func (d *TDirectoryEdit) CutToClipboard()

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()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TDirectoryEdit) DockClientCount

func (d *TDirectoryEdit) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TDirectoryEdit) DockClients

func (d *TDirectoryEdit) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TDirectoryEdit) DockSite

func (d *TDirectoryEdit) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TDirectoryEdit) DoubleBuffered

func (d *TDirectoryEdit) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TDirectoryEdit) DragCursor

func (d *TDirectoryEdit) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TDirectoryEdit) DragMode

func (d *TDirectoryEdit) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TDirectoryEdit) Dragging

func (d *TDirectoryEdit) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TDirectoryEdit) EnableAlign

func (d *TDirectoryEdit) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TDirectoryEdit) Enabled

func (d *TDirectoryEdit) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TDirectoryEdit) Equals

func (d *TDirectoryEdit) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TDirectoryEdit) FindChildControl

func (d *TDirectoryEdit) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TDirectoryEdit) FindComponent

func (d *TDirectoryEdit) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TDirectoryEdit) FixDesignFontsPPI

func (d *TDirectoryEdit) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TDirectoryEdit) Flat

func (d *TDirectoryEdit) Flat() bool

Flat

获取平面样式。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TDirectoryEdit) Font

func (d *TDirectoryEdit) Font() *TFont

Font

获取字体。

Get Font.

func (*TDirectoryEdit) Free

func (d *TDirectoryEdit) Free()

Free

释放对象。

Free object.

func (*TDirectoryEdit) GetHashCode

func (d *TDirectoryEdit) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TDirectoryEdit) GetNamePath

func (d *TDirectoryEdit) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TDirectoryEdit) GetTextBuf

func (d *TDirectoryEdit) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TDirectoryEdit) GetTextLen

func (d *TDirectoryEdit) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

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

Handle

获取控件句柄。

Get Control handle.

func (*TDirectoryEdit) HandleAllocated

func (d *TDirectoryEdit) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TDirectoryEdit) HasParent

func (d *TDirectoryEdit) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TDirectoryEdit) Height

func (d *TDirectoryEdit) Height() int32

Height

获取高度。

Get height.

func (*TDirectoryEdit) Hide

func (d *TDirectoryEdit) Hide()

Hide

隐藏控件。

Hidden control.

func (*TDirectoryEdit) HideSelection

func (d *TDirectoryEdit) HideSelection() bool

HideSelection

获取隐藏选择。

func (*TDirectoryEdit) Hint

func (d *TDirectoryEdit) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TDirectoryEdit) ImageIndex

func (d *TDirectoryEdit) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TDirectoryEdit) ImageWidth

func (d *TDirectoryEdit) ImageWidth() int32

func (*TDirectoryEdit) Images

func (d *TDirectoryEdit) Images() *TImageList

Images

获取图标索引列表对象。

func (*TDirectoryEdit) InheritsFrom

func (d *TDirectoryEdit) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TDirectoryEdit) InsertControl

func (d *TDirectoryEdit) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TDirectoryEdit) Instance

func (d *TDirectoryEdit) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TDirectoryEdit) InstanceSize

func (d *TDirectoryEdit) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TDirectoryEdit) Invalidate

func (d *TDirectoryEdit) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TDirectoryEdit) Is

func (d *TDirectoryEdit) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TDirectoryEdit) IsValid

func (d *TDirectoryEdit) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TDirectoryEdit) Layout

func (d *TDirectoryEdit) Layout() TLeftRight

func (*TDirectoryEdit) Left

func (d *TDirectoryEdit) Left() int32

Left

获取左边位置。

Get Left position.

func (*TDirectoryEdit) MaxLength

func (d *TDirectoryEdit) MaxLength() int32

MaxLength

获取最大长度。

func (*TDirectoryEdit) Modified

func (d *TDirectoryEdit) Modified() bool

Modified

获取修改。

Get modified.

func (*TDirectoryEdit) MouseInClient

func (d *TDirectoryEdit) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TDirectoryEdit) Name

func (d *TDirectoryEdit) Name() string

Name

获取组件名称。

Get the component name.

func (*TDirectoryEdit) NumGlyphs

func (d *TDirectoryEdit) NumGlyphs() int32

func (*TDirectoryEdit) NumbersOnly

func (d *TDirectoryEdit) NumbersOnly() bool

NumbersOnly

获取只能输入数字。

func (*TDirectoryEdit) Owner

func (d *TDirectoryEdit) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TDirectoryEdit) PaintTo

func (d *TDirectoryEdit) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TDirectoryEdit) Parent

func (d *TDirectoryEdit) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TDirectoryEdit) ParentColor

func (d *TDirectoryEdit) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TDirectoryEdit) ParentDoubleBuffered

func (d *TDirectoryEdit) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TDirectoryEdit) ParentFont

func (d *TDirectoryEdit) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TDirectoryEdit) ParentShowHint

func (d *TDirectoryEdit) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TDirectoryEdit) ParentToClient

func (d *TDirectoryEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TDirectoryEdit) ParentWindow

func (d *TDirectoryEdit) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TDirectoryEdit) PasswordChar

func (d *TDirectoryEdit) PasswordChar() uint16

PasswordChar

获取密码掩码字符。

func (*TDirectoryEdit) PasteFromClipboard

func (d *TDirectoryEdit) PasteFromClipboard()

PasteFromClipboard

从剪切板粘贴。

func (*TDirectoryEdit) Perform

func (d *TDirectoryEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TDirectoryEdit) PopupMenu

func (d *TDirectoryEdit) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TDirectoryEdit) ReadOnly

func (d *TDirectoryEdit) ReadOnly() bool

ReadOnly

获取只读。

func (*TDirectoryEdit) Realign

func (d *TDirectoryEdit) Realign()

Realign

重新对齐。

Realign.

func (*TDirectoryEdit) Refresh

func (d *TDirectoryEdit) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TDirectoryEdit) RemoveControl

func (d *TDirectoryEdit) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TDirectoryEdit) Repaint

func (d *TDirectoryEdit) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TDirectoryEdit) ScrollBy

func (d *TDirectoryEdit) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TDirectoryEdit) SelLength

func (d *TDirectoryEdit) SelLength() int32

SelLength

获取选择的长度。

func (*TDirectoryEdit) SelStart

func (d *TDirectoryEdit) SelStart() int32

SelStart

获取选择的启始位置。

func (*TDirectoryEdit) SelText

func (d *TDirectoryEdit) SelText() string

SelText

获取选择的文本。

func (*TDirectoryEdit) SelectAll

func (d *TDirectoryEdit) SelectAll()

SelectAll

全选。

func (*TDirectoryEdit) SendToBack

func (d *TDirectoryEdit) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TDirectoryEdit) SetAlignment

func (d *TDirectoryEdit) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TDirectoryEdit) SetAnchorSideBottom

func (d *TDirectoryEdit) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TDirectoryEdit) SetAnchorSideLeft

func (d *TDirectoryEdit) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TDirectoryEdit) SetAnchorSideRight

func (d *TDirectoryEdit) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TDirectoryEdit) SetAnchorSideTop

func (d *TDirectoryEdit) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TDirectoryEdit) SetAnchors

func (d *TDirectoryEdit) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TDirectoryEdit) SetAutoSelect

func (d *TDirectoryEdit) SetAutoSelect(value bool)

SetAutoSelect

设置自动选择。

func (*TDirectoryEdit) SetAutoSelected

func (d *TDirectoryEdit) SetAutoSelected(value bool)

func (*TDirectoryEdit) SetAutoSize

func (d *TDirectoryEdit) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TDirectoryEdit) SetBiDiMode

func (d *TDirectoryEdit) SetBiDiMode(value TBiDiMode)

func (*TDirectoryEdit) SetBorderSpacing

func (d *TDirectoryEdit) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TDirectoryEdit) SetBounds

func (d *TDirectoryEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TDirectoryEdit) SetClientWidth

func (d *TDirectoryEdit) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TDirectoryEdit) SetColor

func (d *TDirectoryEdit) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TDirectoryEdit) SetComponentIndex

func (d *TDirectoryEdit) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TDirectoryEdit) SetConstraints

func (d *TDirectoryEdit) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TDirectoryEdit) SetControlState

func (d *TDirectoryEdit) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TDirectoryEdit) SetControlStyle

func (d *TDirectoryEdit) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TDirectoryEdit) SetCursor

func (d *TDirectoryEdit) SetCursor(value TCursor)

SetCursor

设置控件光标。

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)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TDirectoryEdit) SetDoubleBuffered

func (d *TDirectoryEdit) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TDirectoryEdit) SetDragCursor

func (d *TDirectoryEdit) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TDirectoryEdit) SetDragMode

func (d *TDirectoryEdit) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TDirectoryEdit) SetEnabled

func (d *TDirectoryEdit) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TDirectoryEdit) SetFlat

func (d *TDirectoryEdit) SetFlat(value bool)

SetFlat

设置平面样式。

func (*TDirectoryEdit) SetFocus

func (d *TDirectoryEdit) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TDirectoryEdit) SetFocusOnButtonClick

func (d *TDirectoryEdit) SetFocusOnButtonClick(value bool)

func (*TDirectoryEdit) SetFont

func (d *TDirectoryEdit) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TDirectoryEdit) SetGlyph

func (d *TDirectoryEdit) SetGlyph(value *TBitmap)

func (*TDirectoryEdit) SetHeight

func (d *TDirectoryEdit) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TDirectoryEdit) SetHideSelection

func (d *TDirectoryEdit) SetHideSelection(value bool)

SetHideSelection

设置隐藏选择。

func (*TDirectoryEdit) SetHint

func (d *TDirectoryEdit) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TDirectoryEdit) SetImageIndex

func (d *TDirectoryEdit) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*TDirectoryEdit) SetImageWidth

func (d *TDirectoryEdit) SetImageWidth(value int32)

func (*TDirectoryEdit) SetImages

func (d *TDirectoryEdit) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

func (*TDirectoryEdit) SetLayout

func (d *TDirectoryEdit) SetLayout(value TLeftRight)

func (*TDirectoryEdit) SetLeft

func (d *TDirectoryEdit) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TDirectoryEdit) SetMaxLength

func (d *TDirectoryEdit) SetMaxLength(value int32)

SetMaxLength

设置最大长度。

func (*TDirectoryEdit) SetModified

func (d *TDirectoryEdit) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TDirectoryEdit) SetName

func (d *TDirectoryEdit) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TDirectoryEdit) SetNumGlyphs

func (d *TDirectoryEdit) SetNumGlyphs(value int32)

func (*TDirectoryEdit) SetNumbersOnly

func (d *TDirectoryEdit) SetNumbersOnly(value bool)

SetNumbersOnly

设置只能输入数字。

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)

SetOnChange

设置改变事件。

Set changed event.

func (*TDirectoryEdit) SetOnClick

func (d *TDirectoryEdit) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TDirectoryEdit) SetOnContextPopup

func (d *TDirectoryEdit) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TDirectoryEdit) SetOnDblClick

func (d *TDirectoryEdit) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TDirectoryEdit) SetOnDragDrop

func (d *TDirectoryEdit) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TDirectoryEdit) SetOnDragOver

func (d *TDirectoryEdit) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TDirectoryEdit) SetOnEditingDone

func (d *TDirectoryEdit) SetOnEditingDone(fn TNotifyEvent)

func (*TDirectoryEdit) SetOnEndDrag

func (d *TDirectoryEdit) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TDirectoryEdit) SetOnEnter

func (d *TDirectoryEdit) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TDirectoryEdit) SetOnExit

func (d *TDirectoryEdit) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TDirectoryEdit) SetOnKeyDown

func (d *TDirectoryEdit) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TDirectoryEdit) SetOnKeyPress

func (d *TDirectoryEdit) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TDirectoryEdit) SetOnKeyUp

func (d *TDirectoryEdit) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TDirectoryEdit) SetOnMouseDown

func (d *TDirectoryEdit) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TDirectoryEdit) SetOnMouseEnter

func (d *TDirectoryEdit) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TDirectoryEdit) SetOnMouseLeave

func (d *TDirectoryEdit) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TDirectoryEdit) SetOnMouseMove

func (d *TDirectoryEdit) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TDirectoryEdit) SetOnMouseUp

func (d *TDirectoryEdit) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TDirectoryEdit) SetOnMouseWheel

func (d *TDirectoryEdit) SetOnMouseWheel(fn TMouseWheelEvent)

SetOnMouseWheel

设置鼠标滚轮事件。

func (*TDirectoryEdit) SetOnMouseWheelDown

func (d *TDirectoryEdit) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TDirectoryEdit) SetOnMouseWheelUp

func (d *TDirectoryEdit) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TDirectoryEdit) SetParent

func (d *TDirectoryEdit) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TDirectoryEdit) SetParentColor

func (d *TDirectoryEdit) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TDirectoryEdit) SetParentDoubleBuffered

func (d *TDirectoryEdit) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TDirectoryEdit) SetParentFont

func (d *TDirectoryEdit) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TDirectoryEdit) SetParentShowHint

func (d *TDirectoryEdit) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TDirectoryEdit) SetParentWindow

func (d *TDirectoryEdit) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TDirectoryEdit) SetPasswordChar

func (d *TDirectoryEdit) SetPasswordChar(value uint16)

SetPasswordChar

设置密码掩码字符。

func (*TDirectoryEdit) SetPopupMenu

func (d *TDirectoryEdit) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TDirectoryEdit) SetReadOnly

func (d *TDirectoryEdit) SetReadOnly(value bool)

SetReadOnly

设置只读。

func (*TDirectoryEdit) SetRootDir

func (d *TDirectoryEdit) SetRootDir(value string)

func (*TDirectoryEdit) SetSelLength

func (d *TDirectoryEdit) SetSelLength(value int32)

SetSelLength

设置选择的长度。

func (*TDirectoryEdit) SetSelStart

func (d *TDirectoryEdit) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TDirectoryEdit) SetSelText

func (d *TDirectoryEdit) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TDirectoryEdit) SetShowHidden

func (d *TDirectoryEdit) SetShowHidden(value bool)

func (*TDirectoryEdit) SetShowHint

func (d *TDirectoryEdit) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TDirectoryEdit) SetSpacing

func (d *TDirectoryEdit) SetSpacing(value int32)

func (*TDirectoryEdit) SetTabOrder

func (d *TDirectoryEdit) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TDirectoryEdit) SetTabStop

func (d *TDirectoryEdit) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TDirectoryEdit) SetTag

func (d *TDirectoryEdit) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TDirectoryEdit) SetText

func (d *TDirectoryEdit) SetText(value string)

SetText

设置文本。

func (*TDirectoryEdit) SetTextBuf

func (d *TDirectoryEdit) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TDirectoryEdit) SetTextHint

func (d *TDirectoryEdit) SetTextHint(value string)

SetTextHint

设置提示文本。

func (*TDirectoryEdit) SetTop

func (d *TDirectoryEdit) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TDirectoryEdit) SetUseDockManager

func (d *TDirectoryEdit) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TDirectoryEdit) SetVisible

func (d *TDirectoryEdit) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TDirectoryEdit) SetWidth

func (d *TDirectoryEdit) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TDirectoryEdit) Show

func (d *TDirectoryEdit) Show()

Show

显示控件。

Show control.

func (*TDirectoryEdit) ShowHidden

func (d *TDirectoryEdit) ShowHidden() bool

func (*TDirectoryEdit) ShowHint

func (d *TDirectoryEdit) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TDirectoryEdit) TabStop

func (d *TDirectoryEdit) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TDirectoryEdit) Tag

func (d *TDirectoryEdit) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TDirectoryEdit) Text

func (d *TDirectoryEdit) Text() string

Text

获取文本。

func (*TDirectoryEdit) TextHint

func (d *TDirectoryEdit) TextHint() string

TextHint

获取提示文本。

func (*TDirectoryEdit) ToString

func (d *TDirectoryEdit) ToString() string

ToString

文本类信息。

Text information.

func (*TDirectoryEdit) Top

func (d *TDirectoryEdit) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TDirectoryEdit) Undo

func (d *TDirectoryEdit) Undo()

Undo

撤销上一次操作。

func (*TDirectoryEdit) UnsafeAddr

func (d *TDirectoryEdit) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TDirectoryEdit) Update

func (d *TDirectoryEdit) Update()

Update

控件更新。

Update.

func (*TDirectoryEdit) UseDockManager

func (d *TDirectoryEdit) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TDirectoryEdit) ValidateEdit

func (d *TDirectoryEdit) ValidateEdit()

func (*TDirectoryEdit) Visible

func (d *TDirectoryEdit) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TDirectoryEdit) VisibleDockClientCount

func (d *TDirectoryEdit) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TDirectoryEdit) Width

func (d *TDirectoryEdit) Width() int32

Width

获取宽度。

Get width.

type TDockDropEvent

type TDockDropEvent func(sender IObject, source *TDragDockObject, x, y int32)

type TDockOverEvent

type TDockOverEvent func(sender IObject, source *TDragDockObject, x, y int32, state TDragState, accept *bool)

type TDragDockObject

type TDragDockObject struct {
	IObject
	// contains filtered or unexported fields
}

func AsDragDockObject added in v1.2.10

func AsDragDockObject(obj interface{}) *TDragDockObject

AsDragDockObject

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewDragDockObject

func NewDragDockObject(AOwner IControl) *TDragDockObject

NewDragDockObject

创建一个新的对象。

Create a new object.

func (*TDragDockObject) AlwaysShowDragImages

func (d *TDragDockObject) AlwaysShowDragImages() bool

func (*TDragDockObject) Assign

func (d *TDragDockObject) Assign(Source *TDragObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TDragDockObject) ClassName

func (d *TDragDockObject) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TDragDockObject) ClassType added in v1.1.18

func (d *TDragDockObject) ClassType() TClass

ClassType

获取类的类型信息。

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

Equals

与一个对象进行比较。

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()

Free

释放对象。

Free object.

func (*TDragDockObject) GetHashCode

func (d *TDragDockObject) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TDragDockObject) HideDragImage

func (d *TDragDockObject) HideDragImage()

func (*TDragDockObject) InheritsFrom added in v1.1.18

func (d *TDragDockObject) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TDragDockObject) Instance

func (d *TDragDockObject) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TDragDockObject) InstanceSize added in v1.1.18

func (d *TDragDockObject) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TDragDockObject) Is added in v1.2.10

func (d *TDragDockObject) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TDragDockObject) IsValid

func (d *TDragDockObject) IsValid() bool

IsValid

检测地址是否为空。

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

ToString

文本类信息。

Text information.

func (*TDragDockObject) UnsafeAddr added in v1.1.21

func (d *TDragDockObject) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TDragDropEvent

type TDragDropEvent func(sender, source IObject, x, y int32)

type TDragObject

type TDragObject struct {
	IObject
	// contains filtered or unexported fields
}

func AsDragObject added in v1.2.10

func AsDragObject(obj interface{}) *TDragObject

AsDragObject

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewDragObject

func NewDragObject(AOwner IControl) *TDragObject

NewDragObject

创建一个新的对象。

Create a new object.

func (*TDragObject) AlwaysShowDragImages

func (d *TDragObject) AlwaysShowDragImages() bool

func (*TDragObject) Assign

func (d *TDragObject) Assign(Source *TDragObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TDragObject) ClassName

func (d *TDragObject) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TDragObject) ClassType added in v1.1.18

func (d *TDragObject) ClassType() TClass

ClassType

获取类的类型信息。

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TDragObject) Free

func (d *TDragObject) Free()

Free

释放对象。

Free object.

func (*TDragObject) GetHashCode

func (d *TDragObject) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TDragObject) HideDragImage

func (d *TDragObject) HideDragImage()

func (*TDragObject) InheritsFrom added in v1.1.18

func (d *TDragObject) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TDragObject) Instance

func (d *TDragObject) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TDragObject) InstanceSize added in v1.1.18

func (d *TDragObject) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TDragObject) Is added in v1.2.10

func (d *TDragObject) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TDragObject) IsValid

func (d *TDragObject) IsValid() bool

IsValid

检测地址是否为空。

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

ToString

文本类信息。

Text information.

func (*TDragObject) UnsafeAddr added in v1.1.21

func (d *TDragObject) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TDragOverEvent

type TDragOverEvent func(sender, source IObject, x, y int32, state TDragState, accept *bool)

type TDrawCellEvent added in v1.1.19

type TDrawCellEvent func(sender IObject, aCol, aRow int32, aRect TRect, state TGridDrawState)

type TDrawGrid added in v1.1.19

type TDrawGrid struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsDrawGrid added in v1.2.10

func AsDrawGrid(obj interface{}) *TDrawGrid

AsDrawGrid

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewDrawGrid added in v1.1.19

func NewDrawGrid(owner IComponent) *TDrawGrid

NewDrawGrid

创建一个新的对象。

Create a new object.

func (*TDrawGrid) Action added in v1.1.19

func (d *TDrawGrid) Action() *TAction

func (*TDrawGrid) Align added in v1.1.19

func (d *TDrawGrid) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TDrawGrid) AnchorSideBottom

func (d *TDrawGrid) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TDrawGrid) AnchorSideLeft

func (d *TDrawGrid) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TDrawGrid) AnchorSideRight

func (d *TDrawGrid) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TDrawGrid) AnchorSideTop

func (d *TDrawGrid) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TDrawGrid) AnchorToNeighbour

func (d *TDrawGrid) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDrawGrid) AnchorVerticalCenterTo

func (d *TDrawGrid) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TDrawGrid) Anchors added in v1.1.19

func (d *TDrawGrid) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TDrawGrid) Assign added in v1.1.19

func (d *TDrawGrid) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.1.19

func (d *TDrawGrid) BiDiMode() TBiDiMode

func (*TDrawGrid) BorderSpacing

func (d *TDrawGrid) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TDrawGrid) BorderStyle added in v1.1.19

func (d *TDrawGrid) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TDrawGrid) BoundsRect added in v1.1.19

func (d *TDrawGrid) BoundsRect() TRect

func (*TDrawGrid) BringToFront added in v1.1.19

func (d *TDrawGrid) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TDrawGrid) Brush added in v1.1.19

func (d *TDrawGrid) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TDrawGrid) CanFocus added in v1.1.19

func (d *TDrawGrid) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TDrawGrid) Canvas added in v1.1.19

func (d *TDrawGrid) Canvas() *TCanvas

Canvas

获取画布。

func (*TDrawGrid) CellRect added in v1.1.19

func (d *TDrawGrid) CellRect(ACol int32, ARow int32) TRect

func (*TDrawGrid) ChildSizing

func (d *TDrawGrid) ChildSizing() *TControlChildSizing

func (*TDrawGrid) ClassName added in v1.1.19

func (d *TDrawGrid) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TDrawGrid) ClassType added in v1.1.19

func (d *TDrawGrid) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TDrawGrid) ClientHeight added in v1.1.19

func (d *TDrawGrid) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TDrawGrid) ClientOrigin added in v1.1.21

func (d *TDrawGrid) ClientOrigin() TPoint

func (*TDrawGrid) ClientRect added in v1.1.19

func (d *TDrawGrid) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TDrawGrid) ClientToParent added in v1.1.19

func (d *TDrawGrid) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TDrawGrid) ClientToScreen added in v1.1.19

func (d *TDrawGrid) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TDrawGrid) ClientWidth added in v1.1.19

func (d *TDrawGrid) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TDrawGrid) Col added in v1.1.19

func (d *TDrawGrid) Col() int32

func (*TDrawGrid) ColCount added in v1.1.19

func (d *TDrawGrid) ColCount() int32

func (*TDrawGrid) ColWidths added in v1.1.19

func (d *TDrawGrid) ColWidths(Index int32) int32

func (*TDrawGrid) Color added in v1.1.19

func (d *TDrawGrid) Color() TColor

Color

获取颜色。

Get color.

func (*TDrawGrid) ComponentCount added in v1.1.19

func (d *TDrawGrid) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TDrawGrid) ComponentIndex added in v1.1.19

func (d *TDrawGrid) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TDrawGrid) Components added in v1.1.19

func (d *TDrawGrid) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TDrawGrid) Constraints added in v1.2.7

func (d *TDrawGrid) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TDrawGrid) ContainsControl added in v1.1.21

func (d *TDrawGrid) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TDrawGrid) ControlAtPos added in v1.1.21

func (d *TDrawGrid) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TDrawGrid) ControlCount added in v1.1.19

func (d *TDrawGrid) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TDrawGrid) ControlState added in v1.1.21

func (d *TDrawGrid) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TDrawGrid) ControlStyle added in v1.1.21

func (d *TDrawGrid) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TDrawGrid) Controls added in v1.1.19

func (d *TDrawGrid) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TDrawGrid) Cursor added in v1.1.19

func (d *TDrawGrid) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TDrawGrid) DefaultColWidth added in v1.1.19

func (d *TDrawGrid) DefaultColWidth() int32

func (*TDrawGrid) DefaultDrawing added in v1.1.19

func (d *TDrawGrid) DefaultDrawing() bool

func (*TDrawGrid) DefaultRowHeight added in v1.1.19

func (d *TDrawGrid) DefaultRowHeight() int32

func (*TDrawGrid) DisableAlign added in v1.1.21

func (d *TDrawGrid) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TDrawGrid) DockClientCount added in v1.1.21

func (d *TDrawGrid) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TDrawGrid) DockClients added in v1.1.21

func (d *TDrawGrid) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TDrawGrid) DockSite added in v1.1.19

func (d *TDrawGrid) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TDrawGrid) DoubleBuffered added in v1.1.19

func (d *TDrawGrid) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TDrawGrid) DragCursor added in v1.1.19

func (d *TDrawGrid) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TDrawGrid) DragKind added in v1.1.19

func (d *TDrawGrid) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TDrawGrid) DragMode added in v1.1.19

func (d *TDrawGrid) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TDrawGrid) Dragging added in v1.1.19

func (d *TDrawGrid) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TDrawGrid) EditorMode added in v1.1.19

func (d *TDrawGrid) EditorMode() bool

func (*TDrawGrid) EnableAlign added in v1.1.21

func (d *TDrawGrid) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TDrawGrid) Enabled added in v1.1.19

func (d *TDrawGrid) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TDrawGrid) Equals added in v1.1.19

func (d *TDrawGrid) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TDrawGrid) FindChildControl added in v1.1.21

func (d *TDrawGrid) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TDrawGrid) FindComponent added in v1.1.19

func (d *TDrawGrid) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TDrawGrid) FixDesignFontsPPI

func (d *TDrawGrid) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TDrawGrid) FixedColor added in v1.1.19

func (d *TDrawGrid) FixedColor() TColor

func (*TDrawGrid) FixedCols added in v1.1.19

func (d *TDrawGrid) FixedCols() int32

func (*TDrawGrid) FixedRows added in v1.1.19

func (d *TDrawGrid) FixedRows() int32

func (*TDrawGrid) FlipChildren added in v1.1.19

func (d *TDrawGrid) FlipChildren(AllLevels bool)

func (*TDrawGrid) Floating added in v1.1.19

func (d *TDrawGrid) Floating() bool

func (*TDrawGrid) Focused added in v1.1.19

func (d *TDrawGrid) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*TDrawGrid) Font added in v1.1.19

func (d *TDrawGrid) Font() *TFont

Font

获取字体。

Get Font.

func (*TDrawGrid) Free added in v1.1.19

func (d *TDrawGrid) Free()

Free

释放对象。

Free object.

func (*TDrawGrid) GetHashCode added in v1.1.19

func (d *TDrawGrid) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TDrawGrid) GetNamePath added in v1.1.19

func (d *TDrawGrid) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TDrawGrid) GetTextBuf added in v1.1.19

func (d *TDrawGrid) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TDrawGrid) GetTextLen added in v1.1.19

func (d *TDrawGrid) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TDrawGrid) GridHeight added in v1.1.19

func (d *TDrawGrid) GridHeight() int32

func (*TDrawGrid) GridLineWidth added in v1.1.19

func (d *TDrawGrid) GridLineWidth() int32

func (*TDrawGrid) GridWidth added in v1.1.19

func (d *TDrawGrid) GridWidth() int32

func (*TDrawGrid) Handle added in v1.1.19

func (d *TDrawGrid) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TDrawGrid) HandleAllocated added in v1.1.19

func (d *TDrawGrid) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TDrawGrid) HasParent added in v1.1.19

func (d *TDrawGrid) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TDrawGrid) Height added in v1.1.19

func (d *TDrawGrid) Height() int32

Height

获取高度。

Get height.

func (*TDrawGrid) Hide added in v1.1.19

func (d *TDrawGrid) Hide()

Hide

隐藏控件。

Hidden control.

func (*TDrawGrid) Hint added in v1.1.19

func (d *TDrawGrid) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TDrawGrid) InheritsFrom added in v1.1.19

func (d *TDrawGrid) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TDrawGrid) InsertControl added in v1.1.21

func (d *TDrawGrid) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TDrawGrid) Instance added in v1.1.19

func (d *TDrawGrid) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TDrawGrid) InstanceSize added in v1.1.19

func (d *TDrawGrid) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TDrawGrid) Invalidate added in v1.1.19

func (d *TDrawGrid) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TDrawGrid) Is added in v1.2.10

func (d *TDrawGrid) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TDrawGrid) IsValid added in v1.1.19

func (d *TDrawGrid) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TDrawGrid) Left added in v1.1.19

func (d *TDrawGrid) Left() int32

Left

获取左边位置。

Get Left position.

func (*TDrawGrid) LeftCol added in v1.1.19

func (d *TDrawGrid) LeftCol() int32

func (*TDrawGrid) MouseCoord added in v1.1.19

func (d *TDrawGrid) MouseCoord(X int32, Y int32) TGridCoord

func (*TDrawGrid) MouseInClient added in v1.1.21

func (d *TDrawGrid) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TDrawGrid) MouseToCell added in v1.1.19

func (d *TDrawGrid) MouseToCell(X int32, Y int32, ACol *int32, ARow *int32)

func (*TDrawGrid) Name added in v1.1.19

func (d *TDrawGrid) Name() string

Name

获取组件名称。

Get the component name.

func (*TDrawGrid) Options added in v1.1.19

func (d *TDrawGrid) Options() TGridOptions

func (*TDrawGrid) Owner added in v1.1.19

func (d *TDrawGrid) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TDrawGrid) PaintTo added in v1.1.21

func (d *TDrawGrid) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TDrawGrid) Parent added in v1.1.19

func (d *TDrawGrid) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TDrawGrid) ParentColor added in v1.1.19

func (d *TDrawGrid) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TDrawGrid) ParentDoubleBuffered added in v1.1.19

func (d *TDrawGrid) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TDrawGrid) ParentFont added in v1.1.19

func (d *TDrawGrid) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TDrawGrid) ParentShowHint added in v1.1.19

func (d *TDrawGrid) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TDrawGrid) ParentToClient added in v1.1.19

func (d *TDrawGrid) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TDrawGrid) ParentWindow added in v1.1.19

func (d *TDrawGrid) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TDrawGrid) Perform added in v1.1.19

func (d *TDrawGrid) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TDrawGrid) PopupMenu added in v1.1.19

func (d *TDrawGrid) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TDrawGrid) Realign added in v1.1.19

func (d *TDrawGrid) Realign()

Realign

重新对齐。

Realign.

func (*TDrawGrid) Refresh added in v1.1.19

func (d *TDrawGrid) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TDrawGrid) RemoveControl added in v1.1.21

func (d *TDrawGrid) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TDrawGrid) Repaint added in v1.1.19

func (d *TDrawGrid) Repaint()

Repaint

重绘。

Repaint.

func (*TDrawGrid) Row added in v1.1.19

func (d *TDrawGrid) Row() int32

func (*TDrawGrid) RowCount added in v1.1.19

func (d *TDrawGrid) RowCount() int32

func (*TDrawGrid) RowHeights added in v1.1.19

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 added in v1.1.19

func (d *TDrawGrid) ScaleBy(M int32, D int32)

ScaleBy

按比例缩放。

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 added in v1.1.19

func (d *TDrawGrid) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TDrawGrid) ScrollBars added in v1.1.19

func (d *TDrawGrid) ScrollBars() TScrollStyle

func (*TDrawGrid) ScrollBy added in v1.1.21

func (d *TDrawGrid) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TDrawGrid) Selection added in v1.1.19

func (d *TDrawGrid) Selection() TGridRect

func (*TDrawGrid) SendToBack added in v1.1.19

func (d *TDrawGrid) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TDrawGrid) SetAction added in v1.1.19

func (d *TDrawGrid) SetAction(value IComponent)

func (*TDrawGrid) SetAlign added in v1.1.19

func (d *TDrawGrid) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TDrawGrid) SetAnchorSideBottom

func (d *TDrawGrid) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TDrawGrid) SetAnchorSideLeft

func (d *TDrawGrid) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TDrawGrid) SetAnchorSideRight

func (d *TDrawGrid) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TDrawGrid) SetAnchorSideTop

func (d *TDrawGrid) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TDrawGrid) SetAnchors added in v1.1.19

func (d *TDrawGrid) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TDrawGrid) SetBiDiMode added in v1.1.19

func (d *TDrawGrid) SetBiDiMode(value TBiDiMode)

func (*TDrawGrid) SetBorderSpacing

func (d *TDrawGrid) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TDrawGrid) SetBorderStyle added in v1.1.19

func (d *TDrawGrid) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TDrawGrid) SetBounds added in v1.1.19

func (d *TDrawGrid) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TDrawGrid) SetBoundsRect added in v1.1.19

func (d *TDrawGrid) SetBoundsRect(value TRect)

func (*TDrawGrid) SetChildSizing

func (d *TDrawGrid) SetChildSizing(value *TControlChildSizing)

func (*TDrawGrid) SetClientHeight added in v1.1.19

func (d *TDrawGrid) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TDrawGrid) SetClientWidth added in v1.1.19

func (d *TDrawGrid) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TDrawGrid) SetCol added in v1.1.19

func (d *TDrawGrid) SetCol(value int32)

func (*TDrawGrid) SetColCount added in v1.1.19

func (d *TDrawGrid) SetColCount(value int32)

func (*TDrawGrid) SetColWidths added in v1.1.19

func (d *TDrawGrid) SetColWidths(Index int32, value int32)

func (*TDrawGrid) SetColor added in v1.1.19

func (d *TDrawGrid) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TDrawGrid) SetComponentIndex added in v1.1.19

func (d *TDrawGrid) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TDrawGrid) SetConstraints added in v1.2.7

func (d *TDrawGrid) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TDrawGrid) SetControlState added in v1.1.21

func (d *TDrawGrid) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TDrawGrid) SetControlStyle added in v1.1.21

func (d *TDrawGrid) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TDrawGrid) SetCursor added in v1.1.19

func (d *TDrawGrid) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TDrawGrid) SetDefaultColWidth added in v1.1.19

func (d *TDrawGrid) SetDefaultColWidth(value int32)

func (*TDrawGrid) SetDefaultDrawing added in v1.1.19

func (d *TDrawGrid) SetDefaultDrawing(value bool)

func (*TDrawGrid) SetDefaultRowHeight added in v1.1.19

func (d *TDrawGrid) SetDefaultRowHeight(value int32)

func (*TDrawGrid) SetDockSite added in v1.1.19

func (d *TDrawGrid) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TDrawGrid) SetDoubleBuffered added in v1.1.19

func (d *TDrawGrid) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TDrawGrid) SetDragCursor added in v1.1.19

func (d *TDrawGrid) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TDrawGrid) SetDragKind added in v1.1.19

func (d *TDrawGrid) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TDrawGrid) SetDragMode added in v1.1.19

func (d *TDrawGrid) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TDrawGrid) SetEditorMode added in v1.1.19

func (d *TDrawGrid) SetEditorMode(value bool)

func (*TDrawGrid) SetEnabled added in v1.1.19

func (d *TDrawGrid) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TDrawGrid) SetFixedColor added in v1.1.19

func (d *TDrawGrid) SetFixedColor(value TColor)

func (*TDrawGrid) SetFixedCols added in v1.1.19

func (d *TDrawGrid) SetFixedCols(value int32)

func (*TDrawGrid) SetFixedRows added in v1.1.19

func (d *TDrawGrid) SetFixedRows(value int32)

func (*TDrawGrid) SetFocus added in v1.1.19

func (d *TDrawGrid) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TDrawGrid) SetFont added in v1.1.19

func (d *TDrawGrid) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TDrawGrid) SetGridLineWidth added in v1.1.19

func (d *TDrawGrid) SetGridLineWidth(value int32)

func (*TDrawGrid) SetHeight added in v1.1.19

func (d *TDrawGrid) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TDrawGrid) SetHint added in v1.1.19

func (d *TDrawGrid) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TDrawGrid) SetLeft added in v1.1.19

func (d *TDrawGrid) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TDrawGrid) SetLeftCol added in v1.1.19

func (d *TDrawGrid) SetLeftCol(value int32)

func (*TDrawGrid) SetName added in v1.1.19

func (d *TDrawGrid) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TDrawGrid) SetOnClick added in v1.1.19

func (d *TDrawGrid) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TDrawGrid) SetOnColRowMoved

func (d *TDrawGrid) SetOnColRowMoved(fn TGridOperationEvent)

func (*TDrawGrid) SetOnContextPopup added in v1.1.19

func (d *TDrawGrid) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TDrawGrid) SetOnDblClick added in v1.1.19

func (d *TDrawGrid) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TDrawGrid) SetOnDragDrop added in v1.1.19

func (d *TDrawGrid) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TDrawGrid) SetOnDragOver added in v1.1.19

func (d *TDrawGrid) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TDrawGrid) SetOnDrawCell added in v1.1.19

func (d *TDrawGrid) SetOnDrawCell(fn TDrawCellEvent)

func (*TDrawGrid) SetOnEndDock added in v1.1.19

func (d *TDrawGrid) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TDrawGrid) SetOnEndDrag added in v1.1.19

func (d *TDrawGrid) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TDrawGrid) SetOnEnter added in v1.1.19

func (d *TDrawGrid) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TDrawGrid) SetOnExit added in v1.1.19

func (d *TDrawGrid) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TDrawGrid) SetOnGetEditMask added in v1.1.19

func (d *TDrawGrid) SetOnGetEditMask(fn TGetEditEvent)

func (*TDrawGrid) SetOnGetEditText added in v1.1.19

func (d *TDrawGrid) SetOnGetEditText(fn TGetEditEvent)

func (*TDrawGrid) SetOnKeyDown added in v1.1.19

func (d *TDrawGrid) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TDrawGrid) SetOnKeyPress added in v1.1.19

func (d *TDrawGrid) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TDrawGrid) SetOnKeyUp added in v1.1.19

func (d *TDrawGrid) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TDrawGrid) SetOnMouseDown added in v1.1.19

func (d *TDrawGrid) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TDrawGrid) SetOnMouseEnter added in v1.1.19

func (d *TDrawGrid) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TDrawGrid) SetOnMouseLeave added in v1.1.19

func (d *TDrawGrid) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TDrawGrid) SetOnMouseMove added in v1.1.19

func (d *TDrawGrid) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TDrawGrid) SetOnMouseUp added in v1.1.19

func (d *TDrawGrid) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TDrawGrid) SetOnMouseWheelDown added in v1.1.19

func (d *TDrawGrid) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TDrawGrid) SetOnMouseWheelUp added in v1.1.19

func (d *TDrawGrid) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TDrawGrid) SetOnPrepareCanvas

func (d *TDrawGrid) SetOnPrepareCanvas(fn TOnPrepareCanvasEvent)

func (*TDrawGrid) SetOnSelectCell added in v1.1.19

func (d *TDrawGrid) SetOnSelectCell(fn TSelectCellEvent)

func (*TDrawGrid) SetOnSetEditText added in v1.1.19

func (d *TDrawGrid) SetOnSetEditText(fn TSetEditEvent)

func (*TDrawGrid) SetOnStartDock added in v1.1.19

func (d *TDrawGrid) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TDrawGrid) SetOnTopLeftChanged added in v1.1.19

func (d *TDrawGrid) SetOnTopLeftChanged(fn TNotifyEvent)

func (*TDrawGrid) SetOptions added in v1.1.19

func (d *TDrawGrid) SetOptions(value TGridOptions)

func (*TDrawGrid) SetParent added in v1.1.19

func (d *TDrawGrid) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TDrawGrid) SetParentColor added in v1.1.19

func (d *TDrawGrid) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TDrawGrid) SetParentDoubleBuffered added in v1.1.19

func (d *TDrawGrid) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TDrawGrid) SetParentFont added in v1.1.19

func (d *TDrawGrid) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TDrawGrid) SetParentShowHint added in v1.1.19

func (d *TDrawGrid) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TDrawGrid) SetParentWindow added in v1.1.19

func (d *TDrawGrid) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TDrawGrid) SetPopupMenu added in v1.1.19

func (d *TDrawGrid) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TDrawGrid) SetRow added in v1.1.19

func (d *TDrawGrid) SetRow(value int32)

func (*TDrawGrid) SetRowCount added in v1.1.19

func (d *TDrawGrid) SetRowCount(value int32)

func (*TDrawGrid) SetRowHeights added in v1.1.19

func (d *TDrawGrid) SetRowHeights(Index int32, value int32)

func (*TDrawGrid) SetScrollBars added in v1.1.19

func (d *TDrawGrid) SetScrollBars(value TScrollStyle)

func (*TDrawGrid) SetSelection added in v1.1.19

func (d *TDrawGrid) SetSelection(value TGridRect)

func (*TDrawGrid) SetShowHint added in v1.1.19

func (d *TDrawGrid) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TDrawGrid) SetTabOrder added in v1.1.19

func (d *TDrawGrid) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TDrawGrid) SetTabStop added in v1.1.19

func (d *TDrawGrid) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TDrawGrid) SetTag added in v1.1.19

func (d *TDrawGrid) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TDrawGrid) SetTextBuf added in v1.1.21

func (d *TDrawGrid) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TDrawGrid) SetTop added in v1.1.19

func (d *TDrawGrid) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TDrawGrid) SetTopRow added in v1.1.19

func (d *TDrawGrid) SetTopRow(value int32)

func (*TDrawGrid) SetUseDockManager added in v1.1.19

func (d *TDrawGrid) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TDrawGrid) SetVisible added in v1.1.19

func (d *TDrawGrid) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TDrawGrid) SetWidth added in v1.1.19

func (d *TDrawGrid) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TDrawGrid) Show added in v1.1.19

func (d *TDrawGrid) Show()

Show

显示控件。

Show control.

func (*TDrawGrid) ShowHint added in v1.1.19

func (d *TDrawGrid) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TDrawGrid) Showing

func (d *TDrawGrid) Showing() bool

func (*TDrawGrid) TabOrder added in v1.1.19

func (d *TDrawGrid) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TDrawGrid) TabStop added in v1.1.19

func (d *TDrawGrid) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TDrawGrid) Tag added in v1.1.19

func (d *TDrawGrid) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TDrawGrid) ToString added in v1.1.19

func (d *TDrawGrid) ToString() string

ToString

文本类信息。

Text information.

func (*TDrawGrid) Top added in v1.1.19

func (d *TDrawGrid) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TDrawGrid) TopRow added in v1.1.19

func (d *TDrawGrid) TopRow() int32

func (*TDrawGrid) UnsafeAddr added in v1.1.21

func (d *TDrawGrid) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TDrawGrid) Update added in v1.1.19

func (d *TDrawGrid) Update()

Update

控件更新。

Update.

func (*TDrawGrid) UseDockManager added in v1.1.19

func (d *TDrawGrid) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TDrawGrid) Visible added in v1.1.19

func (d *TDrawGrid) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TDrawGrid) VisibleColCount added in v1.1.19

func (d *TDrawGrid) VisibleColCount() int32

func (*TDrawGrid) VisibleDockClientCount added in v1.1.21

func (d *TDrawGrid) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TDrawGrid) VisibleRowCount added in v1.1.19

func (d *TDrawGrid) VisibleRowCount() int32

func (*TDrawGrid) Width added in v1.1.19

func (d *TDrawGrid) Width() int32

Width

获取宽度。

Get width.

type TDrawItemEvent

type TDrawItemEvent func(control IWinControl, index int32, aRect TRect, state TOwnerDrawState)

type TDrawSectionEvent added in v1.1.19

type TDrawSectionEvent func(headerControl *THeaderControl, section *THeaderSection, aRect TRect, pressed bool)

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 added in v1.2.10

func AsEdit(obj interface{}) *TEdit

AsEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewEdit

func NewEdit(owner IComponent) *TEdit

NewEdit

创建一个新的对象。

Create a new object.

func (*TEdit) Action

func (e *TEdit) Action() *TAction

func (*TEdit) Align

func (e *TEdit) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TEdit) Alignment

func (e *TEdit) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TEdit) AnchorSideBottom

func (e *TEdit) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TEdit) AnchorSideLeft

func (e *TEdit) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TEdit) AnchorSideRight

func (e *TEdit) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TEdit) AnchorSideTop

func (e *TEdit) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TEdit) AnchorToNeighbour

func (e *TEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TEdit) AnchorVerticalCenterTo

func (e *TEdit) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TEdit) Anchors

func (e *TEdit) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TEdit) Assign

func (e *TEdit) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSelect

获取自动选择。

func (*TEdit) AutoSize

func (e *TEdit) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TEdit) BiDiMode

func (e *TEdit) BiDiMode() TBiDiMode

func (*TEdit) BorderSpacing

func (e *TEdit) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TEdit) BorderStyle

func (e *TEdit) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TEdit) BoundsRect

func (e *TEdit) BoundsRect() TRect

func (*TEdit) BringToFront

func (e *TEdit) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TEdit) Brush

func (e *TEdit) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TEdit) CanFocus

func (e *TEdit) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TEdit) CanUndo

func (e *TEdit) CanUndo() bool

CanUndo

获取能否撤销。

func (*TEdit) CharCase added in v1.1.19

func (e *TEdit) CharCase() TEditCharCase

func (*TEdit) ChildSizing

func (e *TEdit) ChildSizing() *TControlChildSizing

func (*TEdit) ClassName

func (e *TEdit) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TEdit) ClassType added in v1.1.18

func (e *TEdit) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TEdit) Clear

func (e *TEdit) Clear()

Clear

清除。

func (*TEdit) ClearSelection

func (e *TEdit) ClearSelection()

ClearSelection

清除选择。

func (*TEdit) ClientHeight

func (e *TEdit) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TEdit) ClientOrigin added in v1.1.21

func (e *TEdit) ClientOrigin() TPoint

func (*TEdit) ClientRect

func (e *TEdit) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TEdit) ClientToParent

func (e *TEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TEdit) ClientToScreen

func (e *TEdit) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TEdit) ClientWidth

func (e *TEdit) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TEdit) Color

func (e *TEdit) Color() TColor

Color

获取颜色。

Get color.

func (*TEdit) ComponentCount

func (e *TEdit) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TEdit) ComponentIndex

func (e *TEdit) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TEdit) Components

func (e *TEdit) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TEdit) Constraints added in v1.2.7

func (e *TEdit) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TEdit) ContainsControl added in v1.1.21

func (e *TEdit) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TEdit) ControlAtPos added in v1.1.21

func (e *TEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TEdit) ControlCount

func (e *TEdit) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TEdit) ControlState added in v1.1.21

func (e *TEdit) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TEdit) ControlStyle added in v1.1.21

func (e *TEdit) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TEdit) Controls

func (e *TEdit) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TEdit) CopyToClipboard

func (e *TEdit) CopyToClipboard()

CopyToClipboard

复制到粘贴板。

func (*TEdit) Cursor

func (e *TEdit) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TEdit) CutToClipboard

func (e *TEdit) CutToClipboard()

CutToClipboard

剪切到粘贴板。

func (*TEdit) DisableAlign added in v1.1.21

func (e *TEdit) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TEdit) DockClientCount added in v1.1.21

func (e *TEdit) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TEdit) DockClients added in v1.1.21

func (e *TEdit) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TEdit) DockSite

func (e *TEdit) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TEdit) DoubleBuffered

func (e *TEdit) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TEdit) DragCursor

func (e *TEdit) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TEdit) DragKind

func (e *TEdit) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TEdit) DragMode

func (e *TEdit) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TEdit) Dragging

func (e *TEdit) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TEdit) EnableAlign added in v1.1.21

func (e *TEdit) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TEdit) Enabled

func (e *TEdit) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TEdit) Equals

func (e *TEdit) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TEdit) FindChildControl added in v1.1.21

func (e *TEdit) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TEdit) FindComponent

func (e *TEdit) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TEdit) Font

func (e *TEdit) Font() *TFont

Font

获取字体。

Get Font.

func (*TEdit) Free

func (e *TEdit) Free()

Free

释放对象。

Free object.

func (*TEdit) GetHashCode

func (e *TEdit) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TEdit) GetNamePath

func (e *TEdit) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TEdit) GetTextBuf

func (e *TEdit) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TEdit) GetTextLen

func (e *TEdit) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TEdit) Handle

func (e *TEdit) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TEdit) HandleAllocated

func (e *TEdit) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TEdit) HasParent

func (e *TEdit) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TEdit) Height

func (e *TEdit) Height() int32

Height

获取高度。

Get height.

func (*TEdit) Hide

func (e *TEdit) Hide()

Hide

隐藏控件。

Hidden control.

func (*TEdit) HideSelection

func (e *TEdit) HideSelection() bool

HideSelection

获取隐藏选择。

func (*TEdit) Hint

func (e *TEdit) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TEdit) InheritsFrom added in v1.1.18

func (e *TEdit) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TEdit) InsertControl added in v1.1.21

func (e *TEdit) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TEdit) Instance

func (e *TEdit) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TEdit) InstanceSize added in v1.1.18

func (e *TEdit) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TEdit) Invalidate

func (e *TEdit) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TEdit) Is added in v1.2.10

func (e *TEdit) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TEdit) IsValid

func (e *TEdit) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TEdit) Left

func (e *TEdit) Left() int32

Left

获取左边位置。

Get Left position.

func (*TEdit) MaxLength

func (e *TEdit) MaxLength() int32

MaxLength

获取最大长度。

func (*TEdit) Modified

func (e *TEdit) Modified() bool

Modified

获取修改。

Get modified.

func (*TEdit) MouseInClient added in v1.1.21

func (e *TEdit) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TEdit) Name

func (e *TEdit) Name() string

Name

获取组件名称。

Get the component name.

func (*TEdit) NumbersOnly

func (e *TEdit) NumbersOnly() bool

NumbersOnly

获取只能输入数字。

func (*TEdit) Owner

func (e *TEdit) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TEdit) PaintTo added in v1.1.21

func (e *TEdit) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TEdit) Parent

func (e *TEdit) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TEdit) ParentColor

func (e *TEdit) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TEdit) ParentDoubleBuffered

func (e *TEdit) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TEdit) ParentFont

func (e *TEdit) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TEdit) ParentShowHint

func (e *TEdit) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TEdit) ParentToClient

func (e *TEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TEdit) ParentWindow

func (e *TEdit) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TEdit) PasswordChar

func (e *TEdit) PasswordChar() uint16

PasswordChar

获取密码掩码字符。

func (*TEdit) PasteFromClipboard

func (e *TEdit) PasteFromClipboard()

PasteFromClipboard

从剪切板粘贴。

func (*TEdit) Perform

func (e *TEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TEdit) PopupMenu

func (e *TEdit) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TEdit) ReadOnly

func (e *TEdit) ReadOnly() bool

ReadOnly

获取只读。

func (*TEdit) Realign

func (e *TEdit) Realign()

Realign

重新对齐。

Realign.

func (*TEdit) Refresh

func (e *TEdit) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TEdit) RemoveControl added in v1.1.21

func (e *TEdit) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TEdit) Repaint

func (e *TEdit) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TEdit) ScrollBy added in v1.1.21

func (e *TEdit) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TEdit) SelLength

func (e *TEdit) SelLength() int32

SelLength

获取选择的长度。

func (*TEdit) SelStart

func (e *TEdit) SelStart() int32

SelStart

获取选择的启始位置。

func (*TEdit) SelText

func (e *TEdit) SelText() string

SelText

获取选择的文本。

func (*TEdit) SelectAll

func (e *TEdit) SelectAll()

SelectAll

全选。

func (*TEdit) SendToBack

func (e *TEdit) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TEdit) SetAlignment

func (e *TEdit) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TEdit) SetAnchorSideBottom

func (e *TEdit) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TEdit) SetAnchorSideLeft

func (e *TEdit) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TEdit) SetAnchorSideRight

func (e *TEdit) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TEdit) SetAnchorSideTop

func (e *TEdit) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TEdit) SetAnchors

func (e *TEdit) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TEdit) SetAutoSelect

func (e *TEdit) SetAutoSelect(value bool)

SetAutoSelect

设置自动选择。

func (*TEdit) SetAutoSize

func (e *TEdit) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TEdit) SetBiDiMode

func (e *TEdit) SetBiDiMode(value TBiDiMode)

func (*TEdit) SetBorderSpacing

func (e *TEdit) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TEdit) SetBorderStyle

func (e *TEdit) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TEdit) SetBounds

func (e *TEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TEdit) SetBoundsRect

func (e *TEdit) SetBoundsRect(value TRect)

func (*TEdit) SetCharCase added in v1.1.19

func (e *TEdit) SetCharCase(value TEditCharCase)

func (*TEdit) SetChildSizing

func (e *TEdit) SetChildSizing(value *TControlChildSizing)

func (*TEdit) SetClientHeight

func (e *TEdit) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TEdit) SetClientWidth

func (e *TEdit) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TEdit) SetColor

func (e *TEdit) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TEdit) SetComponentIndex

func (e *TEdit) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TEdit) SetConstraints added in v1.2.7

func (e *TEdit) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TEdit) SetControlState added in v1.1.21

func (e *TEdit) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TEdit) SetControlStyle added in v1.1.21

func (e *TEdit) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TEdit) SetCursor

func (e *TEdit) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TEdit) SetDockSite

func (e *TEdit) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TEdit) SetDoubleBuffered

func (e *TEdit) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TEdit) SetDragCursor

func (e *TEdit) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TEdit) SetDragKind

func (e *TEdit) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TEdit) SetDragMode

func (e *TEdit) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TEdit) SetEnabled

func (e *TEdit) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TEdit) SetFocus

func (e *TEdit) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TEdit) SetFont

func (e *TEdit) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TEdit) SetHeight

func (e *TEdit) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TEdit) SetHideSelection

func (e *TEdit) SetHideSelection(value bool)

SetHideSelection

设置隐藏选择。

func (*TEdit) SetHint

func (e *TEdit) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TEdit) SetLeft

func (e *TEdit) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TEdit) SetMaxLength

func (e *TEdit) SetMaxLength(value int32)

SetMaxLength

设置最大长度。

func (*TEdit) SetModified

func (e *TEdit) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TEdit) SetName

func (e *TEdit) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TEdit) SetNumbersOnly

func (e *TEdit) SetNumbersOnly(value bool)

SetNumbersOnly

设置只能输入数字。

func (*TEdit) SetOnChange

func (e *TEdit) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TEdit) SetOnClick

func (e *TEdit) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TEdit) SetOnContextPopup

func (e *TEdit) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TEdit) SetOnDblClick

func (e *TEdit) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TEdit) SetOnDragDrop

func (e *TEdit) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TEdit) SetOnDragOver

func (e *TEdit) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TEdit) SetOnEndDrag

func (e *TEdit) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TEdit) SetOnEnter

func (e *TEdit) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TEdit) SetOnExit

func (e *TEdit) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TEdit) SetOnKeyDown

func (e *TEdit) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TEdit) SetOnKeyPress

func (e *TEdit) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TEdit) SetOnKeyUp

func (e *TEdit) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TEdit) SetOnMouseDown

func (e *TEdit) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TEdit) SetOnMouseEnter

func (e *TEdit) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TEdit) SetOnMouseLeave

func (e *TEdit) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TEdit) SetOnMouseMove

func (e *TEdit) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TEdit) SetOnMouseUp

func (e *TEdit) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TEdit) SetParent

func (e *TEdit) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TEdit) SetParentColor

func (e *TEdit) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TEdit) SetParentDoubleBuffered

func (e *TEdit) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TEdit) SetParentFont

func (e *TEdit) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TEdit) SetParentShowHint

func (e *TEdit) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TEdit) SetParentWindow

func (e *TEdit) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TEdit) SetPasswordChar

func (e *TEdit) SetPasswordChar(value uint16)

SetPasswordChar

设置密码掩码字符。

func (*TEdit) SetPopupMenu

func (e *TEdit) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TEdit) SetReadOnly

func (e *TEdit) SetReadOnly(value bool)

SetReadOnly

设置只读。

func (*TEdit) SetSelLength

func (e *TEdit) SetSelLength(value int32)

SetSelLength

设置选择的长度。

func (*TEdit) SetSelStart

func (e *TEdit) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TEdit) SetSelText

func (e *TEdit) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TEdit) SetShowHint

func (e *TEdit) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TEdit) SetTabOrder

func (e *TEdit) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TEdit) SetTabStop

func (e *TEdit) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TEdit) SetTag

func (e *TEdit) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TEdit) SetText

func (e *TEdit) SetText(value string)

SetText

设置文本。

func (*TEdit) SetTextBuf added in v1.1.21

func (e *TEdit) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TEdit) SetTextHint

func (e *TEdit) SetTextHint(value string)

SetTextHint

设置提示文本。

func (*TEdit) SetTop

func (e *TEdit) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TEdit) SetUseDockManager

func (e *TEdit) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TEdit) SetVisible

func (e *TEdit) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TEdit) SetWidth

func (e *TEdit) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TEdit) Show

func (e *TEdit) Show()

Show

显示控件。

Show control.

func (*TEdit) ShowHint

func (e *TEdit) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TEdit) Showing

func (e *TEdit) Showing() bool

func (*TEdit) TabOrder

func (e *TEdit) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TEdit) TabStop

func (e *TEdit) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TEdit) Tag

func (e *TEdit) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TEdit) Text

func (e *TEdit) Text() string

Text

获取文本。

func (*TEdit) TextHint

func (e *TEdit) TextHint() string

TextHint

获取提示文本。

func (*TEdit) ToString

func (e *TEdit) ToString() string

ToString

文本类信息。

Text information.

func (*TEdit) Top

func (e *TEdit) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TEdit) Undo

func (e *TEdit) Undo()

Undo

撤销上一次操作。

func (*TEdit) UnsafeAddr added in v1.1.21

func (e *TEdit) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TEdit) Update

func (e *TEdit) Update()

Update

控件更新。

Update.

func (*TEdit) UseDockManager

func (e *TEdit) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TEdit) Visible

func (e *TEdit) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TEdit) VisibleDockClientCount added in v1.1.21

func (e *TEdit) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TEdit) Width

func (e *TEdit) Width() int32

Width

获取宽度。

Get width.

type TEndDragEvent

type TEndDragEvent func(sender, target IObject, x, y int32)

type TExceptionEvent

type TExceptionEvent func(sender IObject, e *Exception)

type TExtEventCallback added in v1.2.5

type TExtEventCallback func(fn interface{}, getVal func(idx int) uintptr) bool

TExtEventCallback

外部回调事件 参数一:函数地址 参数二:获取参数值的函数 返回值:如果为true则终止事件传递,如果为false则继续向后转发事件。

type TFindDialog

type TFindDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsFindDialog added in v1.2.10

func AsFindDialog(obj interface{}) *TFindDialog

AsFindDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewFindDialog

func NewFindDialog(owner IComponent) *TFindDialog

NewFindDialog

创建一个新的对象。

Create a new object.

func (*TFindDialog) Assign

func (f *TFindDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TFindDialog) ClassName

func (f *TFindDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TFindDialog) ClassType added in v1.1.18

func (f *TFindDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TFindDialog) CloseDialog

func (f *TFindDialog) CloseDialog()

func (*TFindDialog) ComponentCount

func (f *TFindDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TFindDialog) ComponentIndex

func (f *TFindDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TFindDialog) Components

func (f *TFindDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TFindDialog) Equals

func (f *TFindDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TFindDialog) Execute

func (f *TFindDialog) Execute() bool

Execute

执行。

func (*TFindDialog) FindComponent

func (f *TFindDialog) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TFindDialog) FindText

func (f *TFindDialog) FindText() string

func (*TFindDialog) Free

func (f *TFindDialog) Free()

Free

释放对象。

Free object.

func (*TFindDialog) GetHashCode

func (f *TFindDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TFindDialog) GetNamePath

func (f *TFindDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TFindDialog) Handle

func (f *TFindDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TFindDialog) HasParent

func (f *TFindDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TFindDialog) InheritsFrom added in v1.1.18

func (f *TFindDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFindDialog) Instance

func (f *TFindDialog) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TFindDialog) InstanceSize added in v1.1.18

func (f *TFindDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TFindDialog) Is added in v1.2.10

func (f *TFindDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFindDialog) IsValid

func (f *TFindDialog) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TFindDialog) Left

func (f *TFindDialog) Left() int32

Left

获取左边位置。

Get Left position.

func (*TFindDialog) Name

func (f *TFindDialog) Name() string

Name

获取组件名称。

Get the component name.

func (*TFindDialog) Options

func (f *TFindDialog) Options() TFindOptions

func (*TFindDialog) Owner

func (f *TFindDialog) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TFindDialog) Position

func (f *TFindDialog) Position() TPoint

func (*TFindDialog) SetComponentIndex

func (f *TFindDialog) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TFindDialog) SetFindText

func (f *TFindDialog) SetFindText(value string)

func (*TFindDialog) SetLeft

func (f *TFindDialog) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TFindDialog) SetName

func (f *TFindDialog) SetName(value string)

SetName

设置组件名称。

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)

SetOnShow

设置显示事件。

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)

SetTag

设置对象标记。

Set the control tag.

func (*TFindDialog) SetTop

func (f *TFindDialog) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TFindDialog) Tag

func (f *TFindDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TFindDialog) ToString

func (f *TFindDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TFindDialog) Top

func (f *TFindDialog) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TFindDialog) UnsafeAddr added in v1.1.21

func (f *TFindDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TFixedCellClickEvent added in v1.1.19

type TFixedCellClickEvent func(sender IObject, aCol, aRow int32)

type TFloatSpinEdit

type TFloatSpinEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsFloatSpinEdit

func AsFloatSpinEdit(obj interface{}) *TFloatSpinEdit

AsFloatSpinEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewFloatSpinEdit

func NewFloatSpinEdit(owner IComponent) *TFloatSpinEdit

NewFloatSpinEdit

创建一个新的对象。

Create a new object.

func (*TFloatSpinEdit) Action

func (f *TFloatSpinEdit) Action() *TAction

func (*TFloatSpinEdit) Align

func (f *TFloatSpinEdit) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TFloatSpinEdit) Alignment

func (f *TFloatSpinEdit) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TFloatSpinEdit) AnchorSideBottom

func (f *TFloatSpinEdit) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TFloatSpinEdit) AnchorSideLeft

func (f *TFloatSpinEdit) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TFloatSpinEdit) AnchorSideRight

func (f *TFloatSpinEdit) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TFloatSpinEdit) AnchorSideTop

func (f *TFloatSpinEdit) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TFloatSpinEdit) AnchorToNeighbour

func (f *TFloatSpinEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFloatSpinEdit) AnchorVerticalCenterTo

func (f *TFloatSpinEdit) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TFloatSpinEdit) Anchors

func (f *TFloatSpinEdit) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TFloatSpinEdit) Assign

func (f *TFloatSpinEdit) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSelect

获取自动选择。

func (*TFloatSpinEdit) AutoSelected

func (f *TFloatSpinEdit) AutoSelected() bool

func (*TFloatSpinEdit) AutoSize

func (f *TFloatSpinEdit) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TFloatSpinEdit) BiDiMode

func (f *TFloatSpinEdit) BiDiMode() TBiDiMode

func (*TFloatSpinEdit) BorderSpacing

func (f *TFloatSpinEdit) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TFloatSpinEdit) BoundsRect

func (f *TFloatSpinEdit) BoundsRect() TRect

func (*TFloatSpinEdit) BringToFront

func (f *TFloatSpinEdit) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TFloatSpinEdit) Brush

func (f *TFloatSpinEdit) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TFloatSpinEdit) CanFocus

func (f *TFloatSpinEdit) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TFloatSpinEdit) CanUndo

func (f *TFloatSpinEdit) CanUndo() bool

CanUndo

获取能否撤销。

func (*TFloatSpinEdit) ChildSizing

func (f *TFloatSpinEdit) ChildSizing() *TControlChildSizing

func (*TFloatSpinEdit) ClassName

func (f *TFloatSpinEdit) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TFloatSpinEdit) ClassType

func (f *TFloatSpinEdit) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TFloatSpinEdit) Clear

func (f *TFloatSpinEdit) Clear()

Clear

清除。

func (*TFloatSpinEdit) ClearSelection

func (f *TFloatSpinEdit) ClearSelection()

ClearSelection

清除选择。

func (*TFloatSpinEdit) ClientHeight

func (f *TFloatSpinEdit) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TFloatSpinEdit) ClientOrigin

func (f *TFloatSpinEdit) ClientOrigin() TPoint

func (*TFloatSpinEdit) ClientRect

func (f *TFloatSpinEdit) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TFloatSpinEdit) ClientToParent

func (f *TFloatSpinEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TFloatSpinEdit) ClientToScreen

func (f *TFloatSpinEdit) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TFloatSpinEdit) ClientWidth

func (f *TFloatSpinEdit) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TFloatSpinEdit) Color

func (f *TFloatSpinEdit) Color() TColor

Color

获取颜色。

Get color.

func (*TFloatSpinEdit) ComponentCount

func (f *TFloatSpinEdit) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TFloatSpinEdit) ComponentIndex

func (f *TFloatSpinEdit) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TFloatSpinEdit) Components

func (f *TFloatSpinEdit) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TFloatSpinEdit) Constraints

func (f *TFloatSpinEdit) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TFloatSpinEdit) ContainsControl

func (f *TFloatSpinEdit) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TFloatSpinEdit) ControlAtPos

func (f *TFloatSpinEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TFloatSpinEdit) ControlCount

func (f *TFloatSpinEdit) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TFloatSpinEdit) ControlState

func (f *TFloatSpinEdit) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TFloatSpinEdit) ControlStyle

func (f *TFloatSpinEdit) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TFloatSpinEdit) Controls

func (f *TFloatSpinEdit) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TFloatSpinEdit) CopyToClipboard

func (f *TFloatSpinEdit) CopyToClipboard()

CopyToClipboard

复制到粘贴板。

func (*TFloatSpinEdit) Cursor

func (f *TFloatSpinEdit) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TFloatSpinEdit) CutToClipboard

func (f *TFloatSpinEdit) CutToClipboard()

CutToClipboard

剪切到粘贴板。

func (*TFloatSpinEdit) DisableAlign

func (f *TFloatSpinEdit) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TFloatSpinEdit) DockClientCount

func (f *TFloatSpinEdit) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TFloatSpinEdit) DockClients

func (f *TFloatSpinEdit) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TFloatSpinEdit) DockSite

func (f *TFloatSpinEdit) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TFloatSpinEdit) DoubleBuffered

func (f *TFloatSpinEdit) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TFloatSpinEdit) Dragging

func (f *TFloatSpinEdit) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TFloatSpinEdit) EnableAlign

func (f *TFloatSpinEdit) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TFloatSpinEdit) Enabled

func (f *TFloatSpinEdit) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TFloatSpinEdit) Equals

func (f *TFloatSpinEdit) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TFloatSpinEdit) FindChildControl

func (f *TFloatSpinEdit) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TFloatSpinEdit) FindComponent

func (f *TFloatSpinEdit) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TFloatSpinEdit) Font

func (f *TFloatSpinEdit) Font() *TFont

Font

获取字体。

Get Font.

func (*TFloatSpinEdit) Free

func (f *TFloatSpinEdit) Free()

Free

释放对象。

Free object.

func (*TFloatSpinEdit) GetHashCode

func (f *TFloatSpinEdit) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TFloatSpinEdit) GetNamePath

func (f *TFloatSpinEdit) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TFloatSpinEdit) GetTextBuf

func (f *TFloatSpinEdit) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TFloatSpinEdit) GetTextLen

func (f *TFloatSpinEdit) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TFloatSpinEdit) Handle

func (f *TFloatSpinEdit) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TFloatSpinEdit) HandleAllocated

func (f *TFloatSpinEdit) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TFloatSpinEdit) HasParent

func (f *TFloatSpinEdit) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TFloatSpinEdit) Height

func (f *TFloatSpinEdit) Height() int32

Height

获取高度。

Get height.

func (*TFloatSpinEdit) Hide

func (f *TFloatSpinEdit) Hide()

Hide

隐藏控件。

Hidden control.

func (*TFloatSpinEdit) Hint

func (f *TFloatSpinEdit) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TFloatSpinEdit) Increment

func (f *TFloatSpinEdit) Increment() float64

func (*TFloatSpinEdit) InheritsFrom

func (f *TFloatSpinEdit) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFloatSpinEdit) InsertControl

func (f *TFloatSpinEdit) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TFloatSpinEdit) Instance

func (f *TFloatSpinEdit) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TFloatSpinEdit) InstanceSize

func (f *TFloatSpinEdit) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TFloatSpinEdit) Invalidate

func (f *TFloatSpinEdit) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TFloatSpinEdit) Is

func (f *TFloatSpinEdit) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFloatSpinEdit) IsValid

func (f *TFloatSpinEdit) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TFloatSpinEdit) Left

func (f *TFloatSpinEdit) Left() int32

Left

获取左边位置。

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

Modified

获取修改。

Get modified.

func (*TFloatSpinEdit) MouseInClient

func (f *TFloatSpinEdit) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TFloatSpinEdit) Name

func (f *TFloatSpinEdit) Name() string

Name

获取组件名称。

Get the component name.

func (*TFloatSpinEdit) Owner

func (f *TFloatSpinEdit) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TFloatSpinEdit) PaintTo

func (f *TFloatSpinEdit) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TFloatSpinEdit) Parent

func (f *TFloatSpinEdit) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TFloatSpinEdit) ParentColor

func (f *TFloatSpinEdit) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TFloatSpinEdit) ParentDoubleBuffered

func (f *TFloatSpinEdit) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TFloatSpinEdit) ParentFont

func (f *TFloatSpinEdit) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TFloatSpinEdit) ParentShowHint

func (f *TFloatSpinEdit) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TFloatSpinEdit) ParentToClient

func (f *TFloatSpinEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TFloatSpinEdit) ParentWindow

func (f *TFloatSpinEdit) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TFloatSpinEdit) PasteFromClipboard

func (f *TFloatSpinEdit) PasteFromClipboard()

PasteFromClipboard

从剪切板粘贴。

func (*TFloatSpinEdit) Perform

func (f *TFloatSpinEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TFloatSpinEdit) PopupMenu

func (f *TFloatSpinEdit) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TFloatSpinEdit) ReadOnly

func (f *TFloatSpinEdit) ReadOnly() bool

ReadOnly

获取只读。

func (*TFloatSpinEdit) Realign

func (f *TFloatSpinEdit) Realign()

Realign

重新对齐。

Realign.

func (*TFloatSpinEdit) Refresh

func (f *TFloatSpinEdit) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TFloatSpinEdit) RemoveControl

func (f *TFloatSpinEdit) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TFloatSpinEdit) Repaint

func (f *TFloatSpinEdit) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TFloatSpinEdit) ScrollBy

func (f *TFloatSpinEdit) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TFloatSpinEdit) SelLength

func (f *TFloatSpinEdit) SelLength() int32

SelLength

获取选择的长度。

func (*TFloatSpinEdit) SelStart

func (f *TFloatSpinEdit) SelStart() int32

SelStart

获取选择的启始位置。

func (*TFloatSpinEdit) SelText

func (f *TFloatSpinEdit) SelText() string

SelText

获取选择的文本。

func (*TFloatSpinEdit) SelectAll

func (f *TFloatSpinEdit) SelectAll()

SelectAll

全选。

func (*TFloatSpinEdit) SendToBack

func (f *TFloatSpinEdit) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TFloatSpinEdit) SetAlignment

func (f *TFloatSpinEdit) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TFloatSpinEdit) SetAnchorSideBottom

func (f *TFloatSpinEdit) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TFloatSpinEdit) SetAnchorSideLeft

func (f *TFloatSpinEdit) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TFloatSpinEdit) SetAnchorSideRight

func (f *TFloatSpinEdit) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TFloatSpinEdit) SetAnchorSideTop

func (f *TFloatSpinEdit) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TFloatSpinEdit) SetAnchors

func (f *TFloatSpinEdit) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TFloatSpinEdit) SetAutoSelect

func (f *TFloatSpinEdit) SetAutoSelect(value bool)

SetAutoSelect

设置自动选择。

func (*TFloatSpinEdit) SetAutoSelected

func (f *TFloatSpinEdit) SetAutoSelected(value bool)

func (*TFloatSpinEdit) SetAutoSize

func (f *TFloatSpinEdit) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TFloatSpinEdit) SetBiDiMode

func (f *TFloatSpinEdit) SetBiDiMode(value TBiDiMode)

func (*TFloatSpinEdit) SetBorderSpacing

func (f *TFloatSpinEdit) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TFloatSpinEdit) SetBounds

func (f *TFloatSpinEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TFloatSpinEdit) SetClientWidth

func (f *TFloatSpinEdit) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TFloatSpinEdit) SetColor

func (f *TFloatSpinEdit) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TFloatSpinEdit) SetComponentIndex

func (f *TFloatSpinEdit) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TFloatSpinEdit) SetConstraints

func (f *TFloatSpinEdit) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TFloatSpinEdit) SetControlState

func (f *TFloatSpinEdit) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TFloatSpinEdit) SetControlStyle

func (f *TFloatSpinEdit) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TFloatSpinEdit) SetCursor

func (f *TFloatSpinEdit) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TFloatSpinEdit) SetDockSite

func (f *TFloatSpinEdit) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TFloatSpinEdit) SetDoubleBuffered

func (f *TFloatSpinEdit) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TFloatSpinEdit) SetEnabled

func (f *TFloatSpinEdit) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TFloatSpinEdit) SetFocus

func (f *TFloatSpinEdit) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TFloatSpinEdit) SetFont

func (f *TFloatSpinEdit) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TFloatSpinEdit) SetHeight

func (f *TFloatSpinEdit) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TFloatSpinEdit) SetHint

func (f *TFloatSpinEdit) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TFloatSpinEdit) SetIncrement

func (f *TFloatSpinEdit) SetIncrement(value float64)

func (*TFloatSpinEdit) SetLeft

func (f *TFloatSpinEdit) SetLeft(value int32)

SetLeft

设置左边位置。

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)

SetModified

设置修改。

Set modified.

func (*TFloatSpinEdit) SetName

func (f *TFloatSpinEdit) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TFloatSpinEdit) SetOnChange

func (f *TFloatSpinEdit) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TFloatSpinEdit) SetOnClick

func (f *TFloatSpinEdit) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TFloatSpinEdit) SetOnEnter

func (f *TFloatSpinEdit) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TFloatSpinEdit) SetOnExit

func (f *TFloatSpinEdit) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TFloatSpinEdit) SetOnKeyDown

func (f *TFloatSpinEdit) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TFloatSpinEdit) SetOnKeyPress

func (f *TFloatSpinEdit) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TFloatSpinEdit) SetOnKeyUp

func (f *TFloatSpinEdit) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TFloatSpinEdit) SetOnMouseDown

func (f *TFloatSpinEdit) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TFloatSpinEdit) SetOnMouseEnter

func (f *TFloatSpinEdit) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TFloatSpinEdit) SetOnMouseLeave

func (f *TFloatSpinEdit) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TFloatSpinEdit) SetOnMouseMove

func (f *TFloatSpinEdit) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TFloatSpinEdit) SetOnMouseUp

func (f *TFloatSpinEdit) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TFloatSpinEdit) SetOnMouseWheel

func (f *TFloatSpinEdit) SetOnMouseWheel(fn TMouseWheelEvent)

SetOnMouseWheel

设置鼠标滚轮事件。

func (*TFloatSpinEdit) SetOnMouseWheelDown

func (f *TFloatSpinEdit) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TFloatSpinEdit) SetOnMouseWheelUp

func (f *TFloatSpinEdit) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TFloatSpinEdit) SetOnResize

func (f *TFloatSpinEdit) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TFloatSpinEdit) SetParent

func (f *TFloatSpinEdit) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TFloatSpinEdit) SetParentColor

func (f *TFloatSpinEdit) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TFloatSpinEdit) SetParentDoubleBuffered

func (f *TFloatSpinEdit) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TFloatSpinEdit) SetParentFont

func (f *TFloatSpinEdit) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TFloatSpinEdit) SetParentShowHint

func (f *TFloatSpinEdit) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TFloatSpinEdit) SetParentWindow

func (f *TFloatSpinEdit) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TFloatSpinEdit) SetPopupMenu

func (f *TFloatSpinEdit) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TFloatSpinEdit) SetReadOnly

func (f *TFloatSpinEdit) SetReadOnly(value bool)

SetReadOnly

设置只读。

func (*TFloatSpinEdit) SetSelLength

func (f *TFloatSpinEdit) SetSelLength(value int32)

SetSelLength

设置选择的长度。

func (*TFloatSpinEdit) SetSelStart

func (f *TFloatSpinEdit) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TFloatSpinEdit) SetSelText

func (f *TFloatSpinEdit) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TFloatSpinEdit) SetShowHint

func (f *TFloatSpinEdit) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TFloatSpinEdit) SetTabOrder

func (f *TFloatSpinEdit) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TFloatSpinEdit) SetTabStop

func (f *TFloatSpinEdit) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TFloatSpinEdit) SetTag

func (f *TFloatSpinEdit) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TFloatSpinEdit) SetText

func (f *TFloatSpinEdit) SetText(value string)

SetText

设置文本。

func (*TFloatSpinEdit) SetTextBuf

func (f *TFloatSpinEdit) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TFloatSpinEdit) SetTextHint

func (f *TFloatSpinEdit) SetTextHint(value string)

SetTextHint

设置提示文本。

func (*TFloatSpinEdit) SetTop

func (f *TFloatSpinEdit) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TFloatSpinEdit) SetUseDockManager

func (f *TFloatSpinEdit) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TFloatSpinEdit) SetValue

func (f *TFloatSpinEdit) SetValue(value float64)

func (*TFloatSpinEdit) SetVisible

func (f *TFloatSpinEdit) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TFloatSpinEdit) SetWidth

func (f *TFloatSpinEdit) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TFloatSpinEdit) Show

func (f *TFloatSpinEdit) Show()

Show

显示控件。

Show control.

func (*TFloatSpinEdit) ShowHint

func (f *TFloatSpinEdit) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TFloatSpinEdit) Showing

func (f *TFloatSpinEdit) Showing() bool

func (*TFloatSpinEdit) TabOrder

func (f *TFloatSpinEdit) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TFloatSpinEdit) TabStop

func (f *TFloatSpinEdit) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TFloatSpinEdit) Tag

func (f *TFloatSpinEdit) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TFloatSpinEdit) Text

func (f *TFloatSpinEdit) Text() string

Text

获取文本。

func (*TFloatSpinEdit) TextHint

func (f *TFloatSpinEdit) TextHint() string

TextHint

获取提示文本。

func (*TFloatSpinEdit) ToString

func (f *TFloatSpinEdit) ToString() string

ToString

文本类信息。

Text information.

func (*TFloatSpinEdit) Top

func (f *TFloatSpinEdit) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TFloatSpinEdit) Undo

func (f *TFloatSpinEdit) Undo()

Undo

撤销上一次操作。

func (*TFloatSpinEdit) UnsafeAddr

func (f *TFloatSpinEdit) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TFloatSpinEdit) Update

func (f *TFloatSpinEdit) Update()

Update

控件更新。

Update.

func (*TFloatSpinEdit) UseDockManager

func (f *TFloatSpinEdit) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TFloatSpinEdit) Value

func (f *TFloatSpinEdit) Value() float64

func (*TFloatSpinEdit) Visible

func (f *TFloatSpinEdit) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TFloatSpinEdit) VisibleDockClientCount

func (f *TFloatSpinEdit) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TFloatSpinEdit) Width

func (f *TFloatSpinEdit) Width() int32

Width

获取宽度。

Get width.

type TFlowPanel added in v1.1.19

type TFlowPanel struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsFlowPanel added in v1.2.10

func AsFlowPanel(obj interface{}) *TFlowPanel

AsFlowPanel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewFlowPanel added in v1.1.19

func NewFlowPanel(owner IComponent) *TFlowPanel

NewFlowPanel

创建一个新的对象。

Create a new object.

func (*TFlowPanel) Action added in v1.1.19

func (f *TFlowPanel) Action() *TAction

func (*TFlowPanel) Align added in v1.1.19

func (f *TFlowPanel) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TFlowPanel) Alignment added in v1.1.19

func (f *TFlowPanel) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TFlowPanel) AnchorSideBottom

func (f *TFlowPanel) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TFlowPanel) AnchorSideLeft

func (f *TFlowPanel) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TFlowPanel) AnchorSideRight

func (f *TFlowPanel) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TFlowPanel) AnchorSideTop

func (f *TFlowPanel) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TFlowPanel) AnchorToNeighbour

func (f *TFlowPanel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFlowPanel) AnchorVerticalCenterTo

func (f *TFlowPanel) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TFlowPanel) Anchors added in v1.1.19

func (f *TFlowPanel) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TFlowPanel) Assign added in v1.1.19

func (f *TFlowPanel) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.1.19

func (f *TFlowPanel) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TFlowPanel) AutoWrap added in v1.1.19

func (f *TFlowPanel) AutoWrap() bool

func (*TFlowPanel) BiDiMode added in v1.1.19

func (f *TFlowPanel) BiDiMode() TBiDiMode

func (*TFlowPanel) BorderSpacing

func (f *TFlowPanel) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TFlowPanel) BorderStyle added in v1.1.19

func (f *TFlowPanel) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TFlowPanel) BorderWidth added in v1.1.19

func (f *TFlowPanel) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TFlowPanel) BoundsRect added in v1.1.19

func (f *TFlowPanel) BoundsRect() TRect

func (*TFlowPanel) BringToFront added in v1.1.19

func (f *TFlowPanel) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TFlowPanel) Brush added in v1.1.19

func (f *TFlowPanel) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TFlowPanel) CanFocus added in v1.1.19

func (f *TFlowPanel) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TFlowPanel) Caption added in v1.1.19

func (f *TFlowPanel) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TFlowPanel) ChildSizing

func (f *TFlowPanel) ChildSizing() *TControlChildSizing

func (*TFlowPanel) ClassName added in v1.1.19

func (f *TFlowPanel) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TFlowPanel) ClassType added in v1.1.19

func (f *TFlowPanel) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TFlowPanel) ClientHeight added in v1.1.19

func (f *TFlowPanel) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TFlowPanel) ClientOrigin added in v1.1.21

func (f *TFlowPanel) ClientOrigin() TPoint

func (*TFlowPanel) ClientRect added in v1.1.19

func (f *TFlowPanel) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TFlowPanel) ClientToParent added in v1.1.19

func (f *TFlowPanel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TFlowPanel) ClientToScreen added in v1.1.19

func (f *TFlowPanel) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TFlowPanel) ClientWidth added in v1.1.19

func (f *TFlowPanel) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TFlowPanel) Color added in v1.1.19

func (f *TFlowPanel) Color() TColor

Color

获取颜色。

Get color.

func (*TFlowPanel) ComponentCount added in v1.1.19

func (f *TFlowPanel) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TFlowPanel) ComponentIndex added in v1.1.19

func (f *TFlowPanel) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TFlowPanel) Components added in v1.1.19

func (f *TFlowPanel) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TFlowPanel) Constraints added in v1.2.7

func (f *TFlowPanel) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TFlowPanel) ContainsControl added in v1.1.21

func (f *TFlowPanel) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TFlowPanel) ControlAtPos added in v1.1.21

func (f *TFlowPanel) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TFlowPanel) ControlCount added in v1.1.19

func (f *TFlowPanel) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TFlowPanel) ControlList

func (f *TFlowPanel) ControlList() *TFlowPanelControlList

func (*TFlowPanel) ControlState added in v1.1.21

func (f *TFlowPanel) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TFlowPanel) ControlStyle added in v1.1.21

func (f *TFlowPanel) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TFlowPanel) Controls added in v1.1.19

func (f *TFlowPanel) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TFlowPanel) Cursor added in v1.1.19

func (f *TFlowPanel) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TFlowPanel) DisableAlign added in v1.1.21

func (f *TFlowPanel) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TFlowPanel) DockClientCount added in v1.1.21

func (f *TFlowPanel) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TFlowPanel) DockClients added in v1.1.21

func (f *TFlowPanel) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TFlowPanel) DockSite added in v1.1.19

func (f *TFlowPanel) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TFlowPanel) DoubleBuffered added in v1.1.19

func (f *TFlowPanel) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TFlowPanel) DragCursor added in v1.1.19

func (f *TFlowPanel) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TFlowPanel) DragKind added in v1.1.19

func (f *TFlowPanel) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TFlowPanel) DragMode added in v1.1.19

func (f *TFlowPanel) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TFlowPanel) Dragging added in v1.1.19

func (f *TFlowPanel) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TFlowPanel) EnableAlign added in v1.1.21

func (f *TFlowPanel) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TFlowPanel) Enabled added in v1.1.19

func (f *TFlowPanel) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TFlowPanel) Equals added in v1.1.19

func (f *TFlowPanel) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TFlowPanel) FindChildControl added in v1.1.21

func (f *TFlowPanel) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TFlowPanel) FindComponent added in v1.1.19

func (f *TFlowPanel) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TFlowPanel) FixDesignFontsPPI

func (f *TFlowPanel) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TFlowPanel) FlipChildren added in v1.1.19

func (f *TFlowPanel) FlipChildren(AllLevels bool)

func (*TFlowPanel) Floating added in v1.1.19

func (f *TFlowPanel) Floating() bool

func (*TFlowPanel) FlowStyle added in v1.1.19

func (f *TFlowPanel) FlowStyle() TFlowStyle

func (*TFlowPanel) Focused added in v1.1.19

func (f *TFlowPanel) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*TFlowPanel) Font added in v1.1.19

func (f *TFlowPanel) Font() *TFont

Font

获取字体。

Get Font.

func (*TFlowPanel) Free added in v1.1.19

func (f *TFlowPanel) Free()

Free

释放对象。

Free object.

func (*TFlowPanel) FullRepaint added in v1.1.19

func (f *TFlowPanel) FullRepaint() bool

func (*TFlowPanel) GetControlIndex added in v1.1.19

func (f *TFlowPanel) GetControlIndex(AControl IControl) int32

func (*TFlowPanel) GetHashCode added in v1.1.19

func (f *TFlowPanel) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TFlowPanel) GetNamePath added in v1.1.19

func (f *TFlowPanel) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TFlowPanel) GetTextBuf added in v1.1.19

func (f *TFlowPanel) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TFlowPanel) GetTextLen added in v1.1.19

func (f *TFlowPanel) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TFlowPanel) Handle added in v1.1.19

func (f *TFlowPanel) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TFlowPanel) HandleAllocated added in v1.1.19

func (f *TFlowPanel) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TFlowPanel) HasParent added in v1.1.19

func (f *TFlowPanel) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TFlowPanel) Height added in v1.1.19

func (f *TFlowPanel) Height() int32

Height

获取高度。

Get height.

func (*TFlowPanel) Hide added in v1.1.19

func (f *TFlowPanel) Hide()

Hide

隐藏控件。

Hidden control.

func (*TFlowPanel) Hint added in v1.1.19

func (f *TFlowPanel) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TFlowPanel) InheritsFrom added in v1.1.19

func (f *TFlowPanel) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFlowPanel) InsertControl added in v1.1.21

func (f *TFlowPanel) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TFlowPanel) Instance added in v1.1.19

func (f *TFlowPanel) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TFlowPanel) InstanceSize added in v1.1.19

func (f *TFlowPanel) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TFlowPanel) Invalidate added in v1.1.19

func (f *TFlowPanel) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TFlowPanel) Is added in v1.2.10

func (f *TFlowPanel) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFlowPanel) IsValid added in v1.1.19

func (f *TFlowPanel) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TFlowPanel) Left added in v1.1.19

func (f *TFlowPanel) Left() int32

Left

获取左边位置。

Get Left position.

func (*TFlowPanel) MouseInClient added in v1.1.21

func (f *TFlowPanel) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TFlowPanel) Name added in v1.1.19

func (f *TFlowPanel) Name() string

Name

获取组件名称。

Get the component name.

func (*TFlowPanel) Owner added in v1.1.19

func (f *TFlowPanel) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TFlowPanel) PaintTo added in v1.1.21

func (f *TFlowPanel) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TFlowPanel) Parent added in v1.1.19

func (f *TFlowPanel) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TFlowPanel) ParentBackground added in v1.1.19

func (f *TFlowPanel) ParentBackground() bool

func (*TFlowPanel) ParentColor added in v1.1.19

func (f *TFlowPanel) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TFlowPanel) ParentDoubleBuffered added in v1.1.19

func (f *TFlowPanel) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TFlowPanel) ParentFont added in v1.1.19

func (f *TFlowPanel) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TFlowPanel) ParentShowHint added in v1.1.19

func (f *TFlowPanel) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TFlowPanel) ParentToClient added in v1.1.19

func (f *TFlowPanel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TFlowPanel) ParentWindow added in v1.1.19

func (f *TFlowPanel) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TFlowPanel) Perform added in v1.1.19

func (f *TFlowPanel) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TFlowPanel) PopupMenu added in v1.1.19

func (f *TFlowPanel) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TFlowPanel) Realign added in v1.1.19

func (f *TFlowPanel) Realign()

Realign

重新对齐。

Realign.

func (*TFlowPanel) Refresh added in v1.1.19

func (f *TFlowPanel) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TFlowPanel) RemoveControl added in v1.1.21

func (f *TFlowPanel) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TFlowPanel) Repaint added in v1.1.19

func (f *TFlowPanel) Repaint()

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 added in v1.1.19

func (f *TFlowPanel) ScaleBy(M int32, D int32)

ScaleBy

按比例缩放。

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 added in v1.1.19

func (f *TFlowPanel) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TFlowPanel) ScrollBy added in v1.1.21

func (f *TFlowPanel) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TFlowPanel) SendToBack added in v1.1.19

func (f *TFlowPanel) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TFlowPanel) SetAction added in v1.1.19

func (f *TFlowPanel) SetAction(value IComponent)

func (*TFlowPanel) SetAlign added in v1.1.19

func (f *TFlowPanel) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TFlowPanel) SetAlignment added in v1.1.19

func (f *TFlowPanel) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TFlowPanel) SetAnchorSideBottom

func (f *TFlowPanel) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TFlowPanel) SetAnchorSideLeft

func (f *TFlowPanel) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TFlowPanel) SetAnchorSideRight

func (f *TFlowPanel) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TFlowPanel) SetAnchorSideTop

func (f *TFlowPanel) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TFlowPanel) SetAnchors added in v1.1.19

func (f *TFlowPanel) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TFlowPanel) SetAutoSize added in v1.1.19

func (f *TFlowPanel) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TFlowPanel) SetAutoWrap added in v1.1.19

func (f *TFlowPanel) SetAutoWrap(value bool)

func (*TFlowPanel) SetBiDiMode added in v1.1.19

func (f *TFlowPanel) SetBiDiMode(value TBiDiMode)

func (*TFlowPanel) SetBorderSpacing

func (f *TFlowPanel) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TFlowPanel) SetBorderStyle added in v1.1.19

func (f *TFlowPanel) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TFlowPanel) SetBorderWidth added in v1.1.19

func (f *TFlowPanel) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TFlowPanel) SetBounds added in v1.1.19

func (f *TFlowPanel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TFlowPanel) SetBoundsRect added in v1.1.19

func (f *TFlowPanel) SetBoundsRect(value TRect)

func (*TFlowPanel) SetCaption added in v1.1.19

func (f *TFlowPanel) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TFlowPanel) SetChildSizing

func (f *TFlowPanel) SetChildSizing(value *TControlChildSizing)

func (*TFlowPanel) SetClientHeight added in v1.1.19

func (f *TFlowPanel) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TFlowPanel) SetClientWidth added in v1.1.19

func (f *TFlowPanel) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TFlowPanel) SetColor added in v1.1.19

func (f *TFlowPanel) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TFlowPanel) SetComponentIndex added in v1.1.19

func (f *TFlowPanel) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TFlowPanel) SetConstraints added in v1.2.7

func (f *TFlowPanel) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TFlowPanel) SetControlIndex added in v1.1.19

func (f *TFlowPanel) SetControlIndex(AControl IControl, Index int32)

func (*TFlowPanel) SetControlList

func (f *TFlowPanel) SetControlList(value *TFlowPanelControlList)

func (*TFlowPanel) SetControlState added in v1.1.21

func (f *TFlowPanel) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TFlowPanel) SetControlStyle added in v1.1.21

func (f *TFlowPanel) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TFlowPanel) SetCursor added in v1.1.19

func (f *TFlowPanel) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TFlowPanel) SetDockSite added in v1.1.19

func (f *TFlowPanel) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TFlowPanel) SetDoubleBuffered added in v1.1.19

func (f *TFlowPanel) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TFlowPanel) SetDragCursor added in v1.1.19

func (f *TFlowPanel) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TFlowPanel) SetDragKind added in v1.1.19

func (f *TFlowPanel) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TFlowPanel) SetDragMode added in v1.1.19

func (f *TFlowPanel) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TFlowPanel) SetEnabled added in v1.1.19

func (f *TFlowPanel) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TFlowPanel) SetFlowStyle added in v1.1.19

func (f *TFlowPanel) SetFlowStyle(value TFlowStyle)

func (*TFlowPanel) SetFocus added in v1.1.19

func (f *TFlowPanel) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TFlowPanel) SetFont added in v1.1.19

func (f *TFlowPanel) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TFlowPanel) SetFullRepaint added in v1.1.19

func (f *TFlowPanel) SetFullRepaint(value bool)

func (*TFlowPanel) SetHeight added in v1.1.19

func (f *TFlowPanel) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TFlowPanel) SetHint added in v1.1.19

func (f *TFlowPanel) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TFlowPanel) SetLeft added in v1.1.19

func (f *TFlowPanel) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TFlowPanel) SetName added in v1.1.19

func (f *TFlowPanel) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TFlowPanel) SetOnAlignPosition added in v1.2.10

func (f *TFlowPanel) SetOnAlignPosition(fn TAlignPositionEvent)

SetOnAlignPosition

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TFlowPanel) SetOnClick added in v1.1.19

func (f *TFlowPanel) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TFlowPanel) SetOnConstrainedResize

func (f *TFlowPanel) SetOnConstrainedResize(fn TConstrainedResizeEvent)

func (*TFlowPanel) SetOnContextPopup added in v1.1.19

func (f *TFlowPanel) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TFlowPanel) SetOnDblClick added in v1.1.19

func (f *TFlowPanel) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TFlowPanel) SetOnDockDrop added in v1.1.19

func (f *TFlowPanel) SetOnDockDrop(fn TDockDropEvent)

func (*TFlowPanel) SetOnDragDrop added in v1.1.19

func (f *TFlowPanel) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TFlowPanel) SetOnDragOver added in v1.1.19

func (f *TFlowPanel) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TFlowPanel) SetOnEndDock added in v1.1.19

func (f *TFlowPanel) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TFlowPanel) SetOnEndDrag added in v1.1.19

func (f *TFlowPanel) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TFlowPanel) SetOnEnter added in v1.1.19

func (f *TFlowPanel) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TFlowPanel) SetOnExit added in v1.1.19

func (f *TFlowPanel) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TFlowPanel) SetOnGetSiteInfo added in v1.1.19

func (f *TFlowPanel) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TFlowPanel) SetOnMouseDown added in v1.1.19

func (f *TFlowPanel) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TFlowPanel) SetOnMouseEnter added in v1.1.19

func (f *TFlowPanel) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TFlowPanel) SetOnMouseLeave added in v1.1.19

func (f *TFlowPanel) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TFlowPanel) SetOnMouseMove added in v1.1.19

func (f *TFlowPanel) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TFlowPanel) SetOnMouseUp added in v1.1.19

func (f *TFlowPanel) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TFlowPanel) SetOnResize added in v1.1.19

func (f *TFlowPanel) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TFlowPanel) SetOnStartDock added in v1.1.19

func (f *TFlowPanel) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TFlowPanel) SetOnUnDock added in v1.1.19

func (f *TFlowPanel) SetOnUnDock(fn TUnDockEvent)

func (*TFlowPanel) SetParent added in v1.1.19

func (f *TFlowPanel) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TFlowPanel) SetParentBackground added in v1.1.19

func (f *TFlowPanel) SetParentBackground(value bool)

func (*TFlowPanel) SetParentColor added in v1.1.19

func (f *TFlowPanel) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TFlowPanel) SetParentDoubleBuffered added in v1.1.19

func (f *TFlowPanel) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TFlowPanel) SetParentFont added in v1.1.19

func (f *TFlowPanel) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TFlowPanel) SetParentShowHint added in v1.1.19

func (f *TFlowPanel) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TFlowPanel) SetParentWindow added in v1.1.19

func (f *TFlowPanel) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TFlowPanel) SetPopupMenu added in v1.1.19

func (f *TFlowPanel) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TFlowPanel) SetShowHint added in v1.1.19

func (f *TFlowPanel) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TFlowPanel) SetTabOrder added in v1.1.19

func (f *TFlowPanel) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TFlowPanel) SetTabStop added in v1.1.19

func (f *TFlowPanel) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TFlowPanel) SetTag added in v1.1.19

func (f *TFlowPanel) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TFlowPanel) SetTextBuf added in v1.1.21

func (f *TFlowPanel) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TFlowPanel) SetTop added in v1.1.19

func (f *TFlowPanel) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TFlowPanel) SetUseDockManager added in v1.1.19

func (f *TFlowPanel) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TFlowPanel) SetVisible added in v1.1.19

func (f *TFlowPanel) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TFlowPanel) SetWidth added in v1.1.19

func (f *TFlowPanel) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TFlowPanel) Show added in v1.1.19

func (f *TFlowPanel) Show()

Show

显示控件。

Show control.

func (*TFlowPanel) ShowHint added in v1.1.19

func (f *TFlowPanel) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TFlowPanel) Showing

func (f *TFlowPanel) Showing() bool

func (*TFlowPanel) TabOrder added in v1.1.19

func (f *TFlowPanel) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TFlowPanel) TabStop added in v1.1.19

func (f *TFlowPanel) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TFlowPanel) Tag added in v1.1.19

func (f *TFlowPanel) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TFlowPanel) ToString added in v1.1.19

func (f *TFlowPanel) ToString() string

ToString

文本类信息。

Text information.

func (*TFlowPanel) Top added in v1.1.19

func (f *TFlowPanel) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TFlowPanel) UnsafeAddr added in v1.1.21

func (f *TFlowPanel) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TFlowPanel) Update added in v1.1.19

func (f *TFlowPanel) Update()

Update

控件更新。

Update.

func (*TFlowPanel) UseDockManager added in v1.1.19

func (f *TFlowPanel) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TFlowPanel) Visible added in v1.1.19

func (f *TFlowPanel) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TFlowPanel) VisibleDockClientCount added in v1.1.21

func (f *TFlowPanel) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TFlowPanel) Width added in v1.1.19

func (f *TFlowPanel) Width() int32

Width

获取宽度。

Get width.

type TFlowPanelControl

type TFlowPanelControl struct {
	IObject
	// contains filtered or unexported fields
}

func AsFlowPanelControl

func AsFlowPanelControl(obj interface{}) *TFlowPanelControl

AsFlowPanelControl

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TFlowPanelControl) AllowAdd

func (f *TFlowPanelControl) AllowAdd() bool

func (*TFlowPanelControl) AllowDelete

func (f *TFlowPanelControl) AllowDelete() bool

func (*TFlowPanelControl) Assign

func (f *TFlowPanelControl) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TFlowPanelControl) ClassName

func (f *TFlowPanelControl) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TFlowPanelControl) ClassType

func (f *TFlowPanelControl) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TFlowPanelControl) Collection

func (f *TFlowPanelControl) Collection() *TCollection

func (*TFlowPanelControl) Control

func (f *TFlowPanelControl) Control() *TControl

func (*TFlowPanelControl) DisplayName

func (f *TFlowPanelControl) DisplayName() string

func (*TFlowPanelControl) Equals

func (f *TFlowPanelControl) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TFlowPanelControl) GetHashCode

func (f *TFlowPanelControl) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TFlowPanelControl) GetNamePath

func (f *TFlowPanelControl) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TFlowPanelControl) Index

func (f *TFlowPanelControl) Index() int32

func (*TFlowPanelControl) InheritsFrom

func (f *TFlowPanelControl) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFlowPanelControl) Instance

func (f *TFlowPanelControl) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TFlowPanelControl) InstanceSize

func (f *TFlowPanelControl) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TFlowPanelControl) Is

func (f *TFlowPanelControl) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFlowPanelControl) IsValid

func (f *TFlowPanelControl) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TFlowPanelControl) SetCollection

func (f *TFlowPanelControl) SetCollection(value *TCollection)

func (*TFlowPanelControl) SetControl

func (f *TFlowPanelControl) SetControl(value IControl)

func (*TFlowPanelControl) SetDisplayName

func (f *TFlowPanelControl) SetDisplayName(value string)

func (*TFlowPanelControl) SetIndex

func (f *TFlowPanelControl) SetIndex(value int32)

func (*TFlowPanelControl) SetWrapAfter

func (f *TFlowPanelControl) SetWrapAfter(value TWrapAfter)

func (*TFlowPanelControl) ToString

func (f *TFlowPanelControl) ToString() string

ToString

文本类信息。

Text information.

func (*TFlowPanelControl) UnsafeAddr

func (f *TFlowPanelControl) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TFlowPanelControl) WrapAfter

func (f *TFlowPanelControl) WrapAfter() TWrapAfter

type TFlowPanelControlList

type TFlowPanelControlList struct {
	IObject
	// contains filtered or unexported fields
}

func AsFlowPanelControlList

func AsFlowPanelControlList(obj interface{}) *TFlowPanelControlList

AsFlowPanelControlList

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TFlowPanelControlList) Add

func (*TFlowPanelControlList) AllowAdd

func (f *TFlowPanelControlList) AllowAdd() bool

func (*TFlowPanelControlList) AllowDelete

func (f *TFlowPanelControlList) AllowDelete() bool

func (*TFlowPanelControlList) Assign

func (f *TFlowPanelControlList) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TFlowPanelControlList) BeginUpdate

func (f *TFlowPanelControlList) BeginUpdate()

func (*TFlowPanelControlList) ClassName

func (f *TFlowPanelControlList) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TFlowPanelControlList) ClassType

func (f *TFlowPanelControlList) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TFlowPanelControlList) Clear

func (f *TFlowPanelControlList) Clear()

Clear

清除。

func (*TFlowPanelControlList) Count

func (f *TFlowPanelControlList) Count() int32

func (*TFlowPanelControlList) Delete

func (f *TFlowPanelControlList) Delete(Index int32)

func (*TFlowPanelControlList) EndUpdate

func (f *TFlowPanelControlList) EndUpdate()

func (*TFlowPanelControlList) Equals

func (f *TFlowPanelControlList) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TFlowPanelControlList) Exchange

func (f *TFlowPanelControlList) Exchange(Index1 int32, index2 int32)

func (*TFlowPanelControlList) FindItemID

func (f *TFlowPanelControlList) FindItemID(ID int32) *TCollectionItem

func (*TFlowPanelControlList) GetHashCode

func (f *TFlowPanelControlList) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TFlowPanelControlList) GetNamePath

func (f *TFlowPanelControlList) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TFlowPanelControlList) IndexOf

func (f *TFlowPanelControlList) IndexOf(AControl IControl) int32

func (*TFlowPanelControlList) InheritsFrom

func (f *TFlowPanelControlList) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFlowPanelControlList) Insert

func (f *TFlowPanelControlList) Insert(Index int32) *TCollectionItem

func (*TFlowPanelControlList) Instance

func (f *TFlowPanelControlList) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TFlowPanelControlList) InstanceSize

func (f *TFlowPanelControlList) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TFlowPanelControlList) Is

func (f *TFlowPanelControlList) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFlowPanelControlList) IsValid

func (f *TFlowPanelControlList) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TFlowPanelControlList) Items

func (*TFlowPanelControlList) Move

func (f *TFlowPanelControlList) Move(Index1 int32, index2 int32)

func (*TFlowPanelControlList) Owner

func (f *TFlowPanelControlList) Owner() *TObject

Owner

组件所有者。

component owner.

func (*TFlowPanelControlList) SetItems

func (f *TFlowPanelControlList) SetItems(Index int32, value *TFlowPanelControl)

func (*TFlowPanelControlList) ToString

func (f *TFlowPanelControlList) ToString() string

ToString

文本类信息。

Text information.

func (*TFlowPanelControlList) UnsafeAddr

func (f *TFlowPanelControlList) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TFont

type TFont struct {
	IObject
	// contains filtered or unexported fields
}

func AsFont added in v1.2.10

func AsFont(obj interface{}) *TFont

AsFont

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewFont

func NewFont() *TFont

NewFont

创建一个新的对象。

Create a new object.

func (*TFont) Assign

func (f *TFont) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TFont) ClassType added in v1.1.18

func (f *TFont) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TFont) Color

func (f *TFont) Color() TColor

Color

获取颜色。

Get color.

func (*TFont) Equals

func (f *TFont) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TFont) Free

func (f *TFont) Free()

Free

释放对象。

Free object.

func (*TFont) GetHashCode

func (f *TFont) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TFont) GetNamePath

func (f *TFont) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TFont) Handle

func (f *TFont) Handle() HFONT

Handle

获取控件句柄。

Get Control handle.

func (*TFont) HandleAllocated

func (f *TFont) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TFont) Height

func (f *TFont) Height() int32

Height

获取高度。

Get height.

func (*TFont) InheritsFrom added in v1.1.18

func (f *TFont) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFont) Instance

func (f *TFont) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TFont) InstanceSize added in v1.1.18

func (f *TFont) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TFont) Is added in v1.2.10

func (f *TFont) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFont) IsValid

func (f *TFont) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TFont) Name

func (f *TFont) Name() string

Name

获取组件名称。

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)

SetColor

设置颜色。

Set color.

func (*TFont) SetHandle

func (f *TFont) SetHandle(value HFONT)

SetHandle

设置控件句柄。

Set Control handle.

func (*TFont) SetHeight

func (f *TFont) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TFont) SetName

func (f *TFont) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TFont) SetOnChange

func (f *TFont) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

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

ToString

文本类信息。

Text information.

func (*TFont) UnsafeAddr added in v1.1.21

func (f *TFont) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TFontDialog

type TFontDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsFontDialog added in v1.2.10

func AsFontDialog(obj interface{}) *TFontDialog

AsFontDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewFontDialog

func NewFontDialog(owner IComponent) *TFontDialog

NewFontDialog

创建一个新的对象。

Create a new object.

func (*TFontDialog) Assign

func (f *TFontDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TFontDialog) ClassName

func (f *TFontDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TFontDialog) ClassType added in v1.1.18

func (f *TFontDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TFontDialog) ComponentCount

func (f *TFontDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TFontDialog) ComponentIndex

func (f *TFontDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TFontDialog) Components

func (f *TFontDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TFontDialog) Equals

func (f *TFontDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TFontDialog) Execute

func (f *TFontDialog) Execute() bool

Execute

执行。

func (*TFontDialog) FindComponent

func (f *TFontDialog) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TFontDialog) Font

func (f *TFontDialog) Font() *TFont

Font

获取字体。

Get Font.

func (*TFontDialog) Free

func (f *TFontDialog) Free()

Free

释放对象。

Free object.

func (*TFontDialog) GetHashCode

func (f *TFontDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TFontDialog) GetNamePath

func (f *TFontDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TFontDialog) Handle

func (f *TFontDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TFontDialog) HasParent

func (f *TFontDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TFontDialog) InheritsFrom added in v1.1.18

func (f *TFontDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFontDialog) Instance

func (f *TFontDialog) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TFontDialog) InstanceSize added in v1.1.18

func (f *TFontDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TFontDialog) Is added in v1.2.10

func (f *TFontDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFontDialog) IsValid

func (f *TFontDialog) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TFontDialog) Name

func (f *TFontDialog) Name() string

Name

获取组件名称。

Get the component name.

func (*TFontDialog) Options

func (f *TFontDialog) Options() TFontDialogOptions

func (*TFontDialog) Owner

func (f *TFontDialog) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TFontDialog) SetComponentIndex

func (f *TFontDialog) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TFontDialog) SetFont

func (f *TFontDialog) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TFontDialog) SetName

func (f *TFontDialog) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TFontDialog) SetOnClose

func (f *TFontDialog) SetOnClose(fn TNotifyEvent)

func (*TFontDialog) SetOnShow

func (f *TFontDialog) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

func (*TFontDialog) SetOptions

func (f *TFontDialog) SetOptions(value TFontDialogOptions)

func (*TFontDialog) SetTag

func (f *TFontDialog) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TFontDialog) Tag

func (f *TFontDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TFontDialog) ToString

func (f *TFontDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TFontDialog) UnsafeAddr added in v1.1.21

func (f *TFontDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TForm

type TForm struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsForm added in v1.2.10

func AsForm(obj interface{}) *TForm

AsForm

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewForm

func NewForm(owner IComponent) *TForm

NewForm

创建一个新的对象。

Create a new object.

func (*TForm) Action

func (f *TForm) Action() *TAction

func (*TForm) Active

func (f *TForm) Active() bool

func (*TForm) ActiveControl

func (f *TForm) ActiveControl() *TWinControl

ActiveControl

获取当前动控件。

func (*TForm) Align

func (f *TForm) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TForm) AllowDropFiles

func (f *TForm) AllowDropFiles() bool

AllowDropFiles

获取允许拖放文件。

func (*TForm) AlphaBlend

func (f *TForm) AlphaBlend() bool

AlphaBlend

获取半透明。

func (*TForm) AlphaBlendValue

func (f *TForm) AlphaBlendValue() uint8

AlphaBlendValue

获取半透明值-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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TForm) AnchorSideBottom

func (f *TForm) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TForm) AnchorSideLeft

func (f *TForm) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TForm) AnchorSideRight

func (f *TForm) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TForm) AnchorSideTop

func (f *TForm) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TForm) AnchorToNeighbour

func (f *TForm) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TForm) AnchorVerticalCenterTo

func (f *TForm) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TForm) Anchors

func (f *TForm) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TForm) Assign

func (f *TForm) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.2.7

func (f *TForm) AutoScroll() bool

func (*TForm) AutoSize

func (f *TForm) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TForm) BiDiMode

func (f *TForm) BiDiMode() TBiDiMode

func (*TForm) BorderIcons

func (f *TForm) BorderIcons() TBorderIcons

BorderIcons

获取窗口标题栏图标设置。比如:关闭,最大化,最小化等。

func (*TForm) BorderSpacing

func (f *TForm) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TForm) BorderStyle

func (f *TForm) BorderStyle() TFormBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TForm) BorderWidth

func (f *TForm) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TForm) BoundsRect

func (f *TForm) BoundsRect() TRect

func (*TForm) BringToFront

func (f *TForm) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TForm) Brush

func (f *TForm) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TForm) CanFocus

func (f *TForm) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TForm) Canvas

func (f *TForm) Canvas() *TCanvas

Canvas

获取画布。

func (*TForm) Caption

func (f *TForm) Caption() string

Caption

获取控件标题。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TForm) ClassType added in v1.1.18

func (f *TForm) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TForm) ClientHeight

func (f *TForm) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TForm) ClientOrigin added in v1.1.21

func (f *TForm) ClientOrigin() TPoint

func (*TForm) ClientRect

func (f *TForm) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TForm) ClientToParent

func (f *TForm) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TForm) ClientToScreen

func (f *TForm) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TForm) ClientWidth

func (f *TForm) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TForm) Close

func (f *TForm) Close()

Close

关闭。

func (*TForm) Color

func (f *TForm) Color() TColor

Color

获取颜色。

Get color.

func (*TForm) ComponentCount

func (f *TForm) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TForm) ComponentIndex

func (f *TForm) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TForm) Components

func (f *TForm) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TForm) Constraints added in v1.2.7

func (f *TForm) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TForm) ContainsControl added in v1.1.21

func (f *TForm) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TForm) ControlAtPos added in v1.1.21

func (f *TForm) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TForm) ControlCount

func (f *TForm) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TForm) ControlState added in v1.1.21

func (f *TForm) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TForm) ControlStyle added in v1.1.21

func (f *TForm) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TForm) Controls

func (f *TForm) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TForm) Cursor

func (f *TForm) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TForm) DefaultMonitor added in v1.2.9

func (f *TForm) DefaultMonitor() TDefaultMonitor

DefaultMonitor

获取默认监视器。

func (*TForm) DesignTimePPI

func (f *TForm) DesignTimePPI() int32

func (*TForm) DisableAlign added in v1.1.21

func (f *TForm) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TForm) DockClientCount added in v1.1.21

func (f *TForm) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TForm) DockClients added in v1.1.21

func (f *TForm) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TForm) DockSite

func (f *TForm) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TForm) DoubleBuffered

func (f *TForm) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TForm) DragKind

func (f *TForm) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TForm) DragMode

func (f *TForm) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TForm) Dragging

func (f *TForm) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TForm) EnableAlign added in v1.1.21

func (f *TForm) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TForm) Enabled

func (f *TForm) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TForm) EnabledMaximize

func (f *TForm) EnabledMaximize(AValue bool)

EnabledMaximize

启用/禁用 标题栏最大化按钮。

func (*TForm) EnabledMinimize

func (f *TForm) EnabledMinimize(AValue bool)

EnabledMinimize

启用/禁用 标题栏最小化按钮。

func (*TForm) EnabledSystemMenu

func (f *TForm) EnabledSystemMenu(AValue bool)

EnabledSystemMenu

启用/禁用 标题栏系统菜单。

func (*TForm) Equals

func (f *TForm) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TForm) FindChildControl added in v1.1.21

func (f *TForm) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TForm) FindComponent

func (f *TForm) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TForm) Font

func (f *TForm) Font() *TFont

Font

获取字体。

Get Font.

func (*TForm) FormStyle

func (f *TForm) FormStyle() TFormStyle

FormStyle

获取窗口样式。比如:置顶,MID窗口。

func (*TForm) Free

func (f *TForm) Free()

Free

释放对象。

Free object.

func (*TForm) GetHashCode

func (f *TForm) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TForm) GetNamePath

func (f *TForm) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TForm) GetTextBuf

func (f *TForm) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TForm) GetTextLen

func (f *TForm) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TForm) Handle

func (f *TForm) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TForm) HandleAllocated

func (f *TForm) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TForm) HasParent

func (f *TForm) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TForm) Height

func (f *TForm) Height() int32

Height

获取高度。

Get height.

func (*TForm) Hide

func (f *TForm) Hide()

Hide

隐藏控件。

Hidden control.

func (*TForm) Hint

func (f *TForm) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TForm) HorzScrollBar added in v1.2.7

func (f *TForm) HorzScrollBar() *TControlScrollBar

func (*TForm) Icon

func (f *TForm) Icon() *TIcon

Icon

获取图标。

Get icon.

func (*TForm) InheritedWndProc added in v1.2.10

func (f *TForm) InheritedWndProc(TheMessage *TMessage)

InheritedWndProc

OnWndProc必须要调用的, 内部为 inherited WndProc(msg)。

func (*TForm) InheritsFrom added in v1.1.18

func (f *TForm) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TForm) InsertControl added in v1.1.21

func (f *TForm) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TForm) Instance

func (f *TForm) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TForm) InstanceSize added in v1.1.18

func (f *TForm) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TForm) Invalidate

func (f *TForm) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TForm) Is added in v1.2.10

func (f *TForm) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TForm) IsValid

func (f *TForm) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TForm) KeyPreview

func (f *TForm) KeyPreview() bool

KeyPreview

获取窗口优先接收键盘按盘消息。

func (*TForm) Left

func (f *TForm) Left() int32

Left

获取左边位置。

Get Left position.

func (*TForm) Menu

func (f *TForm) Menu() *TMainMenu

Menu

获取窗口主菜单。

func (*TForm) ModalResult

func (f *TForm) ModalResult() TModalResult

ModalResult

获取模态对话框显示结果。

func (*TForm) Monitor added in v1.2.9

func (f *TForm) Monitor() *TMonitor

Monitor

获取监视器。

func (*TForm) MouseInClient added in v1.1.21

func (f *TForm) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TForm) Name

func (f *TForm) Name() string

Name

获取组件名称。

Get the component name.

func (*TForm) Owner

func (f *TForm) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TForm) PaintTo added in v1.1.21

func (f *TForm) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TForm) Parent

func (f *TForm) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TForm) ParentDoubleBuffered

func (f *TForm) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TForm) ParentFont

func (f *TForm) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TForm) ParentToClient

func (f *TForm) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TForm) ParentWindow

func (f *TForm) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TForm) Perform

func (f *TForm) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TForm) PixelsPerInch

func (f *TForm) PixelsPerInch() int32

PixelsPerInch

获取每英寸像素数。

func (*TForm) PlatformWindow added in v1.2.10

func (f *TForm) PlatformWindow() GdkWindow

func (*TForm) PopupMenu

func (f *TForm) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TForm) Position

func (f *TForm) Position() TPosition

Position

获取窗口的位置。比如:居中等。。

func (*TForm) Realign

func (f *TForm) Realign()

Realign

重新对齐。

Realign.

func (*TForm) Refresh

func (f *TForm) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TForm) RemoveControl added in v1.1.21

func (f *TForm) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TForm) Repaint

func (f *TForm) Repaint()

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)

ScaleBy

按比例缩放。

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 added in v1.2.8

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 added in v1.1.19

func (f *TForm) ScaleSelf()

ScaleSelf : 这个方法主要是用于当不使用资源窗口创建时用,这个方法要用于设置了Width, Height或者ClientWidth、ClientHeight之后

func (*TForm) Scaled

func (f *TForm) Scaled() bool

Scaled

获取自动缩放。

func (*TForm) ScreenCenter

func (f *TForm) ScreenCenter()

ScreenCenter

居于当前屏幕中心。

func (*TForm) ScreenToClient

func (f *TForm) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TForm) ScrollBy added in v1.1.21

func (f *TForm) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TForm) ScrollInView added in v1.2.7

func (f *TForm) ScrollInView(AControl IControl)

func (*TForm) SendToBack

func (f *TForm) SendToBack()

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)

SetActiveControl

设置当前动控件。

func (*TForm) SetAlign

func (f *TForm) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TForm) SetAllowDropFiles

func (f *TForm) SetAllowDropFiles(value bool)

SetAllowDropFiles

设置允许拖放文件。

func (*TForm) SetAlphaBlend

func (f *TForm) SetAlphaBlend(value bool)

SetAlphaBlend

设置半透明。

func (*TForm) SetAlphaBlendValue

func (f *TForm) SetAlphaBlendValue(value uint8)

SetAlphaBlendValue

设置半透明值-0-255。

func (*TForm) SetAnchorSideBottom

func (f *TForm) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TForm) SetAnchorSideLeft

func (f *TForm) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TForm) SetAnchorSideRight

func (f *TForm) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TForm) SetAnchorSideTop

func (f *TForm) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TForm) SetAnchors

func (f *TForm) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TForm) SetAutoScroll added in v1.2.7

func (f *TForm) SetAutoScroll(value bool)

func (*TForm) SetAutoSize

func (f *TForm) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TForm) SetBiDiMode

func (f *TForm) SetBiDiMode(value TBiDiMode)

func (*TForm) SetBorderIcons

func (f *TForm) SetBorderIcons(value TBorderIcons)

SetBorderIcons

设置窗口标题栏图标设置。比如:关闭,最大化,最小化等。

func (*TForm) SetBorderSpacing

func (f *TForm) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TForm) SetBorderStyle

func (f *TForm) SetBorderStyle(value TFormBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TForm) SetBorderWidth

func (f *TForm) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TForm) SetBounds

func (f *TForm) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TForm) SetBoundsRect

func (f *TForm) SetBoundsRect(value TRect)

func (*TForm) SetCaption

func (f *TForm) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TForm) SetChildSizing

func (f *TForm) SetChildSizing(value *TControlChildSizing)

func (*TForm) SetClientHeight

func (f *TForm) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TForm) SetClientWidth

func (f *TForm) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TForm) SetColor

func (f *TForm) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TForm) SetComponentIndex

func (f *TForm) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TForm) SetConstraints added in v1.2.7

func (f *TForm) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TForm) SetControlState added in v1.1.21

func (f *TForm) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TForm) SetControlStyle added in v1.1.21

func (f *TForm) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TForm) SetCursor

func (f *TForm) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TForm) SetDefaultMonitor added in v1.2.9

func (f *TForm) SetDefaultMonitor(value TDefaultMonitor)

SetDefaultMonitor

设置默认监视器。

func (*TForm) SetDesignTimePPI

func (f *TForm) SetDesignTimePPI(value int32)

func (*TForm) SetDockSite

func (f *TForm) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TForm) SetDoubleBuffered

func (f *TForm) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TForm) SetDragKind

func (f *TForm) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TForm) SetDragMode

func (f *TForm) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TForm) SetEnabled

func (f *TForm) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TForm) SetFocus

func (f *TForm) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TForm) SetFont

func (f *TForm) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TForm) SetFormStyle

func (f *TForm) SetFormStyle(value TFormStyle)

SetFormStyle

设置窗口样式。比如:置顶,MID窗口。

func (*TForm) SetHeight

func (f *TForm) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TForm) SetHint

func (f *TForm) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TForm) SetHorzScrollBar added in v1.2.7

func (f *TForm) SetHorzScrollBar(value *TControlScrollBar)

func (*TForm) SetIcon

func (f *TForm) SetIcon(value *TIcon)

SetIcon

设置图标。

Set icon.

func (*TForm) SetKeyPreview

func (f *TForm) SetKeyPreview(value bool)

SetKeyPreview

设置窗口优先接收键盘按盘消息。

func (*TForm) SetLeft

func (f *TForm) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TForm) SetMenu

func (f *TForm) SetMenu(value IComponent)

SetMenu

设置窗口主菜单。

func (*TForm) SetModalResult

func (f *TForm) SetModalResult(value TModalResult)

SetModalResult

设置模态对话框显示结果。

func (*TForm) SetName

func (f *TForm) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TForm) SetOnActivate

func (f *TForm) SetOnActivate(fn TNotifyEvent)

SetOnActivate

设置窗口激活事件。

func (*TForm) SetOnAlignPosition added in v1.2.10

func (f *TForm) SetOnAlignPosition(fn TAlignPositionEvent)

SetOnAlignPosition

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TForm) SetOnClick

func (f *TForm) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TForm) SetOnClose

func (f *TForm) SetOnClose(fn TCloseEvent)

SetOnClose

设置窗口关闭事件。

func (*TForm) SetOnCloseQuery

func (f *TForm) SetOnCloseQuery(fn TCloseQueryEvent)

SetOnCloseQuery

设置窗口关闭询问事件。

func (*TForm) SetOnConstrainedResize

func (f *TForm) SetOnConstrainedResize(fn TConstrainedResizeEvent)

func (*TForm) SetOnContextPopup

func (f *TForm) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TForm) SetOnDblClick

func (f *TForm) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TForm) SetOnDeactivate

func (f *TForm) SetOnDeactivate(fn TNotifyEvent)

SetOnDeactivate

设置窗口失去激状态。

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)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TForm) SetOnDragOver

func (f *TForm) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TForm) SetOnDropFiles

func (f *TForm) SetOnDropFiles(fn TDropFilesEvent)

SetOnDropFiles

设置拖放文件事件。

func (*TForm) SetOnEndDock

func (f *TForm) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

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)

SetOnHide

设置隐藏事件。

func (*TForm) SetOnKeyDown

func (f *TForm) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TForm) SetOnKeyPress

func (f *TForm) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TForm) SetOnKeyUp

func (f *TForm) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TForm) SetOnMouseDown

func (f *TForm) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TForm) SetOnMouseEnter

func (f *TForm) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TForm) SetOnMouseLeave

func (f *TForm) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TForm) SetOnMouseMove

func (f *TForm) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TForm) SetOnMouseUp

func (f *TForm) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TForm) SetOnMouseWheel

func (f *TForm) SetOnMouseWheel(fn TMouseWheelEvent)

SetOnMouseWheel

设置鼠标滚轮事件。

func (*TForm) SetOnMouseWheelDown

func (f *TForm) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TForm) SetOnMouseWheelUp

func (f *TForm) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TForm) SetOnPaint

func (f *TForm) SetOnPaint(fn TNotifyEvent)

SetOnPaint

设置绘画事件。

func (*TForm) SetOnResize

func (f *TForm) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TForm) SetOnShortCut

func (f *TForm) SetOnShortCut(fn TShortCutEvent)

func (*TForm) SetOnShow

func (f *TForm) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

func (*TForm) SetOnStartDock

func (f *TForm) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TForm) SetOnUTF8KeyPress

func (f *TForm) SetOnUTF8KeyPress(fn TUTF8KeyPressEvent)

func (*TForm) SetOnUnDock

func (f *TForm) SetOnUnDock(fn TUnDockEvent)

func (*TForm) SetOnWndProc added in v1.2.0

func (f *TForm) SetOnWndProc(fn TWndProcEvent)

SetOnWndProc : 窗口消息过程

func (*TForm) SetParent

func (f *TForm) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TForm) SetParentDoubleBuffered

func (f *TForm) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TForm) SetParentFont

func (f *TForm) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TForm) SetParentWindow

func (f *TForm) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TForm) SetPixelsPerInch

func (f *TForm) SetPixelsPerInch(value int32)

SetPixelsPerInch

设置每英寸像素数。

func (*TForm) SetPopupMenu

func (f *TForm) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TForm) SetPosition

func (f *TForm) SetPosition(value TPosition)

SetPosition

设置窗口的位置。比如:居中等。。

func (*TForm) SetScaled

func (f *TForm) SetScaled(value bool)

SetScaled

设置自动缩放。

func (*TForm) SetShowHint

func (f *TForm) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TForm) SetShowInTaskBar added in v1.2.4

func (f *TForm) SetShowInTaskBar(value TShowInTaskbar)

SetShowInTaskBar

设置显示在任务栏上。

func (*TForm) SetTabOrder

func (f *TForm) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TForm) SetTabStop

func (f *TForm) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TForm) SetTag

func (f *TForm) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TForm) SetTextBuf added in v1.1.21

func (f *TForm) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TForm) SetTop

func (f *TForm) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TForm) SetUseDockManager

func (f *TForm) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TForm) SetVertScrollBar added in v1.2.7

func (f *TForm) SetVertScrollBar(value *TControlScrollBar)

func (*TForm) SetVisible

func (f *TForm) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TForm) SetWidth

func (f *TForm) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TForm) SetWindowState

func (f *TForm) SetWindowState(value TWindowState)

SetWindowState

设置窗口样式。比如:最大化,最小化等。

func (*TForm) Show

func (f *TForm) Show()

Show

显示控件。

Show control.

func (*TForm) ShowHint

func (f *TForm) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TForm) ShowInTaskBar added in v1.2.4

func (f *TForm) ShowInTaskBar() TShowInTaskbar

ShowInTaskBar

获取显示在任务栏上。

func (*TForm) ShowModal

func (f *TForm) ShowModal() int32

ShowModal

以模态模式显示对话框。

func (*TForm) Showing

func (f *TForm) Showing() bool

func (*TForm) TabOrder

func (f *TForm) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TForm) TabStop

func (f *TForm) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TForm) Tag

func (f *TForm) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TForm) ToString

func (f *TForm) ToString() string

ToString

文本类信息。

Text information.

func (*TForm) Top

func (f *TForm) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TForm) UnsafeAddr added in v1.1.21

func (f *TForm) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TForm) Update

func (f *TForm) Update()

Update

控件更新。

Update.

func (*TForm) UseDockManager

func (f *TForm) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TForm) VertScrollBar added in v1.2.7

func (f *TForm) VertScrollBar() *TControlScrollBar

func (*TForm) Visible

func (f *TForm) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TForm) VisibleDockClientCount added in v1.1.21

func (f *TForm) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TForm) Width

func (f *TForm) Width() int32

Width

获取宽度。

Get width.

func (*TForm) WindowState

func (f *TForm) WindowState() TWindowState

WindowState

获取窗口样式。比如:最大化,最小化等。

func (*TForm) WorkAreaCenter

func (f *TForm) WorkAreaCenter()

WorkAreaCenter

窗口居于工作区中心,工作区为当前屏幕 - 任务栏空间。

type TFrame added in v1.2.7

type TFrame struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsFrame added in v1.2.10

func AsFrame(obj interface{}) *TFrame

AsFrame

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewFrame added in v1.2.7

func NewFrame(owner IComponent) *TFrame

NewFrame

创建一个新的对象。

Create a new object.

func (*TFrame) Action added in v1.2.7

func (f *TFrame) Action() *TAction

func (*TFrame) Align added in v1.2.7

func (f *TFrame) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TFrame) AnchorSideBottom

func (f *TFrame) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TFrame) AnchorSideLeft

func (f *TFrame) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TFrame) AnchorSideRight

func (f *TFrame) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TFrame) AnchorSideTop

func (f *TFrame) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TFrame) AnchorToNeighbour

func (f *TFrame) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFrame) AnchorVerticalCenterTo

func (f *TFrame) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TFrame) Anchors added in v1.2.7

func (f *TFrame) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TFrame) Assign added in v1.2.7

func (f *TFrame) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.2.7

func (f *TFrame) AutoScroll() bool

func (*TFrame) AutoSize added in v1.2.7

func (f *TFrame) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TFrame) BiDiMode added in v1.2.7

func (f *TFrame) BiDiMode() TBiDiMode

func (*TFrame) BorderSpacing

func (f *TFrame) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TFrame) BoundsRect added in v1.2.7

func (f *TFrame) BoundsRect() TRect

func (*TFrame) BringToFront added in v1.2.7

func (f *TFrame) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TFrame) Brush added in v1.2.7

func (f *TFrame) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TFrame) CanFocus added in v1.2.7

func (f *TFrame) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TFrame) ChildSizing

func (f *TFrame) ChildSizing() *TControlChildSizing

func (*TFrame) ClassName added in v1.2.7

func (f *TFrame) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TFrame) ClassType added in v1.2.7

func (f *TFrame) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TFrame) ClientHeight added in v1.2.7

func (f *TFrame) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TFrame) ClientOrigin added in v1.2.7

func (f *TFrame) ClientOrigin() TPoint

func (*TFrame) ClientRect added in v1.2.7

func (f *TFrame) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TFrame) ClientToParent added in v1.2.7

func (f *TFrame) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TFrame) ClientToScreen added in v1.2.7

func (f *TFrame) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TFrame) ClientWidth added in v1.2.7

func (f *TFrame) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TFrame) Color added in v1.2.7

func (f *TFrame) Color() TColor

Color

获取颜色。

Get color.

func (*TFrame) ComponentCount added in v1.2.7

func (f *TFrame) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TFrame) ComponentIndex added in v1.2.7

func (f *TFrame) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TFrame) Components added in v1.2.7

func (f *TFrame) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TFrame) Constraints added in v1.2.7

func (f *TFrame) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TFrame) ContainsControl added in v1.2.7

func (f *TFrame) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TFrame) ControlAtPos added in v1.2.7

func (f *TFrame) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TFrame) ControlCount added in v1.2.7

func (f *TFrame) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TFrame) ControlState added in v1.2.7

func (f *TFrame) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TFrame) ControlStyle added in v1.2.7

func (f *TFrame) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TFrame) Controls added in v1.2.7

func (f *TFrame) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TFrame) Cursor added in v1.2.7

func (f *TFrame) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TFrame) DesignTimePPI

func (f *TFrame) DesignTimePPI() int32

func (*TFrame) DisableAlign added in v1.2.7

func (f *TFrame) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TFrame) DockClientCount added in v1.2.7

func (f *TFrame) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TFrame) DockClients added in v1.2.7

func (f *TFrame) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TFrame) DockSite added in v1.2.7

func (f *TFrame) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TFrame) DoubleBuffered added in v1.2.7

func (f *TFrame) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TFrame) DragCursor added in v1.2.7

func (f *TFrame) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TFrame) DragKind added in v1.2.7

func (f *TFrame) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TFrame) DragMode added in v1.2.7

func (f *TFrame) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TFrame) Dragging added in v1.2.7

func (f *TFrame) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TFrame) EnableAlign added in v1.2.7

func (f *TFrame) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TFrame) Enabled added in v1.2.7

func (f *TFrame) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TFrame) Equals added in v1.2.7

func (f *TFrame) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TFrame) FindChildControl added in v1.2.7

func (f *TFrame) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TFrame) FindComponent added in v1.2.7

func (f *TFrame) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TFrame) FixDesignFontsPPI

func (f *TFrame) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TFrame) FlipChildren added in v1.2.7

func (f *TFrame) FlipChildren(AllLevels bool)

func (*TFrame) Floating added in v1.2.7

func (f *TFrame) Floating() bool

func (*TFrame) Focused added in v1.2.7

func (f *TFrame) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*TFrame) Font added in v1.2.7

func (f *TFrame) Font() *TFont

Font

获取字体。

Get Font.

func (*TFrame) Free added in v1.2.7

func (f *TFrame) Free()

Free

释放对象。

Free object.

func (*TFrame) GetHashCode added in v1.2.7

func (f *TFrame) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TFrame) GetNamePath added in v1.2.7

func (f *TFrame) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TFrame) GetTextBuf added in v1.2.7

func (f *TFrame) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TFrame) GetTextLen added in v1.2.7

func (f *TFrame) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TFrame) Handle added in v1.2.7

func (f *TFrame) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TFrame) HandleAllocated added in v1.2.7

func (f *TFrame) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TFrame) HasParent added in v1.2.7

func (f *TFrame) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TFrame) Height added in v1.2.7

func (f *TFrame) Height() int32

Height

获取高度。

Get height.

func (*TFrame) Hide added in v1.2.7

func (f *TFrame) Hide()

Hide

隐藏控件。

Hidden control.

func (*TFrame) Hint added in v1.2.7

func (f *TFrame) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TFrame) HorzScrollBar added in v1.2.7

func (f *TFrame) HorzScrollBar() *TControlScrollBar

func (*TFrame) InheritsFrom added in v1.2.7

func (f *TFrame) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TFrame) InsertControl added in v1.2.7

func (f *TFrame) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TFrame) Instance added in v1.2.7

func (f *TFrame) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TFrame) InstanceSize added in v1.2.7

func (f *TFrame) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TFrame) Invalidate added in v1.2.7

func (f *TFrame) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TFrame) Is added in v1.2.10

func (f *TFrame) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TFrame) IsValid added in v1.2.7

func (f *TFrame) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TFrame) Left added in v1.2.7

func (f *TFrame) Left() int32

Left

获取左边位置。

Get Left position.

func (*TFrame) MouseInClient added in v1.2.7

func (f *TFrame) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TFrame) Name added in v1.2.7

func (f *TFrame) Name() string

Name

获取组件名称。

Get the component name.

func (*TFrame) Owner added in v1.2.7

func (f *TFrame) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TFrame) PaintTo added in v1.2.7

func (f *TFrame) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TFrame) Parent added in v1.2.7

func (f *TFrame) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TFrame) ParentBackground added in v1.2.7

func (f *TFrame) ParentBackground() bool

func (*TFrame) ParentColor added in v1.2.7

func (f *TFrame) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TFrame) ParentDoubleBuffered added in v1.2.7

func (f *TFrame) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TFrame) ParentFont added in v1.2.7

func (f *TFrame) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TFrame) ParentShowHint added in v1.2.7

func (f *TFrame) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TFrame) ParentToClient added in v1.2.7

func (f *TFrame) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TFrame) ParentWindow added in v1.2.7

func (f *TFrame) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TFrame) Perform added in v1.2.7

func (f *TFrame) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TFrame) PopupMenu added in v1.2.7

func (f *TFrame) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TFrame) Realign added in v1.2.7

func (f *TFrame) Realign()

Realign

重新对齐。

Realign.

func (*TFrame) Refresh added in v1.2.7

func (f *TFrame) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TFrame) RemoveControl added in v1.2.7

func (f *TFrame) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TFrame) Repaint added in v1.2.7

func (f *TFrame) Repaint()

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 added in v1.2.7

func (f *TFrame) ScaleBy(M int32, D int32)

ScaleBy

按比例缩放。

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 added in v1.2.7

func (f *TFrame) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TFrame) ScrollBy added in v1.2.7

func (f *TFrame) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TFrame) ScrollInView added in v1.2.7

func (f *TFrame) ScrollInView(AControl IControl)

func (*TFrame) SendToBack added in v1.2.7

func (f *TFrame) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TFrame) SetAction added in v1.2.7

func (f *TFrame) SetAction(value IComponent)

func (*TFrame) SetAlign added in v1.2.7

func (f *TFrame) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TFrame) SetAnchorSideBottom

func (f *TFrame) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TFrame) SetAnchorSideLeft

func (f *TFrame) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TFrame) SetAnchorSideRight

func (f *TFrame) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TFrame) SetAnchorSideTop

func (f *TFrame) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TFrame) SetAnchors added in v1.2.7

func (f *TFrame) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TFrame) SetAutoScroll added in v1.2.7

func (f *TFrame) SetAutoScroll(value bool)

func (*TFrame) SetAutoSize added in v1.2.7

func (f *TFrame) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TFrame) SetBiDiMode added in v1.2.7

func (f *TFrame) SetBiDiMode(value TBiDiMode)

func (*TFrame) SetBorderSpacing

func (f *TFrame) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TFrame) SetBounds added in v1.2.7

func (f *TFrame) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TFrame) SetBoundsRect added in v1.2.7

func (f *TFrame) SetBoundsRect(value TRect)

func (*TFrame) SetChildSizing

func (f *TFrame) SetChildSizing(value *TControlChildSizing)

func (*TFrame) SetClientHeight added in v1.2.7

func (f *TFrame) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TFrame) SetClientWidth added in v1.2.7

func (f *TFrame) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TFrame) SetColor added in v1.2.7

func (f *TFrame) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TFrame) SetComponentIndex added in v1.2.7

func (f *TFrame) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TFrame) SetConstraints added in v1.2.7

func (f *TFrame) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TFrame) SetControlState added in v1.2.7

func (f *TFrame) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TFrame) SetControlStyle added in v1.2.7

func (f *TFrame) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TFrame) SetCursor added in v1.2.7

func (f *TFrame) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TFrame) SetDesignTimePPI

func (f *TFrame) SetDesignTimePPI(value int32)

func (*TFrame) SetDockSite added in v1.2.7

func (f *TFrame) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TFrame) SetDoubleBuffered added in v1.2.7

func (f *TFrame) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TFrame) SetDragCursor added in v1.2.7

func (f *TFrame) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TFrame) SetDragKind added in v1.2.7

func (f *TFrame) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TFrame) SetDragMode added in v1.2.7

func (f *TFrame) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TFrame) SetEnabled added in v1.2.7

func (f *TFrame) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TFrame) SetFocus added in v1.2.7

func (f *TFrame) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TFrame) SetFont added in v1.2.7

func (f *TFrame) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TFrame) SetHeight added in v1.2.7

func (f *TFrame) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TFrame) SetHint added in v1.2.7

func (f *TFrame) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TFrame) SetHorzScrollBar added in v1.2.7

func (f *TFrame) SetHorzScrollBar(value *TControlScrollBar)

func (*TFrame) SetLeft added in v1.2.7

func (f *TFrame) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TFrame) SetName added in v1.2.7

func (f *TFrame) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TFrame) SetOnAlignPosition added in v1.2.10

func (f *TFrame) SetOnAlignPosition(fn TAlignPositionEvent)

SetOnAlignPosition

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TFrame) SetOnClick added in v1.2.7

func (f *TFrame) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TFrame) SetOnConstrainedResize

func (f *TFrame) SetOnConstrainedResize(fn TConstrainedResizeEvent)

func (*TFrame) SetOnContextPopup added in v1.2.7

func (f *TFrame) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TFrame) SetOnDblClick added in v1.2.7

func (f *TFrame) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TFrame) SetOnDockDrop added in v1.2.7

func (f *TFrame) SetOnDockDrop(fn TDockDropEvent)

func (*TFrame) SetOnDragDrop added in v1.2.7

func (f *TFrame) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TFrame) SetOnDragOver added in v1.2.7

func (f *TFrame) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TFrame) SetOnEndDock added in v1.2.7

func (f *TFrame) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TFrame) SetOnEndDrag added in v1.2.7

func (f *TFrame) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TFrame) SetOnEnter added in v1.2.7

func (f *TFrame) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TFrame) SetOnExit added in v1.2.7

func (f *TFrame) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TFrame) SetOnGetSiteInfo added in v1.2.7

func (f *TFrame) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TFrame) SetOnMouseDown added in v1.2.7

func (f *TFrame) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TFrame) SetOnMouseEnter added in v1.2.7

func (f *TFrame) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TFrame) SetOnMouseLeave added in v1.2.7

func (f *TFrame) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TFrame) SetOnMouseMove added in v1.2.7

func (f *TFrame) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TFrame) SetOnMouseUp added in v1.2.7

func (f *TFrame) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TFrame) SetOnMouseWheel added in v1.2.7

func (f *TFrame) SetOnMouseWheel(fn TMouseWheelEvent)

SetOnMouseWheel

设置鼠标滚轮事件。

func (*TFrame) SetOnMouseWheelDown added in v1.2.7

func (f *TFrame) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TFrame) SetOnMouseWheelUp added in v1.2.7

func (f *TFrame) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TFrame) SetOnResize added in v1.2.7

func (f *TFrame) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TFrame) SetOnStartDock added in v1.2.7

func (f *TFrame) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TFrame) SetOnUnDock added in v1.2.7

func (f *TFrame) SetOnUnDock(fn TUnDockEvent)

func (*TFrame) SetParent added in v1.2.7

func (f *TFrame) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TFrame) SetParentBackground added in v1.2.7

func (f *TFrame) SetParentBackground(value bool)

func (*TFrame) SetParentColor added in v1.2.7

func (f *TFrame) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TFrame) SetParentDoubleBuffered added in v1.2.7

func (f *TFrame) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TFrame) SetParentFont added in v1.2.7

func (f *TFrame) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TFrame) SetParentShowHint added in v1.2.7

func (f *TFrame) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TFrame) SetParentWindow added in v1.2.7

func (f *TFrame) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TFrame) SetPopupMenu added in v1.2.7

func (f *TFrame) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TFrame) SetShowHint added in v1.2.7

func (f *TFrame) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TFrame) SetTabOrder added in v1.2.7

func (f *TFrame) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TFrame) SetTabStop added in v1.2.7

func (f *TFrame) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TFrame) SetTag added in v1.2.7

func (f *TFrame) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TFrame) SetTextBuf added in v1.2.7

func (f *TFrame) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TFrame) SetTop added in v1.2.7

func (f *TFrame) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TFrame) SetUseDockManager added in v1.2.7

func (f *TFrame) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TFrame) SetVertScrollBar added in v1.2.7

func (f *TFrame) SetVertScrollBar(value *TControlScrollBar)

func (*TFrame) SetVisible added in v1.2.7

func (f *TFrame) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TFrame) SetWidth added in v1.2.7

func (f *TFrame) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TFrame) Show added in v1.2.7

func (f *TFrame) Show()

Show

显示控件。

Show control.

func (*TFrame) ShowHint added in v1.2.7

func (f *TFrame) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TFrame) Showing

func (f *TFrame) Showing() bool

func (*TFrame) TabOrder added in v1.2.7

func (f *TFrame) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TFrame) TabStop added in v1.2.7

func (f *TFrame) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TFrame) Tag added in v1.2.7

func (f *TFrame) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TFrame) ToString added in v1.2.7

func (f *TFrame) ToString() string

ToString

文本类信息。

Text information.

func (*TFrame) Top added in v1.2.7

func (f *TFrame) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TFrame) UnsafeAddr added in v1.2.7

func (f *TFrame) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TFrame) Update added in v1.2.7

func (f *TFrame) Update()

Update

控件更新。

Update.

func (*TFrame) UseDockManager added in v1.2.7

func (f *TFrame) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TFrame) VertScrollBar added in v1.2.7

func (f *TFrame) VertScrollBar() *TControlScrollBar

func (*TFrame) Visible added in v1.2.7

func (f *TFrame) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TFrame) VisibleDockClientCount added in v1.2.7

func (f *TFrame) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TFrame) Width added in v1.2.7

func (f *TFrame) Width() int32

Width

获取宽度。

Get width.

type TGIFImage

type TGIFImage struct {
	IBitmap
	// contains filtered or unexported fields
}

func AsGIFImage added in v1.2.10

func AsGIFImage(obj interface{}) *TGIFImage

AsGIFImage

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewGIFImage

func NewGIFImage() *TGIFImage

NewGIFImage

创建一个新的对象。

Create a new object.

func (*TGIFImage) Assign

func (g *TGIFImage) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TGIFImage) ClassType added in v1.1.18

func (g *TGIFImage) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TGIFImage) Clear

func (g *TGIFImage) Clear()

Clear

清除。

func (*TGIFImage) Empty

func (g *TGIFImage) Empty() bool

func (*TGIFImage) Equals

func (g *TGIFImage) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TGIFImage) Free

func (g *TGIFImage) Free()

Free

释放对象。

Free object.

func (*TGIFImage) GetHashCode

func (g *TGIFImage) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TGIFImage) GetNamePath

func (g *TGIFImage) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TGIFImage) Height

func (g *TGIFImage) Height() int32

Height

获取高度。

Get height.

func (*TGIFImage) InheritsFrom added in v1.1.18

func (g *TGIFImage) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGIFImage) Instance

func (g *TGIFImage) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TGIFImage) InstanceSize added in v1.1.18

func (g *TGIFImage) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TGIFImage) Is added in v1.2.10

func (g *TGIFImage) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TGIFImage) IsValid

func (g *TGIFImage) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TGIFImage) LoadFromBytes

func (g *TGIFImage) LoadFromBytes(data []byte)

func (*TGIFImage) LoadFromFile

func (g *TGIFImage) LoadFromFile(Filename string)

LoadFromFile

从文件加载。

func (*TGIFImage) LoadFromStream

func (g *TGIFImage) LoadFromStream(Stream IStream)

LoadFromStream

文件流加载。

func (*TGIFImage) Modified

func (g *TGIFImage) Modified() bool

Modified

获取修改。

Get modified.

func (*TGIFImage) Palette added in v1.1.23

func (g *TGIFImage) Palette() HPALETTE

func (*TGIFImage) PaletteModified

func (g *TGIFImage) PaletteModified() bool

func (*TGIFImage) SaveToFile

func (g *TGIFImage) SaveToFile(Filename string)

SaveToFile

保存至文件。

func (*TGIFImage) SaveToStream

func (g *TGIFImage) SaveToStream(Stream IStream)

SaveToStream

保存至流。

func (*TGIFImage) SetHeight

func (g *TGIFImage) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TGIFImage) SetModified

func (g *TGIFImage) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TGIFImage) SetOnChange

func (g *TGIFImage) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TGIFImage) SetPalette added in v1.1.23

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)

SetWidth

设置宽度。

Set width.

func (*TGIFImage) ToString

func (g *TGIFImage) ToString() string

ToString

文本类信息。

Text information.

func (*TGIFImage) Transparent

func (g *TGIFImage) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TGIFImage) UnsafeAddr added in v1.1.21

func (g *TGIFImage) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TGIFImage) Width

func (g *TGIFImage) Width() int32

Width

获取宽度。

Get width.

type TGauge

type TGauge struct {
	IControl
	// contains filtered or unexported fields
}

func AsGauge added in v1.2.10

func AsGauge(obj interface{}) *TGauge

AsGauge

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewGauge

func NewGauge(owner IComponent) *TGauge

NewGauge

创建一个新的对象。

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

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TGauge) AnchorSideBottom

func (g *TGauge) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TGauge) AnchorSideLeft

func (g *TGauge) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TGauge) AnchorSideRight

func (g *TGauge) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TGauge) AnchorSideTop

func (g *TGauge) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TGauge) AnchorToNeighbour

func (g *TGauge) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TGauge) AnchorVerticalCenterTo

func (g *TGauge) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TGauge) Anchors

func (g *TGauge) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TGauge) Assign

func (g *TGauge) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TGauge) BorderStyle

func (g *TGauge) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TGauge) BoundsRect

func (g *TGauge) BoundsRect() TRect

func (*TGauge) BringToFront

func (g *TGauge) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TGauge) ClassName

func (g *TGauge) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TGauge) ClassType added in v1.1.18

func (g *TGauge) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TGauge) ClientHeight

func (g *TGauge) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TGauge) ClientOrigin added in v1.1.21

func (g *TGauge) ClientOrigin() TPoint

func (*TGauge) ClientRect

func (g *TGauge) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TGauge) ClientToParent

func (g *TGauge) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TGauge) ClientToScreen

func (g *TGauge) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TGauge) ClientWidth

func (g *TGauge) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TGauge) Color

func (g *TGauge) Color() TColor

Color

获取颜色。

Get color.

func (*TGauge) ComponentCount

func (g *TGauge) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TGauge) ComponentIndex

func (g *TGauge) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TGauge) Components

func (g *TGauge) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TGauge) Constraints added in v1.2.7

func (g *TGauge) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TGauge) ControlState added in v1.1.21

func (g *TGauge) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TGauge) ControlStyle added in v1.1.21

func (g *TGauge) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TGauge) Cursor

func (g *TGauge) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TGauge) Dragging

func (g *TGauge) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TGauge) Enabled

func (g *TGauge) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TGauge) Equals

func (g *TGauge) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TGauge) FindComponent

func (g *TGauge) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Font

获取字体。

Get Font.

func (*TGauge) ForeColor

func (g *TGauge) ForeColor() TColor

func (*TGauge) Free

func (g *TGauge) Free()

Free

释放对象。

Free object.

func (*TGauge) GetHashCode

func (g *TGauge) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TGauge) GetNamePath

func (g *TGauge) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TGauge) GetTextBuf

func (g *TGauge) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TGauge) GetTextLen

func (g *TGauge) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TGauge) HasParent

func (g *TGauge) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TGauge) Height

func (g *TGauge) Height() int32

Height

获取高度。

Get height.

func (*TGauge) Hide

func (g *TGauge) Hide()

Hide

隐藏控件。

Hidden control.

func (*TGauge) Hint

func (g *TGauge) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TGauge) InheritsFrom added in v1.1.18

func (g *TGauge) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGauge) Instance

func (g *TGauge) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TGauge) InstanceSize added in v1.1.18

func (g *TGauge) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TGauge) Invalidate

func (g *TGauge) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TGauge) Is added in v1.2.10

func (g *TGauge) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TGauge) IsValid

func (g *TGauge) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TGauge) Kind

func (g *TGauge) Kind() TGaugeKind

func (*TGauge) Left

func (g *TGauge) Left() int32

Left

获取左边位置。

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

Name

获取组件名称。

Get the component name.

func (*TGauge) Owner

func (g *TGauge) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TGauge) Parent

func (g *TGauge) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TGauge) ParentColor

func (g *TGauge) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TGauge) ParentFont

func (g *TGauge) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TGauge) ParentShowHint

func (g *TGauge) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TGauge) ParentToClient

func (g *TGauge) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

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

Perform

发送一个消息。

Send a message.

func (*TGauge) PopupMenu

func (g *TGauge) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TGauge) Progress

func (g *TGauge) Progress() int32

func (*TGauge) Refresh

func (g *TGauge) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TGauge) Repaint

func (g *TGauge) Repaint()

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TGauge) SendToBack

func (g *TGauge) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TGauge) SetAnchorSideBottom

func (g *TGauge) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TGauge) SetAnchorSideLeft

func (g *TGauge) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TGauge) SetAnchorSideRight

func (g *TGauge) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TGauge) SetAnchorSideTop

func (g *TGauge) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TGauge) SetAnchors

func (g *TGauge) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

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)

SetBorderSpacing

设置边框间距。

func (*TGauge) SetBorderStyle

func (g *TGauge) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TGauge) SetBounds

func (g *TGauge) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TGauge) SetBoundsRect

func (g *TGauge) SetBoundsRect(value TRect)

func (*TGauge) SetClientHeight

func (g *TGauge) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TGauge) SetClientWidth

func (g *TGauge) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TGauge) SetColor

func (g *TGauge) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TGauge) SetComponentIndex

func (g *TGauge) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TGauge) SetConstraints added in v1.2.7

func (g *TGauge) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TGauge) SetControlState added in v1.1.21

func (g *TGauge) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TGauge) SetControlStyle added in v1.1.21

func (g *TGauge) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TGauge) SetCursor

func (g *TGauge) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TGauge) SetEnabled

func (g *TGauge) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TGauge) SetFont

func (g *TGauge) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TGauge) SetForeColor

func (g *TGauge) SetForeColor(value TColor)

func (*TGauge) SetHeight

func (g *TGauge) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TGauge) SetHint

func (g *TGauge) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TGauge) SetKind

func (g *TGauge) SetKind(value TGaugeKind)

func (*TGauge) SetLeft

func (g *TGauge) SetLeft(value int32)

SetLeft

设置左边位置。

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)

SetName

设置组件名称。

Set the component name.

func (*TGauge) SetParent

func (g *TGauge) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TGauge) SetParentColor

func (g *TGauge) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TGauge) SetParentFont

func (g *TGauge) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TGauge) SetParentShowHint

func (g *TGauge) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TGauge) SetPopupMenu

func (g *TGauge) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TGauge) SetProgress

func (g *TGauge) SetProgress(value int32)

func (*TGauge) SetShowHint

func (g *TGauge) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TGauge) SetShowText

func (g *TGauge) SetShowText(value bool)

func (*TGauge) SetTag

func (g *TGauge) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TGauge) SetTextBuf added in v1.1.21

func (g *TGauge) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TGauge) SetTop

func (g *TGauge) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TGauge) SetVisible

func (g *TGauge) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TGauge) SetWidth

func (g *TGauge) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TGauge) Show

func (g *TGauge) Show()

Show

显示控件。

Show control.

func (*TGauge) ShowHint

func (g *TGauge) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TGauge) ShowText

func (g *TGauge) ShowText() bool

func (*TGauge) Tag

func (g *TGauge) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TGauge) ToString

func (g *TGauge) ToString() string

ToString

文本类信息。

Text information.

func (*TGauge) Top

func (g *TGauge) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TGauge) UnsafeAddr added in v1.1.21

func (g *TGauge) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TGauge) Update

func (g *TGauge) Update()

Update

控件更新。

Update.

func (*TGauge) Visible

func (g *TGauge) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TGauge) Width

func (g *TGauge) Width() int32

Width

获取宽度。

Get width.

type TGetCellHintEvent

type TGetCellHintEvent func(sender IObject, ACol, ARow int32, hintText *string)

type TGetCheckboxStateEvent

type TGetCheckboxStateEvent func(sender IObject, ACol, ARow int32, value *TCheckBoxState)

type TGetEditEvent added in v1.1.19

type TGetEditEvent func(sender IObject, aCol, aRow int32, value *string)

type TGetSiteInfoEvent

type TGetSiteInfoEvent func(sender IObject, dockClient *TControl, influenceRect *TRect, mousePos TPoint, canDock *bool)

type TGraphic

type TGraphic struct {
	IGraphic
	// contains filtered or unexported fields
}

func AsGraphic added in v1.2.10

func AsGraphic(obj interface{}) *TGraphic

AsGraphic

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewGraphic

func NewGraphic() *TGraphic

NewGraphic

创建一个新的对象。

Create a new object.

func (*TGraphic) Assign

func (g *TGraphic) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TGraphic) ClassName

func (g *TGraphic) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TGraphic) ClassType added in v1.1.18

func (g *TGraphic) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TGraphic) Empty

func (g *TGraphic) Empty() bool

Empty

获取对象是否为空。

Get object is empty.

func (*TGraphic) Equals

func (g *TGraphic) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TGraphic) Free

func (g *TGraphic) Free()

Free

释放对象。

Free object.

func (*TGraphic) GetHashCode

func (g *TGraphic) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TGraphic) GetNamePath

func (g *TGraphic) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TGraphic) Height

func (g *TGraphic) Height() int32

Height

获取高度。

Get height.

func (*TGraphic) InheritsFrom added in v1.1.18

func (g *TGraphic) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGraphic) Instance

func (g *TGraphic) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TGraphic) InstanceSize added in v1.1.18

func (g *TGraphic) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TGraphic) Is added in v1.2.10

func (g *TGraphic) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TGraphic) IsValid

func (g *TGraphic) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TGraphic) LoadFromFile

func (g *TGraphic) LoadFromFile(Filename string)

LoadFromFile

从文件加载。

func (*TGraphic) LoadFromStream

func (g *TGraphic) LoadFromStream(Stream IStream)

LoadFromStream

文件流加载。

func (*TGraphic) Modified

func (g *TGraphic) Modified() bool

Modified

获取修改。

Get modified.

func (*TGraphic) Palette added in v1.1.23

func (g *TGraphic) Palette() HPALETTE

func (*TGraphic) PaletteModified

func (g *TGraphic) PaletteModified() bool

func (*TGraphic) SaveToFile

func (g *TGraphic) SaveToFile(Filename string)

SaveToFile

保存至文件。

func (*TGraphic) SaveToStream

func (g *TGraphic) SaveToStream(Stream IStream)

SaveToStream

保存至流。

func (*TGraphic) SetHeight

func (g *TGraphic) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TGraphic) SetModified

func (g *TGraphic) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TGraphic) SetOnChange

func (g *TGraphic) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TGraphic) SetPalette added in v1.1.23

func (g *TGraphic) SetPalette(value HPALETTE)

func (*TGraphic) SetPaletteModified

func (g *TGraphic) SetPaletteModified(value bool)

func (*TGraphic) SetTransparent

func (g *TGraphic) SetTransparent(value bool)

SetTransparent

设置透明。

Set transparent.

func (*TGraphic) SetWidth

func (g *TGraphic) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TGraphic) ToString

func (g *TGraphic) ToString() string

ToString

文本类信息。

Text information.

func (*TGraphic) Transparent

func (g *TGraphic) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TGraphic) UnsafeAddr added in v1.1.21

func (g *TGraphic) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TGraphic) Width

func (g *TGraphic) Width() int32

Width

获取宽度。

Get width.

type TGridColumn

type TGridColumn struct {
	IObject
	// contains filtered or unexported fields
}

func AsGridColumn

func AsGridColumn(obj interface{}) *TGridColumn

AsGridColumn

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TGridColumn) Alignment

func (g *TGridColumn) Alignment() TAlignment

Alignment

获取文字对齐。

Get Text alignment.

func (*TGridColumn) Assign

func (g *TGridColumn) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TGridColumn) ClassType

func (g *TGridColumn) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TGridColumn) Collection

func (g *TGridColumn) Collection() *TCollection

func (*TGridColumn) Color

func (g *TGridColumn) Color() TColor

Color

获取颜色。

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

Equals

与一个对象进行比较。

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

Font

获取字体。

Get Font.

func (*TGridColumn) GetHashCode

func (g *TGridColumn) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TGridColumn) GetNamePath

func (g *TGridColumn) GetNamePath() string

GetNamePath

获取类名路径。

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

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGridColumn) Instance

func (g *TGridColumn) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TGridColumn) InstanceSize

func (g *TGridColumn) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TGridColumn) Is

func (g *TGridColumn) Is() TIs

Is

检测当前对象是否继承自目标对象。

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

IsValid

检测地址是否为空。

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

ReadOnly

获取只读。

func (*TGridColumn) ScaleFontsPPI

func (g *TGridColumn) ScaleFontsPPI(AToPPI int32, AProportion float64)

func (*TGridColumn) SetAlignment

func (g *TGridColumn) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

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)

SetColor

设置颜色。

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)

SetFont

设置字体。

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)

SetReadOnly

设置只读。

func (*TGridColumn) SetSizePriority

func (g *TGridColumn) SetSizePriority(value int32)

func (*TGridColumn) SetTag

func (g *TGridColumn) SetTag(value int)

SetTag

设置对象标记。

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)

SetVisible

设置控件可视。

Set the control visible.

func (*TGridColumn) SetWidth

func (g *TGridColumn) SetWidth(value int32)

SetWidth

设置宽度。

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

Tag

获取对象标记。

Get the control tag.

func (*TGridColumn) Title

func (g *TGridColumn) Title() *TGridColumnTitle

func (*TGridColumn) ToString

func (g *TGridColumn) ToString() string

ToString

文本类信息。

Text information.

func (*TGridColumn) UnsafeAddr

func (g *TGridColumn) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

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

Visible

获取控件可视。

Get the control visible.

func (*TGridColumn) Width

func (g *TGridColumn) Width() int32

Width

获取宽度。

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

AsGridColumnTitle

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TGridColumnTitle) Alignment

func (g *TGridColumnTitle) Alignment() TAlignment

Alignment

获取文字对齐。

Get Text alignment.

func (*TGridColumnTitle) Assign

func (g *TGridColumnTitle) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TGridColumnTitle) Caption

func (g *TGridColumnTitle) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TGridColumnTitle) ClassName

func (g *TGridColumnTitle) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TGridColumnTitle) ClassType

func (g *TGridColumnTitle) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TGridColumnTitle) Color

func (g *TGridColumnTitle) Color() TColor

Color

获取颜色。

Get color.

func (*TGridColumnTitle) Column

func (g *TGridColumnTitle) Column() *TGridColumn

func (*TGridColumnTitle) Equals

func (g *TGridColumnTitle) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

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

Font

获取字体。

Get Font.

func (*TGridColumnTitle) GetHashCode

func (g *TGridColumnTitle) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TGridColumnTitle) GetNamePath

func (g *TGridColumnTitle) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TGridColumnTitle) ImageIndex

func (g *TGridColumnTitle) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TGridColumnTitle) ImageLayout

func (g *TGridColumnTitle) ImageLayout() TButtonLayout

func (*TGridColumnTitle) InheritsFrom

func (g *TGridColumnTitle) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGridColumnTitle) Instance

func (g *TGridColumnTitle) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TGridColumnTitle) InstanceSize

func (g *TGridColumnTitle) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TGridColumnTitle) Is

func (g *TGridColumnTitle) Is() TIs

Is

检测当前对象是否继承自目标对象。

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

IsValid

检测地址是否为空。

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)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TGridColumnTitle) SetCaption

func (g *TGridColumnTitle) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TGridColumnTitle) SetColor

func (g *TGridColumnTitle) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TGridColumnTitle) SetFont

func (g *TGridColumnTitle) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TGridColumnTitle) SetImageIndex

func (g *TGridColumnTitle) SetImageIndex(value int32)

SetImageIndex

设置图像在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

ToString

文本类信息。

Text information.

func (*TGridColumnTitle) UnsafeAddr

func (g *TGridColumnTitle) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TGridColumns

type TGridColumns struct {
	IObject
	// contains filtered or unexported fields
}

func AsGridColumns

func AsGridColumns(obj interface{}) *TGridColumns

AsGridColumns

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TGridColumns) Add

func (g *TGridColumns) Add() *TGridColumn

func (*TGridColumns) Assign

func (g *TGridColumns) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TGridColumns) BeginUpdate

func (g *TGridColumns) BeginUpdate()

func (*TGridColumns) ClassName

func (g *TGridColumns) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TGridColumns) ClassType

func (g *TGridColumns) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TGridColumns) Clear

func (g *TGridColumns) Clear()

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

Enabled

获取控件启用。

Get the control enabled.

func (*TGridColumns) EndUpdate

func (g *TGridColumns) EndUpdate()

func (*TGridColumns) Equals

func (g *TGridColumns) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TGridColumns) FindItemID

func (g *TGridColumns) FindItemID(ID int32) *TCollectionItem

func (*TGridColumns) GetHashCode

func (g *TGridColumns) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TGridColumns) GetNamePath

func (g *TGridColumns) GetNamePath() string

GetNamePath

获取类名路径。

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

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TGridColumns) InstanceSize

func (g *TGridColumns) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TGridColumns) Is

func (g *TGridColumns) Is() TIs

Is

检测当前对象是否继承自目标对象。

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

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TGridColumns) Items

func (g *TGridColumns) Items(Index int32) *TGridColumn

func (*TGridColumns) Owner

func (g *TGridColumns) Owner() *TObject

Owner

组件所有者。

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

ToString

文本类信息。

Text information.

func (*TGridColumns) UnsafeAddr

func (g *TGridColumns) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TGridColumns) VisibleCount

func (g *TGridColumns) VisibleCount() int32

type TGridOperationEvent

type TGridOperationEvent func(sender IObject, isColumn bool, sIndex, tIndex int32)

type TGroupBox

type TGroupBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsGroupBox added in v1.2.10

func AsGroupBox(obj interface{}) *TGroupBox

AsGroupBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewGroupBox

func NewGroupBox(owner IComponent) *TGroupBox

NewGroupBox

创建一个新的对象。

Create a new object.

func (*TGroupBox) Action

func (g *TGroupBox) Action() *TAction

func (*TGroupBox) Align

func (g *TGroupBox) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TGroupBox) AnchorSideBottom

func (g *TGroupBox) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TGroupBox) AnchorSideLeft

func (g *TGroupBox) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TGroupBox) AnchorSideRight

func (g *TGroupBox) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TGroupBox) AnchorSideTop

func (g *TGroupBox) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TGroupBox) AnchorToNeighbour

func (g *TGroupBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TGroupBox) AnchorVerticalCenterTo

func (g *TGroupBox) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TGroupBox) Anchors

func (g *TGroupBox) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TGroupBox) Assign

func (g *TGroupBox) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TGroupBox) BoundsRect

func (g *TGroupBox) BoundsRect() TRect

func (*TGroupBox) BringToFront

func (g *TGroupBox) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TGroupBox) Brush

func (g *TGroupBox) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TGroupBox) CanFocus

func (g *TGroupBox) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TGroupBox) Caption

func (g *TGroupBox) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TGroupBox) ChildSizing

func (g *TGroupBox) ChildSizing() *TControlChildSizing

func (*TGroupBox) ClassName

func (g *TGroupBox) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TGroupBox) ClassType added in v1.1.18

func (g *TGroupBox) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TGroupBox) ClientHeight

func (g *TGroupBox) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TGroupBox) ClientOrigin added in v1.1.21

func (g *TGroupBox) ClientOrigin() TPoint

func (*TGroupBox) ClientRect

func (g *TGroupBox) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TGroupBox) ClientToParent

func (g *TGroupBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TGroupBox) ClientToScreen

func (g *TGroupBox) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TGroupBox) ClientWidth

func (g *TGroupBox) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TGroupBox) Color

func (g *TGroupBox) Color() TColor

Color

获取颜色。

Get color.

func (*TGroupBox) ComponentCount

func (g *TGroupBox) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TGroupBox) ComponentIndex

func (g *TGroupBox) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TGroupBox) Components

func (g *TGroupBox) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TGroupBox) Constraints added in v1.2.7

func (g *TGroupBox) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TGroupBox) ContainsControl added in v1.1.21

func (g *TGroupBox) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TGroupBox) ControlAtPos added in v1.1.21

func (g *TGroupBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TGroupBox) ControlCount

func (g *TGroupBox) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TGroupBox) ControlState added in v1.1.21

func (g *TGroupBox) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TGroupBox) ControlStyle added in v1.1.21

func (g *TGroupBox) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TGroupBox) Controls

func (g *TGroupBox) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TGroupBox) Cursor

func (g *TGroupBox) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TGroupBox) DisableAlign added in v1.1.21

func (g *TGroupBox) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TGroupBox) DockClientCount added in v1.1.21

func (g *TGroupBox) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TGroupBox) DockClients added in v1.1.21

func (g *TGroupBox) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TGroupBox) DockSite

func (g *TGroupBox) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TGroupBox) DoubleBuffered

func (g *TGroupBox) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TGroupBox) DragCursor

func (g *TGroupBox) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TGroupBox) DragKind

func (g *TGroupBox) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TGroupBox) DragMode

func (g *TGroupBox) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TGroupBox) Dragging

func (g *TGroupBox) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TGroupBox) EnableAlign added in v1.1.21

func (g *TGroupBox) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TGroupBox) Enabled

func (g *TGroupBox) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TGroupBox) Equals

func (g *TGroupBox) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TGroupBox) FindChildControl added in v1.1.21

func (g *TGroupBox) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TGroupBox) FindComponent

func (g *TGroupBox) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TGroupBox) Font

func (g *TGroupBox) Font() *TFont

Font

获取字体。

Get Font.

func (*TGroupBox) Free

func (g *TGroupBox) Free()

Free

释放对象。

Free object.

func (*TGroupBox) GetHashCode

func (g *TGroupBox) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TGroupBox) GetNamePath

func (g *TGroupBox) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TGroupBox) GetTextBuf

func (g *TGroupBox) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TGroupBox) GetTextLen

func (g *TGroupBox) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TGroupBox) Handle

func (g *TGroupBox) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TGroupBox) HandleAllocated

func (g *TGroupBox) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TGroupBox) HasParent

func (g *TGroupBox) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TGroupBox) Height

func (g *TGroupBox) Height() int32

Height

获取高度。

Get height.

func (*TGroupBox) Hide

func (g *TGroupBox) Hide()

Hide

隐藏控件。

Hidden control.

func (*TGroupBox) Hint

func (g *TGroupBox) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TGroupBox) InheritsFrom added in v1.1.18

func (g *TGroupBox) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TGroupBox) InsertControl added in v1.1.21

func (g *TGroupBox) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TGroupBox) Instance

func (g *TGroupBox) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TGroupBox) InstanceSize added in v1.1.18

func (g *TGroupBox) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TGroupBox) Invalidate

func (g *TGroupBox) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TGroupBox) Is added in v1.2.10

func (g *TGroupBox) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TGroupBox) IsValid

func (g *TGroupBox) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TGroupBox) Left

func (g *TGroupBox) Left() int32

Left

获取左边位置。

Get Left position.

func (*TGroupBox) MouseInClient added in v1.1.21

func (g *TGroupBox) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TGroupBox) Name

func (g *TGroupBox) Name() string

Name

获取组件名称。

Get the component name.

func (*TGroupBox) Owner

func (g *TGroupBox) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TGroupBox) PaintTo added in v1.1.21

func (g *TGroupBox) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TGroupBox) Parent

func (g *TGroupBox) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TGroupBox) ParentBackground

func (g *TGroupBox) ParentBackground() bool

func (*TGroupBox) ParentColor

func (g *TGroupBox) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TGroupBox) ParentDoubleBuffered

func (g *TGroupBox) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TGroupBox) ParentFont

func (g *TGroupBox) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TGroupBox) ParentShowHint

func (g *TGroupBox) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TGroupBox) ParentToClient

func (g *TGroupBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TGroupBox) ParentWindow

func (g *TGroupBox) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TGroupBox) Perform

func (g *TGroupBox) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TGroupBox) PopupMenu

func (g *TGroupBox) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TGroupBox) Realign

func (g *TGroupBox) Realign()

Realign

重新对齐。

Realign.

func (*TGroupBox) Refresh

func (g *TGroupBox) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TGroupBox) RemoveControl added in v1.1.21

func (g *TGroupBox) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TGroupBox) Repaint

func (g *TGroupBox) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TGroupBox) ScrollBy added in v1.1.21

func (g *TGroupBox) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TGroupBox) SendToBack

func (g *TGroupBox) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TGroupBox) SetAnchorSideBottom

func (g *TGroupBox) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TGroupBox) SetAnchorSideLeft

func (g *TGroupBox) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TGroupBox) SetAnchorSideRight

func (g *TGroupBox) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TGroupBox) SetAnchorSideTop

func (g *TGroupBox) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TGroupBox) SetAnchors

func (g *TGroupBox) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TGroupBox) SetBiDiMode

func (g *TGroupBox) SetBiDiMode(value TBiDiMode)

func (*TGroupBox) SetBorderSpacing

func (g *TGroupBox) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TGroupBox) SetBounds

func (g *TGroupBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TGroupBox) SetBoundsRect

func (g *TGroupBox) SetBoundsRect(value TRect)

func (*TGroupBox) SetCaption

func (g *TGroupBox) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TGroupBox) SetChildSizing

func (g *TGroupBox) SetChildSizing(value *TControlChildSizing)

func (*TGroupBox) SetClientHeight

func (g *TGroupBox) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TGroupBox) SetClientWidth

func (g *TGroupBox) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TGroupBox) SetColor

func (g *TGroupBox) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TGroupBox) SetComponentIndex

func (g *TGroupBox) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TGroupBox) SetConstraints added in v1.2.7

func (g *TGroupBox) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TGroupBox) SetControlState added in v1.1.21

func (g *TGroupBox) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TGroupBox) SetControlStyle added in v1.1.21

func (g *TGroupBox) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TGroupBox) SetCursor

func (g *TGroupBox) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TGroupBox) SetDockSite

func (g *TGroupBox) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TGroupBox) SetDoubleBuffered

func (g *TGroupBox) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TGroupBox) SetDragCursor

func (g *TGroupBox) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TGroupBox) SetDragKind

func (g *TGroupBox) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TGroupBox) SetDragMode

func (g *TGroupBox) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TGroupBox) SetEnabled

func (g *TGroupBox) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TGroupBox) SetFocus

func (g *TGroupBox) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TGroupBox) SetFont

func (g *TGroupBox) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TGroupBox) SetHeight

func (g *TGroupBox) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TGroupBox) SetHint

func (g *TGroupBox) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TGroupBox) SetLeft

func (g *TGroupBox) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TGroupBox) SetName

func (g *TGroupBox) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TGroupBox) SetOnAlignPosition added in v1.2.10

func (g *TGroupBox) SetOnAlignPosition(fn TAlignPositionEvent)

SetOnAlignPosition

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TGroupBox) SetOnClick

func (g *TGroupBox) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TGroupBox) SetOnContextPopup

func (g *TGroupBox) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TGroupBox) SetOnDblClick

func (g *TGroupBox) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TGroupBox) SetOnDockDrop

func (g *TGroupBox) SetOnDockDrop(fn TDockDropEvent)

func (*TGroupBox) SetOnDragDrop

func (g *TGroupBox) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TGroupBox) SetOnDragOver

func (g *TGroupBox) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TGroupBox) SetOnEndDock

func (g *TGroupBox) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TGroupBox) SetOnEndDrag

func (g *TGroupBox) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TGroupBox) SetOnEnter

func (g *TGroupBox) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TGroupBox) SetOnExit

func (g *TGroupBox) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TGroupBox) SetOnGetSiteInfo

func (g *TGroupBox) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TGroupBox) SetOnMouseDown

func (g *TGroupBox) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TGroupBox) SetOnMouseEnter

func (g *TGroupBox) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TGroupBox) SetOnMouseLeave

func (g *TGroupBox) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TGroupBox) SetOnMouseMove

func (g *TGroupBox) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TGroupBox) SetOnMouseUp

func (g *TGroupBox) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TGroupBox) SetOnStartDock

func (g *TGroupBox) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TGroupBox) SetOnUnDock

func (g *TGroupBox) SetOnUnDock(fn TUnDockEvent)

func (*TGroupBox) SetParent

func (g *TGroupBox) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TGroupBox) SetParentBackground

func (g *TGroupBox) SetParentBackground(value bool)

func (*TGroupBox) SetParentColor

func (g *TGroupBox) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TGroupBox) SetParentDoubleBuffered

func (g *TGroupBox) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TGroupBox) SetParentFont

func (g *TGroupBox) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TGroupBox) SetParentShowHint

func (g *TGroupBox) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TGroupBox) SetParentWindow

func (g *TGroupBox) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TGroupBox) SetPopupMenu

func (g *TGroupBox) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TGroupBox) SetShowHint

func (g *TGroupBox) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TGroupBox) SetTabOrder

func (g *TGroupBox) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TGroupBox) SetTabStop

func (g *TGroupBox) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TGroupBox) SetTag

func (g *TGroupBox) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TGroupBox) SetTextBuf added in v1.1.21

func (g *TGroupBox) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TGroupBox) SetTop

func (g *TGroupBox) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TGroupBox) SetUseDockManager

func (g *TGroupBox) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TGroupBox) SetVisible

func (g *TGroupBox) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TGroupBox) SetWidth

func (g *TGroupBox) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TGroupBox) Show

func (g *TGroupBox) Show()

Show

显示控件。

Show control.

func (*TGroupBox) ShowHint

func (g *TGroupBox) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TGroupBox) Showing

func (g *TGroupBox) Showing() bool

func (*TGroupBox) TabOrder

func (g *TGroupBox) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TGroupBox) TabStop

func (g *TGroupBox) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TGroupBox) Tag

func (g *TGroupBox) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TGroupBox) ToString

func (g *TGroupBox) ToString() string

ToString

文本类信息。

Text information.

func (*TGroupBox) Top

func (g *TGroupBox) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TGroupBox) UnsafeAddr added in v1.1.21

func (g *TGroupBox) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TGroupBox) Update

func (g *TGroupBox) Update()

Update

控件更新。

Update.

func (*TGroupBox) UseDockManager

func (g *TGroupBox) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TGroupBox) Visible

func (g *TGroupBox) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TGroupBox) VisibleDockClientCount added in v1.1.21

func (g *TGroupBox) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TGroupBox) Width

func (g *TGroupBox) Width() int32

Width

获取宽度。

Get width.

type THdrEvent

type THdrEvent func(sender IObject, isColumn bool, index int32)

type THeaderControl added in v1.1.19

type THeaderControl struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsHeaderControl added in v1.2.10

func AsHeaderControl(obj interface{}) *THeaderControl

AsHeaderControl

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewHeaderControl added in v1.1.19

func NewHeaderControl(owner IComponent) *THeaderControl

NewHeaderControl

创建一个新的对象。

Create a new object.

func (*THeaderControl) Action added in v1.1.19

func (h *THeaderControl) Action() *TAction

func (*THeaderControl) Align added in v1.1.19

func (h *THeaderControl) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*THeaderControl) AnchorSideBottom

func (h *THeaderControl) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*THeaderControl) AnchorSideLeft

func (h *THeaderControl) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*THeaderControl) AnchorSideRight

func (h *THeaderControl) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*THeaderControl) AnchorSideTop

func (h *THeaderControl) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*THeaderControl) AnchorToNeighbour

func (h *THeaderControl) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*THeaderControl) AnchorVerticalCenterTo

func (h *THeaderControl) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*THeaderControl) Anchors added in v1.1.19

func (h *THeaderControl) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*THeaderControl) Assign added in v1.1.19

func (h *THeaderControl) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*THeaderControl) BorderWidth added in v1.1.19

func (h *THeaderControl) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*THeaderControl) BoundsRect added in v1.1.19

func (h *THeaderControl) BoundsRect() TRect

func (*THeaderControl) BringToFront added in v1.1.19

func (h *THeaderControl) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*THeaderControl) Brush added in v1.1.19

func (h *THeaderControl) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*THeaderControl) CanFocus added in v1.1.19

func (h *THeaderControl) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*THeaderControl) Canvas added in v1.1.19

func (h *THeaderControl) Canvas() *TCanvas

Canvas

获取画布。

func (*THeaderControl) ChildSizing

func (h *THeaderControl) ChildSizing() *TControlChildSizing

func (*THeaderControl) ClassName added in v1.1.19

func (h *THeaderControl) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*THeaderControl) ClassType added in v1.1.19

func (h *THeaderControl) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*THeaderControl) ClientHeight added in v1.1.19

func (h *THeaderControl) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*THeaderControl) ClientOrigin added in v1.1.21

func (h *THeaderControl) ClientOrigin() TPoint

func (*THeaderControl) ClientRect added in v1.1.19

func (h *THeaderControl) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*THeaderControl) ClientToParent added in v1.1.19

func (h *THeaderControl) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*THeaderControl) ClientToScreen added in v1.1.19

func (h *THeaderControl) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*THeaderControl) ClientWidth added in v1.1.19

func (h *THeaderControl) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*THeaderControl) ComponentCount added in v1.1.19

func (h *THeaderControl) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*THeaderControl) ComponentIndex added in v1.1.19

func (h *THeaderControl) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*THeaderControl) Components added in v1.1.19

func (h *THeaderControl) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*THeaderControl) Constraints added in v1.2.7

func (h *THeaderControl) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*THeaderControl) ContainsControl added in v1.1.21

func (h *THeaderControl) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*THeaderControl) ControlAtPos added in v1.1.21

func (h *THeaderControl) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*THeaderControl) ControlCount added in v1.1.19

func (h *THeaderControl) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*THeaderControl) ControlState added in v1.1.21

func (h *THeaderControl) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*THeaderControl) ControlStyle added in v1.1.21

func (h *THeaderControl) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*THeaderControl) Controls added in v1.1.19

func (h *THeaderControl) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*THeaderControl) Cursor added in v1.1.19

func (h *THeaderControl) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*THeaderControl) DisableAlign added in v1.1.21

func (h *THeaderControl) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*THeaderControl) DockClientCount added in v1.1.21

func (h *THeaderControl) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*THeaderControl) DockClients added in v1.1.21

func (h *THeaderControl) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*THeaderControl) DockSite added in v1.1.19

func (h *THeaderControl) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*THeaderControl) DoubleBuffered added in v1.1.19

func (h *THeaderControl) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*THeaderControl) DragCursor added in v1.1.19

func (h *THeaderControl) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*THeaderControl) DragKind added in v1.1.19

func (h *THeaderControl) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*THeaderControl) DragMode added in v1.1.19

func (h *THeaderControl) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*THeaderControl) Dragging added in v1.1.19

func (h *THeaderControl) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*THeaderControl) EnableAlign added in v1.1.21

func (h *THeaderControl) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*THeaderControl) Enabled added in v1.1.19

func (h *THeaderControl) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*THeaderControl) Equals added in v1.1.19

func (h *THeaderControl) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*THeaderControl) FindChildControl added in v1.1.21

func (h *THeaderControl) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*THeaderControl) FindComponent added in v1.1.19

func (h *THeaderControl) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*THeaderControl) FixDesignFontsPPI

func (h *THeaderControl) FixDesignFontsPPI(ADesignTimePPI int32)

func (*THeaderControl) FlipChildren added in v1.1.19

func (h *THeaderControl) FlipChildren(AllLevels bool)

func (*THeaderControl) Floating added in v1.1.19

func (h *THeaderControl) Floating() bool

func (*THeaderControl) Focused added in v1.1.19

func (h *THeaderControl) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*THeaderControl) Font added in v1.1.19

func (h *THeaderControl) Font() *TFont

Font

获取字体。

Get Font.

func (*THeaderControl) Free added in v1.1.19

func (h *THeaderControl) Free()

Free

释放对象。

Free object.

func (*THeaderControl) GetHashCode added in v1.1.19

func (h *THeaderControl) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*THeaderControl) GetNamePath added in v1.1.19

func (h *THeaderControl) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*THeaderControl) GetTextBuf added in v1.1.19

func (h *THeaderControl) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*THeaderControl) GetTextLen added in v1.1.19

func (h *THeaderControl) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*THeaderControl) Handle added in v1.1.19

func (h *THeaderControl) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*THeaderControl) HandleAllocated added in v1.1.19

func (h *THeaderControl) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*THeaderControl) HasParent added in v1.1.19

func (h *THeaderControl) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*THeaderControl) Height added in v1.1.19

func (h *THeaderControl) Height() int32

Height

获取高度。

Get height.

func (*THeaderControl) Hide added in v1.1.19

func (h *THeaderControl) Hide()

Hide

隐藏控件。

Hidden control.

func (*THeaderControl) Hint added in v1.1.19

func (h *THeaderControl) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*THeaderControl) Images added in v1.1.19

func (h *THeaderControl) Images() *TImageList

Images

获取图标索引列表对象。

func (*THeaderControl) InheritsFrom added in v1.1.19

func (h *THeaderControl) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*THeaderControl) InsertControl added in v1.1.21

func (h *THeaderControl) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*THeaderControl) Instance added in v1.1.19

func (h *THeaderControl) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*THeaderControl) InstanceSize added in v1.1.19

func (h *THeaderControl) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*THeaderControl) Invalidate added in v1.1.19

func (h *THeaderControl) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*THeaderControl) Is added in v1.2.10

func (h *THeaderControl) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*THeaderControl) IsValid added in v1.1.19

func (h *THeaderControl) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*THeaderControl) Left added in v1.1.19

func (h *THeaderControl) Left() int32

Left

获取左边位置。

Get Left position.

func (*THeaderControl) MouseInClient added in v1.1.21

func (h *THeaderControl) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*THeaderControl) Name added in v1.1.19

func (h *THeaderControl) Name() string

Name

获取组件名称。

Get the component name.

func (*THeaderControl) Owner added in v1.1.19

func (h *THeaderControl) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*THeaderControl) PaintTo added in v1.1.21

func (h *THeaderControl) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*THeaderControl) Parent added in v1.1.19

func (h *THeaderControl) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*THeaderControl) ParentDoubleBuffered added in v1.1.19

func (h *THeaderControl) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*THeaderControl) ParentFont added in v1.1.19

func (h *THeaderControl) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*THeaderControl) ParentShowHint added in v1.1.19

func (h *THeaderControl) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*THeaderControl) ParentToClient added in v1.1.19

func (h *THeaderControl) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*THeaderControl) ParentWindow added in v1.1.19

func (h *THeaderControl) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*THeaderControl) Perform added in v1.1.19

func (h *THeaderControl) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*THeaderControl) PopupMenu added in v1.1.19

func (h *THeaderControl) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*THeaderControl) Realign added in v1.1.19

func (h *THeaderControl) Realign()

Realign

重新对齐。

Realign.

func (*THeaderControl) Refresh added in v1.1.19

func (h *THeaderControl) Refresh()

Refresh

刷新控件。

Refresh control.

func (*THeaderControl) RemoveControl added in v1.1.21

func (h *THeaderControl) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*THeaderControl) Repaint added in v1.1.19

func (h *THeaderControl) Repaint()

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 added in v1.1.19

func (h *THeaderControl) ScaleBy(M int32, D int32)

ScaleBy

按比例缩放。

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 added in v1.1.19

func (h *THeaderControl) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*THeaderControl) ScrollBy added in v1.1.21

func (h *THeaderControl) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*THeaderControl) Sections added in v1.2.10

func (h *THeaderControl) Sections() *THeaderSections

func (*THeaderControl) SendToBack added in v1.1.19

func (h *THeaderControl) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*THeaderControl) SetAction added in v1.1.19

func (h *THeaderControl) SetAction(value IComponent)

func (*THeaderControl) SetAlign added in v1.1.19

func (h *THeaderControl) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*THeaderControl) SetAnchorSideBottom

func (h *THeaderControl) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*THeaderControl) SetAnchorSideLeft

func (h *THeaderControl) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*THeaderControl) SetAnchorSideRight

func (h *THeaderControl) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*THeaderControl) SetAnchorSideTop

func (h *THeaderControl) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*THeaderControl) SetAnchors added in v1.1.19

func (h *THeaderControl) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*THeaderControl) SetBorderSpacing

func (h *THeaderControl) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*THeaderControl) SetBorderWidth added in v1.1.19

func (h *THeaderControl) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*THeaderControl) SetBounds added in v1.1.19

func (h *THeaderControl) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*THeaderControl) SetBoundsRect added in v1.1.19

func (h *THeaderControl) SetBoundsRect(value TRect)

func (*THeaderControl) SetChildSizing

func (h *THeaderControl) SetChildSizing(value *TControlChildSizing)

func (*THeaderControl) SetClientHeight added in v1.1.19

func (h *THeaderControl) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*THeaderControl) SetClientWidth added in v1.1.19

func (h *THeaderControl) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*THeaderControl) SetComponentIndex added in v1.1.19

func (h *THeaderControl) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*THeaderControl) SetConstraints added in v1.2.7

func (h *THeaderControl) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*THeaderControl) SetControlState added in v1.1.21

func (h *THeaderControl) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*THeaderControl) SetControlStyle added in v1.1.21

func (h *THeaderControl) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*THeaderControl) SetCursor added in v1.1.19

func (h *THeaderControl) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*THeaderControl) SetDockSite added in v1.1.19

func (h *THeaderControl) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*THeaderControl) SetDoubleBuffered added in v1.1.19

func (h *THeaderControl) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*THeaderControl) SetDragCursor added in v1.1.19

func (h *THeaderControl) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*THeaderControl) SetDragKind added in v1.1.19

func (h *THeaderControl) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*THeaderControl) SetDragMode added in v1.1.19

func (h *THeaderControl) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*THeaderControl) SetEnabled added in v1.1.19

func (h *THeaderControl) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*THeaderControl) SetFocus added in v1.1.19

func (h *THeaderControl) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*THeaderControl) SetFont added in v1.1.19

func (h *THeaderControl) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*THeaderControl) SetHeight added in v1.1.19

func (h *THeaderControl) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*THeaderControl) SetHint added in v1.1.19

func (h *THeaderControl) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*THeaderControl) SetImages added in v1.1.19

func (h *THeaderControl) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

func (*THeaderControl) SetLeft added in v1.1.19

func (h *THeaderControl) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*THeaderControl) SetName added in v1.1.19

func (h *THeaderControl) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*THeaderControl) SetOnContextPopup added in v1.1.19

func (h *THeaderControl) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*THeaderControl) SetOnDragDrop added in v1.1.19

func (h *THeaderControl) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*THeaderControl) SetOnDragOver added in v1.1.19

func (h *THeaderControl) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*THeaderControl) SetOnEndDock added in v1.1.19

func (h *THeaderControl) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*THeaderControl) SetOnEndDrag added in v1.1.19

func (h *THeaderControl) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*THeaderControl) SetOnMouseDown added in v1.1.19

func (h *THeaderControl) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*THeaderControl) SetOnMouseEnter added in v1.1.19

func (h *THeaderControl) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*THeaderControl) SetOnMouseLeave added in v1.1.19

func (h *THeaderControl) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*THeaderControl) SetOnMouseMove added in v1.1.19

func (h *THeaderControl) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*THeaderControl) SetOnMouseUp added in v1.1.19

func (h *THeaderControl) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*THeaderControl) SetOnResize added in v1.1.19

func (h *THeaderControl) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*THeaderControl) SetOnSectionClick added in v1.1.19

func (h *THeaderControl) SetOnSectionClick(fn TSectionNotifyEvent)

func (*THeaderControl) SetOnSectionDrag added in v1.1.19

func (h *THeaderControl) SetOnSectionDrag(fn TSectionDragEvent)

func (*THeaderControl) SetOnSectionEndDrag added in v1.1.19

func (h *THeaderControl) SetOnSectionEndDrag(fn TNotifyEvent)

func (*THeaderControl) SetOnSectionResize added in v1.1.19

func (h *THeaderControl) SetOnSectionResize(fn TSectionNotifyEvent)

func (*THeaderControl) SetOnSectionTrack added in v1.1.19

func (h *THeaderControl) SetOnSectionTrack(fn TSectionTrackEvent)

func (*THeaderControl) SetParent added in v1.1.19

func (h *THeaderControl) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*THeaderControl) SetParentDoubleBuffered added in v1.1.19

func (h *THeaderControl) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*THeaderControl) SetParentFont added in v1.1.19

func (h *THeaderControl) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*THeaderControl) SetParentShowHint added in v1.1.19

func (h *THeaderControl) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*THeaderControl) SetParentWindow added in v1.1.19

func (h *THeaderControl) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*THeaderControl) SetPopupMenu added in v1.1.19

func (h *THeaderControl) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*THeaderControl) SetSections added in v1.2.10

func (h *THeaderControl) SetSections(value *THeaderSections)

func (*THeaderControl) SetShowHint added in v1.1.19

func (h *THeaderControl) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*THeaderControl) SetTabOrder added in v1.1.19

func (h *THeaderControl) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*THeaderControl) SetTabStop added in v1.1.19

func (h *THeaderControl) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*THeaderControl) SetTag added in v1.1.19

func (h *THeaderControl) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*THeaderControl) SetTextBuf added in v1.1.21

func (h *THeaderControl) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*THeaderControl) SetTop added in v1.1.19

func (h *THeaderControl) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*THeaderControl) SetUseDockManager added in v1.1.19

func (h *THeaderControl) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*THeaderControl) SetVisible added in v1.1.19

func (h *THeaderControl) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*THeaderControl) SetWidth added in v1.1.19

func (h *THeaderControl) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*THeaderControl) Show added in v1.1.19

func (h *THeaderControl) Show()

Show

显示控件。

Show control.

func (*THeaderControl) ShowHint added in v1.1.19

func (h *THeaderControl) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*THeaderControl) Showing

func (h *THeaderControl) Showing() bool

func (*THeaderControl) TabOrder added in v1.1.19

func (h *THeaderControl) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*THeaderControl) TabStop added in v1.1.19

func (h *THeaderControl) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*THeaderControl) Tag added in v1.1.19

func (h *THeaderControl) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*THeaderControl) ToString added in v1.1.19

func (h *THeaderControl) ToString() string

ToString

文本类信息。

Text information.

func (*THeaderControl) Top added in v1.1.19

func (h *THeaderControl) Top() int32

Top

获取顶边位置。

Get Top position.

func (*THeaderControl) UnsafeAddr added in v1.1.21

func (h *THeaderControl) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*THeaderControl) Update added in v1.1.19

func (h *THeaderControl) Update()

Update

控件更新。

Update.

func (*THeaderControl) UseDockManager added in v1.1.19

func (h *THeaderControl) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*THeaderControl) Visible added in v1.1.19

func (h *THeaderControl) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*THeaderControl) VisibleDockClientCount added in v1.1.21

func (h *THeaderControl) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*THeaderControl) Width added in v1.1.19

func (h *THeaderControl) Width() int32

Width

获取宽度。

Get width.

type THeaderSection added in v1.1.19

type THeaderSection struct {
	IObject
	// contains filtered or unexported fields
}

func AsHeaderSection added in v1.2.10

func AsHeaderSection(obj interface{}) *THeaderSection

AsHeaderSection

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewHeaderSection added in v1.1.19

func NewHeaderSection(AOwner *TCollection) *THeaderSection

NewHeaderSection

创建一个新的对象。

Create a new object.

func (*THeaderSection) Alignment added in v1.1.19

func (h *THeaderSection) Alignment() TAlignment

Alignment

获取文字对齐。

Get Text alignment.

func (*THeaderSection) Assign added in v1.1.19

func (h *THeaderSection) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*THeaderSection) ClassName added in v1.1.19

func (h *THeaderSection) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*THeaderSection) ClassType added in v1.1.19

func (h *THeaderSection) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*THeaderSection) Collection added in v1.1.23

func (h *THeaderSection) Collection() *TCollection

func (*THeaderSection) DisplayName added in v1.2.7

func (h *THeaderSection) DisplayName() string

func (*THeaderSection) Equals added in v1.1.19

func (h *THeaderSection) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*THeaderSection) Free added in v1.1.19

func (h *THeaderSection) Free()

Free

释放对象。

Free object.

func (*THeaderSection) GetHashCode added in v1.1.19

func (h *THeaderSection) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*THeaderSection) GetNamePath added in v1.1.19

func (h *THeaderSection) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*THeaderSection) ImageIndex added in v1.1.19

func (h *THeaderSection) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*THeaderSection) Index added in v1.1.19

func (h *THeaderSection) Index() int32

func (*THeaderSection) InheritsFrom added in v1.1.19

func (h *THeaderSection) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*THeaderSection) Instance added in v1.1.19

func (h *THeaderSection) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*THeaderSection) InstanceSize added in v1.1.19

func (h *THeaderSection) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*THeaderSection) Is added in v1.2.10

func (h *THeaderSection) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*THeaderSection) IsValid added in v1.1.19

func (h *THeaderSection) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*THeaderSection) Left added in v1.1.19

func (h *THeaderSection) Left() int32

Left

获取左边位置。

Get Left position.

func (*THeaderSection) MaxWidth added in v1.1.19

func (h *THeaderSection) MaxWidth() int32

func (*THeaderSection) MinWidth added in v1.1.19

func (h *THeaderSection) MinWidth() int32

func (*THeaderSection) Right added in v1.1.19

func (h *THeaderSection) Right() int32

func (*THeaderSection) SetAlignment added in v1.1.19

func (h *THeaderSection) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*THeaderSection) SetCollection added in v1.1.23

func (h *THeaderSection) SetCollection(value *TCollection)

func (*THeaderSection) SetDisplayName added in v1.2.7

func (h *THeaderSection) SetDisplayName(value string)

func (*THeaderSection) SetImageIndex added in v1.1.19

func (h *THeaderSection) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*THeaderSection) SetIndex added in v1.1.19

func (h *THeaderSection) SetIndex(value int32)

func (*THeaderSection) SetMaxWidth added in v1.1.19

func (h *THeaderSection) SetMaxWidth(value int32)

func (*THeaderSection) SetMinWidth added in v1.1.19

func (h *THeaderSection) SetMinWidth(value int32)

func (*THeaderSection) SetText added in v1.1.19

func (h *THeaderSection) SetText(value string)

SetText

设置文本。

func (*THeaderSection) SetWidth added in v1.1.19

func (h *THeaderSection) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*THeaderSection) Text added in v1.1.19

func (h *THeaderSection) Text() string

Text

获取文本。

func (*THeaderSection) ToString added in v1.1.19

func (h *THeaderSection) ToString() string

ToString

文本类信息。

Text information.

func (*THeaderSection) UnsafeAddr added in v1.1.21

func (h *THeaderSection) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*THeaderSection) Width added in v1.1.19

func (h *THeaderSection) Width() int32

Width

获取宽度。

Get width.

type THeaderSections added in v1.1.19

type THeaderSections struct {
	IObject
	// contains filtered or unexported fields
}

func AsHeaderSections added in v1.2.10

func AsHeaderSections(obj interface{}) *THeaderSections

AsHeaderSections

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewHeaderSections added in v1.1.19

func NewHeaderSections(AOwner *THeaderControl) *THeaderSections

NewHeaderSections

创建一个新的对象。

Create a new object.

func (*THeaderSections) Add added in v1.1.19

func (h *THeaderSections) Add() *THeaderSection

func (*THeaderSections) AddItem added in v1.1.19

func (h *THeaderSections) AddItem(Item *THeaderSection, Index int32) *THeaderSection

func (*THeaderSections) Assign added in v1.1.19

func (h *THeaderSections) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*THeaderSections) BeginUpdate added in v1.1.19

func (h *THeaderSections) BeginUpdate()

func (*THeaderSections) ClassName added in v1.1.19

func (h *THeaderSections) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*THeaderSections) ClassType added in v1.1.19

func (h *THeaderSections) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*THeaderSections) Clear added in v1.1.19

func (h *THeaderSections) Clear()

Clear

清除。

func (*THeaderSections) Count added in v1.1.19

func (h *THeaderSections) Count() int32

func (*THeaderSections) Delete added in v1.1.19

func (h *THeaderSections) Delete(Index int32)

func (*THeaderSections) EndUpdate added in v1.1.19

func (h *THeaderSections) EndUpdate()

func (*THeaderSections) Equals added in v1.1.19

func (h *THeaderSections) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*THeaderSections) FindItemID added in v1.1.23

func (h *THeaderSections) FindItemID(ID int32) *TCollectionItem

func (*THeaderSections) Free added in v1.1.19

func (h *THeaderSections) Free()

Free

释放对象。

Free object.

func (*THeaderSections) GetHashCode added in v1.1.19

func (h *THeaderSections) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*THeaderSections) GetNamePath added in v1.1.19

func (h *THeaderSections) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*THeaderSections) InheritsFrom added in v1.1.19

func (h *THeaderSections) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*THeaderSections) Insert added in v1.1.19

func (h *THeaderSections) Insert(Index int32) *THeaderSection

func (*THeaderSections) Instance added in v1.1.19

func (h *THeaderSections) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*THeaderSections) InstanceSize added in v1.1.19

func (h *THeaderSections) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*THeaderSections) Is added in v1.2.10

func (h *THeaderSections) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*THeaderSections) IsValid added in v1.1.19

func (h *THeaderSections) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*THeaderSections) Items added in v1.1.19

func (h *THeaderSections) Items(Index int32) *THeaderSection

func (*THeaderSections) Owner added in v1.1.19

func (h *THeaderSections) Owner() *TObject

Owner

组件所有者。

component owner.

func (*THeaderSections) SetItems added in v1.1.19

func (h *THeaderSections) SetItems(Index int32, value *THeaderSection)

func (*THeaderSections) ToString added in v1.1.19

func (h *THeaderSections) ToString() string

ToString

文本类信息。

Text information.

func (*THeaderSections) UnsafeAddr added in v1.1.21

func (h *THeaderSections) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type THeaderSizingEvent

type THeaderSizingEvent func(sender IObject, isColumn bool, aIndex, aSize int32)

type THelpEvent

type THelpEvent func(command uint16, data THelpEventData, callHelp, result *bool)

type TIcon

type TIcon struct {
	IBitmap
	// contains filtered or unexported fields
}

func AsIcon added in v1.2.10

func AsIcon(obj interface{}) *TIcon

AsIcon

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewIcon

func NewIcon() *TIcon

NewIcon

创建一个新的对象。

Create a new object.

func (*TIcon) Assign

func (i *TIcon) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TIcon) ClassName

func (i *TIcon) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TIcon) ClassType added in v1.1.18

func (i *TIcon) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TIcon) Empty

func (i *TIcon) Empty() bool

func (*TIcon) Equals

func (i *TIcon) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TIcon) Free

func (i *TIcon) Free()

Free

释放对象。

Free object.

func (*TIcon) GetHashCode

func (i *TIcon) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TIcon) GetNamePath

func (i *TIcon) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TIcon) Handle

func (i *TIcon) Handle() HICON

Handle

获取控件句柄。

Get Control handle.

func (*TIcon) HandleAllocated

func (i *TIcon) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TIcon) Height

func (i *TIcon) Height() int32

Height

获取高度。

Get height.

func (*TIcon) InheritsFrom added in v1.1.18

func (i *TIcon) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TIcon) Instance

func (i *TIcon) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TIcon) InstanceSize added in v1.1.18

func (i *TIcon) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TIcon) Is added in v1.2.10

func (i *TIcon) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TIcon) IsValid

func (i *TIcon) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TIcon) LoadFromBytes

func (i *TIcon) LoadFromBytes(data []byte)

func (*TIcon) LoadFromFile

func (i *TIcon) LoadFromFile(Filename string)

LoadFromFile

从文件加载。

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)

LoadFromStream

文件流加载。

func (*TIcon) Modified

func (i *TIcon) Modified() bool

Modified

获取修改。

Get modified.

func (*TIcon) Palette added in v1.1.23

func (i *TIcon) Palette() HPALETTE

func (*TIcon) PaletteModified

func (i *TIcon) PaletteModified() bool

func (*TIcon) SaveToFile

func (i *TIcon) SaveToFile(Filename string)

SaveToFile

保存至文件。

func (*TIcon) SaveToStream

func (i *TIcon) SaveToStream(Stream IStream)

SaveToStream

保存至流。

func (*TIcon) SetHandle

func (i *TIcon) SetHandle(value HICON)

SetHandle

设置控件句柄。

Set Control handle.

func (*TIcon) SetHeight

func (i *TIcon) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TIcon) SetModified

func (i *TIcon) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TIcon) SetOnChange

func (i *TIcon) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TIcon) SetPalette added in v1.1.23

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)

SetTransparent

设置透明。

Set transparent.

func (*TIcon) SetWidth

func (i *TIcon) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TIcon) ToString

func (i *TIcon) ToString() string

ToString

文本类信息。

Text information.

func (*TIcon) Transparent

func (i *TIcon) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TIcon) UnsafeAddr added in v1.1.21

func (i *TIcon) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TIcon) Width

func (i *TIcon) Width() int32

Width

获取宽度。

Get width.

type TIconOptions

type TIconOptions struct {
	IObject
	// contains filtered or unexported fields
}

func AsIconOptions added in v1.2.10

func AsIconOptions(obj interface{}) *TIconOptions

AsIconOptions

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TIconOptions) Arrangement

func (i *TIconOptions) Arrangement() TIconArrangement

func (*TIconOptions) Assign

func (i *TIconOptions) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TIconOptions) ClassType added in v1.1.18

func (i *TIconOptions) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TIconOptions) Equals

func (i *TIconOptions) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TIconOptions) GetHashCode

func (i *TIconOptions) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TIconOptions) GetNamePath

func (i *TIconOptions) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TIconOptions) InheritsFrom added in v1.1.18

func (i *TIconOptions) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TIconOptions) Instance

func (i *TIconOptions) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TIconOptions) InstanceSize added in v1.1.18

func (i *TIconOptions) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TIconOptions) Is added in v1.2.10

func (i *TIconOptions) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TIconOptions) IsValid

func (i *TIconOptions) IsValid() bool

IsValid

检测地址是否为空。

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

ToString

文本类信息。

Text information.

func (*TIconOptions) UnsafeAddr added in v1.1.21

func (i *TIconOptions) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TImage

type TImage struct {
	IControl
	// contains filtered or unexported fields
}

func AsImage added in v1.2.10

func AsImage(obj interface{}) *TImage

AsImage

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewImage

func NewImage(owner IComponent) *TImage

NewImage

创建一个新的对象。

Create a new object.

func (*TImage) Action

func (i *TImage) Action() *TAction

func (*TImage) Align

func (i *TImage) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TImage) AnchorSideBottom

func (i *TImage) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TImage) AnchorSideLeft

func (i *TImage) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TImage) AnchorSideRight

func (i *TImage) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TImage) AnchorSideTop

func (i *TImage) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TImage) AnchorToNeighbour

func (i *TImage) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TImage) AnchorVerticalCenterTo

func (i *TImage) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TImage) Anchors

func (i *TImage) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TImage) AntialiasingMode

func (i *TImage) AntialiasingMode() TAntialiasingMode

func (*TImage) Assign

func (i *TImage) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSize

获取自动调整大小。

func (*TImage) BiDiMode

func (i *TImage) BiDiMode() TBiDiMode

func (*TImage) BorderSpacing

func (i *TImage) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TImage) BoundsRect

func (i *TImage) BoundsRect() TRect

func (*TImage) BringToFront

func (i *TImage) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TImage) Canvas

func (i *TImage) Canvas() *TCanvas

Canvas

获取画布。

func (*TImage) Center

func (i *TImage) Center() bool

func (*TImage) ClassName

func (i *TImage) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TImage) ClassType added in v1.1.18

func (i *TImage) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TImage) ClientHeight

func (i *TImage) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TImage) ClientOrigin added in v1.1.21

func (i *TImage) ClientOrigin() TPoint

func (*TImage) ClientRect

func (i *TImage) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TImage) ClientToParent

func (i *TImage) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TImage) ClientToScreen

func (i *TImage) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TImage) ClientWidth

func (i *TImage) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TImage) ComponentCount

func (i *TImage) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TImage) ComponentIndex

func (i *TImage) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TImage) Components

func (i *TImage) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TImage) Constraints added in v1.2.7

func (i *TImage) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TImage) ControlState added in v1.1.21

func (i *TImage) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TImage) ControlStyle added in v1.1.21

func (i *TImage) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TImage) Cursor

func (i *TImage) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TImage) DragCursor

func (i *TImage) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TImage) DragMode

func (i *TImage) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TImage) Dragging

func (i *TImage) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TImage) Enabled

func (i *TImage) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TImage) Equals

func (i *TImage) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TImage) FindComponent

func (i *TImage) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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()

Free

释放对象。

Free object.

func (*TImage) GetHashCode

func (i *TImage) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TImage) GetNamePath

func (i *TImage) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TImage) GetTextBuf

func (i *TImage) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TImage) GetTextLen

func (i *TImage) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TImage) HasParent

func (i *TImage) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TImage) Height

func (i *TImage) Height() int32

Height

获取高度。

Get height.

func (*TImage) Hide

func (i *TImage) Hide()

Hide

隐藏控件。

Hidden control.

func (*TImage) Hint

func (i *TImage) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TImage) InheritsFrom added in v1.1.18

func (i *TImage) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TImage) Instance

func (i *TImage) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TImage) InstanceSize added in v1.1.18

func (i *TImage) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TImage) Invalidate

func (i *TImage) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TImage) Is added in v1.2.10

func (i *TImage) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TImage) IsValid

func (i *TImage) IsValid() bool

IsValid

检测地址是否为空。

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

Left

获取左边位置。

Get Left position.

func (*TImage) Name

func (i *TImage) Name() string

Name

获取组件名称。

Get the component name.

func (*TImage) Owner

func (i *TImage) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TImage) Parent

func (i *TImage) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TImage) ParentShowHint

func (i *TImage) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TImage) ParentToClient

func (i *TImage) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TImage) Perform

func (i *TImage) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TImage) Picture

func (i *TImage) Picture() *TPicture

Picture

获取图片。

func (*TImage) PopupMenu

func (i *TImage) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TImage) Proportional

func (i *TImage) Proportional() bool

Proportional

获取等比缩放。

func (*TImage) Refresh

func (i *TImage) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TImage) Repaint

func (i *TImage) Repaint()

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TImage) SendToBack

func (i *TImage) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TImage) SetAnchorSideBottom

func (i *TImage) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TImage) SetAnchorSideLeft

func (i *TImage) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TImage) SetAnchorSideRight

func (i *TImage) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TImage) SetAnchorSideTop

func (i *TImage) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TImage) SetAnchors

func (i *TImage) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TImage) SetAntialiasingMode

func (i *TImage) SetAntialiasingMode(value TAntialiasingMode)

func (*TImage) SetAutoSize

func (i *TImage) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TImage) SetBiDiMode

func (i *TImage) SetBiDiMode(value TBiDiMode)

func (*TImage) SetBorderSpacing

func (i *TImage) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TImage) SetBounds

func (i *TImage) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TImage) SetClientWidth

func (i *TImage) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TImage) SetComponentIndex

func (i *TImage) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TImage) SetConstraints added in v1.2.7

func (i *TImage) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TImage) SetControlState added in v1.1.21

func (i *TImage) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TImage) SetControlStyle added in v1.1.21

func (i *TImage) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TImage) SetCursor

func (i *TImage) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TImage) SetDragCursor

func (i *TImage) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TImage) SetDragMode

func (i *TImage) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TImage) SetEnabled

func (i *TImage) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TImage) SetHeight

func (i *TImage) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TImage) SetHint

func (i *TImage) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetLeft

设置左边位置。

Set Left position.

func (*TImage) SetName

func (i *TImage) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TImage) SetOnClick

func (i *TImage) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TImage) SetOnDblClick

func (i *TImage) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TImage) SetOnDragDrop

func (i *TImage) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TImage) SetOnDragOver

func (i *TImage) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TImage) SetOnEndDrag

func (i *TImage) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TImage) SetOnMouseDown

func (i *TImage) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TImage) SetOnMouseEnter

func (i *TImage) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TImage) SetOnMouseLeave

func (i *TImage) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TImage) SetOnMouseMove

func (i *TImage) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TImage) SetOnMouseUp

func (i *TImage) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TImage) SetOnPaint

func (i *TImage) SetOnPaint(fn TNotifyEvent)

SetOnPaint

设置绘画事件。

func (*TImage) SetOnPaintBackground

func (i *TImage) SetOnPaintBackground(fn TImagePaintBackgroundEvent)

func (*TImage) SetOnPictureChanged

func (i *TImage) SetOnPictureChanged(fn TNotifyEvent)

func (*TImage) SetParent

func (i *TImage) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TImage) SetParentShowHint

func (i *TImage) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TImage) SetPicture

func (i *TImage) SetPicture(value *TPicture)

SetPicture

设置图片。

func (*TImage) SetPopupMenu

func (i *TImage) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TImage) SetProportional

func (i *TImage) SetProportional(value bool)

SetProportional

设置等比缩放。

func (*TImage) SetShowHint

func (i *TImage) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TImage) SetStretch

func (i *TImage) SetStretch(value bool)

SetStretch

设置拉伸缩放。

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)

SetTag

设置对象标记。

Set the control tag.

func (*TImage) SetTextBuf added in v1.1.21

func (i *TImage) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TImage) SetTop

func (i *TImage) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TImage) SetTransparent

func (i *TImage) SetTransparent(value bool)

SetTransparent

设置透明。

Set transparent.

func (*TImage) SetVisible

func (i *TImage) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TImage) SetWidth

func (i *TImage) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TImage) Show

func (i *TImage) Show()

Show

显示控件。

Show control.

func (*TImage) ShowHint

func (i *TImage) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TImage) Stretch

func (i *TImage) Stretch() bool

Stretch

获取拉伸缩放。

func (*TImage) StretchInEnabled

func (i *TImage) StretchInEnabled() bool

func (*TImage) StretchOutEnabled

func (i *TImage) StretchOutEnabled() bool

func (*TImage) Tag

func (i *TImage) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TImage) ToString

func (i *TImage) ToString() string

ToString

文本类信息。

Text information.

func (*TImage) Top

func (i *TImage) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TImage) Transparent

func (i *TImage) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TImage) UnsafeAddr added in v1.1.21

func (i *TImage) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TImage) Update

func (i *TImage) Update()

Update

控件更新。

Update.

func (*TImage) Visible

func (i *TImage) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TImage) Width

func (i *TImage) Width() int32

Width

获取宽度。

Get width.

type TImageButton

type TImageButton struct {
	IControl
	// contains filtered or unexported fields
}

func AsImageButton added in v1.2.10

func AsImageButton(obj interface{}) *TImageButton

AsImageButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewImageButton

func NewImageButton(owner IComponent) *TImageButton

NewImageButton

创建一个新的对象。

Create a new object.

func (*TImageButton) Action

func (i *TImageButton) Action() *TAction

func (*TImageButton) Align

func (i *TImageButton) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TImageButton) AnchorSideBottom

func (i *TImageButton) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TImageButton) AnchorSideLeft

func (i *TImageButton) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TImageButton) AnchorSideRight

func (i *TImageButton) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TImageButton) AnchorSideTop

func (i *TImageButton) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TImageButton) AnchorToNeighbour

func (i *TImageButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TImageButton) AnchorVerticalCenterTo

func (i *TImageButton) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TImageButton) Anchors

func (i *TImageButton) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TImageButton) Assign

func (i *TImageButton) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSize

获取自动调整大小。

func (*TImageButton) BiDiMode

func (i *TImageButton) BiDiMode() TBiDiMode

func (*TImageButton) BorderSpacing

func (i *TImageButton) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TImageButton) BoundsRect

func (i *TImageButton) BoundsRect() TRect

func (*TImageButton) BringToFront

func (i *TImageButton) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TImageButton) Caption

func (i *TImageButton) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TImageButton) ClassName

func (i *TImageButton) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TImageButton) ClassType added in v1.1.18

func (i *TImageButton) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TImageButton) Click

func (i *TImageButton) Click()

Click

单击。

func (*TImageButton) ClientHeight

func (i *TImageButton) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TImageButton) ClientOrigin added in v1.1.21

func (i *TImageButton) ClientOrigin() TPoint

func (*TImageButton) ClientRect

func (i *TImageButton) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TImageButton) ClientToParent

func (i *TImageButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TImageButton) ClientToScreen

func (i *TImageButton) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TImageButton) ClientWidth

func (i *TImageButton) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TImageButton) ComponentCount

func (i *TImageButton) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TImageButton) ComponentIndex

func (i *TImageButton) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TImageButton) Components

func (i *TImageButton) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TImageButton) Constraints added in v1.2.7

func (i *TImageButton) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TImageButton) ControlState added in v1.1.21

func (i *TImageButton) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TImageButton) ControlStyle added in v1.1.21

func (i *TImageButton) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TImageButton) Cursor

func (i *TImageButton) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TImageButton) DragCursor

func (i *TImageButton) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TImageButton) DragKind

func (i *TImageButton) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TImageButton) DragMode

func (i *TImageButton) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TImageButton) Dragging

func (i *TImageButton) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TImageButton) Enabled

func (i *TImageButton) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TImageButton) Equals

func (i *TImageButton) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TImageButton) FindComponent

func (i *TImageButton) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Font

获取字体。

Get Font.

func (*TImageButton) Free

func (i *TImageButton) Free()

Free

释放对象。

Free object.

func (*TImageButton) GetHashCode

func (i *TImageButton) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TImageButton) GetNamePath

func (i *TImageButton) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TImageButton) GetTextBuf

func (i *TImageButton) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TImageButton) GetTextLen

func (i *TImageButton) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TImageButton) HasParent

func (i *TImageButton) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TImageButton) Height

func (i *TImageButton) Height() int32

Height

获取高度。

Get height.

func (*TImageButton) Hide

func (i *TImageButton) Hide()

Hide

隐藏控件。

Hidden control.

func (*TImageButton) Hint

func (i *TImageButton) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TImageButton) ImageCount

func (i *TImageButton) ImageCount() int32

func (*TImageButton) InheritsFrom added in v1.1.18

func (i *TImageButton) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TImageButton) Instance

func (i *TImageButton) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TImageButton) InstanceSize added in v1.1.18

func (i *TImageButton) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TImageButton) Invalidate

func (i *TImageButton) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TImageButton) Is added in v1.2.10

func (i *TImageButton) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TImageButton) IsValid

func (i *TImageButton) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TImageButton) Left

func (i *TImageButton) Left() int32

Left

获取左边位置。

Get Left position.

func (*TImageButton) ModalResult

func (i *TImageButton) ModalResult() TModalResult

ModalResult

获取模态对话框显示结果。

func (*TImageButton) Name

func (i *TImageButton) Name() string

Name

获取组件名称。

Get the component name.

func (*TImageButton) Orientation

func (i *TImageButton) Orientation() TImageOrientation

func (*TImageButton) Owner

func (i *TImageButton) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TImageButton) Parent

func (i *TImageButton) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TImageButton) ParentFont

func (i *TImageButton) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TImageButton) ParentShowHint

func (i *TImageButton) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TImageButton) ParentToClient

func (i *TImageButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TImageButton) Perform

func (i *TImageButton) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TImageButton) Picture

func (i *TImageButton) Picture() *TPicture

Picture

获取图片。

func (*TImageButton) PopupMenu

func (i *TImageButton) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TImageButton) Refresh

func (i *TImageButton) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TImageButton) Repaint

func (i *TImageButton) Repaint()

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TImageButton) SendToBack

func (i *TImageButton) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TImageButton) SetAnchorSideBottom

func (i *TImageButton) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TImageButton) SetAnchorSideLeft

func (i *TImageButton) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TImageButton) SetAnchorSideRight

func (i *TImageButton) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TImageButton) SetAnchorSideTop

func (i *TImageButton) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TImageButton) SetAnchors

func (i *TImageButton) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TImageButton) SetAutoSize

func (i *TImageButton) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TImageButton) SetBiDiMode

func (i *TImageButton) SetBiDiMode(value TBiDiMode)

func (*TImageButton) SetBorderSpacing

func (i *TImageButton) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TImageButton) SetBounds

func (i *TImageButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TImageButton) SetBoundsRect

func (i *TImageButton) SetBoundsRect(value TRect)

func (*TImageButton) SetCaption

func (i *TImageButton) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TImageButton) SetClientHeight

func (i *TImageButton) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TImageButton) SetClientWidth

func (i *TImageButton) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TImageButton) SetComponentIndex

func (i *TImageButton) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TImageButton) SetConstraints added in v1.2.7

func (i *TImageButton) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TImageButton) SetControlState added in v1.1.21

func (i *TImageButton) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TImageButton) SetControlStyle added in v1.1.21

func (i *TImageButton) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TImageButton) SetCursor

func (i *TImageButton) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TImageButton) SetDragCursor

func (i *TImageButton) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TImageButton) SetDragKind

func (i *TImageButton) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TImageButton) SetDragMode

func (i *TImageButton) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TImageButton) SetEnabled

func (i *TImageButton) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TImageButton) SetFont

func (i *TImageButton) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TImageButton) SetHeight

func (i *TImageButton) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TImageButton) SetHint

func (i *TImageButton) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TImageButton) SetImageCount

func (i *TImageButton) SetImageCount(value int32)

func (*TImageButton) SetLeft

func (i *TImageButton) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TImageButton) SetModalResult

func (i *TImageButton) SetModalResult(value TModalResult)

SetModalResult

设置模态对话框显示结果。

func (*TImageButton) SetName

func (i *TImageButton) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TImageButton) SetOnClick

func (i *TImageButton) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TImageButton) SetOnContextPopup

func (i *TImageButton) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TImageButton) SetOnDblClick

func (i *TImageButton) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TImageButton) SetOnDragDrop

func (i *TImageButton) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TImageButton) SetOnDragOver

func (i *TImageButton) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TImageButton) SetOnEndDock

func (i *TImageButton) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TImageButton) SetOnEndDrag

func (i *TImageButton) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TImageButton) SetOnMouseDown

func (i *TImageButton) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TImageButton) SetOnMouseEnter

func (i *TImageButton) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TImageButton) SetOnMouseLeave

func (i *TImageButton) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TImageButton) SetOnMouseMove

func (i *TImageButton) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TImageButton) SetOnMouseUp

func (i *TImageButton) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TImageButton) SetOrientation

func (i *TImageButton) SetOrientation(value TImageOrientation)

func (*TImageButton) SetParent

func (i *TImageButton) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TImageButton) SetParentFont

func (i *TImageButton) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TImageButton) SetParentShowHint

func (i *TImageButton) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TImageButton) SetPicture

func (i *TImageButton) SetPicture(value *TPicture)

SetPicture

设置图片。

func (*TImageButton) SetPopupMenu

func (i *TImageButton) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TImageButton) SetShowCaption

func (i *TImageButton) SetShowCaption(value bool)

func (*TImageButton) SetShowHint

func (i *TImageButton) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TImageButton) SetTag

func (i *TImageButton) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TImageButton) SetTextBuf added in v1.1.21

func (i *TImageButton) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TImageButton) SetTop

func (i *TImageButton) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TImageButton) SetVisible

func (i *TImageButton) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TImageButton) SetWidth

func (i *TImageButton) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TImageButton) Show

func (i *TImageButton) Show()

Show

显示控件。

Show control.

func (*TImageButton) ShowCaption

func (i *TImageButton) ShowCaption() bool

func (*TImageButton) ShowHint

func (i *TImageButton) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TImageButton) Tag

func (i *TImageButton) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TImageButton) ToString

func (i *TImageButton) ToString() string

ToString

文本类信息。

Text information.

func (*TImageButton) Top

func (i *TImageButton) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TImageButton) UnsafeAddr added in v1.1.21

func (i *TImageButton) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TImageButton) Update

func (i *TImageButton) Update()

Update

控件更新。

Update.

func (*TImageButton) Visible

func (i *TImageButton) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TImageButton) Width

func (i *TImageButton) Width() int32

Width

获取宽度。

Get width.

type TImageList

type TImageList struct {
	IComponent
	// contains filtered or unexported fields
}

func AsImageList added in v1.2.10

func AsImageList(obj interface{}) *TImageList

AsImageList

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewImageList

func NewImageList(owner IComponent) *TImageList

NewImageList

创建一个新的对象。

Create a new object.

func (*TImageList) Add

func (i *TImageList) Add(Image IBitmap, Mask IBitmap) 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 IBitmap, AHorizontalCount int32, AVerticalCount int32) int32

func (*TImageList) AllocBy

func (i *TImageList) AllocBy() int32

func (*TImageList) Assign

func (i *TImageList) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TImageList) ClassType added in v1.1.18

func (i *TImageList) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TImageList) Clear

func (i *TImageList) Clear()

Clear

清除。

func (*TImageList) ComponentCount

func (i *TImageList) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TImageList) ComponentIndex

func (i *TImageList) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TImageList) Components

func (i *TImageList) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

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

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TImageList) Dragging

func (i *TImageList) Dragging() bool

Dragging

获取是否在拖拽中。

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TImageList) FindComponent

func (i *TImageList) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TImageList) Free

func (i *TImageList) Free()

Free

释放对象。

Free object.

func (*TImageList) GetBitmap

func (i *TImageList) GetBitmap(Index int32, Image IBitmap, AEffect TGraphicsDrawEffect)

func (*TImageList) GetFullBitmap

func (i *TImageList) GetFullBitmap(Image IBitmap, AEffect TGraphicsDrawEffect)

func (*TImageList) GetHashCode

func (i *TImageList) GetHashCode() int32

GetHashCode

获取类的哈希值。

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

GetNamePath

获取类名路径。

Get the class name path.

func (*TImageList) HasParent

func (i *TImageList) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TImageList) Height

func (i *TImageList) Height() int32

Height

获取高度。

Get height.

func (*TImageList) HideDragImage

func (i *TImageList) HideDragImage()

func (*TImageList) ImageType

func (i *TImageList) ImageType() TImageType

func (*TImageList) InheritsFrom added in v1.1.18

func (i *TImageList) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TImageList) Insert

func (i *TImageList) Insert(AIndex int32, AImage IBitmap, AMask IBitmap)

func (*TImageList) InsertIcon

func (i *TImageList) InsertIcon(Index int32, Image *TIcon)

func (*TImageList) InsertMasked

func (i *TImageList) InsertMasked(Index int32, AImage IBitmap, MaskColor TColor)

func (*TImageList) Instance

func (i *TImageList) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TImageList) InstanceSize added in v1.1.18

func (i *TImageList) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TImageList) Is added in v1.2.10

func (i *TImageList) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TImageList) IsValid

func (i *TImageList) IsValid() bool

IsValid

检测地址是否为空。

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

Name

获取组件名称。

Get the component name.

func (*TImageList) Owner

func (i *TImageList) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TImageList) Replace

func (i *TImageList) Replace(AIndex int32, AImage IBitmap, AMask IBitmap, AllResolutions bool)

func (*TImageList) ReplaceIcon

func (i *TImageList) ReplaceIcon(AIndex int32, AIcon *TIcon)

func (*TImageList) ReplaceMasked

func (i *TImageList) ReplaceMasked(Index int32, NewImage IBitmap, MaskColor TColor, AllResolutions bool)

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)

SetComponentIndex

设置组件索引。

Set component index.

func (*TImageList) SetDragCursor

func (i *TImageList) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

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)

SetHeight

设置高度。

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)

SetName

设置组件名称。

Set the component name.

func (*TImageList) SetOnChange

func (i *TImageList) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

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)

SetTag

设置对象标记。

Set the control tag.

func (*TImageList) SetWidth

func (i *TImageList) SetWidth(value int32)

SetWidth

设置宽度。

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

Tag

获取对象标记。

Get the control tag.

func (*TImageList) ToString

func (i *TImageList) ToString() string

ToString

文本类信息。

Text information.

func (*TImageList) UnsafeAddr added in v1.1.21

func (i *TImageList) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TImageList) Width

func (i *TImageList) Width() int32

Width

获取宽度。

Get width.

type TImagePaintBackgroundEvent

type TImagePaintBackgroundEvent func(sender IObject, aCanvas *TCanvas, aRect TRect)

type TIniFile

type TIniFile struct {
	IObject
	// contains filtered or unexported fields
}

func AsIniFile added in v1.2.10

func AsIniFile(obj interface{}) *TIniFile

AsIniFile

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewIniFile

func NewIniFile(filename string) *TIniFile

NewIniFile

创建一个新的对象。

Create a new object.

func (*TIniFile) ClassName

func (i *TIniFile) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TIniFile) ClassType added in v1.1.18

func (i *TIniFile) ClassType() TClass

ClassType

获取类的类型信息。

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

Equals

与一个对象进行比较。

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()

Free

释放对象。

Free object.

func (*TIniFile) GetHashCode

func (i *TIniFile) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TIniFile) InheritsFrom added in v1.1.18

func (i *TIniFile) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TIniFile) Instance

func (i *TIniFile) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TIniFile) InstanceSize added in v1.1.18

func (i *TIniFile) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TIniFile) Is added in v1.2.10

func (i *TIniFile) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TIniFile) IsValid

func (i *TIniFile) IsValid() bool

IsValid

检测地址是否为空。

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

ToString

文本类信息。

Text information.

func (*TIniFile) UnsafeAddr added in v1.1.21

func (i *TIniFile) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

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 added in v1.2.10

type TIs uintptr

TIs : Is操作符

func (TIs) Action added in v1.2.10

func (i TIs) Action() bool

func (TIs) ActionList added in v1.2.10

func (i TIs) ActionList() bool

func (TIs) AnchorSide

func (i TIs) AnchorSide() bool

func (TIs) Application added in v1.2.10

func (i TIs) Application() bool

func (TIs) Bevel added in v1.2.10

func (i TIs) Bevel() bool

func (TIs) BitBtn added in v1.2.10

func (i TIs) BitBtn() bool

func (TIs) Bitmap added in v1.2.10

func (i TIs) Bitmap() bool

func (TIs) BoundLabel added in v1.2.10

func (i TIs) BoundLabel() bool

func (TIs) Brush added in v1.2.10

func (i TIs) Brush() bool

func (TIs) Button added in v1.2.10

func (i TIs) Button() bool

func (TIs) Canvas added in v1.2.10

func (i TIs) Canvas() bool

func (TIs) CheckBox added in v1.2.10

func (i TIs) CheckBox() bool

func (TIs) CheckComboBox

func (i TIs) CheckComboBox() bool

func (TIs) CheckGroup

func (i TIs) CheckGroup() bool

func (TIs) CheckListBox added in v1.2.10

func (i TIs) CheckListBox() bool

func (TIs) Clipboard added in v1.2.10

func (i TIs) Clipboard() bool

func (TIs) Collection added in v1.2.10

func (i TIs) Collection() bool

func (TIs) CollectionItem added in v1.2.10

func (i TIs) CollectionItem() bool

func (TIs) ColorBox added in v1.2.10

func (i TIs) ColorBox() bool

func (TIs) ColorButton

func (i TIs) ColorButton() bool

func (TIs) ColorDialog added in v1.2.10

func (i TIs) ColorDialog() bool

func (TIs) ColorListBox added in v1.2.10

func (i TIs) ColorListBox() bool

func (TIs) ComboBox added in v1.2.10

func (i TIs) ComboBox() bool

func (TIs) ComboBoxEx added in v1.2.10

func (i TIs) ComboBoxEx() bool

func (TIs) ComboExItem added in v1.2.10

func (i TIs) ComboExItem() bool

func (TIs) ComboExItems added in v1.2.10

func (i TIs) ComboExItems() bool

func (TIs) Component added in v1.2.10

func (i TIs) Component() bool

func (TIs) Control added in v1.2.10

func (i TIs) Control() bool

func (TIs) ControlBorderSpacing

func (i TIs) ControlBorderSpacing() bool

func (TIs) ControlChildSizing

func (i TIs) ControlChildSizing() bool

func (TIs) ControlScrollBar added in v1.2.10

func (i TIs) ControlScrollBar() bool

func (TIs) CoolBand added in v1.2.10

func (i TIs) CoolBand() bool

func (TIs) CoolBands added in v1.2.10

func (i TIs) CoolBands() bool

func (TIs) CoolBar added in v1.2.10

func (i TIs) CoolBar() bool

func (TIs) DateTimePicker added in v1.2.10

func (i TIs) DateTimePicker() bool

func (TIs) DirectoryEdit

func (i TIs) DirectoryEdit() bool

func (TIs) DragDockObject added in v1.2.10

func (i TIs) DragDockObject() bool

func (TIs) DragObject added in v1.2.10

func (i TIs) DragObject() bool

func (TIs) DrawGrid added in v1.2.10

func (i TIs) DrawGrid() bool

func (TIs) Edit added in v1.2.10

func (i TIs) Edit() bool

func (TIs) Exception added in v1.2.10

func (i TIs) Exception() bool

func (TIs) FindDialog added in v1.2.10

func (i TIs) FindDialog() bool

func (TIs) FloatSpinEdit

func (i TIs) FloatSpinEdit() bool

func (TIs) FlowPanel added in v1.2.10

func (i TIs) FlowPanel() bool

func (TIs) FlowPanelControl

func (i TIs) FlowPanelControl() bool

func (TIs) FlowPanelControlList

func (i TIs) FlowPanelControlList() bool

func (TIs) Font added in v1.2.10

func (i TIs) Font() bool

func (TIs) FontDialog added in v1.2.10

func (i TIs) FontDialog() bool

func (TIs) Form added in v1.2.10

func (i TIs) Form() bool

func (TIs) Frame added in v1.2.10

func (i TIs) Frame() bool

func (TIs) GIFImage added in v1.2.10

func (i TIs) GIFImage() bool

func (TIs) Gauge added in v1.2.10

func (i TIs) Gauge() bool

func (TIs) Graphic added in v1.2.10

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 added in v1.2.10

func (i TIs) GroupBox() bool

func (TIs) HeaderControl added in v1.2.10

func (i TIs) HeaderControl() bool

func (TIs) HeaderSection added in v1.2.10

func (i TIs) HeaderSection() bool

func (TIs) HeaderSections added in v1.2.10

func (i TIs) HeaderSections() bool

func (TIs) Icon added in v1.2.10

func (i TIs) Icon() bool

func (TIs) IconOptions added in v1.2.10

func (i TIs) IconOptions() bool

func (TIs) Image added in v1.2.10

func (i TIs) Image() bool

func (TIs) ImageButton added in v1.2.10

func (i TIs) ImageButton() bool

func (TIs) ImageList added in v1.2.10

func (i TIs) ImageList() bool

func (TIs) IniFile added in v1.2.10

func (i TIs) IniFile() bool

func (TIs) JPEGImage added in v1.2.10

func (i TIs) JPEGImage() bool

func (TIs) Label added in v1.2.10

func (i TIs) Label() bool

func (TIs) LabeledEdit added in v1.2.10

func (i TIs) LabeledEdit() bool

func (TIs) LinkLabel added in v1.2.10

func (i TIs) LinkLabel() bool

func (TIs) List added in v1.2.10

func (i TIs) List() bool

func (TIs) ListBox added in v1.2.10

func (i TIs) ListBox() bool

func (TIs) ListColumn added in v1.2.10

func (i TIs) ListColumn() bool

func (TIs) ListColumns added in v1.2.10

func (i TIs) ListColumns() bool

func (TIs) ListItem added in v1.2.10

func (i TIs) ListItem() bool

func (TIs) ListItems added in v1.2.10

func (i TIs) ListItems() bool

func (TIs) ListView added in v1.2.10

func (i TIs) ListView() bool

func (TIs) MainMenu added in v1.2.10

func (i TIs) MainMenu() bool

func (TIs) MaskEdit added in v1.2.10

func (i TIs) MaskEdit() bool

func (TIs) Memo added in v1.2.10

func (i TIs) Memo() bool

func (TIs) MemoryStream added in v1.2.10

func (i TIs) MemoryStream() bool

func (TIs) MenuItem added in v1.2.10

func (i TIs) MenuItem() bool

func (TIs) MiniWebview added in v1.2.10

func (i TIs) MiniWebview() bool

func (TIs) Monitor added in v1.2.10

func (i TIs) Monitor() bool

func (TIs) MonthCalendar added in v1.2.10

func (i TIs) MonthCalendar() bool

func (TIs) Mouse added in v1.2.10

func (i TIs) Mouse() bool

func (TIs) Object added in v1.2.10

func (i TIs) Object() bool

func (TIs) OpenDialog added in v1.2.10

func (i TIs) OpenDialog() bool

func (TIs) OpenPictureDialog added in v1.2.10

func (i TIs) OpenPictureDialog() bool

func (TIs) PageControl added in v1.2.10

func (i TIs) PageControl() bool

func (TIs) PageSetupDialog added in v1.2.10

func (i TIs) PageSetupDialog() bool

func (TIs) PaintBox added in v1.2.10

func (i TIs) PaintBox() bool

func (TIs) Panel added in v1.2.10

func (i TIs) Panel() bool

func (TIs) ParaAttributes added in v1.2.10

func (i TIs) ParaAttributes() bool

func (TIs) Pen added in v1.2.10

func (i TIs) Pen() bool

func (TIs) Picture added in v1.2.10

func (i TIs) Picture() bool

func (TIs) PngImage added in v1.2.10

func (i TIs) PngImage() bool

func (TIs) PopupMenu added in v1.2.10

func (i TIs) PopupMenu() bool

func (TIs) PrintDialog added in v1.2.10

func (i TIs) PrintDialog() bool

func (TIs) Printer added in v1.2.10

func (i TIs) Printer() bool

func (TIs) PrinterSetupDialog added in v1.2.10

func (i TIs) PrinterSetupDialog() bool

func (TIs) ProgressBar added in v1.2.10

func (i TIs) ProgressBar() bool

func (TIs) RadioButton added in v1.2.10

func (i TIs) RadioButton() bool

func (TIs) RadioGroup added in v1.2.10

func (i TIs) RadioGroup() bool

func (TIs) Registry added in v1.2.10

func (i TIs) Registry() bool

func (TIs) ReplaceDialog added in v1.2.10

func (i TIs) ReplaceDialog() bool

func (TIs) RichEdit added in v1.2.10

func (i TIs) RichEdit() bool

func (TIs) SaveDialog added in v1.2.10

func (i TIs) SaveDialog() bool

func (TIs) SavePictureDialog added in v1.2.10

func (i TIs) SavePictureDialog() bool

func (TIs) Screen added in v1.2.10

func (i TIs) Screen() bool

func (TIs) ScrollBar added in v1.2.10

func (i TIs) ScrollBar() bool

func (TIs) ScrollBox added in v1.2.10

func (i TIs) ScrollBox() bool

func (TIs) SelectDirectoryDialog

func (i TIs) SelectDirectoryDialog() bool

func (TIs) Shape added in v1.2.10

func (i TIs) Shape() bool

func (TIs) SizeConstraints added in v1.2.10

func (i TIs) SizeConstraints() bool

func (TIs) SpeedButton added in v1.2.10

func (i TIs) SpeedButton() bool

func (TIs) SpinEdit added in v1.2.10

func (i TIs) SpinEdit() bool

func (TIs) Splitter added in v1.2.10

func (i TIs) Splitter() bool

func (TIs) StaticText added in v1.2.10

func (i TIs) StaticText() bool

func (TIs) StatusBar added in v1.2.10

func (i TIs) StatusBar() bool

func (TIs) StatusPanel added in v1.2.10

func (i TIs) StatusPanel() bool

func (TIs) StatusPanels added in v1.2.10

func (i TIs) StatusPanels() bool

func (TIs) StringGrid added in v1.2.10

func (i TIs) StringGrid() bool

func (TIs) StringList added in v1.2.10

func (i TIs) StringList() bool

func (TIs) Strings added in v1.2.10

func (i TIs) Strings() bool

func (TIs) TabSheet added in v1.2.10

func (i TIs) TabSheet() bool

func (TIs) TaskDialog added in v1.2.10

func (i TIs) TaskDialog() bool

func (TIs) TaskDialogBaseButtonItem added in v1.2.10

func (i TIs) TaskDialogBaseButtonItem() bool

func (TIs) TaskDialogButtonItem added in v1.2.10

func (i TIs) TaskDialogButtonItem() bool

func (TIs) TaskDialogButtons added in v1.2.10

func (i TIs) TaskDialogButtons() bool

func (TIs) TaskDialogRadioButtonItem added in v1.2.10

func (i TIs) TaskDialogRadioButtonItem() bool

func (TIs) TextAttributes added in v1.2.10

func (i TIs) TextAttributes() bool

func (TIs) Timer added in v1.2.10

func (i TIs) Timer() bool

func (TIs) ToggleBox

func (i TIs) ToggleBox() bool

func (TIs) ToolBar added in v1.2.10

func (i TIs) ToolBar() bool

func (TIs) ToolButton added in v1.2.10

func (i TIs) ToolButton() bool

func (TIs) TrackBar added in v1.2.10

func (i TIs) TrackBar() bool

func (TIs) TrayIcon added in v1.2.10

func (i TIs) TrayIcon() bool

func (TIs) TreeNode added in v1.2.10

func (i TIs) TreeNode() bool

func (TIs) TreeNodes added in v1.2.10

func (i TIs) TreeNodes() bool

func (TIs) TreeView added in v1.2.10

func (i TIs) TreeView() bool

func (TIs) UpDown added in v1.2.10

func (i TIs) UpDown() bool

func (TIs) ValueListEditor added in v1.2.10

func (i TIs) ValueListEditor() bool

func (TIs) WinControl added in v1.2.10

func (i TIs) WinControl() bool

func (TIs) XButton added in v1.2.10

func (i TIs) XButton() bool

type TJPEGImage

type TJPEGImage struct {
	IBitmap
	// contains filtered or unexported fields
}

func AsJPEGImage added in v1.2.10

func AsJPEGImage(obj interface{}) *TJPEGImage

AsJPEGImage

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewJPEGImage

func NewJPEGImage() *TJPEGImage

NewJPEGImage

创建一个新的对象。

Create a new object.

func (*TJPEGImage) Assign

func (j *TJPEGImage) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TJPEGImage) Canvas

func (j *TJPEGImage) Canvas() *TCanvas

Canvas

获取画布。

func (*TJPEGImage) ClassName

func (j *TJPEGImage) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TJPEGImage) ClassType added in v1.1.18

func (j *TJPEGImage) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TJPEGImage) Empty

func (j *TJPEGImage) Empty() bool

func (*TJPEGImage) Equals

func (j *TJPEGImage) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TJPEGImage) Free

func (j *TJPEGImage) Free()

Free

释放对象。

Free object.

func (*TJPEGImage) GetHashCode

func (j *TJPEGImage) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TJPEGImage) GetNamePath

func (j *TJPEGImage) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TJPEGImage) Height

func (j *TJPEGImage) Height() int32

Height

获取高度。

Get height.

func (*TJPEGImage) InheritsFrom added in v1.1.18

func (j *TJPEGImage) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TJPEGImage) Instance

func (j *TJPEGImage) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TJPEGImage) InstanceSize added in v1.1.18

func (j *TJPEGImage) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TJPEGImage) Is added in v1.2.10

func (j *TJPEGImage) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TJPEGImage) IsValid

func (j *TJPEGImage) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TJPEGImage) LoadFromBytes

func (j *TJPEGImage) LoadFromBytes(data []byte)

func (*TJPEGImage) LoadFromFile

func (j *TJPEGImage) LoadFromFile(Filename string)

LoadFromFile

从文件加载。

func (*TJPEGImage) LoadFromStream

func (j *TJPEGImage) LoadFromStream(Stream IStream)

LoadFromStream

文件流加载。

func (*TJPEGImage) Modified

func (j *TJPEGImage) Modified() bool

Modified

获取修改。

Get modified.

func (*TJPEGImage) Palette added in v1.1.23

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)

SaveToFile

保存至文件。

func (*TJPEGImage) SaveToStream

func (j *TJPEGImage) SaveToStream(Stream IStream)

SaveToStream

保存至流。

func (*TJPEGImage) SetHeight

func (j *TJPEGImage) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TJPEGImage) SetModified

func (j *TJPEGImage) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TJPEGImage) SetOnChange

func (j *TJPEGImage) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TJPEGImage) SetPalette added in v1.1.23

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)

SetTransparent

设置透明。

Set transparent.

func (*TJPEGImage) SetWidth

func (j *TJPEGImage) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TJPEGImage) ToString

func (j *TJPEGImage) ToString() string

ToString

文本类信息。

Text information.

func (*TJPEGImage) Transparent

func (j *TJPEGImage) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TJPEGImage) UnsafeAddr added in v1.1.21

func (j *TJPEGImage) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TJPEGImage) Width

func (j *TJPEGImage) Width() int32

Width

获取宽度。

Get width.

type TKeyEvent

type TKeyEvent func(sender IObject, key *Char, shift TShiftState)

type TKeyPressEvent

type TKeyPressEvent func(sender IObject, key *Char)

type TLBFindDataEvent added in v1.1.21

type TLBFindDataEvent func(control *TWinControl, findString string) int32

type TLBGetDataEvent added in v1.1.21

type TLBGetDataEvent func(control *TWinControl, index int32, data *string)

type TLBGetDataObjectEvent added in v1.1.21

type TLBGetDataObjectEvent func(control *TWinControl, index int32, dataObject IObject)

type TLVAdvancedCustomDrawEvent

type TLVAdvancedCustomDrawEvent func(sender *TListView, aRect TRect, stage TCustomDrawStage, defaultDraw *bool)

type TLVAdvancedCustomDrawItemEvent

type TLVAdvancedCustomDrawItemEvent func(sender *TListView, item *TListItem, state TCustomDrawState, Stage TCustomDrawStage, defaultDraw *bool)

type TLVAdvancedCustomDrawSubItemEvent

type TLVAdvancedCustomDrawSubItemEvent func(sender *TListView, item *TListItem, subItem int32, state TCustomDrawState, stage TCustomDrawStage, defaultDraw *bool)

type TLVChangeEvent

type TLVChangeEvent func(sender IObject, item *TListItem, change TItemChange)

type TLVChangingEvent added in v1.1.21

type TLVChangingEvent func(sender IObject, item *TListItem, change TItemChange, allowChange *bool)

type TLVCheckedItemEvent

type TLVCheckedItemEvent func(sender IObject, item *TListItem)

type TLVColumnClickEvent

type TLVColumnClickEvent func(sender IObject, column *TListColumn)

type TLVColumnRClickEvent

type TLVColumnRClickEvent func(sender IObject, column *TListColumn, point TPoint)

type TLVCompareEvent

type TLVCompareEvent func(sender IObject, item1, item2 *TListItem, data int32, compare *int32)

type TLVCustomDrawEvent added in v1.1.23

type TLVCustomDrawEvent func(sender *TListView, aRect TRect, defaultDraw *bool)

type TLVCustomDrawItemEvent added in v1.1.23

type TLVCustomDrawItemEvent func(sender *TListView, item *TListItem, state TCustomDrawState, defaultDraw *bool)

type TLVCustomDrawSubItemEvent added in v1.1.23

type TLVCustomDrawSubItemEvent func(sender *TListView, item *TListItem, subItem int32, state TCustomDrawState, defaultDraw *bool)

type TLVDataEvent

type TLVDataEvent func(sender IObject, item *TListItem)

type TLVDataFindEvent

type TLVDataFindEvent func(sender IObject, find TItemFind, findString string, findPosition TPoint, findData TCustomData, startIndex int32, direction TSearchDirection, warp bool, index *int32)

type TLVDataHintEvent

type TLVDataHintEvent func(sender IObject, startIndex, endIndex int32)

type TLVDeletedEvent added in v1.1.21

type TLVDeletedEvent func(sender IObject, item *TListItem)

type TLVDrawItemEvent added in v1.1.23

type TLVDrawItemEvent func(sender *TListView, item *TListItem, rect TRect, state TOwnerDrawState)

type TLVEditedEvent added in v1.1.21

type TLVEditedEvent func(sender IObject, item *TListItem, s *string)

type TLVEditingEvent added in v1.1.21

type TLVEditingEvent func(sender IObject, item *TListItem, allowEdit *bool)

type TLVNotifyEvent

type TLVNotifyEvent func(sender IObject, item *TListItem)

type TLVSelectItemEvent

type TLVSelectItemEvent func(sender IObject, item *TListItem, selected bool)

type TLabel

type TLabel struct {
	IControl
	// contains filtered or unexported fields
}

func AsLabel added in v1.2.10

func AsLabel(obj interface{}) *TLabel

AsLabel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewLabel

func NewLabel(owner IComponent) *TLabel

NewLabel

创建一个新的对象。

Create a new object.

func (*TLabel) Action

func (l *TLabel) Action() *TAction

func (*TLabel) Align

func (l *TLabel) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TLabel) Alignment

func (l *TLabel) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TLabel) AnchorSideBottom

func (l *TLabel) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TLabel) AnchorSideLeft

func (l *TLabel) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TLabel) AnchorSideRight

func (l *TLabel) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TLabel) AnchorSideTop

func (l *TLabel) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TLabel) AnchorToNeighbour

func (l *TLabel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLabel) AnchorVerticalCenterTo

func (l *TLabel) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TLabel) Anchors

func (l *TLabel) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TLabel) Assign

func (l *TLabel) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSize

获取自动调整大小。

func (*TLabel) BiDiMode

func (l *TLabel) BiDiMode() TBiDiMode

func (*TLabel) BorderSpacing

func (l *TLabel) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TLabel) BoundsRect

func (l *TLabel) BoundsRect() TRect

func (*TLabel) BringToFront

func (l *TLabel) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TLabel) Canvas

func (l *TLabel) Canvas() *TCanvas

Canvas

获取画布。

func (*TLabel) Caption

func (l *TLabel) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TLabel) ClassName

func (l *TLabel) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TLabel) ClassType added in v1.1.18

func (l *TLabel) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TLabel) ClientHeight

func (l *TLabel) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TLabel) ClientOrigin added in v1.1.21

func (l *TLabel) ClientOrigin() TPoint

func (*TLabel) ClientRect

func (l *TLabel) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TLabel) ClientToParent

func (l *TLabel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TLabel) ClientToScreen

func (l *TLabel) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TLabel) ClientWidth

func (l *TLabel) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TLabel) Color

func (l *TLabel) Color() TColor

Color

获取颜色。

Get color.

func (*TLabel) ComponentCount

func (l *TLabel) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TLabel) ComponentIndex

func (l *TLabel) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TLabel) Components

func (l *TLabel) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TLabel) Constraints added in v1.2.7

func (l *TLabel) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TLabel) ControlState added in v1.1.21

func (l *TLabel) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TLabel) ControlStyle added in v1.1.21

func (l *TLabel) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TLabel) Cursor

func (l *TLabel) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TLabel) DragCursor

func (l *TLabel) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TLabel) DragKind

func (l *TLabel) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TLabel) DragMode

func (l *TLabel) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TLabel) Dragging

func (l *TLabel) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TLabel) Enabled

func (l *TLabel) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TLabel) Equals

func (l *TLabel) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TLabel) FindComponent

func (l *TLabel) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

FocusControl

获取当按下Alt+Key时跳转到指定的控件。

func (*TLabel) Font

func (l *TLabel) Font() *TFont

Font

获取字体。

Get Font.

func (*TLabel) Free

func (l *TLabel) Free()

Free

释放对象。

Free object.

func (*TLabel) GetHashCode

func (l *TLabel) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TLabel) GetNamePath

func (l *TLabel) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TLabel) GetTextBuf

func (l *TLabel) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TLabel) GetTextLen

func (l *TLabel) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TLabel) HasParent

func (l *TLabel) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TLabel) Height

func (l *TLabel) Height() int32

Height

获取高度。

Get height.

func (*TLabel) Hide

func (l *TLabel) Hide()

Hide

隐藏控件。

Hidden control.

func (*TLabel) Hint

func (l *TLabel) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TLabel) InheritsFrom added in v1.1.18

func (l *TLabel) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TLabel) Instance

func (l *TLabel) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TLabel) InstanceSize added in v1.1.18

func (l *TLabel) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TLabel) Invalidate

func (l *TLabel) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TLabel) Is added in v1.2.10

func (l *TLabel) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TLabel) IsValid

func (l *TLabel) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TLabel) Layout

func (l *TLabel) Layout() TTextLayout

func (*TLabel) Left

func (l *TLabel) Left() int32

Left

获取左边位置。

Get Left position.

func (*TLabel) Name

func (l *TLabel) Name() string

Name

获取组件名称。

Get the component name.

func (*TLabel) OptimalFill

func (l *TLabel) OptimalFill() bool

func (*TLabel) Owner

func (l *TLabel) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TLabel) Parent

func (l *TLabel) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TLabel) ParentColor

func (l *TLabel) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TLabel) ParentFont

func (l *TLabel) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TLabel) ParentShowHint

func (l *TLabel) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TLabel) ParentToClient

func (l *TLabel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TLabel) Perform

func (l *TLabel) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TLabel) PopupMenu

func (l *TLabel) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TLabel) Refresh

func (l *TLabel) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TLabel) Repaint

func (l *TLabel) Repaint()

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TLabel) SendToBack

func (l *TLabel) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TLabel) SetAlignment

func (l *TLabel) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TLabel) SetAnchorSideBottom

func (l *TLabel) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TLabel) SetAnchorSideLeft

func (l *TLabel) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TLabel) SetAnchorSideRight

func (l *TLabel) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TLabel) SetAnchorSideTop

func (l *TLabel) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TLabel) SetAnchors

func (l *TLabel) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TLabel) SetAutoSize

func (l *TLabel) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TLabel) SetBiDiMode

func (l *TLabel) SetBiDiMode(value TBiDiMode)

func (*TLabel) SetBorderSpacing

func (l *TLabel) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TLabel) SetBounds

func (l *TLabel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TLabel) SetBoundsRect

func (l *TLabel) SetBoundsRect(value TRect)

func (*TLabel) SetCaption

func (l *TLabel) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TLabel) SetClientHeight

func (l *TLabel) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TLabel) SetClientWidth

func (l *TLabel) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TLabel) SetColor

func (l *TLabel) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TLabel) SetComponentIndex

func (l *TLabel) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TLabel) SetConstraints added in v1.2.7

func (l *TLabel) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TLabel) SetControlState added in v1.1.21

func (l *TLabel) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TLabel) SetControlStyle added in v1.1.21

func (l *TLabel) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TLabel) SetCursor

func (l *TLabel) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TLabel) SetDragCursor

func (l *TLabel) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TLabel) SetDragKind

func (l *TLabel) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TLabel) SetDragMode

func (l *TLabel) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TLabel) SetEnabled

func (l *TLabel) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TLabel) SetFocusControl

func (l *TLabel) SetFocusControl(value IWinControl)

SetFocusControl

设置当按下Alt+Key时跳转到指定的控件。

func (*TLabel) SetFont

func (l *TLabel) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TLabel) SetHeight

func (l *TLabel) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TLabel) SetHint

func (l *TLabel) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TLabel) SetLayout

func (l *TLabel) SetLayout(value TTextLayout)

func (*TLabel) SetLeft

func (l *TLabel) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TLabel) SetName

func (l *TLabel) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TLabel) SetOnClick

func (l *TLabel) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TLabel) SetOnContextPopup

func (l *TLabel) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TLabel) SetOnDblClick

func (l *TLabel) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TLabel) SetOnDragDrop

func (l *TLabel) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TLabel) SetOnDragOver

func (l *TLabel) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TLabel) SetOnEndDrag

func (l *TLabel) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TLabel) SetOnMouseDown

func (l *TLabel) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TLabel) SetOnMouseEnter

func (l *TLabel) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TLabel) SetOnMouseLeave

func (l *TLabel) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TLabel) SetOnMouseMove

func (l *TLabel) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TLabel) SetOnMouseUp

func (l *TLabel) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TLabel) SetOptimalFill

func (l *TLabel) SetOptimalFill(value bool)

func (*TLabel) SetParent

func (l *TLabel) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TLabel) SetParentColor

func (l *TLabel) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TLabel) SetParentFont

func (l *TLabel) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TLabel) SetParentShowHint

func (l *TLabel) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TLabel) SetPopupMenu

func (l *TLabel) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TLabel) SetShowAccelChar

func (l *TLabel) SetShowAccelChar(value bool)

func (*TLabel) SetShowHint

func (l *TLabel) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TLabel) SetTag

func (l *TLabel) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TLabel) SetTextBuf added in v1.1.21

func (l *TLabel) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TLabel) SetTop

func (l *TLabel) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TLabel) SetTransparent

func (l *TLabel) SetTransparent(value bool)

SetTransparent

设置透明。

Set transparent.

func (*TLabel) SetVisible

func (l *TLabel) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TLabel) SetWidth

func (l *TLabel) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TLabel) SetWordWrap

func (l *TLabel) SetWordWrap(value bool)

SetWordWrap

设置自动换行。

Set Automatic line break.

func (*TLabel) Show

func (l *TLabel) Show()

Show

显示控件。

Show control.

func (*TLabel) ShowAccelChar

func (l *TLabel) ShowAccelChar() bool

func (*TLabel) ShowHint

func (l *TLabel) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TLabel) Tag

func (l *TLabel) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TLabel) ToString

func (l *TLabel) ToString() string

ToString

文本类信息。

Text information.

func (*TLabel) Top

func (l *TLabel) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TLabel) Transparent

func (l *TLabel) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TLabel) UnsafeAddr added in v1.1.21

func (l *TLabel) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TLabel) Update

func (l *TLabel) Update()

Update

控件更新。

Update.

func (*TLabel) Visible

func (l *TLabel) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TLabel) Width

func (l *TLabel) Width() int32

Width

获取宽度。

Get width.

func (*TLabel) WordWrap

func (l *TLabel) WordWrap() bool

WordWrap

获取自动换行。

Get Automatic line break.

type TLabeledEdit added in v1.1.19

type TLabeledEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsLabeledEdit added in v1.2.10

func AsLabeledEdit(obj interface{}) *TLabeledEdit

AsLabeledEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewLabeledEdit added in v1.1.19

func NewLabeledEdit(owner IComponent) *TLabeledEdit

NewLabeledEdit

创建一个新的对象。

Create a new object.

func (*TLabeledEdit) Action added in v1.1.19

func (l *TLabeledEdit) Action() *TAction

func (*TLabeledEdit) Align added in v1.1.19

func (l *TLabeledEdit) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TLabeledEdit) Alignment added in v1.1.19

func (l *TLabeledEdit) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TLabeledEdit) AnchorSideBottom

func (l *TLabeledEdit) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TLabeledEdit) AnchorSideLeft

func (l *TLabeledEdit) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TLabeledEdit) AnchorSideRight

func (l *TLabeledEdit) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TLabeledEdit) AnchorSideTop

func (l *TLabeledEdit) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TLabeledEdit) AnchorToNeighbour

func (l *TLabeledEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLabeledEdit) AnchorVerticalCenterTo

func (l *TLabeledEdit) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TLabeledEdit) Anchors added in v1.1.19

func (l *TLabeledEdit) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TLabeledEdit) Assign added in v1.1.19

func (l *TLabeledEdit) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.1.19

func (l *TLabeledEdit) AutoSelect() bool

AutoSelect

获取自动选择。

func (*TLabeledEdit) AutoSize added in v1.1.19

func (l *TLabeledEdit) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TLabeledEdit) BiDiMode added in v1.1.19

func (l *TLabeledEdit) BiDiMode() TBiDiMode

func (*TLabeledEdit) BorderSpacing

func (l *TLabeledEdit) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TLabeledEdit) BorderStyle added in v1.1.19

func (l *TLabeledEdit) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TLabeledEdit) BoundsRect added in v1.1.19

func (l *TLabeledEdit) BoundsRect() TRect

func (*TLabeledEdit) BringToFront added in v1.1.19

func (l *TLabeledEdit) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TLabeledEdit) Brush added in v1.1.19

func (l *TLabeledEdit) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TLabeledEdit) CanFocus added in v1.1.19

func (l *TLabeledEdit) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TLabeledEdit) CanUndo added in v1.1.19

func (l *TLabeledEdit) CanUndo() bool

CanUndo

获取能否撤销。

func (*TLabeledEdit) CharCase added in v1.1.19

func (l *TLabeledEdit) CharCase() TEditCharCase

func (*TLabeledEdit) ChildSizing

func (l *TLabeledEdit) ChildSizing() *TControlChildSizing

func (*TLabeledEdit) ClassName added in v1.1.19

func (l *TLabeledEdit) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TLabeledEdit) ClassType added in v1.1.19

func (l *TLabeledEdit) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TLabeledEdit) Clear added in v1.1.19

func (l *TLabeledEdit) Clear()

Clear

清除。

func (*TLabeledEdit) ClearSelection added in v1.1.19

func (l *TLabeledEdit) ClearSelection()

ClearSelection

清除选择。

func (*TLabeledEdit) ClientHeight added in v1.1.19

func (l *TLabeledEdit) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TLabeledEdit) ClientOrigin added in v1.1.21

func (l *TLabeledEdit) ClientOrigin() TPoint

func (*TLabeledEdit) ClientRect added in v1.1.19

func (l *TLabeledEdit) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TLabeledEdit) ClientToParent added in v1.1.19

func (l *TLabeledEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TLabeledEdit) ClientToScreen added in v1.1.19

func (l *TLabeledEdit) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TLabeledEdit) ClientWidth added in v1.1.19

func (l *TLabeledEdit) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TLabeledEdit) Color added in v1.1.19

func (l *TLabeledEdit) Color() TColor

Color

获取颜色。

Get color.

func (*TLabeledEdit) ComponentCount added in v1.1.19

func (l *TLabeledEdit) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TLabeledEdit) ComponentIndex added in v1.1.19

func (l *TLabeledEdit) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TLabeledEdit) Components added in v1.1.19

func (l *TLabeledEdit) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TLabeledEdit) Constraints added in v1.2.7

func (l *TLabeledEdit) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TLabeledEdit) ContainsControl added in v1.1.21

func (l *TLabeledEdit) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TLabeledEdit) ControlAtPos added in v1.1.21

func (l *TLabeledEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TLabeledEdit) ControlCount added in v1.1.19

func (l *TLabeledEdit) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TLabeledEdit) ControlState added in v1.1.21

func (l *TLabeledEdit) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TLabeledEdit) ControlStyle added in v1.1.21

func (l *TLabeledEdit) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TLabeledEdit) Controls added in v1.1.19

func (l *TLabeledEdit) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TLabeledEdit) CopyToClipboard added in v1.1.19

func (l *TLabeledEdit) CopyToClipboard()

CopyToClipboard

复制到粘贴板。

func (*TLabeledEdit) Cursor added in v1.1.19

func (l *TLabeledEdit) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TLabeledEdit) CutToClipboard added in v1.1.19

func (l *TLabeledEdit) CutToClipboard()

CutToClipboard

剪切到粘贴板。

func (*TLabeledEdit) DisableAlign added in v1.1.21

func (l *TLabeledEdit) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TLabeledEdit) DockClientCount added in v1.1.21

func (l *TLabeledEdit) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TLabeledEdit) DockClients added in v1.1.21

func (l *TLabeledEdit) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TLabeledEdit) DockSite added in v1.1.19

func (l *TLabeledEdit) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TLabeledEdit) DoubleBuffered added in v1.1.19

func (l *TLabeledEdit) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TLabeledEdit) DragCursor added in v1.1.19

func (l *TLabeledEdit) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TLabeledEdit) DragMode added in v1.1.19

func (l *TLabeledEdit) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TLabeledEdit) Dragging added in v1.1.19

func (l *TLabeledEdit) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TLabeledEdit) EditLabel added in v1.1.19

func (l *TLabeledEdit) EditLabel() *TBoundLabel

func (*TLabeledEdit) EnableAlign added in v1.1.21

func (l *TLabeledEdit) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TLabeledEdit) Enabled added in v1.1.19

func (l *TLabeledEdit) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TLabeledEdit) Equals added in v1.1.19

func (l *TLabeledEdit) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TLabeledEdit) FindChildControl added in v1.1.21

func (l *TLabeledEdit) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TLabeledEdit) FindComponent added in v1.1.19

func (l *TLabeledEdit) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TLabeledEdit) FixDesignFontsPPI

func (l *TLabeledEdit) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TLabeledEdit) FlipChildren added in v1.1.19

func (l *TLabeledEdit) FlipChildren(AllLevels bool)

func (*TLabeledEdit) Floating added in v1.1.19

func (l *TLabeledEdit) Floating() bool

func (*TLabeledEdit) Focused added in v1.1.19

func (l *TLabeledEdit) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*TLabeledEdit) Font added in v1.1.19

func (l *TLabeledEdit) Font() *TFont

Font

获取字体。

Get Font.

func (*TLabeledEdit) Free added in v1.1.19

func (l *TLabeledEdit) Free()

Free

释放对象。

Free object.

func (*TLabeledEdit) GetHashCode added in v1.1.19

func (l *TLabeledEdit) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TLabeledEdit) GetNamePath added in v1.1.19

func (l *TLabeledEdit) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TLabeledEdit) GetTextBuf added in v1.1.19

func (l *TLabeledEdit) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TLabeledEdit) GetTextLen added in v1.1.19

func (l *TLabeledEdit) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TLabeledEdit) Handle added in v1.1.19

func (l *TLabeledEdit) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TLabeledEdit) HandleAllocated added in v1.1.19

func (l *TLabeledEdit) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TLabeledEdit) HasParent added in v1.1.19

func (l *TLabeledEdit) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TLabeledEdit) Height added in v1.1.19

func (l *TLabeledEdit) Height() int32

Height

获取高度。

Get height.

func (*TLabeledEdit) Hide added in v1.1.19

func (l *TLabeledEdit) Hide()

Hide

隐藏控件。

Hidden control.

func (*TLabeledEdit) HideSelection added in v1.1.19

func (l *TLabeledEdit) HideSelection() bool

HideSelection

获取隐藏选择。

func (*TLabeledEdit) Hint added in v1.1.19

func (l *TLabeledEdit) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TLabeledEdit) InheritsFrom added in v1.1.19

func (l *TLabeledEdit) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TLabeledEdit) InsertControl added in v1.1.21

func (l *TLabeledEdit) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TLabeledEdit) Instance added in v1.1.19

func (l *TLabeledEdit) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TLabeledEdit) InstanceSize added in v1.1.19

func (l *TLabeledEdit) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TLabeledEdit) Invalidate added in v1.1.19

func (l *TLabeledEdit) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TLabeledEdit) Is added in v1.2.10

func (l *TLabeledEdit) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TLabeledEdit) IsValid added in v1.1.19

func (l *TLabeledEdit) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TLabeledEdit) LabelPosition added in v1.1.19

func (l *TLabeledEdit) LabelPosition() TLabelPosition

func (*TLabeledEdit) LabelSpacing added in v1.1.19

func (l *TLabeledEdit) LabelSpacing() int32

func (*TLabeledEdit) Left added in v1.1.19

func (l *TLabeledEdit) Left() int32

Left

获取左边位置。

Get Left position.

func (*TLabeledEdit) MaxLength added in v1.1.19

func (l *TLabeledEdit) MaxLength() int32

MaxLength

获取最大长度。

func (*TLabeledEdit) Modified added in v1.1.19

func (l *TLabeledEdit) Modified() bool

Modified

获取修改。

Get modified.

func (*TLabeledEdit) MouseInClient added in v1.1.21

func (l *TLabeledEdit) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TLabeledEdit) Name added in v1.1.19

func (l *TLabeledEdit) Name() string

Name

获取组件名称。

Get the component name.

func (*TLabeledEdit) NumbersOnly added in v1.1.19

func (l *TLabeledEdit) NumbersOnly() bool

NumbersOnly

获取只能输入数字。

func (*TLabeledEdit) Owner added in v1.1.19

func (l *TLabeledEdit) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TLabeledEdit) PaintTo added in v1.1.21

func (l *TLabeledEdit) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TLabeledEdit) Parent added in v1.1.19

func (l *TLabeledEdit) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TLabeledEdit) ParentColor added in v1.1.19

func (l *TLabeledEdit) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TLabeledEdit) ParentDoubleBuffered added in v1.1.19

func (l *TLabeledEdit) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TLabeledEdit) ParentFont added in v1.1.19

func (l *TLabeledEdit) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TLabeledEdit) ParentShowHint added in v1.1.19

func (l *TLabeledEdit) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TLabeledEdit) ParentToClient added in v1.1.19

func (l *TLabeledEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TLabeledEdit) ParentWindow added in v1.1.19

func (l *TLabeledEdit) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TLabeledEdit) PasswordChar added in v1.1.19

func (l *TLabeledEdit) PasswordChar() uint16

PasswordChar

获取密码掩码字符。

func (*TLabeledEdit) PasteFromClipboard added in v1.1.19

func (l *TLabeledEdit) PasteFromClipboard()

PasteFromClipboard

从剪切板粘贴。

func (*TLabeledEdit) Perform added in v1.1.19

func (l *TLabeledEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TLabeledEdit) PopupMenu added in v1.1.19

func (l *TLabeledEdit) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TLabeledEdit) ReadOnly added in v1.1.19

func (l *TLabeledEdit) ReadOnly() bool

ReadOnly

获取只读。

func (*TLabeledEdit) Realign added in v1.1.19

func (l *TLabeledEdit) Realign()

Realign

重新对齐。

Realign.

func (*TLabeledEdit) Refresh added in v1.1.19

func (l *TLabeledEdit) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TLabeledEdit) RemoveControl added in v1.1.21

func (l *TLabeledEdit) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TLabeledEdit) Repaint added in v1.1.19

func (l *TLabeledEdit) Repaint()

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 added in v1.1.19

func (l *TLabeledEdit) ScaleBy(M int32, D int32)

ScaleBy

按比例缩放。

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 added in v1.1.19

func (l *TLabeledEdit) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TLabeledEdit) ScrollBy added in v1.1.21

func (l *TLabeledEdit) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TLabeledEdit) SelLength added in v1.1.19

func (l *TLabeledEdit) SelLength() int32

SelLength

获取选择的长度。

func (*TLabeledEdit) SelStart added in v1.1.19

func (l *TLabeledEdit) SelStart() int32

SelStart

获取选择的启始位置。

func (*TLabeledEdit) SelText added in v1.1.19

func (l *TLabeledEdit) SelText() string

SelText

获取选择的文本。

func (*TLabeledEdit) SelectAll added in v1.1.19

func (l *TLabeledEdit) SelectAll()

SelectAll

全选。

func (*TLabeledEdit) SendToBack added in v1.1.19

func (l *TLabeledEdit) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TLabeledEdit) SetAction added in v1.1.19

func (l *TLabeledEdit) SetAction(value IComponent)

func (*TLabeledEdit) SetAlign added in v1.1.19

func (l *TLabeledEdit) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TLabeledEdit) SetAlignment added in v1.1.19

func (l *TLabeledEdit) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TLabeledEdit) SetAnchorSideBottom

func (l *TLabeledEdit) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TLabeledEdit) SetAnchorSideLeft

func (l *TLabeledEdit) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TLabeledEdit) SetAnchorSideRight

func (l *TLabeledEdit) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TLabeledEdit) SetAnchorSideTop

func (l *TLabeledEdit) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TLabeledEdit) SetAnchors added in v1.1.19

func (l *TLabeledEdit) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TLabeledEdit) SetAutoSelect added in v1.1.19

func (l *TLabeledEdit) SetAutoSelect(value bool)

SetAutoSelect

设置自动选择。

func (*TLabeledEdit) SetAutoSize added in v1.1.19

func (l *TLabeledEdit) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TLabeledEdit) SetBiDiMode added in v1.1.19

func (l *TLabeledEdit) SetBiDiMode(value TBiDiMode)

func (*TLabeledEdit) SetBorderSpacing

func (l *TLabeledEdit) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TLabeledEdit) SetBorderStyle added in v1.1.19

func (l *TLabeledEdit) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TLabeledEdit) SetBounds added in v1.1.19

func (l *TLabeledEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TLabeledEdit) SetBoundsRect added in v1.1.19

func (l *TLabeledEdit) SetBoundsRect(value TRect)

func (*TLabeledEdit) SetCharCase added in v1.1.19

func (l *TLabeledEdit) SetCharCase(value TEditCharCase)

func (*TLabeledEdit) SetChildSizing

func (l *TLabeledEdit) SetChildSizing(value *TControlChildSizing)

func (*TLabeledEdit) SetClientHeight added in v1.1.19

func (l *TLabeledEdit) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TLabeledEdit) SetClientWidth added in v1.1.19

func (l *TLabeledEdit) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TLabeledEdit) SetColor added in v1.1.19

func (l *TLabeledEdit) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TLabeledEdit) SetComponentIndex added in v1.1.19

func (l *TLabeledEdit) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TLabeledEdit) SetConstraints added in v1.2.7

func (l *TLabeledEdit) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TLabeledEdit) SetControlState added in v1.1.21

func (l *TLabeledEdit) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TLabeledEdit) SetControlStyle added in v1.1.21

func (l *TLabeledEdit) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TLabeledEdit) SetCursor added in v1.1.19

func (l *TLabeledEdit) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TLabeledEdit) SetDockSite added in v1.1.19

func (l *TLabeledEdit) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TLabeledEdit) SetDoubleBuffered added in v1.1.19

func (l *TLabeledEdit) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TLabeledEdit) SetDragCursor added in v1.1.19

func (l *TLabeledEdit) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TLabeledEdit) SetDragMode added in v1.1.19

func (l *TLabeledEdit) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TLabeledEdit) SetEnabled added in v1.1.19

func (l *TLabeledEdit) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TLabeledEdit) SetFocus added in v1.1.19

func (l *TLabeledEdit) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TLabeledEdit) SetFont added in v1.1.19

func (l *TLabeledEdit) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TLabeledEdit) SetHeight added in v1.1.19

func (l *TLabeledEdit) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TLabeledEdit) SetHideSelection added in v1.1.19

func (l *TLabeledEdit) SetHideSelection(value bool)

SetHideSelection

设置隐藏选择。

func (*TLabeledEdit) SetHint added in v1.1.19

func (l *TLabeledEdit) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TLabeledEdit) SetLabelPosition added in v1.1.19

func (l *TLabeledEdit) SetLabelPosition(value TLabelPosition)

func (*TLabeledEdit) SetLabelSpacing added in v1.1.19

func (l *TLabeledEdit) SetLabelSpacing(value int32)

func (*TLabeledEdit) SetLeft added in v1.1.19

func (l *TLabeledEdit) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TLabeledEdit) SetMaxLength added in v1.1.19

func (l *TLabeledEdit) SetMaxLength(value int32)

SetMaxLength

设置最大长度。

func (*TLabeledEdit) SetModified added in v1.1.19

func (l *TLabeledEdit) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TLabeledEdit) SetName added in v1.1.19

func (l *TLabeledEdit) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TLabeledEdit) SetNumbersOnly added in v1.1.19

func (l *TLabeledEdit) SetNumbersOnly(value bool)

SetNumbersOnly

设置只能输入数字。

func (*TLabeledEdit) SetOnChange added in v1.1.19

func (l *TLabeledEdit) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TLabeledEdit) SetOnClick added in v1.1.19

func (l *TLabeledEdit) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TLabeledEdit) SetOnDblClick added in v1.1.19

func (l *TLabeledEdit) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TLabeledEdit) SetOnDragDrop added in v1.1.19

func (l *TLabeledEdit) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TLabeledEdit) SetOnDragOver added in v1.1.19

func (l *TLabeledEdit) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TLabeledEdit) SetOnEndDrag added in v1.1.19

func (l *TLabeledEdit) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TLabeledEdit) SetOnEnter added in v1.1.19

func (l *TLabeledEdit) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TLabeledEdit) SetOnExit added in v1.1.19

func (l *TLabeledEdit) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TLabeledEdit) SetOnKeyDown added in v1.1.19

func (l *TLabeledEdit) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TLabeledEdit) SetOnKeyPress added in v1.1.19

func (l *TLabeledEdit) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TLabeledEdit) SetOnKeyUp added in v1.1.19

func (l *TLabeledEdit) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TLabeledEdit) SetOnMouseDown added in v1.1.19

func (l *TLabeledEdit) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TLabeledEdit) SetOnMouseEnter added in v1.1.19

func (l *TLabeledEdit) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TLabeledEdit) SetOnMouseLeave added in v1.1.19

func (l *TLabeledEdit) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TLabeledEdit) SetOnMouseMove added in v1.1.19

func (l *TLabeledEdit) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TLabeledEdit) SetOnMouseUp added in v1.1.19

func (l *TLabeledEdit) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TLabeledEdit) SetParent added in v1.1.19

func (l *TLabeledEdit) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TLabeledEdit) SetParentColor added in v1.1.19

func (l *TLabeledEdit) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TLabeledEdit) SetParentDoubleBuffered added in v1.1.19

func (l *TLabeledEdit) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TLabeledEdit) SetParentFont added in v1.1.19

func (l *TLabeledEdit) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TLabeledEdit) SetParentShowHint added in v1.1.19

func (l *TLabeledEdit) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TLabeledEdit) SetParentWindow added in v1.1.19

func (l *TLabeledEdit) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TLabeledEdit) SetPasswordChar added in v1.1.19

func (l *TLabeledEdit) SetPasswordChar(value uint16)

SetPasswordChar

设置密码掩码字符。

func (*TLabeledEdit) SetPopupMenu added in v1.1.19

func (l *TLabeledEdit) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TLabeledEdit) SetReadOnly added in v1.1.19

func (l *TLabeledEdit) SetReadOnly(value bool)

SetReadOnly

设置只读。

func (*TLabeledEdit) SetSelLength added in v1.1.19

func (l *TLabeledEdit) SetSelLength(value int32)

SetSelLength

设置选择的长度。

func (*TLabeledEdit) SetSelStart added in v1.1.19

func (l *TLabeledEdit) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TLabeledEdit) SetSelText added in v1.1.19

func (l *TLabeledEdit) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TLabeledEdit) SetShowHint added in v1.1.19

func (l *TLabeledEdit) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TLabeledEdit) SetTabOrder added in v1.1.19

func (l *TLabeledEdit) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TLabeledEdit) SetTabStop added in v1.1.19

func (l *TLabeledEdit) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TLabeledEdit) SetTag added in v1.1.19

func (l *TLabeledEdit) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TLabeledEdit) SetText added in v1.1.19

func (l *TLabeledEdit) SetText(value string)

SetText

设置文本。

func (*TLabeledEdit) SetTextBuf added in v1.1.21

func (l *TLabeledEdit) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TLabeledEdit) SetTextHint added in v1.1.19

func (l *TLabeledEdit) SetTextHint(value string)

SetTextHint

设置提示文本。

func (*TLabeledEdit) SetTop added in v1.1.19

func (l *TLabeledEdit) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TLabeledEdit) SetUseDockManager added in v1.1.19

func (l *TLabeledEdit) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TLabeledEdit) SetVisible added in v1.1.19

func (l *TLabeledEdit) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TLabeledEdit) SetWidth added in v1.1.19

func (l *TLabeledEdit) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TLabeledEdit) Show added in v1.1.19

func (l *TLabeledEdit) Show()

Show

显示控件。

Show control.

func (*TLabeledEdit) ShowHint added in v1.1.19

func (l *TLabeledEdit) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TLabeledEdit) Showing

func (l *TLabeledEdit) Showing() bool

func (*TLabeledEdit) TabOrder added in v1.1.19

func (l *TLabeledEdit) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TLabeledEdit) TabStop added in v1.1.19

func (l *TLabeledEdit) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TLabeledEdit) Tag added in v1.1.19

func (l *TLabeledEdit) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TLabeledEdit) Text added in v1.1.19

func (l *TLabeledEdit) Text() string

Text

获取文本。

func (*TLabeledEdit) TextHint added in v1.1.19

func (l *TLabeledEdit) TextHint() string

TextHint

获取提示文本。

func (*TLabeledEdit) ToString added in v1.1.19

func (l *TLabeledEdit) ToString() string

ToString

文本类信息。

Text information.

func (*TLabeledEdit) Top added in v1.1.19

func (l *TLabeledEdit) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TLabeledEdit) Undo added in v1.1.19

func (l *TLabeledEdit) Undo()

Undo

撤销上一次操作。

func (*TLabeledEdit) UnsafeAddr added in v1.1.21

func (l *TLabeledEdit) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TLabeledEdit) Update added in v1.1.19

func (l *TLabeledEdit) Update()

Update

控件更新。

Update.

func (*TLabeledEdit) UseDockManager added in v1.1.19

func (l *TLabeledEdit) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TLabeledEdit) Visible added in v1.1.19

func (l *TLabeledEdit) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TLabeledEdit) VisibleDockClientCount added in v1.1.21

func (l *TLabeledEdit) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TLabeledEdit) Width added in v1.1.19

func (l *TLabeledEdit) Width() int32

Width

获取宽度。

Get width.

type TLinkLabel

type TLinkLabel struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsLinkLabel added in v1.2.10

func AsLinkLabel(obj interface{}) *TLinkLabel

AsLinkLabel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewLinkLabel

func NewLinkLabel(owner IComponent) *TLinkLabel

NewLinkLabel

创建一个新的对象。

Create a new object.

func (*TLinkLabel) Action

func (l *TLinkLabel) Action() *TAction

func (*TLinkLabel) Align

func (l *TLinkLabel) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TLinkLabel) Alignment

func (l *TLinkLabel) Alignment() TLinkAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TLinkLabel) AnchorSideBottom

func (l *TLinkLabel) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TLinkLabel) AnchorSideLeft

func (l *TLinkLabel) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TLinkLabel) AnchorSideRight

func (l *TLinkLabel) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TLinkLabel) AnchorSideTop

func (l *TLinkLabel) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TLinkLabel) AnchorToNeighbour

func (l *TLinkLabel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLinkLabel) AnchorVerticalCenterTo

func (l *TLinkLabel) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TLinkLabel) Anchors

func (l *TLinkLabel) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TLinkLabel) Assign

func (l *TLinkLabel) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSize

获取自动调整大小。

func (*TLinkLabel) BiDiMode

func (l *TLinkLabel) BiDiMode() TBiDiMode

func (*TLinkLabel) BorderSpacing

func (l *TLinkLabel) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TLinkLabel) BoundsRect

func (l *TLinkLabel) BoundsRect() TRect

func (*TLinkLabel) BringToFront

func (l *TLinkLabel) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TLinkLabel) Caption

func (l *TLinkLabel) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TLinkLabel) ClassName

func (l *TLinkLabel) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TLinkLabel) ClassType added in v1.1.18

func (l *TLinkLabel) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TLinkLabel) ClientHeight

func (l *TLinkLabel) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TLinkLabel) ClientOrigin added in v1.1.21

func (l *TLinkLabel) ClientOrigin() TPoint

func (*TLinkLabel) ClientRect

func (l *TLinkLabel) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TLinkLabel) ClientToParent

func (l *TLinkLabel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TLinkLabel) ClientToScreen

func (l *TLinkLabel) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TLinkLabel) ClientWidth

func (l *TLinkLabel) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TLinkLabel) Color

func (l *TLinkLabel) Color() TColor

Color

获取颜色。

Get color.

func (*TLinkLabel) ComponentCount

func (l *TLinkLabel) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TLinkLabel) ComponentIndex

func (l *TLinkLabel) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TLinkLabel) Components

func (l *TLinkLabel) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TLinkLabel) Constraints added in v1.2.7

func (l *TLinkLabel) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TLinkLabel) ControlState added in v1.1.21

func (l *TLinkLabel) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TLinkLabel) ControlStyle added in v1.1.21

func (l *TLinkLabel) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TLinkLabel) DragCursor

func (l *TLinkLabel) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TLinkLabel) DragKind

func (l *TLinkLabel) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TLinkLabel) DragMode

func (l *TLinkLabel) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TLinkLabel) Dragging

func (l *TLinkLabel) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TLinkLabel) Enabled

func (l *TLinkLabel) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TLinkLabel) Equals

func (l *TLinkLabel) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TLinkLabel) FindComponent

func (l *TLinkLabel) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Font

获取字体。

Get Font.

func (*TLinkLabel) Free

func (l *TLinkLabel) Free()

Free

释放对象。

Free object.

func (*TLinkLabel) GetHashCode

func (l *TLinkLabel) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TLinkLabel) GetNamePath

func (l *TLinkLabel) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TLinkLabel) GetTextBuf

func (l *TLinkLabel) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TLinkLabel) GetTextLen

func (l *TLinkLabel) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TLinkLabel) HasParent

func (l *TLinkLabel) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TLinkLabel) Height

func (l *TLinkLabel) Height() int32

Height

获取高度。

Get height.

func (*TLinkLabel) Hide

func (l *TLinkLabel) Hide()

Hide

隐藏控件。

Hidden control.

func (*TLinkLabel) Hint

func (l *TLinkLabel) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TLinkLabel) InheritsFrom added in v1.1.18

func (l *TLinkLabel) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TLinkLabel) Instance

func (l *TLinkLabel) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TLinkLabel) InstanceSize added in v1.1.18

func (l *TLinkLabel) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TLinkLabel) Invalidate

func (l *TLinkLabel) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TLinkLabel) Is added in v1.2.10

func (l *TLinkLabel) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TLinkLabel) IsValid

func (l *TLinkLabel) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TLinkLabel) Left

func (l *TLinkLabel) Left() int32

Left

获取左边位置。

Get Left position.

func (*TLinkLabel) MouseInClient added in v1.1.21

func (l *TLinkLabel) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TLinkLabel) Name

func (l *TLinkLabel) Name() string

Name

获取组件名称。

Get the component name.

func (*TLinkLabel) Owner

func (l *TLinkLabel) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TLinkLabel) Parent

func (l *TLinkLabel) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TLinkLabel) ParentColor

func (l *TLinkLabel) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TLinkLabel) ParentFont

func (l *TLinkLabel) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TLinkLabel) ParentShowHint

func (l *TLinkLabel) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TLinkLabel) ParentToClient

func (l *TLinkLabel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TLinkLabel) Perform

func (l *TLinkLabel) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TLinkLabel) PopupMenu

func (l *TLinkLabel) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TLinkLabel) Refresh

func (l *TLinkLabel) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TLinkLabel) Repaint

func (l *TLinkLabel) Repaint()

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TLinkLabel) SendToBack

func (l *TLinkLabel) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TLinkLabel) SetAlignment

func (l *TLinkLabel) SetAlignment(value TLinkAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TLinkLabel) SetAnchorSideBottom

func (l *TLinkLabel) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TLinkLabel) SetAnchorSideLeft

func (l *TLinkLabel) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TLinkLabel) SetAnchorSideRight

func (l *TLinkLabel) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TLinkLabel) SetAnchorSideTop

func (l *TLinkLabel) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TLinkLabel) SetAnchors

func (l *TLinkLabel) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TLinkLabel) SetAutoSize

func (l *TLinkLabel) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TLinkLabel) SetBiDiMode

func (l *TLinkLabel) SetBiDiMode(value TBiDiMode)

func (*TLinkLabel) SetBorderSpacing

func (l *TLinkLabel) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TLinkLabel) SetBounds

func (l *TLinkLabel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TLinkLabel) SetBoundsRect

func (l *TLinkLabel) SetBoundsRect(value TRect)

func (*TLinkLabel) SetCaption

func (l *TLinkLabel) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TLinkLabel) SetClientHeight

func (l *TLinkLabel) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TLinkLabel) SetClientWidth

func (l *TLinkLabel) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TLinkLabel) SetColor

func (l *TLinkLabel) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TLinkLabel) SetComponentIndex

func (l *TLinkLabel) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TLinkLabel) SetConstraints added in v1.2.7

func (l *TLinkLabel) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TLinkLabel) SetControlState added in v1.1.21

func (l *TLinkLabel) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TLinkLabel) SetControlStyle added in v1.1.21

func (l *TLinkLabel) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TLinkLabel) SetDragCursor

func (l *TLinkLabel) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TLinkLabel) SetDragKind

func (l *TLinkLabel) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TLinkLabel) SetDragMode

func (l *TLinkLabel) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TLinkLabel) SetEnabled

func (l *TLinkLabel) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TLinkLabel) SetFont

func (l *TLinkLabel) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TLinkLabel) SetHeight

func (l *TLinkLabel) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TLinkLabel) SetHint

func (l *TLinkLabel) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TLinkLabel) SetLeft

func (l *TLinkLabel) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TLinkLabel) SetName

func (l *TLinkLabel) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TLinkLabel) SetOnClick

func (l *TLinkLabel) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TLinkLabel) SetOnContextPopup

func (l *TLinkLabel) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TLinkLabel) SetOnDblClick

func (l *TLinkLabel) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TLinkLabel) SetOnDragDrop

func (l *TLinkLabel) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TLinkLabel) SetOnDragOver

func (l *TLinkLabel) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TLinkLabel) SetOnEndDrag

func (l *TLinkLabel) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TLinkLabel) SetOnLinkClick

func (l *TLinkLabel) SetOnLinkClick(fn TSysLinkEvent)

func (*TLinkLabel) SetOnMouseDown

func (l *TLinkLabel) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TLinkLabel) SetOnMouseEnter

func (l *TLinkLabel) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TLinkLabel) SetOnMouseLeave

func (l *TLinkLabel) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TLinkLabel) SetOnMouseMove

func (l *TLinkLabel) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TLinkLabel) SetOnMouseUp

func (l *TLinkLabel) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TLinkLabel) SetParent

func (l *TLinkLabel) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TLinkLabel) SetParentColor

func (l *TLinkLabel) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TLinkLabel) SetParentFont

func (l *TLinkLabel) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TLinkLabel) SetParentShowHint

func (l *TLinkLabel) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TLinkLabel) SetPopupMenu

func (l *TLinkLabel) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TLinkLabel) SetShowHint

func (l *TLinkLabel) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TLinkLabel) SetTag

func (l *TLinkLabel) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TLinkLabel) SetTextBuf added in v1.1.21

func (l *TLinkLabel) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TLinkLabel) SetTop

func (l *TLinkLabel) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TLinkLabel) SetVisible

func (l *TLinkLabel) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TLinkLabel) SetWidth

func (l *TLinkLabel) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TLinkLabel) Show

func (l *TLinkLabel) Show()

Show

显示控件。

Show control.

func (*TLinkLabel) ShowHint

func (l *TLinkLabel) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TLinkLabel) Tag

func (l *TLinkLabel) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TLinkLabel) ToString

func (l *TLinkLabel) ToString() string

ToString

文本类信息。

Text information.

func (*TLinkLabel) Top

func (l *TLinkLabel) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TLinkLabel) UnsafeAddr added in v1.1.21

func (l *TLinkLabel) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TLinkLabel) Update

func (l *TLinkLabel) Update()

Update

控件更新。

Update.

func (*TLinkLabel) Visible

func (l *TLinkLabel) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TLinkLabel) Width

func (l *TLinkLabel) Width() int32

Width

获取宽度。

Get width.

type TList

type TList struct {
	IObject
	// contains filtered or unexported fields
}

func AsList added in v1.2.10

func AsList(obj interface{}) *TList

AsList

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewList

func NewList() *TList

NewList

创建一个新的对象。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TList) ClassType added in v1.1.18

func (l *TList) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TList) Clear

func (l *TList) Clear()

Clear

清除。

func (*TList) Count

func (l *TList) Count() int32

Count

获取项目总数。

Get Total number of projects.

func (*TList) Delete

func (l *TList) Delete(Index int32)

func (*TList) Equals

func (l *TList) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TList) Exchange

func (l *TList) Exchange(Index1 int32, Index2 int32)

func (*TList) Expand

func (l *TList) Expand() *TList

func (*TList) Free

func (l *TList) Free()

Free

释放对象。

Free object.

func (*TList) GetHashCode

func (l *TList) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TList) IndexOf

func (l *TList) IndexOf(Item uintptr) int32

func (*TList) InheritsFrom added in v1.1.18

func (l *TList) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TList) InstanceSize added in v1.1.18

func (l *TList) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TList) Is added in v1.2.10

func (l *TList) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TList) IsValid

func (l *TList) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TList) Items

func (l *TList) Items(Index int32) uintptr

Items

获取获取指定索引项目。

Get Get the specified index item.

func (*TList) List

func (l *TList) List() uintptr

List

获取获取列表指针。

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)

SetCount

设置项目总数。

Set Total number of projects.

func (*TList) SetItems

func (l *TList) SetItems(Index int32, value uintptr)

SetItems

设置获取指定索引项目。

Set Get the specified index item.

func (*TList) ToString

func (l *TList) ToString() string

ToString

文本类信息。

Text information.

func (*TList) UnsafeAddr added in v1.1.21

func (l *TList) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TListBox

type TListBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsListBox added in v1.2.10

func AsListBox(obj interface{}) *TListBox

AsListBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewListBox

func NewListBox(owner IComponent) *TListBox

NewListBox

创建一个新的对象。

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

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TListBox) AnchorSideBottom

func (l *TListBox) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TListBox) AnchorSideLeft

func (l *TListBox) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TListBox) AnchorSideRight

func (l *TListBox) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TListBox) AnchorSideTop

func (l *TListBox) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TListBox) AnchorToNeighbour

func (l *TListBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TListBox) AnchorVerticalCenterTo

func (l *TListBox) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TListBox) Anchors

func (l *TListBox) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TListBox) Assign

func (l *TListBox) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TListBox) BorderStyle

func (l *TListBox) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TListBox) BoundsRect

func (l *TListBox) BoundsRect() TRect

func (*TListBox) BringToFront

func (l *TListBox) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TListBox) Brush

func (l *TListBox) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TListBox) CanFocus

func (l *TListBox) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TListBox) Canvas

func (l *TListBox) Canvas() *TCanvas

Canvas

获取画布。

func (*TListBox) ChildSizing

func (l *TListBox) ChildSizing() *TControlChildSizing

func (*TListBox) ClassName

func (l *TListBox) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TListBox) ClassType added in v1.1.18

func (l *TListBox) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TListBox) Clear

func (l *TListBox) Clear()

Clear

清除。

func (*TListBox) ClearSelection

func (l *TListBox) ClearSelection()

ClearSelection

清除选择。

func (*TListBox) ClickOnSelChange

func (l *TListBox) ClickOnSelChange() bool

func (*TListBox) ClientHeight

func (l *TListBox) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TListBox) ClientOrigin added in v1.1.21

func (l *TListBox) ClientOrigin() TPoint

func (*TListBox) ClientRect

func (l *TListBox) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TListBox) ClientToParent

func (l *TListBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TListBox) ClientToScreen

func (l *TListBox) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TListBox) ClientWidth

func (l *TListBox) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TListBox) Color

func (l *TListBox) Color() TColor

Color

获取颜色。

Get color.

func (*TListBox) Columns

func (l *TListBox) Columns() int32

func (*TListBox) ComponentCount

func (l *TListBox) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TListBox) ComponentIndex

func (l *TListBox) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TListBox) Components

func (l *TListBox) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TListBox) Constraints added in v1.2.7

func (l *TListBox) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TListBox) ContainsControl added in v1.1.21

func (l *TListBox) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TListBox) ControlAtPos added in v1.1.21

func (l *TListBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TListBox) ControlCount

func (l *TListBox) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TListBox) ControlState added in v1.1.21

func (l *TListBox) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TListBox) ControlStyle added in v1.1.21

func (l *TListBox) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TListBox) Controls

func (l *TListBox) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TListBox) Count

func (l *TListBox) Count() int32

func (*TListBox) Cursor

func (l *TListBox) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TListBox) DeleteSelected

func (l *TListBox) DeleteSelected()

DeleteSelected

删除选择的。

func (*TListBox) DisableAlign added in v1.1.21

func (l *TListBox) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TListBox) DockClientCount added in v1.1.21

func (l *TListBox) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TListBox) DockClients added in v1.1.21

func (l *TListBox) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TListBox) DockSite

func (l *TListBox) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TListBox) DoubleBuffered

func (l *TListBox) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TListBox) DragCursor

func (l *TListBox) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TListBox) DragKind

func (l *TListBox) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TListBox) DragMode

func (l *TListBox) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TListBox) Dragging

func (l *TListBox) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TListBox) EnableAlign added in v1.1.21

func (l *TListBox) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TListBox) Enabled

func (l *TListBox) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TListBox) Equals

func (l *TListBox) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TListBox) ExtendedSelect

func (l *TListBox) ExtendedSelect() bool

func (*TListBox) FindChildControl added in v1.1.21

func (l *TListBox) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TListBox) FindComponent

func (l *TListBox) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TListBox) Font

func (l *TListBox) Font() *TFont

Font

获取字体。

Get Font.

func (*TListBox) Free

func (l *TListBox) Free()

Free

释放对象。

Free object.

func (*TListBox) GetHashCode

func (l *TListBox) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TListBox) GetNamePath

func (l *TListBox) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TListBox) GetTextBuf

func (l *TListBox) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TListBox) GetTextLen

func (l *TListBox) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TListBox) Handle

func (l *TListBox) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TListBox) HandleAllocated

func (l *TListBox) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TListBox) HasParent

func (l *TListBox) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TListBox) Height

func (l *TListBox) Height() int32

Height

获取高度。

Get height.

func (*TListBox) Hide

func (l *TListBox) Hide()

Hide

隐藏控件。

Hidden control.

func (*TListBox) Hint

func (l *TListBox) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TListBox) InheritsFrom added in v1.1.18

func (l *TListBox) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TListBox) InsertControl added in v1.1.21

func (l *TListBox) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TListBox) Instance

func (l *TListBox) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TListBox) InstanceSize added in v1.1.18

func (l *TListBox) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TListBox) Invalidate

func (l *TListBox) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TListBox) Is added in v1.2.10

func (l *TListBox) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TListBox) IsValid

func (l *TListBox) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TListBox) ItemAtPos added in v1.2.10

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 added in v1.2.10

func (l *TListBox) ItemRect(Index int32) TRect

func (*TListBox) Items

func (l *TListBox) Items() *TStrings

func (*TListBox) Left

func (l *TListBox) Left() int32

Left

获取左边位置。

Get Left position.

func (*TListBox) MouseInClient added in v1.1.21

func (l *TListBox) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅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

Name

获取组件名称。

Get the component name.

func (*TListBox) Options

func (l *TListBox) Options() TListBoxOptions

func (*TListBox) Owner

func (l *TListBox) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TListBox) PaintTo added in v1.1.21

func (l *TListBox) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TListBox) Parent

func (l *TListBox) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TListBox) ParentColor

func (l *TListBox) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TListBox) ParentDoubleBuffered

func (l *TListBox) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TListBox) ParentFont

func (l *TListBox) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TListBox) ParentShowHint

func (l *TListBox) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TListBox) ParentToClient

func (l *TListBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TListBox) ParentWindow

func (l *TListBox) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TListBox) Perform

func (l *TListBox) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TListBox) PopupMenu

func (l *TListBox) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TListBox) Realign

func (l *TListBox) Realign()

Realign

重新对齐。

Realign.

func (*TListBox) Refresh

func (l *TListBox) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TListBox) RemoveControl added in v1.1.21

func (l *TListBox) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TListBox) Repaint

func (l *TListBox) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TListBox) ScrollBy added in v1.1.21

func (l *TListBox) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TListBox) SelCount

func (l *TListBox) SelCount() int32

func (*TListBox) SelectAll

func (l *TListBox) SelectAll()

SelectAll

全选。

func (*TListBox) Selected

func (l *TListBox) Selected(Index int32) bool

func (*TListBox) SendToBack

func (l *TListBox) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TListBox) SetAnchorSideBottom

func (l *TListBox) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TListBox) SetAnchorSideLeft

func (l *TListBox) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TListBox) SetAnchorSideRight

func (l *TListBox) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TListBox) SetAnchorSideTop

func (l *TListBox) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TListBox) SetAnchors

func (l *TListBox) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TListBox) SetBiDiMode

func (l *TListBox) SetBiDiMode(value TBiDiMode)

func (*TListBox) SetBorderSpacing

func (l *TListBox) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TListBox) SetBorderStyle

func (l *TListBox) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TListBox) SetBounds

func (l *TListBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TListBox) SetClientWidth

func (l *TListBox) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TListBox) SetColor

func (l *TListBox) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TListBox) SetColumns

func (l *TListBox) SetColumns(value int32)

func (*TListBox) SetComponentIndex

func (l *TListBox) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TListBox) SetConstraints added in v1.2.7

func (l *TListBox) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TListBox) SetControlState added in v1.1.21

func (l *TListBox) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TListBox) SetControlStyle added in v1.1.21

func (l *TListBox) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TListBox) SetCursor

func (l *TListBox) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TListBox) SetDockSite

func (l *TListBox) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TListBox) SetDoubleBuffered

func (l *TListBox) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TListBox) SetDragCursor

func (l *TListBox) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TListBox) SetDragKind

func (l *TListBox) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TListBox) SetDragMode

func (l *TListBox) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TListBox) SetEnabled

func (l *TListBox) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TListBox) SetExtendedSelect

func (l *TListBox) SetExtendedSelect(value bool)

func (*TListBox) SetFocus

func (l *TListBox) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TListBox) SetFont

func (l *TListBox) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TListBox) SetHeight

func (l *TListBox) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TListBox) SetHint

func (l *TListBox) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetLeft

设置左边位置。

Set Left position.

func (*TListBox) SetMultiSelect

func (l *TListBox) SetMultiSelect(value bool)

func (*TListBox) SetName

func (l *TListBox) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TListBox) SetOnClick

func (l *TListBox) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TListBox) SetOnContextPopup

func (l *TListBox) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TListBox) SetOnDblClick

func (l *TListBox) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TListBox) SetOnDragDrop

func (l *TListBox) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TListBox) SetOnDragOver

func (l *TListBox) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TListBox) SetOnDrawItem

func (l *TListBox) SetOnDrawItem(fn TDrawItemEvent)

func (*TListBox) SetOnEndDrag

func (l *TListBox) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TListBox) SetOnEnter

func (l *TListBox) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TListBox) SetOnExit

func (l *TListBox) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TListBox) SetOnKeyDown

func (l *TListBox) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TListBox) SetOnKeyPress

func (l *TListBox) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TListBox) SetOnKeyUp

func (l *TListBox) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TListBox) SetOnMeasureItem added in v1.1.21

func (l *TListBox) SetOnMeasureItem(fn TMeasureItemEvent)

func (*TListBox) SetOnMouseDown

func (l *TListBox) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TListBox) SetOnMouseEnter

func (l *TListBox) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TListBox) SetOnMouseLeave

func (l *TListBox) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TListBox) SetOnMouseMove

func (l *TListBox) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TListBox) SetOnMouseUp

func (l *TListBox) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TListBox) SetOptions

func (l *TListBox) SetOptions(value TListBoxOptions)

func (*TListBox) SetParent

func (l *TListBox) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TListBox) SetParentColor

func (l *TListBox) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TListBox) SetParentDoubleBuffered

func (l *TListBox) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TListBox) SetParentFont

func (l *TListBox) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TListBox) SetParentShowHint

func (l *TListBox) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TListBox) SetParentWindow

func (l *TListBox) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TListBox) SetPopupMenu

func (l *TListBox) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TListBox) SetSelected

func (l *TListBox) SetSelected(Index int32, value bool)

func (*TListBox) SetShowHint

func (l *TListBox) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

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)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TListBox) SetTabStop

func (l *TListBox) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TListBox) SetTag

func (l *TListBox) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TListBox) SetTextBuf added in v1.1.21

func (l *TListBox) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TListBox) SetTop

func (l *TListBox) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TListBox) SetTopIndex

func (l *TListBox) SetTopIndex(value int32)

func (*TListBox) SetUseDockManager

func (l *TListBox) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TListBox) SetVisible

func (l *TListBox) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TListBox) SetWidth

func (l *TListBox) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TListBox) Show

func (l *TListBox) Show()

Show

显示控件。

Show control.

func (*TListBox) ShowHint

func (l *TListBox) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TListBox) TabStop

func (l *TListBox) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TListBox) Tag

func (l *TListBox) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TListBox) ToString

func (l *TListBox) ToString() string

ToString

文本类信息。

Text information.

func (*TListBox) Top

func (l *TListBox) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TListBox) TopIndex

func (l *TListBox) TopIndex() int32

func (*TListBox) UnsafeAddr added in v1.1.21

func (l *TListBox) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TListBox) Update

func (l *TListBox) Update()

Update

控件更新。

Update.

func (*TListBox) UseDockManager

func (l *TListBox) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TListBox) Visible

func (l *TListBox) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TListBox) VisibleDockClientCount added in v1.1.21

func (l *TListBox) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TListBox) Width

func (l *TListBox) Width() int32

Width

获取宽度。

Get width.

type TListColumn

type TListColumn struct {
	IObject
	// contains filtered or unexported fields
}

func AsListColumn added in v1.2.10

func AsListColumn(obj interface{}) *TListColumn

AsListColumn

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewListColumn

func NewListColumn(AOwner *TCollection) *TListColumn

NewListColumn

创建一个新的对象。

Create a new object.

func (*TListColumn) Alignment

func (l *TListColumn) Alignment() TAlignment

Alignment

获取文字对齐。

Get Text alignment.

func (*TListColumn) Assign

func (l *TListColumn) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TListColumn) AutoSize

func (l *TListColumn) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TListColumn) Caption

func (l *TListColumn) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TListColumn) ClassName

func (l *TListColumn) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TListColumn) ClassType added in v1.1.18

func (l *TListColumn) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TListColumn) Collection added in v1.1.23

func (l *TListColumn) Collection() *TCollection

func (*TListColumn) DisplayName added in v1.2.7

func (l *TListColumn) DisplayName() string

func (*TListColumn) Equals

func (l *TListColumn) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TListColumn) Free

func (l *TListColumn) Free()

Free

释放对象。

Free object.

func (*TListColumn) GetHashCode

func (l *TListColumn) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TListColumn) GetNamePath

func (l *TListColumn) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TListColumn) ImageIndex

func (l *TListColumn) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TListColumn) Index

func (l *TListColumn) Index() int32

func (*TListColumn) InheritsFrom added in v1.1.18

func (l *TListColumn) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TListColumn) Instance

func (l *TListColumn) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TListColumn) InstanceSize added in v1.1.18

func (l *TListColumn) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TListColumn) Is added in v1.2.10

func (l *TListColumn) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TListColumn) IsValid

func (l *TListColumn) IsValid() bool

IsValid

检测地址是否为空。

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)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TListColumn) SetAutoSize

func (l *TListColumn) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TListColumn) SetCaption

func (l *TListColumn) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TListColumn) SetCollection added in v1.1.23

func (l *TListColumn) SetCollection(value *TCollection)

func (*TListColumn) SetDisplayName added in v1.2.7

func (l *TListColumn) SetDisplayName(value string)

func (*TListColumn) SetImageIndex

func (l *TListColumn) SetImageIndex(value int32)

SetImageIndex

设置图像在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)

SetTag

设置对象标记。

Set the control tag.

func (*TListColumn) SetWidth

func (l *TListColumn) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TListColumn) SortIndicator

func (l *TListColumn) SortIndicator() TSortIndicator

func (*TListColumn) Tag

func (l *TListColumn) Tag() int32

Tag

获取对象标记。

Get the control tag.

func (*TListColumn) ToString

func (l *TListColumn) ToString() string

ToString

文本类信息。

Text information.

func (*TListColumn) UnsafeAddr added in v1.1.21

func (l *TListColumn) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TListColumn) Width

func (l *TListColumn) Width() int32

Width

获取宽度。

Get width.

type TListColumns

type TListColumns struct {
	IObject
	// contains filtered or unexported fields
}

func AsListColumns added in v1.2.10

func AsListColumns(obj interface{}) *TListColumns

AsListColumns

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewListColumns

func NewListColumns(AOwner *TListView) *TListColumns

NewListColumns

创建一个新的对象。

Create a new object.

func (*TListColumns) Add

func (l *TListColumns) Add() *TListColumn

func (*TListColumns) Assign

func (l *TListColumns) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TListColumns) BeginUpdate

func (l *TListColumns) BeginUpdate()

func (*TListColumns) ClassName

func (l *TListColumns) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TListColumns) ClassType added in v1.1.18

func (l *TListColumns) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TListColumns) Clear

func (l *TListColumns) Clear()

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TListColumns) FindItemID added in v1.1.23

func (l *TListColumns) FindItemID(ID int32) *TCollectionItem

func (*TListColumns) Free

func (l *TListColumns) Free()

Free

释放对象。

Free object.

func (*TListColumns) GetHashCode

func (l *TListColumns) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TListColumns) GetNamePath

func (l *TListColumns) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TListColumns) InheritsFrom added in v1.1.18

func (l *TListColumns) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TListColumns) InstanceSize added in v1.1.18

func (l *TListColumns) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TListColumns) Is added in v1.2.10

func (l *TListColumns) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TListColumns) IsValid

func (l *TListColumns) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TListColumns) Items

func (l *TListColumns) Items(Index int32) *TListColumn

func (*TListColumns) Owner

func (l *TListColumns) Owner() *TWinControl

Owner

组件所有者。

component owner.

func (*TListColumns) SetItems

func (l *TListColumns) SetItems(Index int32, value *TListColumn)

func (*TListColumns) ToString

func (l *TListColumns) ToString() string

ToString

文本类信息。

Text information.

func (*TListColumns) UnsafeAddr added in v1.1.21

func (l *TListColumns) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TListItem

type TListItem struct {
	IObject
	// contains filtered or unexported fields
}

func AsListItem added in v1.2.10

func AsListItem(obj interface{}) *TListItem

AsListItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewListItem

func NewListItem(AOwner *TListItems) *TListItem

NewListItem

创建一个新的对象。

Create a new object.

func (*TListItem) Assign

func (l *TListItem) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TListItem) Caption

func (l *TListItem) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TListItem) Checked

func (l *TListItem) Checked() bool

Checked

获取是否选中。

func (*TListItem) ClassName

func (l *TListItem) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TListItem) ClassType added in v1.1.18

func (l *TListItem) ClassType() TClass

ClassType

获取类的类型信息。

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TListItem) Focused

func (l *TListItem) Focused() bool

Focused

获取返回是否获取焦点。

Get Return to get focus.

func (*TListItem) Free

func (l *TListItem) Free()

Free

释放对象。

Free object.

func (*TListItem) GetHashCode

func (l *TListItem) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TListItem) GetNamePath

func (l *TListItem) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TListItem) ImageIndex

func (l *TListItem) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TListItem) Index

func (l *TListItem) Index() int32

func (*TListItem) InheritsFrom added in v1.1.18

func (l *TListItem) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TListItem) Instance

func (l *TListItem) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TListItem) InstanceSize added in v1.1.18

func (l *TListItem) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TListItem) Is added in v1.2.10

func (l *TListItem) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TListItem) IsValid

func (l *TListItem) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TListItem) Left

func (l *TListItem) Left() int32

Left

获取左边位置。

Get Left position.

func (*TListItem) ListView added in v1.2.3

func (l *TListItem) ListView() *TWinControl

func (*TListItem) MakeVisible

func (l *TListItem) MakeVisible(PartialOK bool)

func (*TListItem) Owner

func (l *TListItem) Owner() *TListItems

Owner

获取组件所有者。

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)

SetCaption

设置控件标题。

Set the control title.

func (*TListItem) SetChecked

func (l *TListItem) SetChecked(value bool)

SetChecked

设置是否选中。

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)

SetFocused

设置返回是否获取焦点。

Set Return to get focus.

func (*TListItem) SetImageIndex

func (l *TListItem) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*TListItem) SetLeft

func (l *TListItem) SetLeft(value int32)

SetLeft

设置左边位置。

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)

SetTop

设置顶边位置。

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

ToString

文本类信息。

Text information.

func (*TListItem) Top

func (l *TListItem) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TListItem) UnsafeAddr added in v1.1.21

func (l *TListItem) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TListItems

type TListItems struct {
	IObject
	// contains filtered or unexported fields
}

func AsListItems added in v1.2.10

func AsListItems(obj interface{}) *TListItems

AsListItems

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewListItems

func NewListItems(AOwner *TListView) *TListItems

NewListItems

创建一个新的对象。

Create a new object.

func (*TListItems) Add

func (l *TListItems) Add() *TListItem

func (*TListItems) Assign

func (l *TListItems) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TListItems) BeginUpdate

func (l *TListItems) BeginUpdate()

func (*TListItems) ClassName

func (l *TListItems) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TListItems) ClassType added in v1.1.18

func (l *TListItems) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TListItems) Clear

func (l *TListItems) Clear()

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TListItems) Free

func (l *TListItems) Free()

Free

释放对象。

Free object.

func (*TListItems) GetHashCode

func (l *TListItems) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TListItems) GetNamePath

func (l *TListItems) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TListItems) IndexOf

func (l *TListItems) IndexOf(Value *TListItem) int32

func (*TListItems) InheritsFrom added in v1.1.18

func (l *TListItems) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TListItems) InstanceSize added in v1.1.18

func (l *TListItems) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TListItems) Is added in v1.2.10

func (l *TListItems) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TListItems) IsValid

func (l *TListItems) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TListItems) Item

func (l *TListItems) Item(Index int32) *TListItem

func (*TListItems) Owner

func (l *TListItems) Owner() *TWinControl

Owner

获取组件所有者。

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

ToString

文本类信息。

Text information.

func (*TListItems) UnsafeAddr added in v1.1.21

func (l *TListItems) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TListView

type TListView struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsListView added in v1.2.10

func AsListView(obj interface{}) *TListView

AsListView

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewListView

func NewListView(owner IComponent) *TListView

NewListView

创建一个新的对象。

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

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TListView) AnchorSideBottom

func (l *TListView) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TListView) AnchorSideLeft

func (l *TListView) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TListView) AnchorSideRight

func (l *TListView) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TListView) AnchorSideTop

func (l *TListView) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TListView) AnchorToNeighbour

func (l *TListView) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TListView) AnchorVerticalCenterTo

func (l *TListView) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TListView) Anchors

func (l *TListView) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TListView) Assign

func (l *TListView) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TListView) BorderStyle

func (l *TListView) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TListView) BorderWidth

func (l *TListView) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TListView) BoundsRect

func (l *TListView) BoundsRect() TRect

func (*TListView) BringToFront

func (l *TListView) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TListView) Brush

func (l *TListView) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TListView) CanFocus

func (l *TListView) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TListView) Canvas

func (l *TListView) Canvas() *TCanvas

Canvas

获取画布。

func (*TListView) Checkboxes

func (l *TListView) Checkboxes() bool

func (*TListView) ChildSizing

func (l *TListView) ChildSizing() *TControlChildSizing

func (*TListView) ClassName

func (l *TListView) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TListView) ClassType added in v1.1.18

func (l *TListView) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TListView) Clear

func (l *TListView) Clear()

Clear

清除。

func (*TListView) ClearSelection

func (l *TListView) ClearSelection()

ClearSelection

清除选择。

func (*TListView) ClientHeight

func (l *TListView) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TListView) ClientOrigin added in v1.1.21

func (l *TListView) ClientOrigin() TPoint

func (*TListView) ClientRect

func (l *TListView) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TListView) ClientToParent

func (l *TListView) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TListView) ClientToScreen

func (l *TListView) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TListView) ClientWidth

func (l *TListView) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TListView) Color

func (l *TListView) Color() TColor

Color

获取颜色。

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

ComponentCount

获取组件总数。

Get the total number of components.

func (*TListView) ComponentIndex

func (l *TListView) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TListView) Components

func (l *TListView) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TListView) Constraints added in v1.2.7

func (l *TListView) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TListView) ContainsControl added in v1.1.21

func (l *TListView) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TListView) ControlAtPos added in v1.1.21

func (l *TListView) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TListView) ControlCount

func (l *TListView) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TListView) ControlState added in v1.1.21

func (l *TListView) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TListView) ControlStyle added in v1.1.21

func (l *TListView) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TListView) Controls

func (l *TListView) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TListView) Cursor

func (l *TListView) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TListView) CustomSort

func (l *TListView) CustomSort(SortProc PFNLVCOMPARE, lParam int) bool

CustomSort

自定义排序,ASortProc参数无效,仅仅用来兼容Delphi的。

Custom sorting, ASortProc parameter is invalid, Only used to be compatible with Delphi.

func (*TListView) DeleteSelected

func (l *TListView) DeleteSelected()

DeleteSelected

删除选择的。

func (*TListView) DisableAlign added in v1.1.21

func (l *TListView) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TListView) DockClientCount added in v1.1.21

func (l *TListView) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TListView) DockClients added in v1.1.21

func (l *TListView) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TListView) DockSite

func (l *TListView) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TListView) DoubleBuffered

func (l *TListView) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TListView) DragCursor

func (l *TListView) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TListView) DragKind

func (l *TListView) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TListView) DragMode

func (l *TListView) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TListView) Dragging

func (l *TListView) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TListView) DropTarget

func (l *TListView) DropTarget() *TListItem

func (*TListView) EnableAlign added in v1.1.21

func (l *TListView) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TListView) Enabled

func (l *TListView) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TListView) Equals

func (l *TListView) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TListView) FindChildControl added in v1.1.21

func (l *TListView) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TListView) FindComponent

func (l *TListView) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TListView) Font

func (l *TListView) Font() *TFont

Font

获取字体。

Get Font.

func (*TListView) Free

func (l *TListView) Free()

Free

释放对象。

Free object.

func (*TListView) FullDrag

func (l *TListView) FullDrag() bool

func (*TListView) GetHashCode

func (l *TListView) GetHashCode() int32

GetHashCode

获取类的哈希值。

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

GetNamePath

获取类名路径。

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

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TListView) GetTextLen

func (l *TListView) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

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

Handle

获取控件句柄。

Get Control handle.

func (*TListView) HandleAllocated

func (l *TListView) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TListView) HasParent

func (l *TListView) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TListView) Height

func (l *TListView) Height() int32

Height

获取高度。

Get height.

func (*TListView) Hide

func (l *TListView) Hide()

Hide

隐藏控件。

Hidden control.

func (*TListView) HideSelection

func (l *TListView) HideSelection() bool

HideSelection

获取隐藏选择。

func (*TListView) Hint

func (l *TListView) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TListView) HotTrack

func (l *TListView) HotTrack() bool

func (*TListView) IconOptions

func (l *TListView) IconOptions() *TIconOptions

func (*TListView) InheritsFrom added in v1.1.18

func (l *TListView) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TListView) InsertControl added in v1.1.21

func (l *TListView) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TListView) Instance

func (l *TListView) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TListView) InstanceSize added in v1.1.18

func (l *TListView) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TListView) Invalidate

func (l *TListView) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TListView) Is added in v1.2.10

func (l *TListView) Is() TIs

Is

检测当前对象是否继承自目标对象。

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

IsValid

检测地址是否为空。

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

Left

获取左边位置。

Get Left position.

func (*TListView) MouseInClient added in v1.1.21

func (l *TListView) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅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

Name

获取组件名称。

Get the component name.

func (*TListView) Owner

func (l *TListView) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TListView) OwnerData added in v1.1.21

func (l *TListView) OwnerData() bool

func (*TListView) OwnerDraw added in v1.1.23

func (l *TListView) OwnerDraw() bool

func (*TListView) PaintTo added in v1.1.21

func (l *TListView) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TListView) Parent

func (l *TListView) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TListView) ParentColor

func (l *TListView) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TListView) ParentDoubleBuffered

func (l *TListView) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TListView) ParentFont

func (l *TListView) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TListView) ParentShowHint

func (l *TListView) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TListView) ParentToClient

func (l *TListView) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TListView) ParentWindow

func (l *TListView) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TListView) Perform

func (l *TListView) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TListView) PopupMenu

func (l *TListView) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TListView) ReadOnly

func (l *TListView) ReadOnly() bool

ReadOnly

获取只读。

func (*TListView) Realign

func (l *TListView) Realign()

Realign

重新对齐。

Realign.

func (*TListView) Refresh

func (l *TListView) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TListView) RemoveControl added in v1.1.21

func (l *TListView) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TListView) Repaint

func (l *TListView) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TListView) ScrollBars

func (l *TListView) ScrollBars() TScrollStyle

func (*TListView) ScrollBy added in v1.1.21

func (l *TListView) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TListView) SelCount

func (l *TListView) SelCount() int32

func (*TListView) SelectAll

func (l *TListView) SelectAll()

SelectAll

全选。

func (*TListView) Selected

func (l *TListView) Selected() *TListItem

func (*TListView) SendToBack

func (l *TListView) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TListView) SetAllocBy

func (l *TListView) SetAllocBy(value int32)

func (*TListView) SetAnchorSideBottom

func (l *TListView) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TListView) SetAnchorSideLeft

func (l *TListView) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TListView) SetAnchorSideRight

func (l *TListView) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TListView) SetAnchorSideTop

func (l *TListView) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TListView) SetAnchors

func (l *TListView) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

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)

SetBorderSpacing

设置边框间距。

func (*TListView) SetBorderStyle

func (l *TListView) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TListView) SetBorderWidth

func (l *TListView) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TListView) SetBounds

func (l *TListView) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TListView) SetClientWidth

func (l *TListView) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TListView) SetColor

func (l *TListView) SetColor(value TColor)

SetColor

设置颜色。

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)

SetComponentIndex

设置组件索引。

Set component index.

func (*TListView) SetConstraints added in v1.2.7

func (l *TListView) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TListView) SetControlState added in v1.1.21

func (l *TListView) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TListView) SetControlStyle added in v1.1.21

func (l *TListView) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TListView) SetCursor

func (l *TListView) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TListView) SetDockSite

func (l *TListView) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TListView) SetDoubleBuffered

func (l *TListView) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TListView) SetDragCursor

func (l *TListView) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TListView) SetDragKind

func (l *TListView) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TListView) SetDragMode

func (l *TListView) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TListView) SetDropTarget

func (l *TListView) SetDropTarget(value *TListItem)

func (*TListView) SetEnabled

func (l *TListView) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TListView) SetFlatScrollBars

func (l *TListView) SetFlatScrollBars(value bool)

func (*TListView) SetFocus

func (l *TListView) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TListView) SetFont

func (l *TListView) SetFont(value *TFont)

SetFont

设置字体。

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)

SetHeight

设置高度。

Set height.

func (*TListView) SetHideSelection

func (l *TListView) SetHideSelection(value bool)

SetHideSelection

设置隐藏选择。

func (*TListView) SetHint

func (l *TListView) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetLeft

设置左边位置。

Set Left position.

func (*TListView) SetMultiSelect

func (l *TListView) SetMultiSelect(value bool)

func (*TListView) SetName

func (l *TListView) SetName(value string)

SetName

设置组件名称。

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)

SetOnChange

设置改变事件。

Set changed event.

func (*TListView) SetOnClick

func (l *TListView) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

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)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TListView) SetOnCustomDraw added in v1.1.23

func (l *TListView) SetOnCustomDraw(fn TLVCustomDrawEvent)

func (*TListView) SetOnCustomDrawItem added in v1.1.23

func (l *TListView) SetOnCustomDrawItem(fn TLVCustomDrawItemEvent)

func (*TListView) SetOnCustomDrawSubItem added in v1.1.23

func (l *TListView) SetOnCustomDrawSubItem(fn TLVCustomDrawSubItemEvent)

func (*TListView) SetOnData added in v1.1.21

func (l *TListView) SetOnData(fn TLVDataEvent)

func (*TListView) SetOnDataFind added in v1.1.21

func (l *TListView) SetOnDataFind(fn TLVDataFindEvent)

func (*TListView) SetOnDataHint

func (l *TListView) SetOnDataHint(fn TLVDataHintEvent)

func (*TListView) SetOnDblClick

func (l *TListView) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TListView) SetOnDeletion added in v1.1.21

func (l *TListView) SetOnDeletion(fn TLVDeletedEvent)

func (*TListView) SetOnDragDrop

func (l *TListView) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TListView) SetOnDragOver

func (l *TListView) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TListView) SetOnDrawItem added in v1.1.23

func (l *TListView) SetOnDrawItem(fn TLVDrawItemEvent)

func (*TListView) SetOnEdited added in v1.1.21

func (l *TListView) SetOnEdited(fn TLVEditedEvent)

func (*TListView) SetOnEditing added in v1.1.21

func (l *TListView) SetOnEditing(fn TLVEditingEvent)

func (*TListView) SetOnEndDock

func (l *TListView) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TListView) SetOnEndDrag

func (l *TListView) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TListView) SetOnEnter

func (l *TListView) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TListView) SetOnExit

func (l *TListView) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TListView) SetOnInsert added in v1.1.21

func (l *TListView) SetOnInsert(fn TLVDeletedEvent)

func (*TListView) SetOnItemChecked

func (l *TListView) SetOnItemChecked(fn TLVCheckedItemEvent)

func (*TListView) SetOnKeyDown

func (l *TListView) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TListView) SetOnKeyPress

func (l *TListView) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TListView) SetOnKeyUp

func (l *TListView) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TListView) SetOnMouseDown

func (l *TListView) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TListView) SetOnMouseEnter

func (l *TListView) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TListView) SetOnMouseLeave

func (l *TListView) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TListView) SetOnMouseMove

func (l *TListView) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TListView) SetOnMouseUp

func (l *TListView) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TListView) SetOnResize

func (l *TListView) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TListView) SetOnSelectItem

func (l *TListView) SetOnSelectItem(fn TLVSelectItemEvent)

func (*TListView) SetOnStartDock

func (l *TListView) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TListView) SetOwnerData added in v1.1.21

func (l *TListView) SetOwnerData(value bool)

func (*TListView) SetOwnerDraw added in v1.1.23

func (l *TListView) SetOwnerDraw(value bool)

func (*TListView) SetParent

func (l *TListView) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TListView) SetParentColor

func (l *TListView) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TListView) SetParentDoubleBuffered

func (l *TListView) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TListView) SetParentFont

func (l *TListView) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TListView) SetParentShowHint

func (l *TListView) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TListView) SetParentWindow

func (l *TListView) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TListView) SetPopupMenu

func (l *TListView) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TListView) SetReadOnly

func (l *TListView) SetReadOnly(value bool)

SetReadOnly

设置只读。

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)

SetShowHint

设置显示鼠标悬停提示。

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)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TListView) SetTabStop

func (l *TListView) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TListView) SetTag

func (l *TListView) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TListView) SetTextBuf added in v1.1.21

func (l *TListView) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TListView) SetToolTips

func (l *TListView) SetToolTips(value bool)

func (*TListView) SetTop

func (l *TListView) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TListView) SetUseDockManager

func (l *TListView) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TListView) SetViewStyle

func (l *TListView) SetViewStyle(value TViewStyle)

func (*TListView) SetVisible

func (l *TListView) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TListView) SetWidth

func (l *TListView) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TListView) Show

func (l *TListView) Show()

Show

显示控件。

Show control.

func (*TListView) ShowColumnHeaders

func (l *TListView) ShowColumnHeaders() bool

func (*TListView) ShowHint

func (l *TListView) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TListView) TabStop

func (l *TListView) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TListView) Tag

func (l *TListView) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TListView) ToString

func (l *TListView) ToString() string

ToString

文本类信息。

Text information.

func (*TListView) ToolTips

func (l *TListView) ToolTips() bool

func (*TListView) Top

func (l *TListView) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TListView) TopItem

func (l *TListView) TopItem() *TListItem

func (*TListView) UnsafeAddr added in v1.1.21

func (l *TListView) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TListView) Update

func (l *TListView) Update()

Update

控件更新。

Update.

func (*TListView) UseDockManager

func (l *TListView) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TListView) ViewStyle

func (l *TListView) ViewStyle() TViewStyle

func (*TListView) Visible

func (l *TListView) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TListView) VisibleDockClientCount added in v1.1.21

func (l *TListView) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

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

Width

获取宽度。

Get width.

type TMainMenu

type TMainMenu struct {
	IComponent
	// contains filtered or unexported fields
}

func AsMainMenu added in v1.2.10

func AsMainMenu(obj interface{}) *TMainMenu

AsMainMenu

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewMainMenu

func NewMainMenu(owner IComponent) *TMainMenu

NewMainMenu

创建一个新的对象。

Create a new object.

func (*TMainMenu) Assign

func (m *TMainMenu) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TMainMenu) ClassType added in v1.1.18

func (m *TMainMenu) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TMainMenu) ComponentCount

func (m *TMainMenu) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TMainMenu) ComponentIndex

func (m *TMainMenu) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TMainMenu) Components

func (m *TMainMenu) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TMainMenu) Equals

func (m *TMainMenu) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TMainMenu) FindComponent

func (m *TMainMenu) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TMainMenu) Free

func (m *TMainMenu) Free()

Free

释放对象。

Free object.

func (*TMainMenu) GetHashCode

func (m *TMainMenu) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TMainMenu) GetNamePath

func (m *TMainMenu) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TMainMenu) Handle

func (m *TMainMenu) Handle() HMENU

Handle

获取控件句柄。

Get Control handle.

func (*TMainMenu) HasParent

func (m *TMainMenu) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TMainMenu) Images

func (m *TMainMenu) Images() *TImageList

Images

获取图标索引列表对象。

func (*TMainMenu) ImagesWidth

func (m *TMainMenu) ImagesWidth() int32

func (*TMainMenu) InheritsFrom added in v1.1.18

func (m *TMainMenu) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMainMenu) Instance

func (m *TMainMenu) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TMainMenu) InstanceSize added in v1.1.18

func (m *TMainMenu) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TMainMenu) Is added in v1.2.10

func (m *TMainMenu) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMainMenu) IsValid

func (m *TMainMenu) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TMainMenu) Items

func (m *TMainMenu) Items() *TMenuItem

func (*TMainMenu) Name

func (m *TMainMenu) Name() string

Name

获取组件名称。

Get the component name.

func (*TMainMenu) Owner

func (m *TMainMenu) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TMainMenu) OwnerDraw added in v1.1.23

func (m *TMainMenu) OwnerDraw() bool

func (*TMainMenu) SetBiDiMode

func (m *TMainMenu) SetBiDiMode(value TBiDiMode)

func (*TMainMenu) SetComponentIndex

func (m *TMainMenu) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TMainMenu) SetImages

func (m *TMainMenu) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

func (*TMainMenu) SetImagesWidth

func (m *TMainMenu) SetImagesWidth(value int32)

func (*TMainMenu) SetName

func (m *TMainMenu) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TMainMenu) SetOnChange

func (m *TMainMenu) SetOnChange(fn TMenuChangeEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TMainMenu) SetOnDrawItem

func (m *TMainMenu) SetOnDrawItem(fn TMenuDrawItemEvent)

func (*TMainMenu) SetOnMeasureItem

func (m *TMainMenu) SetOnMeasureItem(fn TMenuMeasureItemEvent)

func (*TMainMenu) SetOwnerDraw added in v1.1.23

func (m *TMainMenu) SetOwnerDraw(value bool)

func (*TMainMenu) SetTag

func (m *TMainMenu) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TMainMenu) Tag

func (m *TMainMenu) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TMainMenu) ToString

func (m *TMainMenu) ToString() string

ToString

文本类信息。

Text information.

func (*TMainMenu) UnsafeAddr added in v1.1.21

func (m *TMainMenu) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TMaskEdit

type TMaskEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsMaskEdit added in v1.2.10

func AsMaskEdit(obj interface{}) *TMaskEdit

AsMaskEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewMaskEdit

func NewMaskEdit(owner IComponent) *TMaskEdit

NewMaskEdit

创建一个新的对象。

Create a new object.

func (*TMaskEdit) Action

func (m *TMaskEdit) Action() *TAction

func (*TMaskEdit) Align

func (m *TMaskEdit) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TMaskEdit) Alignment

func (m *TMaskEdit) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TMaskEdit) AnchorSideBottom

func (m *TMaskEdit) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TMaskEdit) AnchorSideLeft

func (m *TMaskEdit) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TMaskEdit) AnchorSideRight

func (m *TMaskEdit) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TMaskEdit) AnchorSideTop

func (m *TMaskEdit) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TMaskEdit) AnchorToNeighbour

func (m *TMaskEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMaskEdit) AnchorVerticalCenterTo

func (m *TMaskEdit) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TMaskEdit) Anchors

func (m *TMaskEdit) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TMaskEdit) Assign

func (m *TMaskEdit) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSelect

获取自动选择。

func (*TMaskEdit) AutoSize

func (m *TMaskEdit) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TMaskEdit) BiDiMode

func (m *TMaskEdit) BiDiMode() TBiDiMode

func (*TMaskEdit) BorderSpacing

func (m *TMaskEdit) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TMaskEdit) BorderStyle

func (m *TMaskEdit) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TMaskEdit) BoundsRect

func (m *TMaskEdit) BoundsRect() TRect

func (*TMaskEdit) BringToFront

func (m *TMaskEdit) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TMaskEdit) Brush

func (m *TMaskEdit) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TMaskEdit) CanFocus

func (m *TMaskEdit) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TMaskEdit) CanUndo

func (m *TMaskEdit) CanUndo() bool

CanUndo

获取能否撤销。

func (*TMaskEdit) CharCase added in v1.1.19

func (m *TMaskEdit) CharCase() TEditCharCase

func (*TMaskEdit) ChildSizing

func (m *TMaskEdit) ChildSizing() *TControlChildSizing

func (*TMaskEdit) ClassName

func (m *TMaskEdit) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TMaskEdit) ClassType added in v1.1.18

func (m *TMaskEdit) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TMaskEdit) Clear

func (m *TMaskEdit) Clear()

Clear

清除。

func (*TMaskEdit) ClearSelection

func (m *TMaskEdit) ClearSelection()

ClearSelection

清除选择。

func (*TMaskEdit) ClientHeight

func (m *TMaskEdit) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TMaskEdit) ClientOrigin added in v1.1.21

func (m *TMaskEdit) ClientOrigin() TPoint

func (*TMaskEdit) ClientRect

func (m *TMaskEdit) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TMaskEdit) ClientToParent

func (m *TMaskEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TMaskEdit) ClientToScreen

func (m *TMaskEdit) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TMaskEdit) ClientWidth

func (m *TMaskEdit) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TMaskEdit) Color

func (m *TMaskEdit) Color() TColor

Color

获取颜色。

Get color.

func (*TMaskEdit) ComponentCount

func (m *TMaskEdit) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TMaskEdit) ComponentIndex

func (m *TMaskEdit) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TMaskEdit) Components

func (m *TMaskEdit) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TMaskEdit) Constraints added in v1.2.7

func (m *TMaskEdit) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TMaskEdit) ContainsControl added in v1.1.21

func (m *TMaskEdit) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TMaskEdit) ControlAtPos added in v1.1.21

func (m *TMaskEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TMaskEdit) ControlCount

func (m *TMaskEdit) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TMaskEdit) ControlState added in v1.1.21

func (m *TMaskEdit) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TMaskEdit) ControlStyle added in v1.1.21

func (m *TMaskEdit) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TMaskEdit) Controls

func (m *TMaskEdit) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TMaskEdit) CopyToClipboard

func (m *TMaskEdit) CopyToClipboard()

CopyToClipboard

复制到粘贴板。

func (*TMaskEdit) Cursor

func (m *TMaskEdit) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TMaskEdit) CutToClipboard

func (m *TMaskEdit) CutToClipboard()

CutToClipboard

剪切到粘贴板。

func (*TMaskEdit) DisableAlign added in v1.1.21

func (m *TMaskEdit) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TMaskEdit) DockClientCount added in v1.1.21

func (m *TMaskEdit) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TMaskEdit) DockClients added in v1.1.21

func (m *TMaskEdit) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TMaskEdit) DockSite

func (m *TMaskEdit) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TMaskEdit) DoubleBuffered

func (m *TMaskEdit) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TMaskEdit) DragCursor

func (m *TMaskEdit) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TMaskEdit) DragKind

func (m *TMaskEdit) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TMaskEdit) DragMode

func (m *TMaskEdit) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TMaskEdit) Dragging

func (m *TMaskEdit) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TMaskEdit) EditText

func (m *TMaskEdit) EditText() string

func (*TMaskEdit) EnableAlign added in v1.1.21

func (m *TMaskEdit) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TMaskEdit) Enabled

func (m *TMaskEdit) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TMaskEdit) Equals

func (m *TMaskEdit) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TMaskEdit) FindChildControl added in v1.1.21

func (m *TMaskEdit) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TMaskEdit) FindComponent

func (m *TMaskEdit) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TMaskEdit) Font

func (m *TMaskEdit) Font() *TFont

Font

获取字体。

Get Font.

func (*TMaskEdit) Free

func (m *TMaskEdit) Free()

Free

释放对象。

Free object.

func (*TMaskEdit) GetHashCode

func (m *TMaskEdit) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TMaskEdit) GetNamePath

func (m *TMaskEdit) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TMaskEdit) GetTextBuf

func (m *TMaskEdit) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TMaskEdit) GetTextLen

func (m *TMaskEdit) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TMaskEdit) Handle

func (m *TMaskEdit) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TMaskEdit) HandleAllocated

func (m *TMaskEdit) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TMaskEdit) HasParent

func (m *TMaskEdit) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TMaskEdit) Height

func (m *TMaskEdit) Height() int32

Height

获取高度。

Get height.

func (*TMaskEdit) Hide

func (m *TMaskEdit) Hide()

Hide

隐藏控件。

Hidden control.

func (*TMaskEdit) Hint

func (m *TMaskEdit) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TMaskEdit) InheritsFrom added in v1.1.18

func (m *TMaskEdit) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMaskEdit) InsertControl added in v1.1.21

func (m *TMaskEdit) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TMaskEdit) Instance

func (m *TMaskEdit) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TMaskEdit) InstanceSize added in v1.1.18

func (m *TMaskEdit) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TMaskEdit) Invalidate

func (m *TMaskEdit) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TMaskEdit) Is added in v1.2.10

func (m *TMaskEdit) Is() TIs

Is

检测当前对象是否继承自目标对象。

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

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TMaskEdit) Left

func (m *TMaskEdit) Left() int32

Left

获取左边位置。

Get Left position.

func (*TMaskEdit) MaxLength

func (m *TMaskEdit) MaxLength() int32

MaxLength

获取最大长度。

func (*TMaskEdit) Modified

func (m *TMaskEdit) Modified() bool

Modified

获取修改。

Get modified.

func (*TMaskEdit) MouseInClient added in v1.1.21

func (m *TMaskEdit) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TMaskEdit) Name

func (m *TMaskEdit) Name() string

Name

获取组件名称。

Get the component name.

func (*TMaskEdit) Owner

func (m *TMaskEdit) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TMaskEdit) PaintTo added in v1.1.21

func (m *TMaskEdit) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TMaskEdit) Parent

func (m *TMaskEdit) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TMaskEdit) ParentColor

func (m *TMaskEdit) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TMaskEdit) ParentDoubleBuffered

func (m *TMaskEdit) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TMaskEdit) ParentFont

func (m *TMaskEdit) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TMaskEdit) ParentShowHint

func (m *TMaskEdit) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TMaskEdit) ParentToClient

func (m *TMaskEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TMaskEdit) ParentWindow

func (m *TMaskEdit) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TMaskEdit) PasswordChar

func (m *TMaskEdit) PasswordChar() uint16

PasswordChar

获取密码掩码字符。

func (*TMaskEdit) PasteFromClipboard

func (m *TMaskEdit) PasteFromClipboard()

PasteFromClipboard

从剪切板粘贴。

func (*TMaskEdit) Perform

func (m *TMaskEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TMaskEdit) PopupMenu

func (m *TMaskEdit) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TMaskEdit) ReadOnly

func (m *TMaskEdit) ReadOnly() bool

ReadOnly

获取只读。

func (*TMaskEdit) Realign

func (m *TMaskEdit) Realign()

Realign

重新对齐。

Realign.

func (*TMaskEdit) Refresh

func (m *TMaskEdit) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TMaskEdit) RemoveControl added in v1.1.21

func (m *TMaskEdit) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TMaskEdit) Repaint

func (m *TMaskEdit) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TMaskEdit) ScrollBy added in v1.1.21

func (m *TMaskEdit) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TMaskEdit) SelLength

func (m *TMaskEdit) SelLength() int32

SelLength

获取选择的长度。

func (*TMaskEdit) SelStart

func (m *TMaskEdit) SelStart() int32

SelStart

获取选择的启始位置。

func (*TMaskEdit) SelText

func (m *TMaskEdit) SelText() string

SelText

获取选择的文本。

func (*TMaskEdit) SelectAll

func (m *TMaskEdit) SelectAll()

SelectAll

全选。

func (*TMaskEdit) SendToBack

func (m *TMaskEdit) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TMaskEdit) SetAlignment

func (m *TMaskEdit) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TMaskEdit) SetAnchorSideBottom

func (m *TMaskEdit) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TMaskEdit) SetAnchorSideLeft

func (m *TMaskEdit) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TMaskEdit) SetAnchorSideRight

func (m *TMaskEdit) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TMaskEdit) SetAnchorSideTop

func (m *TMaskEdit) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TMaskEdit) SetAnchors

func (m *TMaskEdit) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TMaskEdit) SetAutoSelect

func (m *TMaskEdit) SetAutoSelect(value bool)

SetAutoSelect

设置自动选择。

func (*TMaskEdit) SetAutoSize

func (m *TMaskEdit) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TMaskEdit) SetBiDiMode

func (m *TMaskEdit) SetBiDiMode(value TBiDiMode)

func (*TMaskEdit) SetBorderSpacing

func (m *TMaskEdit) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TMaskEdit) SetBorderStyle

func (m *TMaskEdit) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TMaskEdit) SetBounds

func (m *TMaskEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TMaskEdit) SetBoundsRect

func (m *TMaskEdit) SetBoundsRect(value TRect)

func (*TMaskEdit) SetCharCase added in v1.1.19

func (m *TMaskEdit) SetCharCase(value TEditCharCase)

func (*TMaskEdit) SetChildSizing

func (m *TMaskEdit) SetChildSizing(value *TControlChildSizing)

func (*TMaskEdit) SetClientHeight

func (m *TMaskEdit) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TMaskEdit) SetClientWidth

func (m *TMaskEdit) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TMaskEdit) SetColor

func (m *TMaskEdit) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TMaskEdit) SetComponentIndex

func (m *TMaskEdit) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TMaskEdit) SetConstraints added in v1.2.7

func (m *TMaskEdit) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TMaskEdit) SetControlState added in v1.1.21

func (m *TMaskEdit) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TMaskEdit) SetControlStyle added in v1.1.21

func (m *TMaskEdit) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TMaskEdit) SetCursor

func (m *TMaskEdit) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TMaskEdit) SetDockSite

func (m *TMaskEdit) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TMaskEdit) SetDoubleBuffered

func (m *TMaskEdit) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TMaskEdit) SetDragCursor

func (m *TMaskEdit) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TMaskEdit) SetDragKind

func (m *TMaskEdit) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TMaskEdit) SetDragMode

func (m *TMaskEdit) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TMaskEdit) SetEditText

func (m *TMaskEdit) SetEditText(value string)

func (*TMaskEdit) SetEnabled

func (m *TMaskEdit) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TMaskEdit) SetFocus

func (m *TMaskEdit) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TMaskEdit) SetFont

func (m *TMaskEdit) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TMaskEdit) SetHeight

func (m *TMaskEdit) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TMaskEdit) SetHint

func (m *TMaskEdit) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TMaskEdit) SetLeft

func (m *TMaskEdit) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TMaskEdit) SetMaxLength

func (m *TMaskEdit) SetMaxLength(value int32)

SetMaxLength

设置最大长度。

func (*TMaskEdit) SetModified

func (m *TMaskEdit) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TMaskEdit) SetName

func (m *TMaskEdit) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TMaskEdit) SetOnChange

func (m *TMaskEdit) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TMaskEdit) SetOnClick

func (m *TMaskEdit) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TMaskEdit) SetOnDblClick

func (m *TMaskEdit) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TMaskEdit) SetOnDragDrop

func (m *TMaskEdit) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TMaskEdit) SetOnDragOver

func (m *TMaskEdit) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TMaskEdit) SetOnEndDock

func (m *TMaskEdit) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TMaskEdit) SetOnEndDrag

func (m *TMaskEdit) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TMaskEdit) SetOnEnter

func (m *TMaskEdit) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TMaskEdit) SetOnExit

func (m *TMaskEdit) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TMaskEdit) SetOnKeyDown

func (m *TMaskEdit) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TMaskEdit) SetOnKeyPress

func (m *TMaskEdit) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TMaskEdit) SetOnKeyUp

func (m *TMaskEdit) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TMaskEdit) SetOnMouseDown

func (m *TMaskEdit) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TMaskEdit) SetOnMouseEnter

func (m *TMaskEdit) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TMaskEdit) SetOnMouseLeave

func (m *TMaskEdit) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TMaskEdit) SetOnMouseMove

func (m *TMaskEdit) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TMaskEdit) SetOnMouseUp

func (m *TMaskEdit) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TMaskEdit) SetOnStartDock

func (m *TMaskEdit) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TMaskEdit) SetParent

func (m *TMaskEdit) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TMaskEdit) SetParentColor

func (m *TMaskEdit) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TMaskEdit) SetParentDoubleBuffered

func (m *TMaskEdit) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TMaskEdit) SetParentFont

func (m *TMaskEdit) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TMaskEdit) SetParentShowHint

func (m *TMaskEdit) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TMaskEdit) SetParentWindow

func (m *TMaskEdit) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TMaskEdit) SetPasswordChar

func (m *TMaskEdit) SetPasswordChar(value uint16)

SetPasswordChar

设置密码掩码字符。

func (*TMaskEdit) SetPopupMenu

func (m *TMaskEdit) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TMaskEdit) SetReadOnly

func (m *TMaskEdit) SetReadOnly(value bool)

SetReadOnly

设置只读。

func (*TMaskEdit) SetSelLength

func (m *TMaskEdit) SetSelLength(value int32)

SetSelLength

设置选择的长度。

func (*TMaskEdit) SetSelStart

func (m *TMaskEdit) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TMaskEdit) SetSelText

func (m *TMaskEdit) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TMaskEdit) SetShowHint

func (m *TMaskEdit) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TMaskEdit) SetTabOrder

func (m *TMaskEdit) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TMaskEdit) SetTabStop

func (m *TMaskEdit) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TMaskEdit) SetTag

func (m *TMaskEdit) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TMaskEdit) SetText

func (m *TMaskEdit) SetText(value string)

SetText

设置文本。

func (*TMaskEdit) SetTextBuf added in v1.1.21

func (m *TMaskEdit) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TMaskEdit) SetTextHint

func (m *TMaskEdit) SetTextHint(value string)

SetTextHint

设置提示文本。

func (*TMaskEdit) SetTop

func (m *TMaskEdit) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TMaskEdit) SetUseDockManager

func (m *TMaskEdit) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TMaskEdit) SetVisible

func (m *TMaskEdit) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TMaskEdit) SetWidth

func (m *TMaskEdit) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TMaskEdit) Show

func (m *TMaskEdit) Show()

Show

显示控件。

Show control.

func (*TMaskEdit) ShowHint

func (m *TMaskEdit) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TMaskEdit) Showing

func (m *TMaskEdit) Showing() bool

func (*TMaskEdit) TabOrder

func (m *TMaskEdit) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TMaskEdit) TabStop

func (m *TMaskEdit) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TMaskEdit) Tag

func (m *TMaskEdit) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TMaskEdit) Text

func (m *TMaskEdit) Text() string

Text

获取文本。

func (*TMaskEdit) TextHint

func (m *TMaskEdit) TextHint() string

TextHint

获取提示文本。

func (*TMaskEdit) ToString

func (m *TMaskEdit) ToString() string

ToString

文本类信息。

Text information.

func (*TMaskEdit) Top

func (m *TMaskEdit) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TMaskEdit) Undo

func (m *TMaskEdit) Undo()

Undo

撤销上一次操作。

func (*TMaskEdit) UnsafeAddr added in v1.1.21

func (m *TMaskEdit) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TMaskEdit) Update

func (m *TMaskEdit) Update()

Update

控件更新。

Update.

func (*TMaskEdit) UseDockManager

func (m *TMaskEdit) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TMaskEdit) ValidateEdit

func (m *TMaskEdit) ValidateEdit()

func (*TMaskEdit) Visible

func (m *TMaskEdit) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TMaskEdit) VisibleDockClientCount added in v1.1.21

func (m *TMaskEdit) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TMaskEdit) Width

func (m *TMaskEdit) Width() int32

Width

获取宽度。

Get width.

type TMeasureItemEvent added in v1.1.21

type TMeasureItemEvent func(control *TWinControl, index int32, height *int32)

type TMemo

type TMemo struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsMemo added in v1.2.10

func AsMemo(obj interface{}) *TMemo

AsMemo

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewMemo

func NewMemo(owner IComponent) *TMemo

NewMemo

创建一个新的对象。

Create a new object.

func (*TMemo) Action

func (m *TMemo) Action() *TAction

func (*TMemo) Align

func (m *TMemo) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TMemo) Alignment

func (m *TMemo) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TMemo) AnchorSideBottom

func (m *TMemo) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TMemo) AnchorSideLeft

func (m *TMemo) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TMemo) AnchorSideRight

func (m *TMemo) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TMemo) AnchorSideTop

func (m *TMemo) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TMemo) AnchorToNeighbour

func (m *TMemo) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMemo) AnchorVerticalCenterTo

func (m *TMemo) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TMemo) Anchors

func (m *TMemo) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TMemo) Append

func (m *TMemo) Append(Value string)

func (*TMemo) Assign

func (m *TMemo) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TMemo) BorderStyle

func (m *TMemo) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TMemo) BoundsRect

func (m *TMemo) BoundsRect() TRect

func (*TMemo) BringToFront

func (m *TMemo) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TMemo) Brush

func (m *TMemo) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TMemo) CanFocus

func (m *TMemo) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TMemo) CanUndo

func (m *TMemo) CanUndo() bool

CanUndo

获取能否撤销。

func (*TMemo) CaretPos

func (m *TMemo) CaretPos() TPoint

func (*TMemo) CharCase added in v1.1.19

func (m *TMemo) CharCase() TEditCharCase

func (*TMemo) ChildSizing

func (m *TMemo) ChildSizing() *TControlChildSizing

func (*TMemo) ClassName

func (m *TMemo) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TMemo) ClassType added in v1.1.18

func (m *TMemo) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TMemo) Clear

func (m *TMemo) Clear()

Clear

清除。

func (*TMemo) ClearSelection

func (m *TMemo) ClearSelection()

ClearSelection

清除选择。

func (*TMemo) ClientHeight

func (m *TMemo) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TMemo) ClientOrigin added in v1.1.21

func (m *TMemo) ClientOrigin() TPoint

func (*TMemo) ClientRect

func (m *TMemo) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TMemo) ClientToParent

func (m *TMemo) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TMemo) ClientToScreen

func (m *TMemo) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TMemo) ClientWidth

func (m *TMemo) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TMemo) Color

func (m *TMemo) Color() TColor

Color

获取颜色。

Get color.

func (*TMemo) ComponentCount

func (m *TMemo) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TMemo) ComponentIndex

func (m *TMemo) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TMemo) Components

func (m *TMemo) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TMemo) Constraints added in v1.2.7

func (m *TMemo) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TMemo) ContainsControl added in v1.1.21

func (m *TMemo) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TMemo) ControlAtPos added in v1.1.21

func (m *TMemo) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TMemo) ControlCount

func (m *TMemo) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TMemo) ControlState added in v1.1.21

func (m *TMemo) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TMemo) ControlStyle added in v1.1.21

func (m *TMemo) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TMemo) Controls

func (m *TMemo) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TMemo) CopyToClipboard

func (m *TMemo) CopyToClipboard()

CopyToClipboard

复制到粘贴板。

func (*TMemo) Cursor

func (m *TMemo) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TMemo) CutToClipboard

func (m *TMemo) CutToClipboard()

CutToClipboard

剪切到粘贴板。

func (*TMemo) DisableAlign added in v1.1.21

func (m *TMemo) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TMemo) DockClientCount added in v1.1.21

func (m *TMemo) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TMemo) DockClients added in v1.1.21

func (m *TMemo) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TMemo) DockSite

func (m *TMemo) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TMemo) DoubleBuffered

func (m *TMemo) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TMemo) DragCursor

func (m *TMemo) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TMemo) DragKind

func (m *TMemo) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TMemo) DragMode

func (m *TMemo) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TMemo) Dragging

func (m *TMemo) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TMemo) EnableAlign added in v1.1.21

func (m *TMemo) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TMemo) Enabled

func (m *TMemo) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TMemo) Equals

func (m *TMemo) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TMemo) FindChildControl added in v1.1.21

func (m *TMemo) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TMemo) FindComponent

func (m *TMemo) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TMemo) Font

func (m *TMemo) Font() *TFont

Font

获取字体。

Get Font.

func (*TMemo) Free

func (m *TMemo) Free()

Free

释放对象。

Free object.

func (*TMemo) GetHashCode

func (m *TMemo) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TMemo) GetNamePath

func (m *TMemo) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TMemo) GetTextBuf

func (m *TMemo) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TMemo) GetTextLen

func (m *TMemo) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TMemo) Handle

func (m *TMemo) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TMemo) HandleAllocated

func (m *TMemo) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TMemo) HasParent

func (m *TMemo) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TMemo) Height

func (m *TMemo) Height() int32

Height

获取高度。

Get height.

func (*TMemo) Hide

func (m *TMemo) Hide()

Hide

隐藏控件。

Hidden control.

func (*TMemo) HideSelection

func (m *TMemo) HideSelection() bool

HideSelection

获取隐藏选择。

func (*TMemo) Hint

func (m *TMemo) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TMemo) InheritsFrom added in v1.1.18

func (m *TMemo) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMemo) InsertControl added in v1.1.21

func (m *TMemo) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TMemo) Instance

func (m *TMemo) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TMemo) InstanceSize added in v1.1.18

func (m *TMemo) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TMemo) Invalidate

func (m *TMemo) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TMemo) Is added in v1.2.10

func (m *TMemo) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMemo) IsValid

func (m *TMemo) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TMemo) Left

func (m *TMemo) Left() int32

Left

获取左边位置。

Get Left position.

func (*TMemo) Lines

func (m *TMemo) Lines() *TStrings

func (*TMemo) MaxLength

func (m *TMemo) MaxLength() int32

MaxLength

获取最大长度。

func (*TMemo) Modified

func (m *TMemo) Modified() bool

Modified

获取修改。

Get modified.

func (*TMemo) MouseInClient added in v1.1.21

func (m *TMemo) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TMemo) Name

func (m *TMemo) Name() string

Name

获取组件名称。

Get the component name.

func (*TMemo) Owner

func (m *TMemo) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TMemo) PaintTo added in v1.1.21

func (m *TMemo) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TMemo) Parent

func (m *TMemo) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TMemo) ParentColor

func (m *TMemo) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TMemo) ParentDoubleBuffered

func (m *TMemo) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TMemo) ParentFont

func (m *TMemo) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TMemo) ParentShowHint

func (m *TMemo) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TMemo) ParentToClient

func (m *TMemo) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TMemo) ParentWindow

func (m *TMemo) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TMemo) PasteFromClipboard

func (m *TMemo) PasteFromClipboard()

PasteFromClipboard

从剪切板粘贴。

func (*TMemo) Perform

func (m *TMemo) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TMemo) PopupMenu

func (m *TMemo) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TMemo) ReadOnly

func (m *TMemo) ReadOnly() bool

ReadOnly

获取只读。

func (*TMemo) Realign

func (m *TMemo) Realign()

Realign

重新对齐。

Realign.

func (*TMemo) Refresh

func (m *TMemo) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TMemo) RemoveControl added in v1.1.21

func (m *TMemo) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TMemo) Repaint

func (m *TMemo) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TMemo) ScrollBars

func (m *TMemo) ScrollBars() TScrollStyle

func (*TMemo) ScrollBy added in v1.1.21

func (m *TMemo) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TMemo) SelLength

func (m *TMemo) SelLength() int32

SelLength

获取选择的长度。

func (*TMemo) SelStart

func (m *TMemo) SelStart() int32

SelStart

获取选择的启始位置。

func (*TMemo) SelText

func (m *TMemo) SelText() string

SelText

获取选择的文本。

func (*TMemo) SelectAll

func (m *TMemo) SelectAll()

SelectAll

全选。

func (*TMemo) SendToBack

func (m *TMemo) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TMemo) SetAlignment

func (m *TMemo) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TMemo) SetAnchorSideBottom

func (m *TMemo) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TMemo) SetAnchorSideLeft

func (m *TMemo) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TMemo) SetAnchorSideRight

func (m *TMemo) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TMemo) SetAnchorSideTop

func (m *TMemo) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TMemo) SetAnchors

func (m *TMemo) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TMemo) SetBiDiMode

func (m *TMemo) SetBiDiMode(value TBiDiMode)

func (*TMemo) SetBorderSpacing

func (m *TMemo) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TMemo) SetBorderStyle

func (m *TMemo) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TMemo) SetBounds

func (m *TMemo) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TMemo) SetBoundsRect

func (m *TMemo) SetBoundsRect(value TRect)

func (*TMemo) SetCaretPos

func (m *TMemo) SetCaretPos(value TPoint)

func (*TMemo) SetCharCase added in v1.1.19

func (m *TMemo) SetCharCase(value TEditCharCase)

func (*TMemo) SetChildSizing

func (m *TMemo) SetChildSizing(value *TControlChildSizing)

func (*TMemo) SetClientHeight

func (m *TMemo) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TMemo) SetClientWidth

func (m *TMemo) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TMemo) SetColor

func (m *TMemo) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TMemo) SetComponentIndex

func (m *TMemo) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TMemo) SetConstraints added in v1.2.7

func (m *TMemo) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TMemo) SetControlState added in v1.1.21

func (m *TMemo) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TMemo) SetControlStyle added in v1.1.21

func (m *TMemo) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TMemo) SetCursor

func (m *TMemo) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TMemo) SetDockSite

func (m *TMemo) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TMemo) SetDoubleBuffered

func (m *TMemo) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TMemo) SetDragCursor

func (m *TMemo) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TMemo) SetDragKind

func (m *TMemo) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TMemo) SetDragMode

func (m *TMemo) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TMemo) SetEnabled

func (m *TMemo) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TMemo) SetFocus

func (m *TMemo) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TMemo) SetFont

func (m *TMemo) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TMemo) SetHeight

func (m *TMemo) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TMemo) SetHideSelection

func (m *TMemo) SetHideSelection(value bool)

SetHideSelection

设置隐藏选择。

func (*TMemo) SetHint

func (m *TMemo) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TMemo) SetLeft

func (m *TMemo) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TMemo) SetLines

func (m *TMemo) SetLines(value IStrings)

func (*TMemo) SetMaxLength

func (m *TMemo) SetMaxLength(value int32)

SetMaxLength

设置最大长度。

func (*TMemo) SetModified

func (m *TMemo) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TMemo) SetName

func (m *TMemo) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TMemo) SetOnChange

func (m *TMemo) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TMemo) SetOnClick

func (m *TMemo) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TMemo) SetOnContextPopup

func (m *TMemo) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TMemo) SetOnDblClick

func (m *TMemo) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TMemo) SetOnDragDrop

func (m *TMemo) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TMemo) SetOnDragOver

func (m *TMemo) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TMemo) SetOnEndDrag

func (m *TMemo) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TMemo) SetOnEnter

func (m *TMemo) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TMemo) SetOnExit

func (m *TMemo) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TMemo) SetOnKeyDown

func (m *TMemo) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TMemo) SetOnKeyPress

func (m *TMemo) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TMemo) SetOnKeyUp

func (m *TMemo) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TMemo) SetOnMouseDown

func (m *TMemo) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TMemo) SetOnMouseEnter

func (m *TMemo) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TMemo) SetOnMouseLeave

func (m *TMemo) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TMemo) SetOnMouseMove

func (m *TMemo) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TMemo) SetOnMouseUp

func (m *TMemo) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TMemo) SetParent

func (m *TMemo) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TMemo) SetParentColor

func (m *TMemo) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TMemo) SetParentDoubleBuffered

func (m *TMemo) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TMemo) SetParentFont

func (m *TMemo) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TMemo) SetParentShowHint

func (m *TMemo) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TMemo) SetParentWindow

func (m *TMemo) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TMemo) SetPopupMenu

func (m *TMemo) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TMemo) SetReadOnly

func (m *TMemo) SetReadOnly(value bool)

SetReadOnly

设置只读。

func (*TMemo) SetScrollBars

func (m *TMemo) SetScrollBars(value TScrollStyle)

func (*TMemo) SetSelLength

func (m *TMemo) SetSelLength(value int32)

SetSelLength

设置选择的长度。

func (*TMemo) SetSelStart

func (m *TMemo) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TMemo) SetSelText

func (m *TMemo) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TMemo) SetShowHint

func (m *TMemo) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TMemo) SetTabOrder

func (m *TMemo) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TMemo) SetTabStop

func (m *TMemo) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TMemo) SetTag

func (m *TMemo) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TMemo) SetText

func (m *TMemo) SetText(value string)

SetText

设置文本。

func (*TMemo) SetTextBuf added in v1.1.21

func (m *TMemo) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TMemo) SetTextHint

func (m *TMemo) SetTextHint(value string)

SetTextHint

设置提示文本。

func (*TMemo) SetTop

func (m *TMemo) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TMemo) SetUseDockManager

func (m *TMemo) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TMemo) SetVisible

func (m *TMemo) SetVisible(value bool)

SetVisible

设置控件可视。

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)

SetWidth

设置宽度。

Set width.

func (*TMemo) SetWordWrap

func (m *TMemo) SetWordWrap(value bool)

SetWordWrap

设置自动换行。

Set Automatic line break.

func (*TMemo) Show

func (m *TMemo) Show()

Show

显示控件。

Show control.

func (*TMemo) ShowHint

func (m *TMemo) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TMemo) Showing

func (m *TMemo) Showing() bool

func (*TMemo) TabOrder

func (m *TMemo) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TMemo) TabStop

func (m *TMemo) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TMemo) Tag

func (m *TMemo) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TMemo) Text

func (m *TMemo) Text() string

Text

获取文本。

func (*TMemo) TextHint

func (m *TMemo) TextHint() string

TextHint

获取提示文本。

func (*TMemo) ToString

func (m *TMemo) ToString() string

ToString

文本类信息。

Text information.

func (*TMemo) Top

func (m *TMemo) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TMemo) Undo

func (m *TMemo) Undo()

Undo

撤销上一次操作。

func (*TMemo) UnsafeAddr added in v1.1.21

func (m *TMemo) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TMemo) Update

func (m *TMemo) Update()

Update

控件更新。

Update.

func (*TMemo) UseDockManager

func (m *TMemo) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TMemo) Visible

func (m *TMemo) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TMemo) VisibleDockClientCount added in v1.1.21

func (m *TMemo) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

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

Width

获取宽度。

Get width.

func (*TMemo) WordWrap

func (m *TMemo) WordWrap() bool

WordWrap

获取自动换行。

Get Automatic line break.

type TMemoryStream

type TMemoryStream struct {
	IStream
	// contains filtered or unexported fields
}

func AsMemoryStream added in v1.2.10

func AsMemoryStream(obj interface{}) *TMemoryStream

AsMemoryStream

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewMemoryStream

func NewMemoryStream() *TMemoryStream

NewMemoryStream

创建一个新的对象。

Create a new object.

func NewMemoryStreamFromBytes

func NewMemoryStreamFromBytes(data []byte) *TMemoryStream

NewMemoryStreamFromBytes

新建FreePascal内存流来自Go字节数组。

New FreePascal memory stream from Go byte array.

func (*TMemoryStream) ClassName

func (m *TMemoryStream) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TMemoryStream) ClassType added in v1.1.18

func (m *TMemoryStream) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TMemoryStream) Clear

func (m *TMemoryStream) Clear()

Clear

清除。

func (*TMemoryStream) CopyFrom

func (m *TMemoryStream) CopyFrom(Source IStream, Count int64) int64

CopyFrom

从指定流中复制。

func (*TMemoryStream) Equals

func (m *TMemoryStream) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TMemoryStream) Free

func (m *TMemoryStream) Free()

Free

释放对象。

Free object.

func (*TMemoryStream) GetHashCode

func (m *TMemoryStream) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TMemoryStream) InheritsFrom added in v1.1.18

func (m *TMemoryStream) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMemoryStream) Instance

func (m *TMemoryStream) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TMemoryStream) InstanceSize added in v1.1.18

func (m *TMemoryStream) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TMemoryStream) Is added in v1.2.10

func (m *TMemoryStream) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMemoryStream) IsValid

func (m *TMemoryStream) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TMemoryStream) LoadFromFile

func (m *TMemoryStream) LoadFromFile(FileName string)

LoadFromFile

从文件加载。

func (*TMemoryStream) LoadFromStream

func (m *TMemoryStream) LoadFromStream(Stream IStream)

LoadFromStream

文件流加载。

func (*TMemoryStream) Memory

func (m *TMemoryStream) Memory() uintptr

Memory

获取内存指针。

func (*TMemoryStream) Position

func (m *TMemoryStream) Position() int64

Position

获取流指针位置。

func (*TMemoryStream) Read

func (m *TMemoryStream) Read(count int32) (int32, []byte)

Read

读数据

Read Data.

func (*TMemoryStream) SaveToFile

func (m *TMemoryStream) SaveToFile(FileName string)

SaveToFile

保存至文件。

func (*TMemoryStream) SaveToStream

func (m *TMemoryStream) SaveToStream(Stream IStream)

SaveToStream

保存至流。

func (*TMemoryStream) Seek

func (m *TMemoryStream) Seek(Offset int64, Origin TSeekOrigin) int64

Seek

移动流指针位置。

func (*TMemoryStream) SetPosition

func (m *TMemoryStream) SetPosition(value int64)

SetPosition

设置流指针位置。

func (*TMemoryStream) SetSize

func (m *TMemoryStream) SetSize(value int64)

SetSize

设置流的大小。

func (*TMemoryStream) Size

func (m *TMemoryStream) Size() int64

Size

获取流的大小。

func (*TMemoryStream) ToString

func (m *TMemoryStream) ToString() string

ToString

文本类信息。

Text information.

func (*TMemoryStream) UnsafeAddr added in v1.1.21

func (m *TMemoryStream) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TMemoryStream) Write

func (m *TMemoryStream) Write(buffer []byte) int32

Write

写数据

Write Data.

type TMenuChangeEvent

type TMenuChangeEvent func(sender IObject, source *TMenuItem, rebuild bool)

type TMenuDrawItemEvent

type TMenuDrawItemEvent func(sender IObject, aCanvas *TCanvas, aRect TRect, aState TOwnerDrawState)

type TMenuItem

type TMenuItem struct {
	IComponent
	// contains filtered or unexported fields
}

func AsMenuItem added in v1.2.10

func AsMenuItem(obj interface{}) *TMenuItem

AsMenuItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewMenuItem

func NewMenuItem(owner IComponent) *TMenuItem

NewMenuItem

创建一个新的对象。

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)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TMenuItem) AutoCheck added in v1.2.8

func (m *TMenuItem) AutoCheck() bool

func (*TMenuItem) Bitmap

func (m *TMenuItem) Bitmap() *TBitmap

func (*TMenuItem) Caption

func (m *TMenuItem) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TMenuItem) Checked

func (m *TMenuItem) Checked() bool

Checked

获取是否选中。

func (*TMenuItem) ClassName

func (m *TMenuItem) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TMenuItem) ClassType added in v1.1.18

func (m *TMenuItem) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TMenuItem) Clear

func (m *TMenuItem) Clear()

Clear

清除。

func (*TMenuItem) Click

func (m *TMenuItem) Click()

Click

单击。

func (*TMenuItem) ComponentCount

func (m *TMenuItem) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TMenuItem) ComponentIndex

func (m *TMenuItem) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TMenuItem) Components

func (m *TMenuItem) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

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

Enabled

获取控件启用。

Get the control enabled.

func (*TMenuItem) Equals

func (m *TMenuItem) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TMenuItem) FindComponent

func (m *TMenuItem) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TMenuItem) Free

func (m *TMenuItem) Free()

Free

释放对象。

Free object.

func (*TMenuItem) GetHashCode

func (m *TMenuItem) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TMenuItem) GetNamePath

func (m *TMenuItem) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TMenuItem) GroupIndex

func (m *TMenuItem) GroupIndex() uint8

GroupIndex

获取团组索引。

func (*TMenuItem) Handle

func (m *TMenuItem) Handle() HMENU

Handle

获取控件句柄。

Get Control handle.

func (*TMenuItem) HasParent

func (m *TMenuItem) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TMenuItem) Hint

func (m *TMenuItem) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TMenuItem) ImageIndex

func (m *TMenuItem) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TMenuItem) IndexOf

func (m *TMenuItem) IndexOf(Item IComponent) int32

func (*TMenuItem) InheritsFrom added in v1.1.18

func (m *TMenuItem) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TMenuItem) InstanceSize added in v1.1.18

func (m *TMenuItem) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TMenuItem) Is added in v1.2.10

func (m *TMenuItem) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMenuItem) IsValid

func (m *TMenuItem) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TMenuItem) Items

func (m *TMenuItem) Items(Index int32) *TMenuItem

func (*TMenuItem) Name

func (m *TMenuItem) Name() string

Name

获取组件名称。

Get the component name.

func (*TMenuItem) Owner

func (m *TMenuItem) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TMenuItem) Parent

func (m *TMenuItem) Parent() *TMenuItem

Parent

获取控件父容器。

Get control parent container.

func (*TMenuItem) RadioItem added in v1.1.23

func (m *TMenuItem) RadioItem() bool

func (*TMenuItem) SetAction

func (m *TMenuItem) SetAction(value IComponent)

func (*TMenuItem) SetAutoCheck added in v1.2.8

func (m *TMenuItem) SetAutoCheck(value bool)

func (*TMenuItem) SetBitmap

func (m *TMenuItem) SetBitmap(value *TBitmap)

func (*TMenuItem) SetCaption

func (m *TMenuItem) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TMenuItem) SetChecked

func (m *TMenuItem) SetChecked(value bool)

SetChecked

设置是否选中。

func (*TMenuItem) SetComponentIndex

func (m *TMenuItem) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TMenuItem) SetDefault

func (m *TMenuItem) SetDefault(value bool)

func (*TMenuItem) SetEnabled

func (m *TMenuItem) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TMenuItem) SetGroupIndex

func (m *TMenuItem) SetGroupIndex(value uint8)

SetGroupIndex

设置团组索引。

func (*TMenuItem) SetHint

func (m *TMenuItem) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TMenuItem) SetImageIndex

func (m *TMenuItem) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*TMenuItem) SetName

func (m *TMenuItem) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TMenuItem) SetOnClick

func (m *TMenuItem) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TMenuItem) SetOnMeasureItem added in v1.1.21

func (m *TMenuItem) SetOnMeasureItem(fn TMenuMeasureItemEvent)

func (*TMenuItem) SetRadioItem added in v1.1.23

func (m *TMenuItem) SetRadioItem(value bool)

func (*TMenuItem) SetShortCut

func (m *TMenuItem) SetShortCut(value TShortCut)

SetShortCut

设置快捷键。

func (*TMenuItem) SetShortCutFromString

func (m *TMenuItem) SetShortCutFromString(s string)

SetShortCutFromString

设置快捷键字符

Set shortcut key characters.

func (*TMenuItem) SetTag

func (m *TMenuItem) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TMenuItem) SetVisible

func (m *TMenuItem) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TMenuItem) ShortCut

func (m *TMenuItem) ShortCut() TShortCut

ShortCut

获取快捷键。

func (*TMenuItem) ShortCutFromString

func (m *TMenuItem) ShortCutFromString() string

ShortCutFromString

获取快捷键字符

Get shortcut key characters.

func (*TMenuItem) Tag

func (m *TMenuItem) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TMenuItem) ToString

func (m *TMenuItem) ToString() string

ToString

文本类信息。

Text information.

func (*TMenuItem) UnsafeAddr added in v1.1.21

func (m *TMenuItem) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TMenuItem) Visible

func (m *TMenuItem) Visible() bool

Visible

获取控件可视。

Get the control visible.

type TMenuMeasureItemEvent added in v1.1.21

type TMenuMeasureItemEvent func(sender IObject, aCanvas *TCanvas, width, height *int32)

type TMiniWebview added in v1.2.1

type TMiniWebview struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsMiniWebview added in v1.2.10

func AsMiniWebview(obj interface{}) *TMiniWebview

AsMiniWebview

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewMiniWebview added in v1.2.1

func NewMiniWebview(owner IComponent) *TMiniWebview

NewMiniWebview

创建一个新的对象。

Create a new object.

func (*TMiniWebview) Action added in v1.2.1

func (m *TMiniWebview) Action() *TAction

func (*TMiniWebview) Align added in v1.2.1

func (m *TMiniWebview) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TMiniWebview) AnchorSideBottom

func (m *TMiniWebview) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TMiniWebview) AnchorSideLeft

func (m *TMiniWebview) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TMiniWebview) AnchorSideRight

func (m *TMiniWebview) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TMiniWebview) AnchorSideTop

func (m *TMiniWebview) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TMiniWebview) AnchorToNeighbour

func (m *TMiniWebview) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMiniWebview) AnchorVerticalCenterTo

func (m *TMiniWebview) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TMiniWebview) Anchors added in v1.2.1

func (m *TMiniWebview) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TMiniWebview) Assign added in v1.2.1

func (m *TMiniWebview) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.2.1

func (m *TMiniWebview) BiDiMode() TBiDiMode

func (*TMiniWebview) BorderSpacing

func (m *TMiniWebview) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TMiniWebview) BoundsRect added in v1.2.1

func (m *TMiniWebview) BoundsRect() TRect

func (*TMiniWebview) BringToFront added in v1.2.1

func (m *TMiniWebview) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TMiniWebview) Brush added in v1.2.1

func (m *TMiniWebview) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TMiniWebview) CanFocus added in v1.2.1

func (m *TMiniWebview) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TMiniWebview) ChildSizing

func (m *TMiniWebview) ChildSizing() *TControlChildSizing

func (*TMiniWebview) ClassName added in v1.2.1

func (m *TMiniWebview) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TMiniWebview) ClassType added in v1.2.1

func (m *TMiniWebview) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TMiniWebview) ClientHeight added in v1.2.1

func (m *TMiniWebview) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TMiniWebview) ClientOrigin added in v1.2.1

func (m *TMiniWebview) ClientOrigin() TPoint

func (*TMiniWebview) ClientRect added in v1.2.1

func (m *TMiniWebview) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TMiniWebview) ClientToParent added in v1.2.1

func (m *TMiniWebview) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TMiniWebview) ClientToScreen added in v1.2.1

func (m *TMiniWebview) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TMiniWebview) ClientWidth added in v1.2.1

func (m *TMiniWebview) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TMiniWebview) ComponentCount added in v1.2.1

func (m *TMiniWebview) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TMiniWebview) ComponentIndex added in v1.2.1

func (m *TMiniWebview) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TMiniWebview) Components added in v1.2.1

func (m *TMiniWebview) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TMiniWebview) Constraints added in v1.2.7

func (m *TMiniWebview) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TMiniWebview) ContainsControl added in v1.2.1

func (m *TMiniWebview) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TMiniWebview) ControlAtPos added in v1.2.1

func (m *TMiniWebview) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TMiniWebview) ControlCount added in v1.2.1

func (m *TMiniWebview) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TMiniWebview) ControlState added in v1.2.1

func (m *TMiniWebview) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TMiniWebview) ControlStyle added in v1.2.1

func (m *TMiniWebview) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TMiniWebview) Controls added in v1.2.1

func (m *TMiniWebview) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TMiniWebview) Cursor added in v1.2.1

func (m *TMiniWebview) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TMiniWebview) DisableAlign added in v1.2.1

func (m *TMiniWebview) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TMiniWebview) DockClientCount added in v1.2.1

func (m *TMiniWebview) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TMiniWebview) DockClients added in v1.2.1

func (m *TMiniWebview) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TMiniWebview) DockSite added in v1.2.1

func (m *TMiniWebview) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TMiniWebview) DoubleBuffered added in v1.2.1

func (m *TMiniWebview) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TMiniWebview) Dragging added in v1.2.1

func (m *TMiniWebview) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TMiniWebview) EnableAlign added in v1.2.1

func (m *TMiniWebview) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TMiniWebview) Enabled added in v1.2.1

func (m *TMiniWebview) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TMiniWebview) Equals added in v1.2.1

func (m *TMiniWebview) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TMiniWebview) ExecuteJS added in v1.2.4

func (m *TMiniWebview) ExecuteJS(AScriptText string) string

func (*TMiniWebview) ExecuteScript added in v1.2.4

func (m *TMiniWebview) ExecuteScript(AScriptText string, AScriptType string) string

func (*TMiniWebview) FindChildControl added in v1.2.1

func (m *TMiniWebview) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TMiniWebview) FindComponent added in v1.2.1

func (m *TMiniWebview) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TMiniWebview) FixDesignFontsPPI

func (m *TMiniWebview) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TMiniWebview) FlipChildren added in v1.2.1

func (m *TMiniWebview) FlipChildren(AllLevels bool)

func (*TMiniWebview) Floating added in v1.2.1

func (m *TMiniWebview) Floating() bool

func (*TMiniWebview) Focused added in v1.2.1

func (m *TMiniWebview) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*TMiniWebview) Free added in v1.2.1

func (m *TMiniWebview) Free()

Free

释放对象。

Free object.

func (*TMiniWebview) GetHashCode added in v1.2.1

func (m *TMiniWebview) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TMiniWebview) GetNamePath added in v1.2.1

func (m *TMiniWebview) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TMiniWebview) GetTextBuf added in v1.2.1

func (m *TMiniWebview) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TMiniWebview) GetTextLen added in v1.2.1

func (m *TMiniWebview) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TMiniWebview) GoBack added in v1.2.1

func (m *TMiniWebview) GoBack()

func (*TMiniWebview) GoForward added in v1.2.1

func (m *TMiniWebview) GoForward()

func (*TMiniWebview) GoHome added in v1.2.1

func (m *TMiniWebview) GoHome()

func (*TMiniWebview) GoSearch added in v1.2.1

func (m *TMiniWebview) GoSearch()

func (*TMiniWebview) Handle added in v1.2.1

func (m *TMiniWebview) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TMiniWebview) HandleAllocated added in v1.2.1

func (m *TMiniWebview) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TMiniWebview) HasParent added in v1.2.1

func (m *TMiniWebview) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TMiniWebview) Height added in v1.2.1

func (m *TMiniWebview) Height() int32

Height

获取高度。

Get height.

func (*TMiniWebview) Hide added in v1.2.1

func (m *TMiniWebview) Hide()

Hide

隐藏控件。

Hidden control.

func (*TMiniWebview) Hint added in v1.2.1

func (m *TMiniWebview) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TMiniWebview) InheritsFrom added in v1.2.1

func (m *TMiniWebview) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMiniWebview) InsertControl added in v1.2.1

func (m *TMiniWebview) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TMiniWebview) Instance added in v1.2.1

func (m *TMiniWebview) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TMiniWebview) InstanceSize added in v1.2.1

func (m *TMiniWebview) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TMiniWebview) Invalidate added in v1.2.1

func (m *TMiniWebview) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TMiniWebview) Is added in v1.2.10

func (m *TMiniWebview) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMiniWebview) IsValid added in v1.2.1

func (m *TMiniWebview) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TMiniWebview) Left added in v1.2.1

func (m *TMiniWebview) Left() int32

Left

获取左边位置。

Get Left position.

func (*TMiniWebview) LoadHTML added in v1.2.4

func (m *TMiniWebview) LoadHTML(AStr string)

func (*TMiniWebview) MouseInClient added in v1.2.1

func (m *TMiniWebview) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TMiniWebview) Name added in v1.2.1

func (m *TMiniWebview) Name() string

Name

获取组件名称。

Get the component name.

func (*TMiniWebview) Navigate added in v1.2.1

func (m *TMiniWebview) Navigate(AURL string)

func (*TMiniWebview) Owner added in v1.2.1

func (m *TMiniWebview) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TMiniWebview) PaintTo added in v1.2.1

func (m *TMiniWebview) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TMiniWebview) Parent added in v1.2.1

func (m *TMiniWebview) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TMiniWebview) ParentDoubleBuffered added in v1.2.1

func (m *TMiniWebview) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TMiniWebview) ParentToClient added in v1.2.1

func (m *TMiniWebview) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TMiniWebview) ParentWindow added in v1.2.1

func (m *TMiniWebview) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TMiniWebview) Perform added in v1.2.1

func (m *TMiniWebview) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TMiniWebview) ReadyState added in v1.2.1

func (m *TMiniWebview) ReadyState() TReadyState

func (*TMiniWebview) Realign added in v1.2.1

func (m *TMiniWebview) Realign()

Realign

重新对齐。

Realign.

func (*TMiniWebview) Refresh added in v1.2.1

func (m *TMiniWebview) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TMiniWebview) RemoveControl added in v1.2.1

func (m *TMiniWebview) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TMiniWebview) Repaint added in v1.2.1

func (m *TMiniWebview) Repaint()

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 added in v1.2.1

func (m *TMiniWebview) ScaleBy(M int32, D int32)

ScaleBy

按比例缩放。

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 added in v1.2.1

func (m *TMiniWebview) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TMiniWebview) ScrollBy added in v1.2.1

func (m *TMiniWebview) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TMiniWebview) SendToBack added in v1.2.1

func (m *TMiniWebview) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TMiniWebview) SetAction added in v1.2.1

func (m *TMiniWebview) SetAction(value IComponent)

func (*TMiniWebview) SetAlign added in v1.2.1

func (m *TMiniWebview) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TMiniWebview) SetAnchorSideBottom

func (m *TMiniWebview) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TMiniWebview) SetAnchorSideLeft

func (m *TMiniWebview) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TMiniWebview) SetAnchorSideRight

func (m *TMiniWebview) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TMiniWebview) SetAnchorSideTop

func (m *TMiniWebview) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TMiniWebview) SetAnchors added in v1.2.1

func (m *TMiniWebview) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TMiniWebview) SetBiDiMode added in v1.2.1

func (m *TMiniWebview) SetBiDiMode(value TBiDiMode)

func (*TMiniWebview) SetBorderSpacing

func (m *TMiniWebview) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TMiniWebview) SetBounds added in v1.2.1

func (m *TMiniWebview) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TMiniWebview) SetBoundsRect added in v1.2.1

func (m *TMiniWebview) SetBoundsRect(value TRect)

func (*TMiniWebview) SetChildSizing

func (m *TMiniWebview) SetChildSizing(value *TControlChildSizing)

func (*TMiniWebview) SetClientHeight added in v1.2.1

func (m *TMiniWebview) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TMiniWebview) SetClientWidth added in v1.2.1

func (m *TMiniWebview) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TMiniWebview) SetComponentIndex added in v1.2.1

func (m *TMiniWebview) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TMiniWebview) SetConstraints added in v1.2.7

func (m *TMiniWebview) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TMiniWebview) SetControlState added in v1.2.1

func (m *TMiniWebview) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TMiniWebview) SetControlStyle added in v1.2.1

func (m *TMiniWebview) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TMiniWebview) SetCursor added in v1.2.1

func (m *TMiniWebview) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TMiniWebview) SetDockSite added in v1.2.1

func (m *TMiniWebview) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TMiniWebview) SetDoubleBuffered added in v1.2.1

func (m *TMiniWebview) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TMiniWebview) SetEnabled added in v1.2.1

func (m *TMiniWebview) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TMiniWebview) SetFocus added in v1.2.1

func (m *TMiniWebview) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TMiniWebview) SetHeight added in v1.2.1

func (m *TMiniWebview) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TMiniWebview) SetHint added in v1.2.1

func (m *TMiniWebview) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TMiniWebview) SetLeft added in v1.2.1

func (m *TMiniWebview) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TMiniWebview) SetName added in v1.2.1

func (m *TMiniWebview) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TMiniWebview) SetOnJSExternal added in v1.2.4

func (m *TMiniWebview) SetOnJSExternal(fn TWebJSExternalEvent)

func (*TMiniWebview) SetOnTitleChange added in v1.2.1

func (m *TMiniWebview) SetOnTitleChange(fn TWebTitleChangeEvent)

func (*TMiniWebview) SetParent added in v1.2.1

func (m *TMiniWebview) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TMiniWebview) SetParentDoubleBuffered added in v1.2.1

func (m *TMiniWebview) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TMiniWebview) SetParentWindow added in v1.2.1

func (m *TMiniWebview) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TMiniWebview) SetShowHint added in v1.2.1

func (m *TMiniWebview) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TMiniWebview) SetTabOrder added in v1.2.1

func (m *TMiniWebview) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TMiniWebview) SetTabStop added in v1.2.1

func (m *TMiniWebview) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TMiniWebview) SetTag added in v1.2.1

func (m *TMiniWebview) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TMiniWebview) SetTextBuf added in v1.2.1

func (m *TMiniWebview) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TMiniWebview) SetTop added in v1.2.1

func (m *TMiniWebview) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TMiniWebview) SetUseDockManager added in v1.2.1

func (m *TMiniWebview) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TMiniWebview) SetVisible added in v1.2.1

func (m *TMiniWebview) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TMiniWebview) SetWidth added in v1.2.1

func (m *TMiniWebview) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TMiniWebview) Show added in v1.2.1

func (m *TMiniWebview) Show()

Show

显示控件。

Show control.

func (*TMiniWebview) ShowHint added in v1.2.1

func (m *TMiniWebview) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TMiniWebview) Showing

func (m *TMiniWebview) Showing() bool

func (*TMiniWebview) Stop added in v1.2.1

func (m *TMiniWebview) Stop()

func (*TMiniWebview) TabOrder added in v1.2.1

func (m *TMiniWebview) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TMiniWebview) TabStop added in v1.2.1

func (m *TMiniWebview) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TMiniWebview) Tag added in v1.2.1

func (m *TMiniWebview) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TMiniWebview) ToString added in v1.2.1

func (m *TMiniWebview) ToString() string

ToString

文本类信息。

Text information.

func (*TMiniWebview) Top added in v1.2.1

func (m *TMiniWebview) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TMiniWebview) UnsafeAddr added in v1.2.1

func (m *TMiniWebview) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TMiniWebview) Update added in v1.2.1

func (m *TMiniWebview) Update()

Update

控件更新。

Update.

func (*TMiniWebview) UseDockManager added in v1.2.1

func (m *TMiniWebview) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TMiniWebview) Visible added in v1.2.1

func (m *TMiniWebview) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TMiniWebview) VisibleDockClientCount added in v1.2.1

func (m *TMiniWebview) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TMiniWebview) Width added in v1.2.1

func (m *TMiniWebview) Width() int32

Width

获取宽度。

Get width.

type TMonitor

type TMonitor struct {
	IObject
	// contains filtered or unexported fields
}

func AsMonitor added in v1.2.10

func AsMonitor(obj interface{}) *TMonitor

AsMonitor

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewMonitor

func NewMonitor() *TMonitor

NewMonitor

创建一个新的对象。

Create a new object.

func (*TMonitor) BoundsRect

func (m *TMonitor) BoundsRect() TRect

func (*TMonitor) ClassName

func (m *TMonitor) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TMonitor) ClassType added in v1.1.18

func (m *TMonitor) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TMonitor) Equals

func (m *TMonitor) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TMonitor) Free

func (m *TMonitor) Free()

Free

释放对象。

Free object.

func (*TMonitor) GetHashCode

func (m *TMonitor) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TMonitor) Handle

func (m *TMonitor) Handle() HMONITOR

Handle

获取控件句柄。

Get Control handle.

func (*TMonitor) Height

func (m *TMonitor) Height() int32

Height

获取高度。

Get height.

func (*TMonitor) InheritsFrom added in v1.1.18

func (m *TMonitor) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMonitor) Instance

func (m *TMonitor) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TMonitor) InstanceSize added in v1.1.18

func (m *TMonitor) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TMonitor) Is added in v1.2.10

func (m *TMonitor) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMonitor) IsValid

func (m *TMonitor) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TMonitor) Left

func (m *TMonitor) Left() int32

Left

获取左边位置。

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

ToString

文本类信息。

Text information.

func (*TMonitor) Top

func (m *TMonitor) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TMonitor) UnsafeAddr added in v1.1.21

func (m *TMonitor) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TMonitor) Width

func (m *TMonitor) Width() int32

Width

获取宽度。

Get width.

func (*TMonitor) WorkareaRect

func (m *TMonitor) WorkareaRect() TRect

type TMonthCalendar

type TMonthCalendar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsMonthCalendar added in v1.2.10

func AsMonthCalendar(obj interface{}) *TMonthCalendar

AsMonthCalendar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewMonthCalendar

func NewMonthCalendar(owner IComponent) *TMonthCalendar

NewMonthCalendar

创建一个新的对象。

Create a new object.

func (*TMonthCalendar) Action

func (m *TMonthCalendar) Action() *TAction

func (*TMonthCalendar) Align

func (m *TMonthCalendar) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TMonthCalendar) AnchorSideBottom

func (m *TMonthCalendar) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TMonthCalendar) AnchorSideLeft

func (m *TMonthCalendar) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TMonthCalendar) AnchorSideRight

func (m *TMonthCalendar) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TMonthCalendar) AnchorSideTop

func (m *TMonthCalendar) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TMonthCalendar) AnchorToNeighbour

func (m *TMonthCalendar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMonthCalendar) AnchorVerticalCenterTo

func (m *TMonthCalendar) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TMonthCalendar) Anchors

func (m *TMonthCalendar) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TMonthCalendar) Assign

func (m *TMonthCalendar) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSize

获取自动调整大小。

func (*TMonthCalendar) BiDiMode

func (m *TMonthCalendar) BiDiMode() TBiDiMode

func (*TMonthCalendar) BorderSpacing

func (m *TMonthCalendar) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TMonthCalendar) BorderWidth

func (m *TMonthCalendar) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TMonthCalendar) BoundsRect

func (m *TMonthCalendar) BoundsRect() TRect

func (*TMonthCalendar) BringToFront

func (m *TMonthCalendar) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TMonthCalendar) Brush

func (m *TMonthCalendar) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TMonthCalendar) CanFocus

func (m *TMonthCalendar) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TMonthCalendar) ChildSizing

func (m *TMonthCalendar) ChildSizing() *TControlChildSizing

func (*TMonthCalendar) ClassName

func (m *TMonthCalendar) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TMonthCalendar) ClassType added in v1.1.18

func (m *TMonthCalendar) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TMonthCalendar) ClientHeight

func (m *TMonthCalendar) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TMonthCalendar) ClientOrigin added in v1.1.21

func (m *TMonthCalendar) ClientOrigin() TPoint

func (*TMonthCalendar) ClientRect

func (m *TMonthCalendar) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TMonthCalendar) ClientToParent

func (m *TMonthCalendar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TMonthCalendar) ClientToScreen

func (m *TMonthCalendar) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TMonthCalendar) ClientWidth

func (m *TMonthCalendar) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TMonthCalendar) ComponentCount

func (m *TMonthCalendar) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TMonthCalendar) ComponentIndex

func (m *TMonthCalendar) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TMonthCalendar) Components

func (m *TMonthCalendar) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TMonthCalendar) Constraints added in v1.2.7

func (m *TMonthCalendar) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TMonthCalendar) ContainsControl added in v1.1.21

func (m *TMonthCalendar) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TMonthCalendar) ControlAtPos added in v1.1.21

func (m *TMonthCalendar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TMonthCalendar) ControlCount

func (m *TMonthCalendar) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TMonthCalendar) ControlState added in v1.1.21

func (m *TMonthCalendar) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TMonthCalendar) ControlStyle added in v1.1.21

func (m *TMonthCalendar) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TMonthCalendar) Controls

func (m *TMonthCalendar) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TMonthCalendar) Cursor

func (m *TMonthCalendar) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TMonthCalendar) Date

func (m *TMonthCalendar) Date() time.Time

func (*TMonthCalendar) DateTime

func (m *TMonthCalendar) DateTime() time.Time

func (*TMonthCalendar) DisableAlign added in v1.1.21

func (m *TMonthCalendar) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TMonthCalendar) DockClientCount added in v1.1.21

func (m *TMonthCalendar) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TMonthCalendar) DockClients added in v1.1.21

func (m *TMonthCalendar) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TMonthCalendar) DockSite

func (m *TMonthCalendar) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TMonthCalendar) DoubleBuffered

func (m *TMonthCalendar) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TMonthCalendar) DragCursor

func (m *TMonthCalendar) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TMonthCalendar) DragKind

func (m *TMonthCalendar) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TMonthCalendar) DragMode

func (m *TMonthCalendar) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TMonthCalendar) Dragging

func (m *TMonthCalendar) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TMonthCalendar) EnableAlign added in v1.1.21

func (m *TMonthCalendar) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TMonthCalendar) Enabled

func (m *TMonthCalendar) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TMonthCalendar) Equals

func (m *TMonthCalendar) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TMonthCalendar) FindChildControl added in v1.1.21

func (m *TMonthCalendar) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TMonthCalendar) FindComponent

func (m *TMonthCalendar) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TMonthCalendar) Font

func (m *TMonthCalendar) Font() *TFont

Font

获取字体。

Get Font.

func (*TMonthCalendar) Free

func (m *TMonthCalendar) Free()

Free

释放对象。

Free object.

func (*TMonthCalendar) GetHashCode

func (m *TMonthCalendar) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TMonthCalendar) GetNamePath

func (m *TMonthCalendar) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TMonthCalendar) GetTextBuf

func (m *TMonthCalendar) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TMonthCalendar) GetTextLen

func (m *TMonthCalendar) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TMonthCalendar) Handle

func (m *TMonthCalendar) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TMonthCalendar) HandleAllocated

func (m *TMonthCalendar) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TMonthCalendar) HasParent

func (m *TMonthCalendar) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TMonthCalendar) Height

func (m *TMonthCalendar) Height() int32

Height

获取高度。

Get height.

func (*TMonthCalendar) Hide

func (m *TMonthCalendar) Hide()

Hide

隐藏控件。

Hidden control.

func (*TMonthCalendar) Hint

func (m *TMonthCalendar) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TMonthCalendar) InheritsFrom added in v1.1.18

func (m *TMonthCalendar) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMonthCalendar) InsertControl added in v1.1.21

func (m *TMonthCalendar) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TMonthCalendar) Instance

func (m *TMonthCalendar) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TMonthCalendar) InstanceSize added in v1.1.18

func (m *TMonthCalendar) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TMonthCalendar) Invalidate

func (m *TMonthCalendar) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TMonthCalendar) Is added in v1.2.10

func (m *TMonthCalendar) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TMonthCalendar) IsValid

func (m *TMonthCalendar) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TMonthCalendar) Left

func (m *TMonthCalendar) Left() int32

Left

获取左边位置。

Get Left position.

func (*TMonthCalendar) MouseInClient added in v1.1.21

func (m *TMonthCalendar) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TMonthCalendar) Name

func (m *TMonthCalendar) Name() string

Name

获取组件名称。

Get the component name.

func (*TMonthCalendar) Owner

func (m *TMonthCalendar) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TMonthCalendar) PaintTo added in v1.1.21

func (m *TMonthCalendar) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TMonthCalendar) Parent

func (m *TMonthCalendar) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TMonthCalendar) ParentDoubleBuffered

func (m *TMonthCalendar) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TMonthCalendar) ParentToClient

func (m *TMonthCalendar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TMonthCalendar) ParentWindow

func (m *TMonthCalendar) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TMonthCalendar) Perform

func (m *TMonthCalendar) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TMonthCalendar) PopupMenu

func (m *TMonthCalendar) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TMonthCalendar) Realign

func (m *TMonthCalendar) Realign()

Realign

重新对齐。

Realign.

func (*TMonthCalendar) Refresh

func (m *TMonthCalendar) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TMonthCalendar) RemoveControl added in v1.1.21

func (m *TMonthCalendar) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TMonthCalendar) Repaint

func (m *TMonthCalendar) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TMonthCalendar) ScrollBy added in v1.1.21

func (m *TMonthCalendar) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TMonthCalendar) SendToBack

func (m *TMonthCalendar) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TMonthCalendar) SetAnchorSideBottom

func (m *TMonthCalendar) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TMonthCalendar) SetAnchorSideLeft

func (m *TMonthCalendar) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TMonthCalendar) SetAnchorSideRight

func (m *TMonthCalendar) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TMonthCalendar) SetAnchorSideTop

func (m *TMonthCalendar) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TMonthCalendar) SetAnchors

func (m *TMonthCalendar) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TMonthCalendar) SetAutoSize

func (m *TMonthCalendar) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TMonthCalendar) SetBiDiMode

func (m *TMonthCalendar) SetBiDiMode(value TBiDiMode)

func (*TMonthCalendar) SetBorderSpacing

func (m *TMonthCalendar) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TMonthCalendar) SetBorderWidth

func (m *TMonthCalendar) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TMonthCalendar) SetBounds

func (m *TMonthCalendar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TMonthCalendar) SetClientWidth

func (m *TMonthCalendar) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TMonthCalendar) SetComponentIndex

func (m *TMonthCalendar) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TMonthCalendar) SetConstraints added in v1.2.7

func (m *TMonthCalendar) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TMonthCalendar) SetControlState added in v1.1.21

func (m *TMonthCalendar) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TMonthCalendar) SetControlStyle added in v1.1.21

func (m *TMonthCalendar) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TMonthCalendar) SetCursor

func (m *TMonthCalendar) SetCursor(value TCursor)

SetCursor

设置控件光标。

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)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TMonthCalendar) SetDoubleBuffered

func (m *TMonthCalendar) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TMonthCalendar) SetDragCursor

func (m *TMonthCalendar) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TMonthCalendar) SetDragKind

func (m *TMonthCalendar) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TMonthCalendar) SetDragMode

func (m *TMonthCalendar) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TMonthCalendar) SetEnabled

func (m *TMonthCalendar) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TMonthCalendar) SetFocus

func (m *TMonthCalendar) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TMonthCalendar) SetFont

func (m *TMonthCalendar) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TMonthCalendar) SetHeight

func (m *TMonthCalendar) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TMonthCalendar) SetHint

func (m *TMonthCalendar) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TMonthCalendar) SetLeft

func (m *TMonthCalendar) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TMonthCalendar) SetName

func (m *TMonthCalendar) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TMonthCalendar) SetOnClick

func (m *TMonthCalendar) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TMonthCalendar) SetOnContextPopup

func (m *TMonthCalendar) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TMonthCalendar) SetOnDblClick

func (m *TMonthCalendar) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TMonthCalendar) SetOnDragDrop

func (m *TMonthCalendar) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TMonthCalendar) SetOnDragOver

func (m *TMonthCalendar) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TMonthCalendar) SetOnEndDock

func (m *TMonthCalendar) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TMonthCalendar) SetOnEndDrag

func (m *TMonthCalendar) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TMonthCalendar) SetOnEnter

func (m *TMonthCalendar) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TMonthCalendar) SetOnExit

func (m *TMonthCalendar) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TMonthCalendar) SetOnKeyDown

func (m *TMonthCalendar) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TMonthCalendar) SetOnKeyPress

func (m *TMonthCalendar) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TMonthCalendar) SetOnKeyUp

func (m *TMonthCalendar) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TMonthCalendar) SetOnMouseEnter

func (m *TMonthCalendar) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TMonthCalendar) SetOnMouseLeave

func (m *TMonthCalendar) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TMonthCalendar) SetOnStartDock

func (m *TMonthCalendar) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TMonthCalendar) SetParent

func (m *TMonthCalendar) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TMonthCalendar) SetParentDoubleBuffered

func (m *TMonthCalendar) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TMonthCalendar) SetParentWindow

func (m *TMonthCalendar) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TMonthCalendar) SetPopupMenu

func (m *TMonthCalendar) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TMonthCalendar) SetShowHint

func (m *TMonthCalendar) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TMonthCalendar) SetTabOrder

func (m *TMonthCalendar) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TMonthCalendar) SetTabStop

func (m *TMonthCalendar) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TMonthCalendar) SetTag

func (m *TMonthCalendar) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TMonthCalendar) SetTextBuf added in v1.1.21

func (m *TMonthCalendar) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TMonthCalendar) SetTop

func (m *TMonthCalendar) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TMonthCalendar) SetUseDockManager

func (m *TMonthCalendar) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TMonthCalendar) SetVisible

func (m *TMonthCalendar) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TMonthCalendar) SetWidth

func (m *TMonthCalendar) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TMonthCalendar) Show

func (m *TMonthCalendar) Show()

Show

显示控件。

Show control.

func (*TMonthCalendar) ShowHint

func (m *TMonthCalendar) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TMonthCalendar) Showing

func (m *TMonthCalendar) Showing() bool

func (*TMonthCalendar) TabOrder

func (m *TMonthCalendar) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TMonthCalendar) TabStop

func (m *TMonthCalendar) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TMonthCalendar) Tag

func (m *TMonthCalendar) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TMonthCalendar) ToString

func (m *TMonthCalendar) ToString() string

ToString

文本类信息。

Text information.

func (*TMonthCalendar) Top

func (m *TMonthCalendar) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TMonthCalendar) UnsafeAddr added in v1.1.21

func (m *TMonthCalendar) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TMonthCalendar) Update

func (m *TMonthCalendar) Update()

Update

控件更新。

Update.

func (*TMonthCalendar) UseDockManager

func (m *TMonthCalendar) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TMonthCalendar) Visible

func (m *TMonthCalendar) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TMonthCalendar) VisibleDockClientCount added in v1.1.21

func (m *TMonthCalendar) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TMonthCalendar) Width

func (m *TMonthCalendar) Width() int32

Width

获取宽度。

Get width.

type TMouse

type TMouse struct {
	IObject
	// contains filtered or unexported fields
}

func AsMouse added in v1.2.10

func AsMouse(obj interface{}) *TMouse

AsMouse

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewMouse

func NewMouse() *TMouse

NewMouse

创建一个新的对象。

Create a new object.

func (*TMouse) Capture

func (m *TMouse) Capture() HWND

func (*TMouse) ClassName

func (m *TMouse) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TMouse) ClassType added in v1.1.18

func (m *TMouse) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TMouse) CursorPos

func (m *TMouse) CursorPos() TPoint

func (*TMouse) Equals

func (m *TMouse) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TMouse) Free

func (m *TMouse) Free()

Free

释放对象。

Free object.

func (*TMouse) GetHashCode

func (m *TMouse) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TMouse) InheritsFrom added in v1.1.18

func (m *TMouse) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TMouse) Instance

func (m *TMouse) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TMouse) InstanceSize added in v1.1.18

func (m *TMouse) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TMouse) Is added in v1.2.10

func (m *TMouse) Is() TIs

Is

检测当前对象是否继承自目标对象。

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

IsValid

检测地址是否为空。

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

ToString

文本类信息。

Text information.

func (*TMouse) UnsafeAddr added in v1.1.21

func (m *TMouse) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TMouse) WheelScrollLines

func (m *TMouse) WheelScrollLines() int32

type TMouseActivateEvent added in v1.1.21

type TMouseActivateEvent func(sender IObject, button TMouseButton, shift TShiftState, x, y int32, hitTest int32, mouseActivate *TMouseActivate)

type TMouseEvent

type TMouseEvent func(sender IObject, button TMouseButton, shift TShiftState, x, y int32)

type TMouseMoveEvent

type TMouseMoveEvent func(sender IObject, shift TShiftState, x, y int32)

type TMouseWheelEvent

type TMouseWheelEvent func(sender IObject, shift TShiftState, wheelDelta, x, y int32, handled *bool)

type TMouseWheelUpDownEvent

type TMouseWheelUpDownEvent func(sender IObject, shift TShiftState, mousePos TPoint, handled *bool)

type TNotifyEvent

type TNotifyEvent func(sender IObject)

type TObject

type TObject struct {
	IObject
	// contains filtered or unexported fields
}

func AsObject added in v1.2.10

func AsObject(obj interface{}) *TObject

AsObject

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewObject

func NewObject() *TObject

NewObject

创建一个新的对象。

Create a new object.

func (*TObject) ClassName

func (o *TObject) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TObject) ClassType added in v1.1.18

func (o *TObject) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TObject) Equals

func (o *TObject) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TObject) Free

func (o *TObject) Free()

Free

释放对象。

Free object.

func (*TObject) GetHashCode

func (o *TObject) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TObject) InheritsFrom added in v1.1.18

func (o *TObject) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TObject) Instance

func (o *TObject) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TObject) InstanceSize added in v1.1.18

func (o *TObject) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TObject) Is added in v1.2.10

func (o *TObject) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TObject) IsValid

func (o *TObject) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TObject) ToString

func (o *TObject) ToString() string

ToString

文本类信息。

Text information.

func (*TObject) UnsafeAddr added in v1.1.21

func (o *TObject) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TOnCompareCells

type TOnCompareCells func(sender IObject, ACol, ARow, BCol, BRow int32, result *int32)

type TOnPrepareCanvasEvent

type TOnPrepareCanvasEvent func(sender IObject, aCol, aRow int32, aState TGridDrawState)

type TOnSelectEvent

type TOnSelectEvent func(sender IObject, aCol, aRow int32)

type TOpenDialog

type TOpenDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsOpenDialog added in v1.2.10

func AsOpenDialog(obj interface{}) *TOpenDialog

AsOpenDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewOpenDialog

func NewOpenDialog(owner IComponent) *TOpenDialog

NewOpenDialog

创建一个新的对象。

Create a new object.

func (*TOpenDialog) Assign

func (o *TOpenDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TOpenDialog) ClassName

func (o *TOpenDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TOpenDialog) ClassType added in v1.1.18

func (o *TOpenDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TOpenDialog) ComponentCount

func (o *TOpenDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TOpenDialog) ComponentIndex

func (o *TOpenDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TOpenDialog) Components

func (o *TOpenDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TOpenDialog) DefaultExt

func (o *TOpenDialog) DefaultExt() string

func (*TOpenDialog) Equals

func (o *TOpenDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TOpenDialog) Execute

func (o *TOpenDialog) Execute() bool

Execute

执行。

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TOpenDialog) Free

func (o *TOpenDialog) Free()

Free

释放对象。

Free object.

func (*TOpenDialog) GetHashCode

func (o *TOpenDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TOpenDialog) GetNamePath

func (o *TOpenDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TOpenDialog) Handle

func (o *TOpenDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TOpenDialog) HasParent

func (o *TOpenDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TOpenDialog) InheritsFrom added in v1.1.18

func (o *TOpenDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TOpenDialog) InstanceSize added in v1.1.18

func (o *TOpenDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TOpenDialog) Is added in v1.2.10

func (o *TOpenDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TOpenDialog) IsValid

func (o *TOpenDialog) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TOpenDialog) Name

func (o *TOpenDialog) Name() string

Name

获取组件名称。

Get the component name.

func (*TOpenDialog) Options

func (o *TOpenDialog) Options() TOpenOptions

func (*TOpenDialog) Owner

func (o *TOpenDialog) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TOpenDialog) SetComponentIndex

func (o *TOpenDialog) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

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)

SetName

设置组件名称。

Set the component name.

func (*TOpenDialog) SetOnClose

func (o *TOpenDialog) SetOnClose(fn TNotifyEvent)

func (*TOpenDialog) SetOnShow

func (o *TOpenDialog) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

func (*TOpenDialog) SetOptions

func (o *TOpenDialog) SetOptions(value TOpenOptions)

func (*TOpenDialog) SetTag

func (o *TOpenDialog) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TOpenDialog) SetTitle

func (o *TOpenDialog) SetTitle(value string)

func (*TOpenDialog) Tag

func (o *TOpenDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TOpenDialog) Title

func (o *TOpenDialog) Title() string

func (*TOpenDialog) ToString

func (o *TOpenDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TOpenDialog) UnsafeAddr added in v1.1.21

func (o *TOpenDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TOpenPictureDialog

type TOpenPictureDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsOpenPictureDialog added in v1.2.10

func AsOpenPictureDialog(obj interface{}) *TOpenPictureDialog

AsOpenPictureDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewOpenPictureDialog

func NewOpenPictureDialog(owner IComponent) *TOpenPictureDialog

NewOpenPictureDialog

创建一个新的对象。

Create a new object.

func (*TOpenPictureDialog) Assign

func (o *TOpenPictureDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TOpenPictureDialog) ClassName

func (o *TOpenPictureDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TOpenPictureDialog) ClassType added in v1.1.18

func (o *TOpenPictureDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TOpenPictureDialog) ComponentCount

func (o *TOpenPictureDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TOpenPictureDialog) ComponentIndex

func (o *TOpenPictureDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TOpenPictureDialog) Components

func (o *TOpenPictureDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TOpenPictureDialog) DefaultExt

func (o *TOpenPictureDialog) DefaultExt() string

func (*TOpenPictureDialog) Equals

func (o *TOpenPictureDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TOpenPictureDialog) Execute

func (o *TOpenPictureDialog) Execute() bool

Execute

执行。

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TOpenPictureDialog) Free

func (o *TOpenPictureDialog) Free()

Free

释放对象。

Free object.

func (*TOpenPictureDialog) GetHashCode

func (o *TOpenPictureDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TOpenPictureDialog) GetNamePath

func (o *TOpenPictureDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TOpenPictureDialog) Handle

func (o *TOpenPictureDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TOpenPictureDialog) HasParent

func (o *TOpenPictureDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TOpenPictureDialog) InheritsFrom added in v1.1.18

func (o *TOpenPictureDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TOpenPictureDialog) InstanceSize added in v1.1.18

func (o *TOpenPictureDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TOpenPictureDialog) Is added in v1.2.10

func (o *TOpenPictureDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TOpenPictureDialog) IsValid

func (o *TOpenPictureDialog) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TOpenPictureDialog) Name

func (o *TOpenPictureDialog) Name() string

Name

获取组件名称。

Get the component name.

func (*TOpenPictureDialog) Options

func (o *TOpenPictureDialog) Options() TOpenOptions

func (*TOpenPictureDialog) Owner

func (o *TOpenPictureDialog) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TOpenPictureDialog) SetComponentIndex

func (o *TOpenPictureDialog) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

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)

SetName

设置组件名称。

Set the component name.

func (*TOpenPictureDialog) SetOnClose

func (o *TOpenPictureDialog) SetOnClose(fn TNotifyEvent)

func (*TOpenPictureDialog) SetOnShow

func (o *TOpenPictureDialog) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

func (*TOpenPictureDialog) SetOptions

func (o *TOpenPictureDialog) SetOptions(value TOpenOptions)

func (*TOpenPictureDialog) SetTag

func (o *TOpenPictureDialog) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TOpenPictureDialog) SetTitle

func (o *TOpenPictureDialog) SetTitle(value string)

func (*TOpenPictureDialog) Tag

func (o *TOpenPictureDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TOpenPictureDialog) Title

func (o *TOpenPictureDialog) Title() string

func (*TOpenPictureDialog) ToString

func (o *TOpenPictureDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TOpenPictureDialog) UnsafeAddr added in v1.1.21

func (o *TOpenPictureDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TPageControl

type TPageControl struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsPageControl added in v1.2.10

func AsPageControl(obj interface{}) *TPageControl

AsPageControl

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPageControl

func NewPageControl(owner IComponent) *TPageControl

NewPageControl

创建一个新的对象。

Create a new object.

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) AddTabSheet

func (p *TPageControl) AddTabSheet() *TTabSheet

func (*TPageControl) Align

func (p *TPageControl) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TPageControl) AnchorSideBottom

func (p *TPageControl) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TPageControl) AnchorSideLeft

func (p *TPageControl) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TPageControl) AnchorSideRight

func (p *TPageControl) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TPageControl) AnchorSideTop

func (p *TPageControl) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TPageControl) AnchorToNeighbour

func (p *TPageControl) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPageControl) AnchorVerticalCenterTo

func (p *TPageControl) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TPageControl) Anchors

func (p *TPageControl) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TPageControl) Assign

func (p *TPageControl) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TPageControl) BoundsRect

func (p *TPageControl) BoundsRect() TRect

func (*TPageControl) BringToFront

func (p *TPageControl) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TPageControl) Brush

func (p *TPageControl) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TPageControl) CanFocus

func (p *TPageControl) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TPageControl) ChildSizing

func (p *TPageControl) ChildSizing() *TControlChildSizing

func (*TPageControl) ClassName

func (p *TPageControl) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TPageControl) ClassType added in v1.1.18

func (p *TPageControl) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TPageControl) Clear

func (p *TPageControl) Clear()

Clear

清除。

func (*TPageControl) ClientHeight

func (p *TPageControl) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TPageControl) ClientOrigin added in v1.1.21

func (p *TPageControl) ClientOrigin() TPoint

func (*TPageControl) ClientRect

func (p *TPageControl) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TPageControl) ClientToParent

func (p *TPageControl) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TPageControl) ClientToScreen

func (p *TPageControl) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TPageControl) ClientWidth

func (p *TPageControl) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TPageControl) ComponentCount

func (p *TPageControl) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TPageControl) ComponentIndex

func (p *TPageControl) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TPageControl) Components

func (p *TPageControl) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TPageControl) Constraints added in v1.2.7

func (p *TPageControl) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TPageControl) ContainsControl added in v1.1.21

func (p *TPageControl) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TPageControl) ControlAtPos added in v1.1.21

func (p *TPageControl) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TPageControl) ControlCount

func (p *TPageControl) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TPageControl) ControlState added in v1.1.21

func (p *TPageControl) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TPageControl) ControlStyle added in v1.1.21

func (p *TPageControl) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TPageControl) Controls

func (p *TPageControl) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TPageControl) Cursor

func (p *TPageControl) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TPageControl) DisableAlign added in v1.1.21

func (p *TPageControl) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TPageControl) DockClientCount added in v1.1.21

func (p *TPageControl) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TPageControl) DockClients added in v1.1.21

func (p *TPageControl) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TPageControl) DockSite

func (p *TPageControl) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TPageControl) DoubleBuffered

func (p *TPageControl) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TPageControl) DragCursor

func (p *TPageControl) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TPageControl) DragKind

func (p *TPageControl) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TPageControl) DragMode

func (p *TPageControl) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TPageControl) Dragging

func (p *TPageControl) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TPageControl) EnableAlign added in v1.1.21

func (p *TPageControl) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TPageControl) Enabled

func (p *TPageControl) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TPageControl) Equals

func (p *TPageControl) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TPageControl) FindChildControl added in v1.1.21

func (p *TPageControl) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TPageControl) FindComponent

func (p *TPageControl) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPageControl) FindNextPage

func (p *TPageControl) FindNextPage(CurPage IWinControl, GoForward bool, CheckTabVisible bool) *TTabSheet

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TPageControl) Font

func (p *TPageControl) Font() *TFont

Font

获取字体。

Get Font.

func (*TPageControl) Free

func (p *TPageControl) Free()

Free

释放对象。

Free object.

func (*TPageControl) GetHashCode

func (p *TPageControl) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TPageControl) GetNamePath

func (p *TPageControl) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TPageControl) GetTextBuf

func (p *TPageControl) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TPageControl) GetTextLen

func (p *TPageControl) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TPageControl) Handle

func (p *TPageControl) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TPageControl) HandleAllocated

func (p *TPageControl) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TPageControl) HasParent

func (p *TPageControl) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TPageControl) Height

func (p *TPageControl) Height() int32

Height

获取高度。

Get height.

func (*TPageControl) Hide

func (p *TPageControl) Hide()

Hide

隐藏控件。

Hidden control.

func (*TPageControl) Hint

func (p *TPageControl) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TPageControl) Images

func (p *TPageControl) Images() *TImageList

Images

获取图标索引列表对象。

func (*TPageControl) IndexOfPageAt

func (p *TPageControl) IndexOfPageAt(X int32, Y int32) int32

func (*TPageControl) IndexOfTabAt

func (p *TPageControl) IndexOfTabAt(X int32, Y int32) int32

func (*TPageControl) InheritsFrom added in v1.1.18

func (p *TPageControl) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPageControl) InsertControl added in v1.1.21

func (p *TPageControl) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TPageControl) Instance

func (p *TPageControl) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TPageControl) InstanceSize added in v1.1.18

func (p *TPageControl) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TPageControl) Invalidate

func (p *TPageControl) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TPageControl) Is added in v1.2.10

func (p *TPageControl) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPageControl) IsValid

func (p *TPageControl) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TPageControl) Left

func (p *TPageControl) Left() int32

Left

获取左边位置。

Get Left position.

func (*TPageControl) MouseInClient added in v1.1.21

func (p *TPageControl) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TPageControl) MultiLine

func (p *TPageControl) MultiLine() bool

func (*TPageControl) MultiSelect

func (p *TPageControl) MultiSelect() bool

func (*TPageControl) Name

func (p *TPageControl) Name() string

Name

获取组件名称。

Get the component name.

func (*TPageControl) Options

func (p *TPageControl) Options() TCTabControlOptions

func (*TPageControl) Owner

func (p *TPageControl) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TPageControl) PageCount

func (p *TPageControl) PageCount() int32

func (*TPageControl) PageIndex

func (p *TPageControl) PageIndex() int32

func (*TPageControl) Pages

func (p *TPageControl) Pages(Index int32) *TTabSheet

func (*TPageControl) PaintTo added in v1.1.21

func (p *TPageControl) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TPageControl) Parent

func (p *TPageControl) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TPageControl) ParentDoubleBuffered

func (p *TPageControl) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TPageControl) ParentFont

func (p *TPageControl) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TPageControl) ParentShowHint

func (p *TPageControl) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TPageControl) ParentToClient

func (p *TPageControl) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TPageControl) ParentWindow

func (p *TPageControl) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TPageControl) Perform

func (p *TPageControl) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TPageControl) PopupMenu

func (p *TPageControl) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TPageControl) RaggedRight

func (p *TPageControl) RaggedRight() bool

func (*TPageControl) Realign

func (p *TPageControl) Realign()

Realign

重新对齐。

Realign.

func (*TPageControl) Refresh

func (p *TPageControl) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TPageControl) RemoveControl added in v1.1.21

func (p *TPageControl) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TPageControl) Repaint

func (p *TPageControl) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TPageControl) ScrollBy added in v1.1.21

func (p *TPageControl) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TPageControl) ScrollOpposite

func (p *TPageControl) ScrollOpposite() bool

func (*TPageControl) SelectNextPage

func (p *TPageControl) SelectNextPage(GoForward bool)

func (*TPageControl) SendToBack

func (p *TPageControl) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TPageControl) SetAnchorSideBottom

func (p *TPageControl) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TPageControl) SetAnchorSideLeft

func (p *TPageControl) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TPageControl) SetAnchorSideRight

func (p *TPageControl) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TPageControl) SetAnchorSideTop

func (p *TPageControl) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TPageControl) SetAnchors

func (p *TPageControl) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TPageControl) SetBiDiMode

func (p *TPageControl) SetBiDiMode(value TBiDiMode)

func (*TPageControl) SetBorderSpacing

func (p *TPageControl) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TPageControl) SetBounds

func (p *TPageControl) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TPageControl) SetClientWidth

func (p *TPageControl) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TPageControl) SetComponentIndex

func (p *TPageControl) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TPageControl) SetConstraints added in v1.2.7

func (p *TPageControl) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TPageControl) SetControlState added in v1.1.21

func (p *TPageControl) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TPageControl) SetControlStyle added in v1.1.21

func (p *TPageControl) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TPageControl) SetCursor

func (p *TPageControl) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TPageControl) SetDockSite

func (p *TPageControl) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TPageControl) SetDoubleBuffered

func (p *TPageControl) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TPageControl) SetDragCursor

func (p *TPageControl) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TPageControl) SetDragKind

func (p *TPageControl) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TPageControl) SetDragMode

func (p *TPageControl) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TPageControl) SetEnabled

func (p *TPageControl) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TPageControl) SetFocus

func (p *TPageControl) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TPageControl) SetFont

func (p *TPageControl) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TPageControl) SetHeight

func (p *TPageControl) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TPageControl) SetHint

func (p *TPageControl) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TPageControl) SetImages

func (p *TPageControl) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

func (*TPageControl) SetLeft

func (p *TPageControl) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TPageControl) SetMultiLine

func (p *TPageControl) SetMultiLine(value bool)

func (*TPageControl) SetMultiSelect

func (p *TPageControl) SetMultiSelect(value bool)

func (*TPageControl) SetName

func (p *TPageControl) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TPageControl) SetOnChange

func (p *TPageControl) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TPageControl) SetOnChanging added in v1.1.21

func (p *TPageControl) SetOnChanging(fn TTabChangingEvent)

func (*TPageControl) SetOnCloseTabClicked

func (p *TPageControl) SetOnCloseTabClicked(fn TNotifyEvent)

func (*TPageControl) SetOnContextPopup

func (p *TPageControl) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

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)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TPageControl) SetOnDragOver

func (p *TPageControl) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TPageControl) SetOnEndDock

func (p *TPageControl) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TPageControl) SetOnEndDrag

func (p *TPageControl) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TPageControl) SetOnEnter

func (p *TPageControl) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TPageControl) SetOnExit

func (p *TPageControl) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TPageControl) SetOnGetSiteInfo

func (p *TPageControl) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TPageControl) SetOnMouseDown

func (p *TPageControl) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TPageControl) SetOnMouseEnter

func (p *TPageControl) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TPageControl) SetOnMouseLeave

func (p *TPageControl) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TPageControl) SetOnMouseMove

func (p *TPageControl) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TPageControl) SetOnMouseUp

func (p *TPageControl) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TPageControl) SetOnResize

func (p *TPageControl) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TPageControl) SetOnStartDock

func (p *TPageControl) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TPageControl) SetOnUnDock

func (p *TPageControl) SetOnUnDock(fn TUnDockEvent)

func (*TPageControl) SetOptions

func (p *TPageControl) SetOptions(value TCTabControlOptions)

func (*TPageControl) SetPageIndex

func (p *TPageControl) SetPageIndex(value int32)

func (*TPageControl) SetParent

func (p *TPageControl) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TPageControl) SetParentDoubleBuffered

func (p *TPageControl) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TPageControl) SetParentFont

func (p *TPageControl) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TPageControl) SetParentShowHint

func (p *TPageControl) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TPageControl) SetParentWindow

func (p *TPageControl) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TPageControl) SetPopupMenu

func (p *TPageControl) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TPageControl) SetRaggedRight

func (p *TPageControl) SetRaggedRight(value bool)

func (*TPageControl) SetScrollOpposite

func (p *TPageControl) SetScrollOpposite(value bool)

func (*TPageControl) SetShowHint

func (p *TPageControl) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

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)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TPageControl) SetTabPosition

func (p *TPageControl) SetTabPosition(value TTabPosition)

func (*TPageControl) SetTabStop

func (p *TPageControl) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TPageControl) SetTabWidth

func (p *TPageControl) SetTabWidth(value int16)

func (*TPageControl) SetTag

func (p *TPageControl) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TPageControl) SetTextBuf added in v1.1.21

func (p *TPageControl) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TPageControl) SetTop

func (p *TPageControl) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TPageControl) SetUseDockManager

func (p *TPageControl) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TPageControl) SetVisible

func (p *TPageControl) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TPageControl) SetWidth

func (p *TPageControl) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TPageControl) Show

func (p *TPageControl) Show()

Show

显示控件。

Show control.

func (*TPageControl) ShowHint

func (p *TPageControl) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取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

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TPageControl) TabWidth

func (p *TPageControl) TabWidth() int16

func (*TPageControl) Tag

func (p *TPageControl) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TPageControl) ToString

func (p *TPageControl) ToString() string

ToString

文本类信息。

Text information.

func (*TPageControl) Top

func (p *TPageControl) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TPageControl) UnsafeAddr added in v1.1.21

func (p *TPageControl) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TPageControl) Update

func (p *TPageControl) Update()

Update

控件更新。

Update.

func (*TPageControl) UseDockManager

func (p *TPageControl) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TPageControl) Visible

func (p *TPageControl) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TPageControl) VisibleDockClientCount added in v1.1.21

func (p *TPageControl) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TPageControl) Width

func (p *TPageControl) Width() int32

Width

获取宽度。

Get width.

type TPageSetupDialog

type TPageSetupDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsPageSetupDialog added in v1.2.10

func AsPageSetupDialog(obj interface{}) *TPageSetupDialog

AsPageSetupDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPageSetupDialog

func NewPageSetupDialog(owner IComponent) *TPageSetupDialog

NewPageSetupDialog

创建一个新的对象。

Create a new object.

func (*TPageSetupDialog) Assign

func (p *TPageSetupDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPageSetupDialog) ClassName

func (p *TPageSetupDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TPageSetupDialog) ClassType added in v1.1.18

func (p *TPageSetupDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TPageSetupDialog) ComponentCount

func (p *TPageSetupDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TPageSetupDialog) ComponentIndex

func (p *TPageSetupDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TPageSetupDialog) Components

func (p *TPageSetupDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TPageSetupDialog) Equals

func (p *TPageSetupDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TPageSetupDialog) Execute

func (p *TPageSetupDialog) Execute() bool

Execute

执行。

func (*TPageSetupDialog) FindComponent

func (p *TPageSetupDialog) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPageSetupDialog) Free

func (p *TPageSetupDialog) Free()

Free

释放对象。

Free object.

func (*TPageSetupDialog) GetHashCode

func (p *TPageSetupDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TPageSetupDialog) GetNamePath

func (p *TPageSetupDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TPageSetupDialog) Handle

func (p *TPageSetupDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TPageSetupDialog) HasParent

func (p *TPageSetupDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TPageSetupDialog) InheritsFrom added in v1.1.18

func (p *TPageSetupDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPageSetupDialog) Instance

func (p *TPageSetupDialog) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TPageSetupDialog) InstanceSize added in v1.1.18

func (p *TPageSetupDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TPageSetupDialog) Is added in v1.2.10

func (p *TPageSetupDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPageSetupDialog) IsValid

func (p *TPageSetupDialog) IsValid() bool

IsValid

检测地址是否为空。

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

Name

获取组件名称。

Get the component name.

func (*TPageSetupDialog) Options

func (p *TPageSetupDialog) Options() TPageSetupDialogOptions

func (*TPageSetupDialog) Owner

func (p *TPageSetupDialog) Owner() *TComponent

Owner

获取组件所有者。

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)

SetComponentIndex

设置组件索引。

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)

SetName

设置组件名称。

Set the component name.

func (*TPageSetupDialog) SetOnClose

func (p *TPageSetupDialog) SetOnClose(fn TNotifyEvent)

func (*TPageSetupDialog) SetOnShow

func (p *TPageSetupDialog) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

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)

SetTag

设置对象标记。

Set the control tag.

func (*TPageSetupDialog) Tag

func (p *TPageSetupDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TPageSetupDialog) ToString

func (p *TPageSetupDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TPageSetupDialog) Units

func (p *TPageSetupDialog) Units() TPageMeasureUnits

func (*TPageSetupDialog) UnsafeAddr added in v1.1.21

func (p *TPageSetupDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TPaintBox

type TPaintBox struct {
	IControl
	// contains filtered or unexported fields
}

func AsPaintBox added in v1.2.10

func AsPaintBox(obj interface{}) *TPaintBox

AsPaintBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPaintBox

func NewPaintBox(owner IComponent) *TPaintBox

NewPaintBox

创建一个新的对象。

Create a new object.

func (*TPaintBox) Action

func (p *TPaintBox) Action() *TAction

func (*TPaintBox) Align

func (p *TPaintBox) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TPaintBox) AnchorSideBottom

func (p *TPaintBox) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TPaintBox) AnchorSideLeft

func (p *TPaintBox) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TPaintBox) AnchorSideRight

func (p *TPaintBox) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TPaintBox) AnchorSideTop

func (p *TPaintBox) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TPaintBox) AnchorToNeighbour

func (p *TPaintBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPaintBox) AnchorVerticalCenterTo

func (p *TPaintBox) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TPaintBox) Anchors

func (p *TPaintBox) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TPaintBox) Assign

func (p *TPaintBox) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TPaintBox) BoundsRect

func (p *TPaintBox) BoundsRect() TRect

func (*TPaintBox) BringToFront

func (p *TPaintBox) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TPaintBox) Canvas

func (p *TPaintBox) Canvas() *TCanvas

Canvas

获取画布。

func (*TPaintBox) ClassName

func (p *TPaintBox) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TPaintBox) ClassType added in v1.1.18

func (p *TPaintBox) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TPaintBox) ClientHeight

func (p *TPaintBox) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TPaintBox) ClientOrigin added in v1.1.21

func (p *TPaintBox) ClientOrigin() TPoint

func (*TPaintBox) ClientRect

func (p *TPaintBox) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TPaintBox) ClientToParent

func (p *TPaintBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TPaintBox) ClientToScreen

func (p *TPaintBox) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TPaintBox) ClientWidth

func (p *TPaintBox) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TPaintBox) Color

func (p *TPaintBox) Color() TColor

Color

获取颜色。

Get color.

func (*TPaintBox) ComponentCount

func (p *TPaintBox) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TPaintBox) ComponentIndex

func (p *TPaintBox) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TPaintBox) Components

func (p *TPaintBox) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TPaintBox) Constraints added in v1.2.7

func (p *TPaintBox) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TPaintBox) ControlState added in v1.1.21

func (p *TPaintBox) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TPaintBox) ControlStyle added in v1.1.21

func (p *TPaintBox) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TPaintBox) Cursor

func (p *TPaintBox) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TPaintBox) DragCursor

func (p *TPaintBox) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TPaintBox) DragMode

func (p *TPaintBox) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TPaintBox) Dragging

func (p *TPaintBox) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TPaintBox) Enabled

func (p *TPaintBox) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TPaintBox) Equals

func (p *TPaintBox) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TPaintBox) FindComponent

func (p *TPaintBox) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Font

获取字体。

Get Font.

func (*TPaintBox) Free

func (p *TPaintBox) Free()

Free

释放对象。

Free object.

func (*TPaintBox) GetHashCode

func (p *TPaintBox) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TPaintBox) GetNamePath

func (p *TPaintBox) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TPaintBox) GetTextBuf

func (p *TPaintBox) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TPaintBox) GetTextLen

func (p *TPaintBox) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TPaintBox) HasParent

func (p *TPaintBox) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TPaintBox) Height

func (p *TPaintBox) Height() int32

Height

获取高度。

Get height.

func (*TPaintBox) Hide

func (p *TPaintBox) Hide()

Hide

隐藏控件。

Hidden control.

func (*TPaintBox) Hint

func (p *TPaintBox) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TPaintBox) InheritsFrom added in v1.1.18

func (p *TPaintBox) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPaintBox) Instance

func (p *TPaintBox) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TPaintBox) InstanceSize added in v1.1.18

func (p *TPaintBox) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TPaintBox) Invalidate

func (p *TPaintBox) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TPaintBox) Is added in v1.2.10

func (p *TPaintBox) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPaintBox) IsValid

func (p *TPaintBox) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TPaintBox) Left

func (p *TPaintBox) Left() int32

Left

获取左边位置。

Get Left position.

func (*TPaintBox) Name

func (p *TPaintBox) Name() string

Name

获取组件名称。

Get the component name.

func (*TPaintBox) Owner

func (p *TPaintBox) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TPaintBox) Parent

func (p *TPaintBox) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TPaintBox) ParentColor

func (p *TPaintBox) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TPaintBox) ParentFont

func (p *TPaintBox) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TPaintBox) ParentShowHint

func (p *TPaintBox) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TPaintBox) ParentToClient

func (p *TPaintBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TPaintBox) Perform

func (p *TPaintBox) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TPaintBox) PopupMenu

func (p *TPaintBox) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TPaintBox) Refresh

func (p *TPaintBox) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TPaintBox) Repaint

func (p *TPaintBox) Repaint()

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TPaintBox) SendToBack

func (p *TPaintBox) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TPaintBox) SetAnchorSideBottom

func (p *TPaintBox) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TPaintBox) SetAnchorSideLeft

func (p *TPaintBox) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TPaintBox) SetAnchorSideRight

func (p *TPaintBox) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TPaintBox) SetAnchorSideTop

func (p *TPaintBox) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TPaintBox) SetAnchors

func (p *TPaintBox) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TPaintBox) SetBiDiMode

func (p *TPaintBox) SetBiDiMode(value TBiDiMode)

func (*TPaintBox) SetBorderSpacing

func (p *TPaintBox) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TPaintBox) SetBounds

func (p *TPaintBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TPaintBox) SetBoundsRect

func (p *TPaintBox) SetBoundsRect(value TRect)

func (*TPaintBox) SetClientHeight

func (p *TPaintBox) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TPaintBox) SetClientWidth

func (p *TPaintBox) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TPaintBox) SetColor

func (p *TPaintBox) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TPaintBox) SetComponentIndex

func (p *TPaintBox) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TPaintBox) SetConstraints added in v1.2.7

func (p *TPaintBox) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TPaintBox) SetControlState added in v1.1.21

func (p *TPaintBox) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TPaintBox) SetControlStyle added in v1.1.21

func (p *TPaintBox) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TPaintBox) SetCursor

func (p *TPaintBox) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TPaintBox) SetDragCursor

func (p *TPaintBox) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TPaintBox) SetDragMode

func (p *TPaintBox) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TPaintBox) SetEnabled

func (p *TPaintBox) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TPaintBox) SetFont

func (p *TPaintBox) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TPaintBox) SetHeight

func (p *TPaintBox) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TPaintBox) SetHint

func (p *TPaintBox) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TPaintBox) SetLeft

func (p *TPaintBox) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TPaintBox) SetName

func (p *TPaintBox) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TPaintBox) SetOnClick

func (p *TPaintBox) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TPaintBox) SetOnDblClick

func (p *TPaintBox) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TPaintBox) SetOnDragDrop

func (p *TPaintBox) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TPaintBox) SetOnDragOver

func (p *TPaintBox) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TPaintBox) SetOnEndDrag

func (p *TPaintBox) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TPaintBox) SetOnMouseDown

func (p *TPaintBox) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TPaintBox) SetOnMouseEnter

func (p *TPaintBox) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TPaintBox) SetOnMouseLeave

func (p *TPaintBox) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TPaintBox) SetOnMouseMove

func (p *TPaintBox) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TPaintBox) SetOnMouseUp

func (p *TPaintBox) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TPaintBox) SetOnPaint

func (p *TPaintBox) SetOnPaint(fn TNotifyEvent)

SetOnPaint

设置绘画事件。

func (*TPaintBox) SetParent

func (p *TPaintBox) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TPaintBox) SetParentColor

func (p *TPaintBox) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TPaintBox) SetParentFont

func (p *TPaintBox) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TPaintBox) SetParentShowHint

func (p *TPaintBox) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TPaintBox) SetPopupMenu

func (p *TPaintBox) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TPaintBox) SetShowHint

func (p *TPaintBox) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TPaintBox) SetTag

func (p *TPaintBox) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TPaintBox) SetTextBuf added in v1.1.21

func (p *TPaintBox) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TPaintBox) SetTop

func (p *TPaintBox) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TPaintBox) SetVisible

func (p *TPaintBox) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TPaintBox) SetWidth

func (p *TPaintBox) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TPaintBox) Show

func (p *TPaintBox) Show()

Show

显示控件。

Show control.

func (*TPaintBox) ShowHint

func (p *TPaintBox) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TPaintBox) Tag

func (p *TPaintBox) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TPaintBox) ToString

func (p *TPaintBox) ToString() string

ToString

文本类信息。

Text information.

func (*TPaintBox) Top

func (p *TPaintBox) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TPaintBox) UnsafeAddr added in v1.1.21

func (p *TPaintBox) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TPaintBox) Update

func (p *TPaintBox) Update()

Update

控件更新。

Update.

func (*TPaintBox) Visible

func (p *TPaintBox) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TPaintBox) Width

func (p *TPaintBox) Width() int32

Width

获取宽度。

Get width.

type TPanel

type TPanel struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsPanel added in v1.2.10

func AsPanel(obj interface{}) *TPanel

AsPanel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPanel

func NewPanel(owner IComponent) *TPanel

NewPanel

创建一个新的对象。

Create a new object.

func (*TPanel) Action

func (p *TPanel) Action() *TAction

func (*TPanel) Align

func (p *TPanel) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TPanel) Alignment

func (p *TPanel) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TPanel) AnchorSideBottom

func (p *TPanel) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TPanel) AnchorSideLeft

func (p *TPanel) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TPanel) AnchorSideRight

func (p *TPanel) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TPanel) AnchorSideTop

func (p *TPanel) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TPanel) AnchorToNeighbour

func (p *TPanel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPanel) AnchorVerticalCenterTo

func (p *TPanel) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TPanel) Anchors

func (p *TPanel) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TPanel) Assign

func (p *TPanel) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSize

获取自动调整大小。

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

BorderSpacing

获取边框间距。

func (*TPanel) BorderStyle

func (p *TPanel) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TPanel) BorderWidth

func (p *TPanel) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TPanel) BoundsRect

func (p *TPanel) BoundsRect() TRect

func (*TPanel) BringToFront

func (p *TPanel) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TPanel) Brush

func (p *TPanel) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TPanel) CanFocus

func (p *TPanel) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TPanel) Canvas

func (p *TPanel) Canvas() *TCanvas

Canvas

获取画布。

func (*TPanel) Caption

func (p *TPanel) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TPanel) ChildSizing

func (p *TPanel) ChildSizing() *TControlChildSizing

func (*TPanel) ClassName

func (p *TPanel) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TPanel) ClassType added in v1.1.18

func (p *TPanel) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TPanel) ClientHeight

func (p *TPanel) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TPanel) ClientOrigin added in v1.1.21

func (p *TPanel) ClientOrigin() TPoint

func (*TPanel) ClientRect

func (p *TPanel) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TPanel) ClientToParent

func (p *TPanel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TPanel) ClientToScreen

func (p *TPanel) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TPanel) ClientWidth

func (p *TPanel) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TPanel) Color

func (p *TPanel) Color() TColor

Color

获取颜色。

Get color.

func (*TPanel) ComponentCount

func (p *TPanel) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TPanel) ComponentIndex

func (p *TPanel) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TPanel) Components

func (p *TPanel) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TPanel) Constraints added in v1.2.7

func (p *TPanel) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TPanel) ContainsControl added in v1.1.21

func (p *TPanel) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TPanel) ControlAtPos added in v1.1.21

func (p *TPanel) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TPanel) ControlCount

func (p *TPanel) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TPanel) ControlState added in v1.1.21

func (p *TPanel) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TPanel) ControlStyle added in v1.1.21

func (p *TPanel) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TPanel) Controls

func (p *TPanel) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TPanel) Cursor

func (p *TPanel) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TPanel) DisableAlign added in v1.1.21

func (p *TPanel) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TPanel) DockClientCount added in v1.1.21

func (p *TPanel) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TPanel) DockClients added in v1.1.21

func (p *TPanel) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TPanel) DockSite

func (p *TPanel) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TPanel) DoubleBuffered

func (p *TPanel) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TPanel) DragCursor

func (p *TPanel) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TPanel) DragKind

func (p *TPanel) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TPanel) DragMode

func (p *TPanel) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TPanel) Dragging

func (p *TPanel) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TPanel) EnableAlign added in v1.1.21

func (p *TPanel) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TPanel) Enabled

func (p *TPanel) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TPanel) Equals

func (p *TPanel) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TPanel) FindChildControl added in v1.1.21

func (p *TPanel) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TPanel) FindComponent

func (p *TPanel) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TPanel) Font

func (p *TPanel) Font() *TFont

Font

获取字体。

Get Font.

func (*TPanel) Free

func (p *TPanel) Free()

Free

释放对象。

Free object.

func (*TPanel) FullRepaint

func (p *TPanel) FullRepaint() bool

func (*TPanel) GetHashCode

func (p *TPanel) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TPanel) GetNamePath

func (p *TPanel) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TPanel) GetTextBuf

func (p *TPanel) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TPanel) GetTextLen

func (p *TPanel) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TPanel) Handle

func (p *TPanel) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TPanel) HandleAllocated

func (p *TPanel) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TPanel) HasParent

func (p *TPanel) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TPanel) Height

func (p *TPanel) Height() int32

Height

获取高度。

Get height.

func (*TPanel) Hide

func (p *TPanel) Hide()

Hide

隐藏控件。

Hidden control.

func (*TPanel) Hint

func (p *TPanel) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TPanel) InheritsFrom added in v1.1.18

func (p *TPanel) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPanel) InsertControl added in v1.1.21

func (p *TPanel) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TPanel) Instance

func (p *TPanel) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TPanel) InstanceSize added in v1.1.18

func (p *TPanel) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TPanel) Invalidate

func (p *TPanel) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TPanel) Is added in v1.2.10

func (p *TPanel) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPanel) IsValid

func (p *TPanel) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TPanel) Left

func (p *TPanel) Left() int32

Left

获取左边位置。

Get Left position.

func (*TPanel) MouseInClient added in v1.1.21

func (p *TPanel) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TPanel) Name

func (p *TPanel) Name() string

Name

获取组件名称。

Get the component name.

func (*TPanel) Owner

func (p *TPanel) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TPanel) PaintTo added in v1.1.21

func (p *TPanel) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TPanel) Parent

func (p *TPanel) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TPanel) ParentBackground

func (p *TPanel) ParentBackground() bool

func (*TPanel) ParentColor

func (p *TPanel) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TPanel) ParentDoubleBuffered

func (p *TPanel) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TPanel) ParentFont

func (p *TPanel) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TPanel) ParentShowHint

func (p *TPanel) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TPanel) ParentToClient

func (p *TPanel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TPanel) ParentWindow

func (p *TPanel) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TPanel) Perform

func (p *TPanel) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TPanel) PopupMenu

func (p *TPanel) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TPanel) Realign

func (p *TPanel) Realign()

Realign

重新对齐。

Realign.

func (*TPanel) Refresh

func (p *TPanel) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TPanel) RemoveControl added in v1.1.21

func (p *TPanel) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TPanel) Repaint

func (p *TPanel) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TPanel) ScrollBy added in v1.1.21

func (p *TPanel) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TPanel) SendToBack

func (p *TPanel) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TPanel) SetAlignment

func (p *TPanel) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TPanel) SetAnchorSideBottom

func (p *TPanel) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TPanel) SetAnchorSideLeft

func (p *TPanel) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TPanel) SetAnchorSideRight

func (p *TPanel) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TPanel) SetAnchorSideTop

func (p *TPanel) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TPanel) SetAnchors

func (p *TPanel) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TPanel) SetAutoSize

func (p *TPanel) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

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)

SetBorderSpacing

设置边框间距。

func (*TPanel) SetBorderStyle

func (p *TPanel) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TPanel) SetBorderWidth

func (p *TPanel) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TPanel) SetBounds

func (p *TPanel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TPanel) SetBoundsRect

func (p *TPanel) SetBoundsRect(value TRect)

func (*TPanel) SetCanvas

func (p *TPanel) SetCanvas(value *TCanvas)

SetCanvas

设置画布。

func (*TPanel) SetCaption

func (p *TPanel) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TPanel) SetChildSizing

func (p *TPanel) SetChildSizing(value *TControlChildSizing)

func (*TPanel) SetClientHeight

func (p *TPanel) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TPanel) SetClientWidth

func (p *TPanel) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TPanel) SetColor

func (p *TPanel) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TPanel) SetComponentIndex

func (p *TPanel) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TPanel) SetConstraints added in v1.2.7

func (p *TPanel) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TPanel) SetControlState added in v1.1.21

func (p *TPanel) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TPanel) SetControlStyle added in v1.1.21

func (p *TPanel) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TPanel) SetCursor

func (p *TPanel) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TPanel) SetDockSite

func (p *TPanel) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TPanel) SetDoubleBuffered

func (p *TPanel) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TPanel) SetDragCursor

func (p *TPanel) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TPanel) SetDragKind

func (p *TPanel) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TPanel) SetDragMode

func (p *TPanel) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TPanel) SetEnabled

func (p *TPanel) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TPanel) SetFocus

func (p *TPanel) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TPanel) SetFont

func (p *TPanel) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TPanel) SetFullRepaint

func (p *TPanel) SetFullRepaint(value bool)

func (*TPanel) SetHeight

func (p *TPanel) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TPanel) SetHint

func (p *TPanel) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TPanel) SetLeft

func (p *TPanel) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TPanel) SetName

func (p *TPanel) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TPanel) SetOnAlignPosition added in v1.2.10

func (p *TPanel) SetOnAlignPosition(fn TAlignPositionEvent)

SetOnAlignPosition

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TPanel) SetOnClick

func (p *TPanel) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TPanel) SetOnContextPopup

func (p *TPanel) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TPanel) SetOnDblClick

func (p *TPanel) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TPanel) SetOnDockDrop

func (p *TPanel) SetOnDockDrop(fn TDockDropEvent)

func (*TPanel) SetOnDragDrop

func (p *TPanel) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TPanel) SetOnDragOver

func (p *TPanel) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TPanel) SetOnEndDock

func (p *TPanel) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TPanel) SetOnEndDrag

func (p *TPanel) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TPanel) SetOnEnter

func (p *TPanel) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TPanel) SetOnExit

func (p *TPanel) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TPanel) SetOnGetSiteInfo

func (p *TPanel) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TPanel) SetOnMouseDown

func (p *TPanel) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TPanel) SetOnMouseEnter

func (p *TPanel) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TPanel) SetOnMouseLeave

func (p *TPanel) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TPanel) SetOnMouseMove

func (p *TPanel) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TPanel) SetOnMouseUp

func (p *TPanel) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TPanel) SetOnPaint

func (p *TPanel) SetOnPaint(fn TNotifyEvent)

SetOnPaint

设置绘画事件。

func (*TPanel) SetOnResize

func (p *TPanel) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TPanel) SetOnStartDock

func (p *TPanel) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TPanel) SetOnUnDock

func (p *TPanel) SetOnUnDock(fn TUnDockEvent)

func (*TPanel) SetParent

func (p *TPanel) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TPanel) SetParentBackground

func (p *TPanel) SetParentBackground(value bool)

func (*TPanel) SetParentColor

func (p *TPanel) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TPanel) SetParentDoubleBuffered

func (p *TPanel) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TPanel) SetParentFont

func (p *TPanel) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TPanel) SetParentShowHint

func (p *TPanel) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TPanel) SetParentWindow

func (p *TPanel) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TPanel) SetPopupMenu

func (p *TPanel) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TPanel) SetShowHint

func (p *TPanel) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TPanel) SetTabOrder

func (p *TPanel) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TPanel) SetTabStop

func (p *TPanel) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TPanel) SetTag

func (p *TPanel) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TPanel) SetTextBuf added in v1.1.21

func (p *TPanel) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TPanel) SetTop

func (p *TPanel) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TPanel) SetUseDockManager

func (p *TPanel) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TPanel) SetVisible

func (p *TPanel) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TPanel) SetWidth

func (p *TPanel) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TPanel) Show

func (p *TPanel) Show()

Show

显示控件。

Show control.

func (*TPanel) ShowHint

func (p *TPanel) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TPanel) Showing

func (p *TPanel) Showing() bool

func (*TPanel) TabOrder

func (p *TPanel) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TPanel) TabStop

func (p *TPanel) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TPanel) Tag

func (p *TPanel) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TPanel) ToString

func (p *TPanel) ToString() string

ToString

文本类信息。

Text information.

func (*TPanel) Top

func (p *TPanel) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TPanel) UnsafeAddr added in v1.1.21

func (p *TPanel) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TPanel) Update

func (p *TPanel) Update()

Update

控件更新。

Update.

func (*TPanel) UseDockManager

func (p *TPanel) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TPanel) Visible

func (p *TPanel) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TPanel) VisibleDockClientCount added in v1.1.21

func (p *TPanel) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TPanel) Width

func (p *TPanel) Width() int32

Width

获取宽度。

Get width.

type TParaAttributes

type TParaAttributes struct {
	IObject
	// contains filtered or unexported fields
}

func AsParaAttributes added in v1.2.10

func AsParaAttributes(obj interface{}) *TParaAttributes

AsParaAttributes

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TParaAttributes) Alignment

func (p *TParaAttributes) Alignment() TAlignment

Alignment

获取文字对齐。

Get Text alignment.

func (*TParaAttributes) Assign

func (p *TParaAttributes) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TParaAttributes) ClassName

func (p *TParaAttributes) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TParaAttributes) ClassType added in v1.1.18

func (p *TParaAttributes) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TParaAttributes) Equals

func (p *TParaAttributes) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TParaAttributes) FirstIndent

func (p *TParaAttributes) FirstIndent() int32

func (*TParaAttributes) GetHashCode

func (p *TParaAttributes) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TParaAttributes) GetNamePath

func (p *TParaAttributes) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TParaAttributes) InheritsFrom added in v1.1.18

func (p *TParaAttributes) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TParaAttributes) Instance

func (p *TParaAttributes) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TParaAttributes) InstanceSize added in v1.1.18

func (p *TParaAttributes) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TParaAttributes) Is added in v1.2.10

func (p *TParaAttributes) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TParaAttributes) IsValid

func (p *TParaAttributes) IsValid() bool

IsValid

检测地址是否为空。

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)

SetAlignment

设置文字对齐。

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

ToString

文本类信息。

Text information.

func (*TParaAttributes) UnsafeAddr added in v1.1.21

func (p *TParaAttributes) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TPen

type TPen struct {
	IObject
	// contains filtered or unexported fields
}

func AsPen added in v1.2.10

func AsPen(obj interface{}) *TPen

AsPen

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPen

func NewPen() *TPen

NewPen

创建一个新的对象。

Create a new object.

func (*TPen) Assign

func (p *TPen) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPen) ClassName

func (p *TPen) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TPen) ClassType added in v1.1.18

func (p *TPen) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TPen) Color

func (p *TPen) Color() TColor

Color

获取颜色。

Get color.

func (*TPen) Equals

func (p *TPen) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TPen) Free

func (p *TPen) Free()

Free

释放对象。

Free object.

func (*TPen) GetHashCode

func (p *TPen) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TPen) GetNamePath

func (p *TPen) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TPen) Handle

func (p *TPen) Handle() HPEN

Handle

获取控件句柄。

Get Control handle.

func (*TPen) InheritsFrom added in v1.1.18

func (p *TPen) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPen) Instance

func (p *TPen) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TPen) InstanceSize added in v1.1.18

func (p *TPen) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TPen) Is added in v1.2.10

func (p *TPen) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPen) IsValid

func (p *TPen) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TPen) Mode

func (p *TPen) Mode() TPenMode

func (*TPen) SetColor

func (p *TPen) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TPen) SetHandle

func (p *TPen) SetHandle(value HPEN)

SetHandle

设置控件句柄。

Set Control handle.

func (*TPen) SetMode

func (p *TPen) SetMode(value TPenMode)

func (*TPen) SetOnChange

func (p *TPen) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TPen) SetStyle

func (p *TPen) SetStyle(value TPenStyle)

func (*TPen) SetWidth

func (p *TPen) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TPen) Style

func (p *TPen) Style() TPenStyle

func (*TPen) ToString

func (p *TPen) ToString() string

ToString

文本类信息。

Text information.

func (*TPen) UnsafeAddr added in v1.1.21

func (p *TPen) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TPen) Width

func (p *TPen) Width() int32

Width

获取宽度。

Get width.

type TPicture

type TPicture struct {
	IObject
	// contains filtered or unexported fields
}

func AsPicture added in v1.2.10

func AsPicture(obj interface{}) *TPicture

AsPicture

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPicture

func NewPicture() *TPicture

NewPicture

创建一个新的对象。

Create a new object.

func (*TPicture) Assign

func (p *TPicture) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TPicture) ClassType added in v1.1.18

func (p *TPicture) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TPicture) Equals

func (p *TPicture) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TPicture) Free

func (p *TPicture) Free()

Free

释放对象。

Free object.

func (*TPicture) GetHashCode

func (p *TPicture) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TPicture) GetNamePath

func (p *TPicture) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TPicture) Graphic

func (p *TPicture) Graphic() *TGraphic

func (*TPicture) Height

func (p *TPicture) Height() int32

Height

获取高度。

Get height.

func (*TPicture) Icon

func (p *TPicture) Icon() *TIcon

Icon

获取图标。

Get icon.

func (*TPicture) InheritsFrom added in v1.1.18

func (p *TPicture) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPicture) Instance

func (p *TPicture) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TPicture) InstanceSize added in v1.1.18

func (p *TPicture) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TPicture) Is added in v1.2.10

func (p *TPicture) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPicture) IsValid

func (p *TPicture) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TPicture) LoadFromBytes

func (p *TPicture) LoadFromBytes(data []byte)

func (*TPicture) LoadFromFile

func (p *TPicture) LoadFromFile(Filename string)

LoadFromFile

从文件加载。

func (*TPicture) LoadFromStream

func (p *TPicture) LoadFromStream(Stream IStream)

LoadFromStream

文件流加载。

func (*TPicture) SaveToFile

func (p *TPicture) SaveToFile(Filename string)

SaveToFile

保存至文件。

func (*TPicture) SaveToStream

func (p *TPicture) SaveToStream(Stream IStream)

SaveToStream

保存至流。

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)

SetIcon

设置图标。

Set icon.

func (*TPicture) SetOnChange

func (p *TPicture) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TPicture) ToString

func (p *TPicture) ToString() string

ToString

文本类信息。

Text information.

func (*TPicture) UnsafeAddr added in v1.1.21

func (p *TPicture) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TPicture) Width

func (p *TPicture) Width() int32

Width

获取宽度。

Get width.

type TPngImage

type TPngImage struct {
	IBitmap
	// contains filtered or unexported fields
}

func AsPngImage added in v1.2.10

func AsPngImage(obj interface{}) *TPngImage

AsPngImage

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPngImage

func NewPngImage() *TPngImage

NewPngImage

创建一个新的对象。

Create a new object.

func (*TPngImage) Assign

func (p *TPngImage) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPngImage) Canvas

func (p *TPngImage) Canvas() *TCanvas

Canvas

获取画布。

func (*TPngImage) ClassName

func (p *TPngImage) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TPngImage) ClassType added in v1.1.18

func (p *TPngImage) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TPngImage) Empty

func (p *TPngImage) Empty() bool

func (*TPngImage) Equals

func (p *TPngImage) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TPngImage) Free

func (p *TPngImage) Free()

Free

释放对象。

Free object.

func (*TPngImage) GetHashCode

func (p *TPngImage) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TPngImage) GetNamePath

func (p *TPngImage) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TPngImage) Height

func (p *TPngImage) Height() int32

Height

获取高度。

Get height.

func (*TPngImage) InheritsFrom added in v1.1.18

func (p *TPngImage) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPngImage) Instance

func (p *TPngImage) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TPngImage) InstanceSize added in v1.1.18

func (p *TPngImage) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TPngImage) Is added in v1.2.10

func (p *TPngImage) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPngImage) IsValid

func (p *TPngImage) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TPngImage) LoadFromBytes

func (p *TPngImage) LoadFromBytes(data []byte)

func (*TPngImage) LoadFromFile

func (p *TPngImage) LoadFromFile(Filename string)

LoadFromFile

从文件加载。

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)

LoadFromStream

文件流加载。

func (*TPngImage) Modified

func (p *TPngImage) Modified() bool

Modified

获取修改。

Get modified.

func (*TPngImage) Palette added in v1.1.23

func (p *TPngImage) Palette() HPALETTE

func (*TPngImage) PaletteModified

func (p *TPngImage) PaletteModified() bool

func (*TPngImage) SaveToFile

func (p *TPngImage) SaveToFile(Filename string)

SaveToFile

保存至文件。

func (*TPngImage) SaveToStream

func (p *TPngImage) SaveToStream(Stream IStream)

SaveToStream

保存至流。

func (*TPngImage) SetModified

func (p *TPngImage) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TPngImage) SetOnChange

func (p *TPngImage) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TPngImage) SetPalette added in v1.1.23

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)

SetTransparent

设置透明。

Set transparent.

func (*TPngImage) ToString

func (p *TPngImage) ToString() string

ToString

文本类信息。

Text information.

func (*TPngImage) Transparent

func (p *TPngImage) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TPngImage) UnsafeAddr added in v1.1.21

func (p *TPngImage) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TPngImage) Width

func (p *TPngImage) Width() int32

Width

获取宽度。

Get width.

type TPopupMenu

type TPopupMenu struct {
	IComponent
	// contains filtered or unexported fields
}

func AsPopupMenu added in v1.2.10

func AsPopupMenu(obj interface{}) *TPopupMenu

AsPopupMenu

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPopupMenu

func NewPopupMenu(owner IComponent) *TPopupMenu

NewPopupMenu

创建一个新的对象。

Create a new object.

func (*TPopupMenu) Alignment

func (p *TPopupMenu) Alignment() TPopupAlignment

Alignment

获取文字对齐。

Get Text alignment.

func (*TPopupMenu) Assign

func (p *TPopupMenu) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TPopupMenu) ClassType added in v1.1.18

func (p *TPopupMenu) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TPopupMenu) CloseMenu

func (p *TPopupMenu) CloseMenu()

func (*TPopupMenu) ComponentCount

func (p *TPopupMenu) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TPopupMenu) ComponentIndex

func (p *TPopupMenu) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TPopupMenu) Components

func (p *TPopupMenu) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TPopupMenu) Equals

func (p *TPopupMenu) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TPopupMenu) FindComponent

func (p *TPopupMenu) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPopupMenu) Free

func (p *TPopupMenu) Free()

Free

释放对象。

Free object.

func (*TPopupMenu) GetHashCode

func (p *TPopupMenu) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TPopupMenu) GetNamePath

func (p *TPopupMenu) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TPopupMenu) Handle

func (p *TPopupMenu) Handle() HMENU

Handle

获取控件句柄。

Get Control handle.

func (*TPopupMenu) HasParent

func (p *TPopupMenu) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TPopupMenu) Images

func (p *TPopupMenu) Images() *TImageList

Images

获取图标索引列表对象。

func (*TPopupMenu) ImagesWidth

func (p *TPopupMenu) ImagesWidth() int32

func (*TPopupMenu) InheritsFrom added in v1.1.18

func (p *TPopupMenu) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPopupMenu) Instance

func (p *TPopupMenu) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TPopupMenu) InstanceSize added in v1.1.18

func (p *TPopupMenu) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TPopupMenu) Is added in v1.2.10

func (p *TPopupMenu) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPopupMenu) IsValid

func (p *TPopupMenu) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TPopupMenu) Items

func (p *TPopupMenu) Items() *TMenuItem

func (*TPopupMenu) Name

func (p *TPopupMenu) Name() string

Name

获取组件名称。

Get the component name.

func (*TPopupMenu) Owner

func (p *TPopupMenu) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TPopupMenu) OwnerDraw added in v1.1.23

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)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TPopupMenu) SetBiDiMode

func (p *TPopupMenu) SetBiDiMode(value TBiDiMode)

func (*TPopupMenu) SetComponentIndex

func (p *TPopupMenu) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TPopupMenu) SetImages

func (p *TPopupMenu) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

func (*TPopupMenu) SetImagesWidth

func (p *TPopupMenu) SetImagesWidth(value int32)

func (*TPopupMenu) SetName

func (p *TPopupMenu) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TPopupMenu) SetOnDrawItem

func (p *TPopupMenu) SetOnDrawItem(fn TMenuDrawItemEvent)

func (*TPopupMenu) SetOnMeasureItem

func (p *TPopupMenu) SetOnMeasureItem(fn TMenuMeasureItemEvent)

func (*TPopupMenu) SetOnPopup

func (p *TPopupMenu) SetOnPopup(fn TNotifyEvent)

func (*TPopupMenu) SetOwnerDraw added in v1.1.23

func (p *TPopupMenu) SetOwnerDraw(value bool)

func (*TPopupMenu) SetPopupComponent

func (p *TPopupMenu) SetPopupComponent(value IComponent)

func (*TPopupMenu) SetTag

func (p *TPopupMenu) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TPopupMenu) Tag

func (p *TPopupMenu) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TPopupMenu) ToString

func (p *TPopupMenu) ToString() string

ToString

文本类信息。

Text information.

func (*TPopupMenu) UnsafeAddr added in v1.1.21

func (p *TPopupMenu) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TPrintDialog

type TPrintDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsPrintDialog added in v1.2.10

func AsPrintDialog(obj interface{}) *TPrintDialog

AsPrintDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPrintDialog

func NewPrintDialog(owner IComponent) *TPrintDialog

NewPrintDialog

创建一个新的对象。

Create a new object.

func (*TPrintDialog) Assign

func (p *TPrintDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPrintDialog) ClassName

func (p *TPrintDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TPrintDialog) ClassType added in v1.1.18

func (p *TPrintDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TPrintDialog) Collate

func (p *TPrintDialog) Collate() bool

func (*TPrintDialog) ComponentCount

func (p *TPrintDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TPrintDialog) ComponentIndex

func (p *TPrintDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TPrintDialog) Components

func (p *TPrintDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TPrintDialog) Copies

func (p *TPrintDialog) Copies() int32

func (*TPrintDialog) Equals

func (p *TPrintDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TPrintDialog) Execute

func (p *TPrintDialog) Execute() bool

Execute

执行。

func (*TPrintDialog) FindComponent

func (p *TPrintDialog) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPrintDialog) Free

func (p *TPrintDialog) Free()

Free

释放对象。

Free object.

func (*TPrintDialog) FromPage

func (p *TPrintDialog) FromPage() int32

func (*TPrintDialog) GetHashCode

func (p *TPrintDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TPrintDialog) GetNamePath

func (p *TPrintDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TPrintDialog) Handle

func (p *TPrintDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TPrintDialog) HasParent

func (p *TPrintDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TPrintDialog) InheritsFrom added in v1.1.18

func (p *TPrintDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPrintDialog) Instance

func (p *TPrintDialog) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TPrintDialog) InstanceSize added in v1.1.18

func (p *TPrintDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TPrintDialog) Is added in v1.2.10

func (p *TPrintDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPrintDialog) IsValid

func (p *TPrintDialog) IsValid() bool

IsValid

检测地址是否为空。

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

Name

获取组件名称。

Get the component name.

func (*TPrintDialog) Options

func (p *TPrintDialog) Options() TPrintDialogOptions

func (*TPrintDialog) Owner

func (p *TPrintDialog) Owner() *TComponent

Owner

获取组件所有者。

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)

SetComponentIndex

设置组件索引。

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)

SetName

设置组件名称。

Set the component name.

func (*TPrintDialog) SetOnClose

func (p *TPrintDialog) SetOnClose(fn TNotifyEvent)

func (*TPrintDialog) SetOnShow

func (p *TPrintDialog) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

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)

SetTag

设置对象标记。

Set the control tag.

func (*TPrintDialog) SetToPage

func (p *TPrintDialog) SetToPage(value int32)

func (*TPrintDialog) Tag

func (p *TPrintDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TPrintDialog) ToPage

func (p *TPrintDialog) ToPage() int32

func (*TPrintDialog) ToString

func (p *TPrintDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TPrintDialog) UnsafeAddr added in v1.1.21

func (p *TPrintDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TPrinter added in v1.1.23

type TPrinter struct {
	IObject
	// contains filtered or unexported fields
}

func AsPrinter added in v1.2.10

func AsPrinter(obj interface{}) *TPrinter

AsPrinter

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPrinter added in v1.1.23

func NewPrinter() *TPrinter

NewPrinter

创建一个新的对象。

Create a new object.

func (*TPrinter) Abort added in v1.1.23

func (p *TPrinter) Abort()

func (*TPrinter) Aborted added in v1.1.23

func (p *TPrinter) Aborted() bool

func (*TPrinter) BeginDoc added in v1.1.23

func (p *TPrinter) BeginDoc()

func (*TPrinter) Canvas added in v1.1.23

func (p *TPrinter) Canvas() *TCanvas

Canvas

获取画布。

func (*TPrinter) ClassName added in v1.1.23

func (p *TPrinter) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TPrinter) ClassType added in v1.1.23

func (p *TPrinter) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TPrinter) Copies added in v1.1.23

func (p *TPrinter) Copies() int32

func (*TPrinter) EndDoc added in v1.1.23

func (p *TPrinter) EndDoc()

func (*TPrinter) Equals added in v1.1.23

func (p *TPrinter) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TPrinter) Fonts added in v1.1.23

func (p *TPrinter) Fonts() *TStrings

func (*TPrinter) Free added in v1.1.23

func (p *TPrinter) Free()

Free

释放对象。

Free object.

func (*TPrinter) GetHashCode added in v1.1.23

func (p *TPrinter) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TPrinter) InheritsFrom added in v1.1.23

func (p *TPrinter) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPrinter) Instance added in v1.1.23

func (p *TPrinter) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TPrinter) InstanceSize added in v1.1.23

func (p *TPrinter) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TPrinter) Is added in v1.2.10

func (p *TPrinter) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPrinter) IsValid added in v1.1.23

func (p *TPrinter) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TPrinter) NewPage added in v1.1.23

func (p *TPrinter) NewPage()

func (*TPrinter) Orientation added in v1.1.23

func (p *TPrinter) Orientation() TPrinterOrientation

func (*TPrinter) PageHeight added in v1.1.23

func (p *TPrinter) PageHeight() int32

func (*TPrinter) PageNumber added in v1.1.23

func (p *TPrinter) PageNumber() int32

func (*TPrinter) PageWidth added in v1.1.23

func (p *TPrinter) PageWidth() int32

func (*TPrinter) PrinterIndex added in v1.1.23

func (p *TPrinter) PrinterIndex() int32

func (*TPrinter) Printers added in v1.1.23

func (p *TPrinter) Printers() *TStrings

func (*TPrinter) Printing added in v1.1.23

func (p *TPrinter) Printing() bool

func (*TPrinter) Refresh added in v1.1.23

func (p *TPrinter) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TPrinter) SetCopies added in v1.1.23

func (p *TPrinter) SetCopies(value int32)

func (*TPrinter) SetOrientation added in v1.1.23

func (p *TPrinter) SetOrientation(value TPrinterOrientation)

func (*TPrinter) SetPrinter added in v1.1.23

func (p *TPrinter) SetPrinter(aName string)

func (*TPrinter) SetPrinterIndex added in v1.1.23

func (p *TPrinter) SetPrinterIndex(value int32)

func (*TPrinter) SetTitle added in v1.1.23

func (p *TPrinter) SetTitle(value string)

func (*TPrinter) Title added in v1.1.23

func (p *TPrinter) Title() string

func (*TPrinter) ToString added in v1.1.23

func (p *TPrinter) ToString() string

ToString

文本类信息。

Text information.

func (*TPrinter) UnsafeAddr added in v1.1.23

func (p *TPrinter) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TPrinterSetupDialog

type TPrinterSetupDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsPrinterSetupDialog added in v1.2.10

func AsPrinterSetupDialog(obj interface{}) *TPrinterSetupDialog

AsPrinterSetupDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewPrinterSetupDialog

func NewPrinterSetupDialog(owner IComponent) *TPrinterSetupDialog

NewPrinterSetupDialog

创建一个新的对象。

Create a new object.

func (*TPrinterSetupDialog) Assign

func (p *TPrinterSetupDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TPrinterSetupDialog) ClassName

func (p *TPrinterSetupDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TPrinterSetupDialog) ClassType added in v1.1.18

func (p *TPrinterSetupDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TPrinterSetupDialog) ComponentCount

func (p *TPrinterSetupDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TPrinterSetupDialog) ComponentIndex

func (p *TPrinterSetupDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TPrinterSetupDialog) Components

func (p *TPrinterSetupDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TPrinterSetupDialog) Equals

func (p *TPrinterSetupDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TPrinterSetupDialog) Execute

func (p *TPrinterSetupDialog) Execute() bool

Execute

执行。

func (*TPrinterSetupDialog) FindComponent

func (p *TPrinterSetupDialog) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TPrinterSetupDialog) Free

func (p *TPrinterSetupDialog) Free()

Free

释放对象。

Free object.

func (*TPrinterSetupDialog) GetHashCode

func (p *TPrinterSetupDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TPrinterSetupDialog) GetNamePath

func (p *TPrinterSetupDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TPrinterSetupDialog) Handle

func (p *TPrinterSetupDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TPrinterSetupDialog) HasParent

func (p *TPrinterSetupDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TPrinterSetupDialog) InheritsFrom added in v1.1.18

func (p *TPrinterSetupDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TPrinterSetupDialog) Instance

func (p *TPrinterSetupDialog) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TPrinterSetupDialog) InstanceSize added in v1.1.18

func (p *TPrinterSetupDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TPrinterSetupDialog) Is added in v1.2.10

func (p *TPrinterSetupDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TPrinterSetupDialog) IsValid

func (p *TPrinterSetupDialog) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TPrinterSetupDialog) Name

func (p *TPrinterSetupDialog) Name() string

Name

获取组件名称。

Get the component name.

func (*TPrinterSetupDialog) Owner

func (p *TPrinterSetupDialog) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TPrinterSetupDialog) SetComponentIndex

func (p *TPrinterSetupDialog) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TPrinterSetupDialog) SetName

func (p *TPrinterSetupDialog) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TPrinterSetupDialog) SetOnClose

func (p *TPrinterSetupDialog) SetOnClose(fn TNotifyEvent)

func (*TPrinterSetupDialog) SetOnShow

func (p *TPrinterSetupDialog) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

func (*TPrinterSetupDialog) SetTag

func (p *TPrinterSetupDialog) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TPrinterSetupDialog) Tag

func (p *TPrinterSetupDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TPrinterSetupDialog) ToString

func (p *TPrinterSetupDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TPrinterSetupDialog) UnsafeAddr added in v1.1.21

func (p *TPrinterSetupDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TProgressBar

type TProgressBar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsProgressBar added in v1.2.10

func AsProgressBar(obj interface{}) *TProgressBar

AsProgressBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewProgressBar

func NewProgressBar(owner IComponent) *TProgressBar

NewProgressBar

创建一个新的对象。

Create a new object.

func (*TProgressBar) Action

func (p *TProgressBar) Action() *TAction

func (*TProgressBar) Align

func (p *TProgressBar) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TProgressBar) AnchorSideBottom

func (p *TProgressBar) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TProgressBar) AnchorSideLeft

func (p *TProgressBar) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TProgressBar) AnchorSideRight

func (p *TProgressBar) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TProgressBar) AnchorSideTop

func (p *TProgressBar) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TProgressBar) AnchorToNeighbour

func (p *TProgressBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TProgressBar) AnchorVerticalCenterTo

func (p *TProgressBar) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TProgressBar) Anchors

func (p *TProgressBar) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TProgressBar) Assign

func (p *TProgressBar) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TProgressBar) BorderWidth

func (p *TProgressBar) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TProgressBar) BoundsRect

func (p *TProgressBar) BoundsRect() TRect

func (*TProgressBar) BringToFront

func (p *TProgressBar) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TProgressBar) Brush

func (p *TProgressBar) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TProgressBar) CanFocus

func (p *TProgressBar) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TProgressBar) ChildSizing

func (p *TProgressBar) ChildSizing() *TControlChildSizing

func (*TProgressBar) ClassName

func (p *TProgressBar) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TProgressBar) ClassType added in v1.1.18

func (p *TProgressBar) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TProgressBar) ClientHeight

func (p *TProgressBar) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TProgressBar) ClientOrigin added in v1.1.21

func (p *TProgressBar) ClientOrigin() TPoint

func (*TProgressBar) ClientRect

func (p *TProgressBar) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TProgressBar) ClientToParent

func (p *TProgressBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TProgressBar) ClientToScreen

func (p *TProgressBar) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TProgressBar) ClientWidth

func (p *TProgressBar) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TProgressBar) ComponentCount

func (p *TProgressBar) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TProgressBar) ComponentIndex

func (p *TProgressBar) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TProgressBar) Components

func (p *TProgressBar) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TProgressBar) Constraints added in v1.2.7

func (p *TProgressBar) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TProgressBar) ContainsControl added in v1.1.21

func (p *TProgressBar) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TProgressBar) ControlAtPos added in v1.1.21

func (p *TProgressBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TProgressBar) ControlCount

func (p *TProgressBar) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TProgressBar) ControlState added in v1.1.21

func (p *TProgressBar) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TProgressBar) ControlStyle added in v1.1.21

func (p *TProgressBar) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TProgressBar) Controls

func (p *TProgressBar) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TProgressBar) Cursor

func (p *TProgressBar) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TProgressBar) DisableAlign added in v1.1.21

func (p *TProgressBar) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TProgressBar) DockClientCount added in v1.1.21

func (p *TProgressBar) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TProgressBar) DockClients added in v1.1.21

func (p *TProgressBar) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TProgressBar) DockSite

func (p *TProgressBar) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TProgressBar) DoubleBuffered

func (p *TProgressBar) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TProgressBar) DragCursor

func (p *TProgressBar) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TProgressBar) DragKind

func (p *TProgressBar) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TProgressBar) DragMode

func (p *TProgressBar) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TProgressBar) Dragging

func (p *TProgressBar) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TProgressBar) EnableAlign added in v1.1.21

func (p *TProgressBar) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TProgressBar) Enabled

func (p *TProgressBar) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TProgressBar) Equals

func (p *TProgressBar) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TProgressBar) FindChildControl added in v1.1.21

func (p *TProgressBar) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TProgressBar) FindComponent

func (p *TProgressBar) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TProgressBar) Free

func (p *TProgressBar) Free()

Free

释放对象。

Free object.

func (*TProgressBar) GetHashCode

func (p *TProgressBar) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TProgressBar) GetNamePath

func (p *TProgressBar) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TProgressBar) GetTextBuf

func (p *TProgressBar) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TProgressBar) GetTextLen

func (p *TProgressBar) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TProgressBar) Handle

func (p *TProgressBar) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TProgressBar) HandleAllocated

func (p *TProgressBar) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TProgressBar) HasParent

func (p *TProgressBar) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TProgressBar) Height

func (p *TProgressBar) Height() int32

Height

获取高度。

Get height.

func (*TProgressBar) Hide

func (p *TProgressBar) Hide()

Hide

隐藏控件。

Hidden control.

func (*TProgressBar) Hint

func (p *TProgressBar) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TProgressBar) InheritsFrom added in v1.1.18

func (p *TProgressBar) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TProgressBar) InsertControl added in v1.1.21

func (p *TProgressBar) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TProgressBar) Instance

func (p *TProgressBar) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TProgressBar) InstanceSize added in v1.1.18

func (p *TProgressBar) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TProgressBar) Invalidate

func (p *TProgressBar) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TProgressBar) Is added in v1.2.10

func (p *TProgressBar) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TProgressBar) IsValid

func (p *TProgressBar) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TProgressBar) Left

func (p *TProgressBar) Left() int32

Left

获取左边位置。

Get Left position.

func (*TProgressBar) Max

func (p *TProgressBar) Max() int32

func (*TProgressBar) Min

func (p *TProgressBar) Min() int32

func (*TProgressBar) MouseInClient added in v1.1.21

func (p *TProgressBar) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TProgressBar) Name

func (p *TProgressBar) Name() string

Name

获取组件名称。

Get the component name.

func (*TProgressBar) Orientation

func (p *TProgressBar) Orientation() TProgressBarOrientation

func (*TProgressBar) Owner

func (p *TProgressBar) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TProgressBar) PaintTo added in v1.1.21

func (p *TProgressBar) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TProgressBar) Parent

func (p *TProgressBar) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TProgressBar) ParentDoubleBuffered

func (p *TProgressBar) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TProgressBar) ParentShowHint

func (p *TProgressBar) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TProgressBar) ParentToClient

func (p *TProgressBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TProgressBar) ParentWindow

func (p *TProgressBar) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TProgressBar) Perform

func (p *TProgressBar) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TProgressBar) PopupMenu

func (p *TProgressBar) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TProgressBar) Position

func (p *TProgressBar) Position() int32

func (*TProgressBar) Realign

func (p *TProgressBar) Realign()

Realign

重新对齐。

Realign.

func (*TProgressBar) Refresh

func (p *TProgressBar) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TProgressBar) RemoveControl added in v1.1.21

func (p *TProgressBar) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TProgressBar) Repaint

func (p *TProgressBar) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TProgressBar) ScrollBy added in v1.1.21

func (p *TProgressBar) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TProgressBar) SendToBack

func (p *TProgressBar) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TProgressBar) SetAnchorSideBottom

func (p *TProgressBar) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TProgressBar) SetAnchorSideLeft

func (p *TProgressBar) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TProgressBar) SetAnchorSideRight

func (p *TProgressBar) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TProgressBar) SetAnchorSideTop

func (p *TProgressBar) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TProgressBar) SetAnchors

func (p *TProgressBar) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TProgressBar) SetBiDiMode

func (p *TProgressBar) SetBiDiMode(value TBiDiMode)

func (*TProgressBar) SetBorderSpacing

func (p *TProgressBar) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TProgressBar) SetBorderWidth

func (p *TProgressBar) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TProgressBar) SetBounds

func (p *TProgressBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TProgressBar) SetClientWidth

func (p *TProgressBar) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TProgressBar) SetComponentIndex

func (p *TProgressBar) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TProgressBar) SetConstraints added in v1.2.7

func (p *TProgressBar) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TProgressBar) SetControlState added in v1.1.21

func (p *TProgressBar) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TProgressBar) SetControlStyle added in v1.1.21

func (p *TProgressBar) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TProgressBar) SetCursor

func (p *TProgressBar) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TProgressBar) SetDockSite

func (p *TProgressBar) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TProgressBar) SetDoubleBuffered

func (p *TProgressBar) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TProgressBar) SetDragCursor

func (p *TProgressBar) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TProgressBar) SetDragKind

func (p *TProgressBar) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TProgressBar) SetDragMode

func (p *TProgressBar) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TProgressBar) SetEnabled

func (p *TProgressBar) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TProgressBar) SetFocus

func (p *TProgressBar) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TProgressBar) SetHeight

func (p *TProgressBar) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TProgressBar) SetHint

func (p *TProgressBar) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TProgressBar) SetLeft

func (p *TProgressBar) SetLeft(value int32)

SetLeft

设置左边位置。

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)

SetName

设置组件名称。

Set the component name.

func (*TProgressBar) SetOnContextPopup

func (p *TProgressBar) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TProgressBar) SetOnDragDrop

func (p *TProgressBar) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TProgressBar) SetOnDragOver

func (p *TProgressBar) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TProgressBar) SetOnEndDrag

func (p *TProgressBar) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TProgressBar) SetOnEnter

func (p *TProgressBar) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TProgressBar) SetOnExit

func (p *TProgressBar) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TProgressBar) SetOnMouseDown

func (p *TProgressBar) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TProgressBar) SetOnMouseEnter

func (p *TProgressBar) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TProgressBar) SetOnMouseLeave

func (p *TProgressBar) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TProgressBar) SetOnMouseMove

func (p *TProgressBar) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TProgressBar) SetOnMouseUp

func (p *TProgressBar) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TProgressBar) SetOrientation

func (p *TProgressBar) SetOrientation(value TProgressBarOrientation)

func (*TProgressBar) SetParent

func (p *TProgressBar) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TProgressBar) SetParentDoubleBuffered

func (p *TProgressBar) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TProgressBar) SetParentShowHint

func (p *TProgressBar) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TProgressBar) SetParentWindow

func (p *TProgressBar) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TProgressBar) SetPopupMenu

func (p *TProgressBar) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TProgressBar) SetPosition

func (p *TProgressBar) SetPosition(value int32)

func (*TProgressBar) SetShowHint

func (p *TProgressBar) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

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)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TProgressBar) SetTabStop

func (p *TProgressBar) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TProgressBar) SetTag

func (p *TProgressBar) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TProgressBar) SetTextBuf added in v1.1.21

func (p *TProgressBar) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TProgressBar) SetTop

func (p *TProgressBar) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TProgressBar) SetUseDockManager

func (p *TProgressBar) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TProgressBar) SetVisible

func (p *TProgressBar) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TProgressBar) SetWidth

func (p *TProgressBar) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TProgressBar) Show

func (p *TProgressBar) Show()

Show

显示控件。

Show control.

func (*TProgressBar) ShowHint

func (p *TProgressBar) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TProgressBar) TabStop

func (p *TProgressBar) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TProgressBar) Tag

func (p *TProgressBar) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TProgressBar) ToString

func (p *TProgressBar) ToString() string

ToString

文本类信息。

Text information.

func (*TProgressBar) Top

func (p *TProgressBar) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TProgressBar) UnsafeAddr added in v1.1.21

func (p *TProgressBar) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TProgressBar) Update

func (p *TProgressBar) Update()

Update

控件更新。

Update.

func (*TProgressBar) UseDockManager

func (p *TProgressBar) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TProgressBar) Visible

func (p *TProgressBar) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TProgressBar) VisibleDockClientCount added in v1.1.21

func (p *TProgressBar) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TProgressBar) Width

func (p *TProgressBar) Width() int32

Width

获取宽度。

Get width.

type TRadioButton

type TRadioButton struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsRadioButton added in v1.2.10

func AsRadioButton(obj interface{}) *TRadioButton

AsRadioButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewRadioButton

func NewRadioButton(owner IComponent) *TRadioButton

NewRadioButton

创建一个新的对象。

Create a new object.

func (*TRadioButton) Action

func (r *TRadioButton) Action() *TAction

func (*TRadioButton) Align

func (r *TRadioButton) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TRadioButton) Alignment

func (r *TRadioButton) Alignment() TLeftRight

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TRadioButton) AnchorSideBottom

func (r *TRadioButton) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TRadioButton) AnchorSideLeft

func (r *TRadioButton) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TRadioButton) AnchorSideRight

func (r *TRadioButton) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TRadioButton) AnchorSideTop

func (r *TRadioButton) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TRadioButton) AnchorToNeighbour

func (r *TRadioButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRadioButton) AnchorVerticalCenterTo

func (r *TRadioButton) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TRadioButton) Anchors

func (r *TRadioButton) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TRadioButton) Assign

func (r *TRadioButton) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TRadioButton) BoundsRect

func (r *TRadioButton) BoundsRect() TRect

func (*TRadioButton) BringToFront

func (r *TRadioButton) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TRadioButton) Brush

func (r *TRadioButton) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TRadioButton) CanFocus

func (r *TRadioButton) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TRadioButton) Caption

func (r *TRadioButton) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TRadioButton) Checked

func (r *TRadioButton) Checked() bool

Checked

获取是否选中。

func (*TRadioButton) ChildSizing

func (r *TRadioButton) ChildSizing() *TControlChildSizing

func (*TRadioButton) ClassName

func (r *TRadioButton) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TRadioButton) ClassType added in v1.1.18

func (r *TRadioButton) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TRadioButton) ClientHeight

func (r *TRadioButton) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TRadioButton) ClientOrigin added in v1.1.21

func (r *TRadioButton) ClientOrigin() TPoint

func (*TRadioButton) ClientRect

func (r *TRadioButton) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TRadioButton) ClientToParent

func (r *TRadioButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TRadioButton) ClientToScreen

func (r *TRadioButton) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TRadioButton) ClientWidth

func (r *TRadioButton) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TRadioButton) Color

func (r *TRadioButton) Color() TColor

Color

获取颜色。

Get color.

func (*TRadioButton) ComponentCount

func (r *TRadioButton) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TRadioButton) ComponentIndex

func (r *TRadioButton) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TRadioButton) Components

func (r *TRadioButton) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TRadioButton) Constraints added in v1.2.7

func (r *TRadioButton) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TRadioButton) ContainsControl added in v1.1.21

func (r *TRadioButton) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TRadioButton) ControlAtPos added in v1.1.21

func (r *TRadioButton) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TRadioButton) ControlCount

func (r *TRadioButton) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TRadioButton) ControlState added in v1.1.21

func (r *TRadioButton) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TRadioButton) ControlStyle added in v1.1.21

func (r *TRadioButton) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TRadioButton) Controls

func (r *TRadioButton) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TRadioButton) Cursor

func (r *TRadioButton) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TRadioButton) DisableAlign added in v1.1.21

func (r *TRadioButton) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TRadioButton) DockClientCount added in v1.1.21

func (r *TRadioButton) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TRadioButton) DockClients added in v1.1.21

func (r *TRadioButton) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TRadioButton) DockSite

func (r *TRadioButton) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TRadioButton) DoubleBuffered

func (r *TRadioButton) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TRadioButton) DragCursor

func (r *TRadioButton) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TRadioButton) DragKind

func (r *TRadioButton) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TRadioButton) DragMode

func (r *TRadioButton) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TRadioButton) Dragging

func (r *TRadioButton) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TRadioButton) EnableAlign added in v1.1.21

func (r *TRadioButton) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TRadioButton) Enabled

func (r *TRadioButton) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TRadioButton) Equals

func (r *TRadioButton) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TRadioButton) FindChildControl added in v1.1.21

func (r *TRadioButton) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TRadioButton) FindComponent

func (r *TRadioButton) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TRadioButton) Font

func (r *TRadioButton) Font() *TFont

Font

获取字体。

Get Font.

func (*TRadioButton) Free

func (r *TRadioButton) Free()

Free

释放对象。

Free object.

func (*TRadioButton) GetHashCode

func (r *TRadioButton) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TRadioButton) GetNamePath

func (r *TRadioButton) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TRadioButton) GetTextBuf

func (r *TRadioButton) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TRadioButton) GetTextLen

func (r *TRadioButton) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TRadioButton) Handle

func (r *TRadioButton) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TRadioButton) HandleAllocated

func (r *TRadioButton) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TRadioButton) HasParent

func (r *TRadioButton) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TRadioButton) Height

func (r *TRadioButton) Height() int32

Height

获取高度。

Get height.

func (*TRadioButton) Hide

func (r *TRadioButton) Hide()

Hide

隐藏控件。

Hidden control.

func (*TRadioButton) Hint

func (r *TRadioButton) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TRadioButton) InheritsFrom added in v1.1.18

func (r *TRadioButton) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TRadioButton) InsertControl added in v1.1.21

func (r *TRadioButton) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TRadioButton) Instance

func (r *TRadioButton) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TRadioButton) InstanceSize added in v1.1.18

func (r *TRadioButton) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TRadioButton) Invalidate

func (r *TRadioButton) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TRadioButton) Is added in v1.2.10

func (r *TRadioButton) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TRadioButton) IsValid

func (r *TRadioButton) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TRadioButton) Left

func (r *TRadioButton) Left() int32

Left

获取左边位置。

Get Left position.

func (*TRadioButton) MouseInClient added in v1.1.21

func (r *TRadioButton) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TRadioButton) Name

func (r *TRadioButton) Name() string

Name

获取组件名称。

Get the component name.

func (*TRadioButton) Owner

func (r *TRadioButton) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TRadioButton) PaintTo added in v1.1.21

func (r *TRadioButton) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TRadioButton) Parent

func (r *TRadioButton) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TRadioButton) ParentColor

func (r *TRadioButton) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TRadioButton) ParentDoubleBuffered

func (r *TRadioButton) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TRadioButton) ParentFont

func (r *TRadioButton) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TRadioButton) ParentShowHint

func (r *TRadioButton) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TRadioButton) ParentToClient

func (r *TRadioButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TRadioButton) ParentWindow

func (r *TRadioButton) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TRadioButton) Perform

func (r *TRadioButton) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TRadioButton) PopupMenu

func (r *TRadioButton) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TRadioButton) Realign

func (r *TRadioButton) Realign()

Realign

重新对齐。

Realign.

func (*TRadioButton) Refresh

func (r *TRadioButton) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TRadioButton) RemoveControl added in v1.1.21

func (r *TRadioButton) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TRadioButton) Repaint

func (r *TRadioButton) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TRadioButton) ScrollBy added in v1.1.21

func (r *TRadioButton) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TRadioButton) SendToBack

func (r *TRadioButton) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TRadioButton) SetAlignment

func (r *TRadioButton) SetAlignment(value TLeftRight)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TRadioButton) SetAnchorSideBottom

func (r *TRadioButton) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TRadioButton) SetAnchorSideLeft

func (r *TRadioButton) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TRadioButton) SetAnchorSideRight

func (r *TRadioButton) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TRadioButton) SetAnchorSideTop

func (r *TRadioButton) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TRadioButton) SetAnchors

func (r *TRadioButton) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TRadioButton) SetBiDiMode

func (r *TRadioButton) SetBiDiMode(value TBiDiMode)

func (*TRadioButton) SetBorderSpacing

func (r *TRadioButton) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TRadioButton) SetBounds

func (r *TRadioButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TRadioButton) SetBoundsRect

func (r *TRadioButton) SetBoundsRect(value TRect)

func (*TRadioButton) SetCaption

func (r *TRadioButton) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TRadioButton) SetChecked

func (r *TRadioButton) SetChecked(value bool)

SetChecked

设置是否选中。

func (*TRadioButton) SetChildSizing

func (r *TRadioButton) SetChildSizing(value *TControlChildSizing)

func (*TRadioButton) SetClientHeight

func (r *TRadioButton) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TRadioButton) SetClientWidth

func (r *TRadioButton) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TRadioButton) SetColor

func (r *TRadioButton) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TRadioButton) SetComponentIndex

func (r *TRadioButton) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TRadioButton) SetConstraints added in v1.2.7

func (r *TRadioButton) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TRadioButton) SetControlState added in v1.1.21

func (r *TRadioButton) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TRadioButton) SetControlStyle added in v1.1.21

func (r *TRadioButton) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TRadioButton) SetCursor

func (r *TRadioButton) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TRadioButton) SetDockSite

func (r *TRadioButton) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TRadioButton) SetDoubleBuffered

func (r *TRadioButton) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TRadioButton) SetDragCursor

func (r *TRadioButton) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TRadioButton) SetDragKind

func (r *TRadioButton) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TRadioButton) SetDragMode

func (r *TRadioButton) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TRadioButton) SetEnabled

func (r *TRadioButton) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TRadioButton) SetFocus

func (r *TRadioButton) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TRadioButton) SetFont

func (r *TRadioButton) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TRadioButton) SetHeight

func (r *TRadioButton) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TRadioButton) SetHint

func (r *TRadioButton) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TRadioButton) SetLeft

func (r *TRadioButton) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TRadioButton) SetName

func (r *TRadioButton) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TRadioButton) SetOnChange

func (r *TRadioButton) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TRadioButton) SetOnClick

func (r *TRadioButton) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TRadioButton) SetOnContextPopup

func (r *TRadioButton) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TRadioButton) SetOnDragDrop

func (r *TRadioButton) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TRadioButton) SetOnDragOver

func (r *TRadioButton) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TRadioButton) SetOnEndDrag

func (r *TRadioButton) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TRadioButton) SetOnEnter

func (r *TRadioButton) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TRadioButton) SetOnExit

func (r *TRadioButton) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TRadioButton) SetOnKeyDown

func (r *TRadioButton) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TRadioButton) SetOnKeyPress

func (r *TRadioButton) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TRadioButton) SetOnKeyUp

func (r *TRadioButton) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TRadioButton) SetOnMouseDown

func (r *TRadioButton) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TRadioButton) SetOnMouseEnter

func (r *TRadioButton) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TRadioButton) SetOnMouseLeave

func (r *TRadioButton) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TRadioButton) SetOnMouseMove

func (r *TRadioButton) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TRadioButton) SetOnMouseUp

func (r *TRadioButton) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TRadioButton) SetParent

func (r *TRadioButton) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TRadioButton) SetParentColor

func (r *TRadioButton) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TRadioButton) SetParentDoubleBuffered

func (r *TRadioButton) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TRadioButton) SetParentFont

func (r *TRadioButton) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TRadioButton) SetParentShowHint

func (r *TRadioButton) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TRadioButton) SetParentWindow

func (r *TRadioButton) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TRadioButton) SetPopupMenu

func (r *TRadioButton) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TRadioButton) SetShowHint

func (r *TRadioButton) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TRadioButton) SetTabOrder

func (r *TRadioButton) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TRadioButton) SetTabStop

func (r *TRadioButton) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TRadioButton) SetTag

func (r *TRadioButton) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TRadioButton) SetTextBuf added in v1.1.21

func (r *TRadioButton) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TRadioButton) SetTop

func (r *TRadioButton) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TRadioButton) SetUseDockManager

func (r *TRadioButton) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TRadioButton) SetVisible

func (r *TRadioButton) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TRadioButton) SetWidth

func (r *TRadioButton) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TRadioButton) Show

func (r *TRadioButton) Show()

Show

显示控件。

Show control.

func (*TRadioButton) ShowHint

func (r *TRadioButton) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TRadioButton) Showing

func (r *TRadioButton) Showing() bool

func (*TRadioButton) TabOrder

func (r *TRadioButton) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TRadioButton) TabStop

func (r *TRadioButton) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TRadioButton) Tag

func (r *TRadioButton) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TRadioButton) ToString

func (r *TRadioButton) ToString() string

ToString

文本类信息。

Text information.

func (*TRadioButton) Top

func (r *TRadioButton) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TRadioButton) UnsafeAddr added in v1.1.21

func (r *TRadioButton) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TRadioButton) Update

func (r *TRadioButton) Update()

Update

控件更新。

Update.

func (*TRadioButton) UseDockManager

func (r *TRadioButton) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TRadioButton) Visible

func (r *TRadioButton) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TRadioButton) VisibleDockClientCount added in v1.1.21

func (r *TRadioButton) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TRadioButton) Width

func (r *TRadioButton) Width() int32

Width

获取宽度。

Get width.

type TRadioGroup

type TRadioGroup struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsRadioGroup added in v1.2.10

func AsRadioGroup(obj interface{}) *TRadioGroup

AsRadioGroup

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewRadioGroup

func NewRadioGroup(owner IComponent) *TRadioGroup

NewRadioGroup

创建一个新的对象。

Create a new object.

func (*TRadioGroup) Action

func (r *TRadioGroup) Action() *TAction

func (*TRadioGroup) Align

func (r *TRadioGroup) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TRadioGroup) AnchorSideBottom

func (r *TRadioGroup) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TRadioGroup) AnchorSideLeft

func (r *TRadioGroup) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TRadioGroup) AnchorSideRight

func (r *TRadioGroup) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TRadioGroup) AnchorSideTop

func (r *TRadioGroup) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TRadioGroup) AnchorToNeighbour

func (r *TRadioGroup) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRadioGroup) AnchorVerticalCenterTo

func (r *TRadioGroup) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TRadioGroup) Anchors

func (r *TRadioGroup) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TRadioGroup) Assign

func (r *TRadioGroup) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TRadioGroup) BoundsRect

func (r *TRadioGroup) BoundsRect() TRect

func (*TRadioGroup) BringToFront

func (r *TRadioGroup) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TRadioGroup) Brush

func (r *TRadioGroup) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TRadioGroup) CanFocus

func (r *TRadioGroup) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TRadioGroup) Caption

func (r *TRadioGroup) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TRadioGroup) ChildSizing

func (r *TRadioGroup) ChildSizing() *TControlChildSizing

func (*TRadioGroup) ClassName

func (r *TRadioGroup) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TRadioGroup) ClassType added in v1.1.18

func (r *TRadioGroup) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TRadioGroup) ClientHeight

func (r *TRadioGroup) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TRadioGroup) ClientOrigin added in v1.1.21

func (r *TRadioGroup) ClientOrigin() TPoint

func (*TRadioGroup) ClientRect

func (r *TRadioGroup) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TRadioGroup) ClientToParent

func (r *TRadioGroup) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TRadioGroup) ClientToScreen

func (r *TRadioGroup) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TRadioGroup) ClientWidth

func (r *TRadioGroup) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TRadioGroup) Color

func (r *TRadioGroup) Color() TColor

Color

获取颜色。

Get color.

func (*TRadioGroup) Columns

func (r *TRadioGroup) Columns() int32

func (*TRadioGroup) ComponentCount

func (r *TRadioGroup) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TRadioGroup) ComponentIndex

func (r *TRadioGroup) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TRadioGroup) Components

func (r *TRadioGroup) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TRadioGroup) Constraints added in v1.2.7

func (r *TRadioGroup) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TRadioGroup) ContainsControl added in v1.1.21

func (r *TRadioGroup) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TRadioGroup) ControlAtPos added in v1.1.21

func (r *TRadioGroup) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TRadioGroup) ControlCount

func (r *TRadioGroup) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TRadioGroup) ControlState added in v1.1.21

func (r *TRadioGroup) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TRadioGroup) ControlStyle added in v1.1.21

func (r *TRadioGroup) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TRadioGroup) Controls

func (r *TRadioGroup) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TRadioGroup) Cursor

func (r *TRadioGroup) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TRadioGroup) DisableAlign added in v1.1.21

func (r *TRadioGroup) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TRadioGroup) DockClientCount added in v1.1.21

func (r *TRadioGroup) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TRadioGroup) DockClients added in v1.1.21

func (r *TRadioGroup) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TRadioGroup) DockSite

func (r *TRadioGroup) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TRadioGroup) DoubleBuffered

func (r *TRadioGroup) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TRadioGroup) DragCursor

func (r *TRadioGroup) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TRadioGroup) DragMode

func (r *TRadioGroup) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TRadioGroup) Dragging

func (r *TRadioGroup) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TRadioGroup) EnableAlign added in v1.1.21

func (r *TRadioGroup) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TRadioGroup) Enabled

func (r *TRadioGroup) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TRadioGroup) Equals

func (r *TRadioGroup) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TRadioGroup) FindChildControl added in v1.1.21

func (r *TRadioGroup) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TRadioGroup) FindComponent

func (r *TRadioGroup) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TRadioGroup) Font

func (r *TRadioGroup) Font() *TFont

Font

获取字体。

Get Font.

func (*TRadioGroup) Free

func (r *TRadioGroup) Free()

Free

释放对象。

Free object.

func (*TRadioGroup) GetHashCode

func (r *TRadioGroup) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TRadioGroup) GetNamePath

func (r *TRadioGroup) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TRadioGroup) GetTextBuf

func (r *TRadioGroup) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TRadioGroup) GetTextLen

func (r *TRadioGroup) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TRadioGroup) Handle

func (r *TRadioGroup) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TRadioGroup) HandleAllocated

func (r *TRadioGroup) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TRadioGroup) HasParent

func (r *TRadioGroup) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TRadioGroup) Height

func (r *TRadioGroup) Height() int32

Height

获取高度。

Get height.

func (*TRadioGroup) Hide

func (r *TRadioGroup) Hide()

Hide

隐藏控件。

Hidden control.

func (*TRadioGroup) Hint

func (r *TRadioGroup) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TRadioGroup) InheritsFrom added in v1.1.18

func (r *TRadioGroup) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TRadioGroup) InsertControl added in v1.1.21

func (r *TRadioGroup) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TRadioGroup) Instance

func (r *TRadioGroup) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TRadioGroup) InstanceSize added in v1.1.18

func (r *TRadioGroup) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TRadioGroup) Invalidate

func (r *TRadioGroup) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TRadioGroup) Is added in v1.2.10

func (r *TRadioGroup) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TRadioGroup) IsValid

func (r *TRadioGroup) IsValid() bool

IsValid

检测地址是否为空。

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

Left

获取左边位置。

Get Left position.

func (*TRadioGroup) MouseInClient added in v1.1.21

func (r *TRadioGroup) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TRadioGroup) Name

func (r *TRadioGroup) Name() string

Name

获取组件名称。

Get the component name.

func (*TRadioGroup) Owner

func (r *TRadioGroup) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TRadioGroup) PaintTo added in v1.1.21

func (r *TRadioGroup) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TRadioGroup) Parent

func (r *TRadioGroup) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TRadioGroup) ParentBackground

func (r *TRadioGroup) ParentBackground() bool

func (*TRadioGroup) ParentColor

func (r *TRadioGroup) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TRadioGroup) ParentDoubleBuffered

func (r *TRadioGroup) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TRadioGroup) ParentFont

func (r *TRadioGroup) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TRadioGroup) ParentShowHint

func (r *TRadioGroup) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TRadioGroup) ParentToClient

func (r *TRadioGroup) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TRadioGroup) ParentWindow

func (r *TRadioGroup) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TRadioGroup) Perform

func (r *TRadioGroup) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TRadioGroup) PopupMenu

func (r *TRadioGroup) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TRadioGroup) Realign

func (r *TRadioGroup) Realign()

Realign

重新对齐。

Realign.

func (*TRadioGroup) Refresh

func (r *TRadioGroup) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TRadioGroup) RemoveControl added in v1.1.21

func (r *TRadioGroup) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TRadioGroup) Repaint

func (r *TRadioGroup) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TRadioGroup) ScrollBy added in v1.1.21

func (r *TRadioGroup) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TRadioGroup) SendToBack

func (r *TRadioGroup) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TRadioGroup) SetAnchorSideBottom

func (r *TRadioGroup) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TRadioGroup) SetAnchorSideLeft

func (r *TRadioGroup) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TRadioGroup) SetAnchorSideRight

func (r *TRadioGroup) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TRadioGroup) SetAnchorSideTop

func (r *TRadioGroup) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TRadioGroup) SetAnchors

func (r *TRadioGroup) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TRadioGroup) SetBiDiMode

func (r *TRadioGroup) SetBiDiMode(value TBiDiMode)

func (*TRadioGroup) SetBorderSpacing

func (r *TRadioGroup) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TRadioGroup) SetBounds

func (r *TRadioGroup) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TRadioGroup) SetBoundsRect

func (r *TRadioGroup) SetBoundsRect(value TRect)

func (*TRadioGroup) SetCaption

func (r *TRadioGroup) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TRadioGroup) SetChildSizing

func (r *TRadioGroup) SetChildSizing(value *TControlChildSizing)

func (*TRadioGroup) SetClientHeight

func (r *TRadioGroup) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TRadioGroup) SetClientWidth

func (r *TRadioGroup) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TRadioGroup) SetColor

func (r *TRadioGroup) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TRadioGroup) SetColumns

func (r *TRadioGroup) SetColumns(value int32)

func (*TRadioGroup) SetComponentIndex

func (r *TRadioGroup) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TRadioGroup) SetConstraints added in v1.2.7

func (r *TRadioGroup) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TRadioGroup) SetControlState added in v1.1.21

func (r *TRadioGroup) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TRadioGroup) SetControlStyle added in v1.1.21

func (r *TRadioGroup) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TRadioGroup) SetCursor

func (r *TRadioGroup) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TRadioGroup) SetDockSite

func (r *TRadioGroup) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TRadioGroup) SetDoubleBuffered

func (r *TRadioGroup) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TRadioGroup) SetDragCursor

func (r *TRadioGroup) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TRadioGroup) SetDragMode

func (r *TRadioGroup) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TRadioGroup) SetEnabled

func (r *TRadioGroup) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TRadioGroup) SetFocus

func (r *TRadioGroup) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TRadioGroup) SetFont

func (r *TRadioGroup) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TRadioGroup) SetHeight

func (r *TRadioGroup) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TRadioGroup) SetHint

func (r *TRadioGroup) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetLeft

设置左边位置。

Set Left position.

func (*TRadioGroup) SetName

func (r *TRadioGroup) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TRadioGroup) SetOnClick

func (r *TRadioGroup) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TRadioGroup) SetOnDragDrop

func (r *TRadioGroup) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TRadioGroup) SetOnDragOver

func (r *TRadioGroup) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TRadioGroup) SetOnEndDrag

func (r *TRadioGroup) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TRadioGroup) SetOnEnter

func (r *TRadioGroup) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TRadioGroup) SetOnExit

func (r *TRadioGroup) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TRadioGroup) SetOnSelectionChanged

func (r *TRadioGroup) SetOnSelectionChanged(fn TNotifyEvent)

func (*TRadioGroup) SetParent

func (r *TRadioGroup) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TRadioGroup) SetParentBackground

func (r *TRadioGroup) SetParentBackground(value bool)

func (*TRadioGroup) SetParentColor

func (r *TRadioGroup) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TRadioGroup) SetParentDoubleBuffered

func (r *TRadioGroup) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TRadioGroup) SetParentFont

func (r *TRadioGroup) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TRadioGroup) SetParentShowHint

func (r *TRadioGroup) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TRadioGroup) SetParentWindow

func (r *TRadioGroup) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TRadioGroup) SetPopupMenu

func (r *TRadioGroup) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TRadioGroup) SetShowHint

func (r *TRadioGroup) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TRadioGroup) SetTabOrder

func (r *TRadioGroup) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TRadioGroup) SetTabStop

func (r *TRadioGroup) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TRadioGroup) SetTag

func (r *TRadioGroup) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TRadioGroup) SetTextBuf added in v1.1.21

func (r *TRadioGroup) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TRadioGroup) SetTop

func (r *TRadioGroup) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TRadioGroup) SetUseDockManager

func (r *TRadioGroup) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TRadioGroup) SetVisible

func (r *TRadioGroup) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TRadioGroup) SetWidth

func (r *TRadioGroup) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TRadioGroup) Show

func (r *TRadioGroup) Show()

Show

显示控件。

Show control.

func (*TRadioGroup) ShowHint

func (r *TRadioGroup) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TRadioGroup) Showing

func (r *TRadioGroup) Showing() bool

func (*TRadioGroup) TabOrder

func (r *TRadioGroup) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TRadioGroup) TabStop

func (r *TRadioGroup) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TRadioGroup) Tag

func (r *TRadioGroup) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TRadioGroup) ToString

func (r *TRadioGroup) ToString() string

ToString

文本类信息。

Text information.

func (*TRadioGroup) Top

func (r *TRadioGroup) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TRadioGroup) UnsafeAddr added in v1.1.21

func (r *TRadioGroup) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TRadioGroup) Update

func (r *TRadioGroup) Update()

Update

控件更新。

Update.

func (*TRadioGroup) UseDockManager

func (r *TRadioGroup) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TRadioGroup) Visible

func (r *TRadioGroup) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TRadioGroup) VisibleDockClientCount added in v1.1.21

func (r *TRadioGroup) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TRadioGroup) Width

func (r *TRadioGroup) Width() int32

Width

获取宽度。

Get width.

type TRegistry

type TRegistry struct {
	IObject
	// contains filtered or unexported fields
}

func AsRegistry added in v1.2.10

func AsRegistry(obj interface{}) *TRegistry

AsRegistry

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewRegistry

func NewRegistry(aAccess uint32) *TRegistry

NewRegistry

创建一个新的对象。

Create a new object.

func NewRegistryAllAccess

func NewRegistryAllAccess() *TRegistry

NewRegistryAllAccess 所有访问权限

func (*TRegistry) Access

func (r *TRegistry) Access() uint32

func (*TRegistry) ClassName

func (r *TRegistry) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TRegistry) ClassType added in v1.1.18

func (r *TRegistry) ClassType() TClass

ClassType

获取类的类型信息。

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TRegistry) Free

func (r *TRegistry) Free()

Free

释放对象。

Free object.

func (*TRegistry) GetHashCode

func (r *TRegistry) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TRegistry) HasSubKeys

func (r *TRegistry) HasSubKeys() bool

func (*TRegistry) InheritsFrom added in v1.1.18

func (r *TRegistry) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TRegistry) Instance

func (r *TRegistry) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TRegistry) InstanceSize added in v1.1.18

func (r *TRegistry) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TRegistry) Is added in v1.2.10

func (r *TRegistry) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TRegistry) IsValid

func (r *TRegistry) IsValid() bool

IsValid

检测地址是否为空。

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

ToString

文本类信息。

Text information.

func (*TRegistry) UnLoadKey

func (r *TRegistry) UnLoadKey(Key string) bool

func (*TRegistry) UnsafeAddr added in v1.1.21

func (r *TRegistry) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

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 added in v1.2.10

func AsReplaceDialog(obj interface{}) *TReplaceDialog

AsReplaceDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewReplaceDialog

func NewReplaceDialog(owner IComponent) *TReplaceDialog

NewReplaceDialog

创建一个新的对象。

Create a new object.

func (*TReplaceDialog) Assign

func (r *TReplaceDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TReplaceDialog) ClassName

func (r *TReplaceDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TReplaceDialog) ClassType added in v1.1.18

func (r *TReplaceDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TReplaceDialog) CloseDialog

func (r *TReplaceDialog) CloseDialog()

func (*TReplaceDialog) ComponentCount

func (r *TReplaceDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TReplaceDialog) ComponentIndex

func (r *TReplaceDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TReplaceDialog) Components

func (r *TReplaceDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TReplaceDialog) Equals

func (r *TReplaceDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TReplaceDialog) Execute

func (r *TReplaceDialog) Execute() bool

Execute

执行。

func (*TReplaceDialog) FindComponent

func (r *TReplaceDialog) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TReplaceDialog) FindText

func (r *TReplaceDialog) FindText() string

func (*TReplaceDialog) Free

func (r *TReplaceDialog) Free()

Free

释放对象。

Free object.

func (*TReplaceDialog) GetHashCode

func (r *TReplaceDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TReplaceDialog) GetNamePath

func (r *TReplaceDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TReplaceDialog) Handle

func (r *TReplaceDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TReplaceDialog) HasParent

func (r *TReplaceDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TReplaceDialog) InheritsFrom added in v1.1.18

func (r *TReplaceDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TReplaceDialog) Instance

func (r *TReplaceDialog) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TReplaceDialog) InstanceSize added in v1.1.18

func (r *TReplaceDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TReplaceDialog) Is added in v1.2.10

func (r *TReplaceDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TReplaceDialog) IsValid

func (r *TReplaceDialog) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TReplaceDialog) Left

func (r *TReplaceDialog) Left() int32

Left

获取左边位置。

Get Left position.

func (*TReplaceDialog) Name

func (r *TReplaceDialog) Name() string

Name

获取组件名称。

Get the component name.

func (*TReplaceDialog) Options

func (r *TReplaceDialog) Options() TFindOptions

func (*TReplaceDialog) Owner

func (r *TReplaceDialog) Owner() *TComponent

Owner

获取组件所有者。

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)

SetComponentIndex

设置组件索引。

Set component index.

func (*TReplaceDialog) SetFindText

func (r *TReplaceDialog) SetFindText(value string)

func (*TReplaceDialog) SetLeft

func (r *TReplaceDialog) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TReplaceDialog) SetName

func (r *TReplaceDialog) SetName(value string)

SetName

设置组件名称。

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)

SetOnShow

设置显示事件。

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)

SetTag

设置对象标记。

Set the control tag.

func (*TReplaceDialog) SetTop

func (r *TReplaceDialog) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TReplaceDialog) Tag

func (r *TReplaceDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TReplaceDialog) ToString

func (r *TReplaceDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TReplaceDialog) Top

func (r *TReplaceDialog) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TReplaceDialog) UnsafeAddr added in v1.1.21

func (r *TReplaceDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TRichEdit

type TRichEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsRichEdit added in v1.2.10

func AsRichEdit(obj interface{}) *TRichEdit

AsRichEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewRichEdit

func NewRichEdit(owner IComponent) *TRichEdit

NewRichEdit

创建一个新的对象。

Create a new object.

func (*TRichEdit) Action

func (r *TRichEdit) Action() *TAction

func (*TRichEdit) Align

func (r *TRichEdit) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TRichEdit) Alignment

func (r *TRichEdit) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TRichEdit) AnchorSideBottom

func (r *TRichEdit) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TRichEdit) AnchorSideLeft

func (r *TRichEdit) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TRichEdit) AnchorSideRight

func (r *TRichEdit) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TRichEdit) AnchorSideTop

func (r *TRichEdit) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TRichEdit) AnchorToNeighbour

func (r *TRichEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRichEdit) AnchorVerticalCenterTo

func (r *TRichEdit) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TRichEdit) Anchors

func (r *TRichEdit) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TRichEdit) Assign

func (r *TRichEdit) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TRichEdit) BorderStyle

func (r *TRichEdit) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TRichEdit) BorderWidth

func (r *TRichEdit) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TRichEdit) BoundsRect

func (r *TRichEdit) BoundsRect() TRect

func (*TRichEdit) BringToFront

func (r *TRichEdit) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TRichEdit) Brush

func (r *TRichEdit) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TRichEdit) CanFocus

func (r *TRichEdit) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TRichEdit) CanUndo

func (r *TRichEdit) CanUndo() bool

CanUndo

获取能否撤销。

func (*TRichEdit) CaretPos

func (r *TRichEdit) CaretPos() TPoint

func (*TRichEdit) ChildSizing

func (r *TRichEdit) ChildSizing() *TControlChildSizing

func (*TRichEdit) ClassName

func (r *TRichEdit) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TRichEdit) ClassType added in v1.1.18

func (r *TRichEdit) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TRichEdit) Clear

func (r *TRichEdit) Clear()

Clear

清除。

func (*TRichEdit) ClearSelection

func (r *TRichEdit) ClearSelection()

ClearSelection

清除选择。

func (*TRichEdit) ClientHeight

func (r *TRichEdit) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TRichEdit) ClientOrigin added in v1.1.21

func (r *TRichEdit) ClientOrigin() TPoint

func (*TRichEdit) ClientRect

func (r *TRichEdit) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TRichEdit) ClientToParent

func (r *TRichEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TRichEdit) ClientToScreen

func (r *TRichEdit) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TRichEdit) ClientWidth

func (r *TRichEdit) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TRichEdit) Color

func (r *TRichEdit) Color() TColor

Color

获取颜色。

Get color.

func (*TRichEdit) ComponentCount

func (r *TRichEdit) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TRichEdit) ComponentIndex

func (r *TRichEdit) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TRichEdit) Components

func (r *TRichEdit) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TRichEdit) Constraints added in v1.2.7

func (r *TRichEdit) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TRichEdit) ContainsControl added in v1.1.21

func (r *TRichEdit) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TRichEdit) ControlAtPos added in v1.1.21

func (r *TRichEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TRichEdit) ControlCount

func (r *TRichEdit) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TRichEdit) ControlState added in v1.1.21

func (r *TRichEdit) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TRichEdit) ControlStyle added in v1.1.21

func (r *TRichEdit) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TRichEdit) Controls

func (r *TRichEdit) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TRichEdit) CopyToClipboard

func (r *TRichEdit) CopyToClipboard()

CopyToClipboard

复制到粘贴板。

func (*TRichEdit) Cursor

func (r *TRichEdit) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TRichEdit) CutToClipboard

func (r *TRichEdit) CutToClipboard()

CutToClipboard

剪切到粘贴板。

func (*TRichEdit) DefAttributes

func (r *TRichEdit) DefAttributes() *TTextAttributes

func (*TRichEdit) DisableAlign added in v1.1.21

func (r *TRichEdit) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TRichEdit) DockClientCount added in v1.1.21

func (r *TRichEdit) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TRichEdit) DockClients added in v1.1.21

func (r *TRichEdit) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TRichEdit) DockSite

func (r *TRichEdit) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TRichEdit) DoubleBuffered

func (r *TRichEdit) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TRichEdit) DragCursor

func (r *TRichEdit) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TRichEdit) DragKind

func (r *TRichEdit) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TRichEdit) DragMode

func (r *TRichEdit) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TRichEdit) Dragging

func (r *TRichEdit) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TRichEdit) EnableAlign added in v1.1.21

func (r *TRichEdit) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TRichEdit) Enabled

func (r *TRichEdit) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TRichEdit) Equals

func (r *TRichEdit) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TRichEdit) FindChildControl added in v1.1.21

func (r *TRichEdit) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TRichEdit) FindComponent

func (r *TRichEdit) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TRichEdit) Font

func (r *TRichEdit) Font() *TFont

Font

获取字体。

Get Font.

func (*TRichEdit) Free

func (r *TRichEdit) Free()

Free

释放对象。

Free object.

func (*TRichEdit) GetHashCode

func (r *TRichEdit) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TRichEdit) GetNamePath

func (r *TRichEdit) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TRichEdit) GetTextBuf

func (r *TRichEdit) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TRichEdit) GetTextLen

func (r *TRichEdit) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TRichEdit) Handle

func (r *TRichEdit) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TRichEdit) HandleAllocated

func (r *TRichEdit) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TRichEdit) HasParent

func (r *TRichEdit) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TRichEdit) Height

func (r *TRichEdit) Height() int32

Height

获取高度。

Get height.

func (*TRichEdit) Hide

func (r *TRichEdit) Hide()

Hide

隐藏控件。

Hidden control.

func (*TRichEdit) HideSelection

func (r *TRichEdit) HideSelection() bool

HideSelection

获取隐藏选择。

func (*TRichEdit) Hint

func (r *TRichEdit) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TRichEdit) InheritsFrom added in v1.1.18

func (r *TRichEdit) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TRichEdit) InsertControl added in v1.1.21

func (r *TRichEdit) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TRichEdit) Instance

func (r *TRichEdit) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TRichEdit) InstanceSize added in v1.1.18

func (r *TRichEdit) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TRichEdit) Invalidate

func (r *TRichEdit) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TRichEdit) Is added in v1.2.10

func (r *TRichEdit) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TRichEdit) IsValid

func (r *TRichEdit) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TRichEdit) Left

func (r *TRichEdit) Left() int32

Left

获取左边位置。

Get Left position.

func (*TRichEdit) Lines

func (r *TRichEdit) Lines() *TStrings

func (*TRichEdit) MaxLength

func (r *TRichEdit) MaxLength() int32

MaxLength

获取最大长度。

func (*TRichEdit) Modified

func (r *TRichEdit) Modified() bool

Modified

获取修改。

Get modified.

func (*TRichEdit) MouseInClient added in v1.1.21

func (r *TRichEdit) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TRichEdit) Name

func (r *TRichEdit) Name() string

Name

获取组件名称。

Get the component name.

func (*TRichEdit) Owner

func (r *TRichEdit) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TRichEdit) PaintTo added in v1.1.21

func (r *TRichEdit) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TRichEdit) Paragraph

func (r *TRichEdit) Paragraph() *TParaAttributes

func (*TRichEdit) Parent

func (r *TRichEdit) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TRichEdit) ParentColor

func (r *TRichEdit) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TRichEdit) ParentDoubleBuffered

func (r *TRichEdit) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TRichEdit) ParentFont

func (r *TRichEdit) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TRichEdit) ParentShowHint

func (r *TRichEdit) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TRichEdit) ParentToClient

func (r *TRichEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TRichEdit) ParentWindow

func (r *TRichEdit) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TRichEdit) PasteFromClipboard

func (r *TRichEdit) PasteFromClipboard()

PasteFromClipboard

从剪切板粘贴。

func (*TRichEdit) Perform

func (r *TRichEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TRichEdit) PopupMenu

func (r *TRichEdit) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TRichEdit) ReadOnly

func (r *TRichEdit) ReadOnly() bool

ReadOnly

获取只读。

func (*TRichEdit) Realign

func (r *TRichEdit) Realign()

Realign

重新对齐。

Realign.

func (*TRichEdit) Refresh

func (r *TRichEdit) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TRichEdit) RemoveControl added in v1.1.21

func (r *TRichEdit) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TRichEdit) Repaint

func (r *TRichEdit) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TRichEdit) ScrollBars

func (r *TRichEdit) ScrollBars() TScrollStyle

func (*TRichEdit) ScrollBy added in v1.1.21

func (r *TRichEdit) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TRichEdit) SelAttributes

func (r *TRichEdit) SelAttributes() *TTextAttributes

func (*TRichEdit) SelLength

func (r *TRichEdit) SelLength() int32

SelLength

获取选择的长度。

func (*TRichEdit) SelStart

func (r *TRichEdit) SelStart() int32

SelStart

获取选择的启始位置。

func (*TRichEdit) SelText

func (r *TRichEdit) SelText() string

SelText

获取选择的文本。

func (*TRichEdit) SelectAll

func (r *TRichEdit) SelectAll()

SelectAll

全选。

func (*TRichEdit) SendToBack

func (r *TRichEdit) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TRichEdit) SetAlignment

func (r *TRichEdit) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TRichEdit) SetAnchorSideBottom

func (r *TRichEdit) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TRichEdit) SetAnchorSideLeft

func (r *TRichEdit) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TRichEdit) SetAnchorSideRight

func (r *TRichEdit) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TRichEdit) SetAnchorSideTop

func (r *TRichEdit) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TRichEdit) SetAnchors

func (r *TRichEdit) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TRichEdit) SetBiDiMode

func (r *TRichEdit) SetBiDiMode(value TBiDiMode)

func (*TRichEdit) SetBorderSpacing

func (r *TRichEdit) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TRichEdit) SetBorderStyle

func (r *TRichEdit) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TRichEdit) SetBorderWidth

func (r *TRichEdit) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TRichEdit) SetBounds

func (r *TRichEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TRichEdit) SetClientWidth

func (r *TRichEdit) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TRichEdit) SetColor

func (r *TRichEdit) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TRichEdit) SetComponentIndex

func (r *TRichEdit) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TRichEdit) SetConstraints added in v1.2.7

func (r *TRichEdit) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TRichEdit) SetControlState added in v1.1.21

func (r *TRichEdit) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TRichEdit) SetControlStyle added in v1.1.21

func (r *TRichEdit) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TRichEdit) SetCursor

func (r *TRichEdit) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TRichEdit) SetDefAttributes

func (r *TRichEdit) SetDefAttributes(value *TTextAttributes)

func (*TRichEdit) SetDockSite

func (r *TRichEdit) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TRichEdit) SetDoubleBuffered

func (r *TRichEdit) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TRichEdit) SetDragCursor

func (r *TRichEdit) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TRichEdit) SetDragKind

func (r *TRichEdit) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TRichEdit) SetDragMode

func (r *TRichEdit) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TRichEdit) SetEnabled

func (r *TRichEdit) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TRichEdit) SetFocus

func (r *TRichEdit) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TRichEdit) SetFont

func (r *TRichEdit) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TRichEdit) SetHeight

func (r *TRichEdit) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TRichEdit) SetHideSelection

func (r *TRichEdit) SetHideSelection(value bool)

SetHideSelection

设置隐藏选择。

func (*TRichEdit) SetHint

func (r *TRichEdit) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TRichEdit) SetLeft

func (r *TRichEdit) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TRichEdit) SetLines

func (r *TRichEdit) SetLines(value IStrings)

func (*TRichEdit) SetMaxLength

func (r *TRichEdit) SetMaxLength(value int32)

SetMaxLength

设置最大长度。

func (*TRichEdit) SetModified

func (r *TRichEdit) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TRichEdit) SetName

func (r *TRichEdit) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TRichEdit) SetOnChange

func (r *TRichEdit) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TRichEdit) SetOnClick

func (r *TRichEdit) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TRichEdit) SetOnContextPopup

func (r *TRichEdit) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TRichEdit) SetOnDblClick

func (r *TRichEdit) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TRichEdit) SetOnDragDrop

func (r *TRichEdit) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TRichEdit) SetOnDragOver

func (r *TRichEdit) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TRichEdit) SetOnEndDrag

func (r *TRichEdit) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TRichEdit) SetOnEnter

func (r *TRichEdit) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TRichEdit) SetOnExit

func (r *TRichEdit) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TRichEdit) SetOnKeyDown

func (r *TRichEdit) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TRichEdit) SetOnKeyPress

func (r *TRichEdit) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TRichEdit) SetOnKeyUp

func (r *TRichEdit) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TRichEdit) SetOnMouseDown

func (r *TRichEdit) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TRichEdit) SetOnMouseEnter

func (r *TRichEdit) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TRichEdit) SetOnMouseLeave

func (r *TRichEdit) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TRichEdit) SetOnMouseMove

func (r *TRichEdit) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TRichEdit) SetOnMouseUp

func (r *TRichEdit) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TRichEdit) SetOnMouseWheel

func (r *TRichEdit) SetOnMouseWheel(fn TMouseWheelEvent)

SetOnMouseWheel

设置鼠标滚轮事件。

func (*TRichEdit) SetOnMouseWheelDown

func (r *TRichEdit) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TRichEdit) SetOnMouseWheelUp

func (r *TRichEdit) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TRichEdit) SetParent

func (r *TRichEdit) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TRichEdit) SetParentColor

func (r *TRichEdit) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TRichEdit) SetParentDoubleBuffered

func (r *TRichEdit) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TRichEdit) SetParentFont

func (r *TRichEdit) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TRichEdit) SetParentShowHint

func (r *TRichEdit) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TRichEdit) SetParentWindow

func (r *TRichEdit) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TRichEdit) SetPopupMenu

func (r *TRichEdit) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TRichEdit) SetReadOnly

func (r *TRichEdit) SetReadOnly(value bool)

SetReadOnly

设置只读。

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)

SetSelLength

设置选择的长度。

func (*TRichEdit) SetSelStart

func (r *TRichEdit) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TRichEdit) SetSelText

func (r *TRichEdit) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TRichEdit) SetShowHint

func (r *TRichEdit) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TRichEdit) SetTabOrder

func (r *TRichEdit) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TRichEdit) SetTabStop

func (r *TRichEdit) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TRichEdit) SetTag

func (r *TRichEdit) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TRichEdit) SetText

func (r *TRichEdit) SetText(value string)

SetText

设置文本。

func (*TRichEdit) SetTextBuf added in v1.1.21

func (r *TRichEdit) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TRichEdit) SetTextHint

func (r *TRichEdit) SetTextHint(value string)

SetTextHint

设置提示文本。

func (*TRichEdit) SetTop

func (r *TRichEdit) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TRichEdit) SetUseDockManager

func (r *TRichEdit) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TRichEdit) SetVisible

func (r *TRichEdit) SetVisible(value bool)

SetVisible

设置控件可视。

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)

SetWidth

设置宽度。

Set width.

func (*TRichEdit) SetWordWrap

func (r *TRichEdit) SetWordWrap(value bool)

SetWordWrap

设置自动换行。

Set Automatic line break.

func (*TRichEdit) SetZoom

func (r *TRichEdit) SetZoom(value int32)

func (*TRichEdit) Show

func (r *TRichEdit) Show()

Show

显示控件。

Show control.

func (*TRichEdit) ShowHint

func (r *TRichEdit) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TRichEdit) Showing

func (r *TRichEdit) Showing() bool

func (*TRichEdit) TabOrder

func (r *TRichEdit) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TRichEdit) TabStop

func (r *TRichEdit) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TRichEdit) Tag

func (r *TRichEdit) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TRichEdit) Text

func (r *TRichEdit) Text() string

Text

获取文本。

func (*TRichEdit) TextHint

func (r *TRichEdit) TextHint() string

TextHint

获取提示文本。

func (*TRichEdit) ToString

func (r *TRichEdit) ToString() string

ToString

文本类信息。

Text information.

func (*TRichEdit) Top

func (r *TRichEdit) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TRichEdit) Undo

func (r *TRichEdit) Undo()

Undo

撤销上一次操作。

func (*TRichEdit) UnsafeAddr added in v1.1.21

func (r *TRichEdit) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TRichEdit) Update

func (r *TRichEdit) Update()

Update

控件更新。

Update.

func (*TRichEdit) UseDockManager

func (r *TRichEdit) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TRichEdit) Visible

func (r *TRichEdit) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TRichEdit) VisibleDockClientCount added in v1.1.21

func (r *TRichEdit) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

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

Width

获取宽度。

Get width.

func (*TRichEdit) WordWrap

func (r *TRichEdit) WordWrap() bool

WordWrap

获取自动换行。

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 added in v1.2.10

func AsSaveDialog(obj interface{}) *TSaveDialog

AsSaveDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSaveDialog

func NewSaveDialog(owner IComponent) *TSaveDialog

NewSaveDialog

创建一个新的对象。

Create a new object.

func (*TSaveDialog) Assign

func (s *TSaveDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TSaveDialog) ClassName

func (s *TSaveDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TSaveDialog) ClassType added in v1.1.18

func (s *TSaveDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TSaveDialog) ComponentCount

func (s *TSaveDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TSaveDialog) ComponentIndex

func (s *TSaveDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TSaveDialog) Components

func (s *TSaveDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TSaveDialog) DefaultExt

func (s *TSaveDialog) DefaultExt() string

func (*TSaveDialog) Equals

func (s *TSaveDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TSaveDialog) Execute

func (s *TSaveDialog) Execute() bool

Execute

执行。

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TSaveDialog) Free

func (s *TSaveDialog) Free()

Free

释放对象。

Free object.

func (*TSaveDialog) GetHashCode

func (s *TSaveDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TSaveDialog) GetNamePath

func (s *TSaveDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TSaveDialog) Handle

func (s *TSaveDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TSaveDialog) HasParent

func (s *TSaveDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TSaveDialog) InheritsFrom added in v1.1.18

func (s *TSaveDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TSaveDialog) InstanceSize added in v1.1.18

func (s *TSaveDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TSaveDialog) Is added in v1.2.10

func (s *TSaveDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSaveDialog) IsValid

func (s *TSaveDialog) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TSaveDialog) Name

func (s *TSaveDialog) Name() string

Name

获取组件名称。

Get the component name.

func (*TSaveDialog) Options

func (s *TSaveDialog) Options() TOpenOptions

func (*TSaveDialog) Owner

func (s *TSaveDialog) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TSaveDialog) SetComponentIndex

func (s *TSaveDialog) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

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)

SetName

设置组件名称。

Set the component name.

func (*TSaveDialog) SetOnClose

func (s *TSaveDialog) SetOnClose(fn TNotifyEvent)

func (*TSaveDialog) SetOnShow

func (s *TSaveDialog) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

func (*TSaveDialog) SetOptions

func (s *TSaveDialog) SetOptions(value TOpenOptions)

func (*TSaveDialog) SetTag

func (s *TSaveDialog) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TSaveDialog) SetTitle

func (s *TSaveDialog) SetTitle(value string)

func (*TSaveDialog) Tag

func (s *TSaveDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TSaveDialog) Title

func (s *TSaveDialog) Title() string

func (*TSaveDialog) ToString

func (s *TSaveDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TSaveDialog) UnsafeAddr added in v1.1.21

func (s *TSaveDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TSavePictureDialog

type TSavePictureDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsSavePictureDialog added in v1.2.10

func AsSavePictureDialog(obj interface{}) *TSavePictureDialog

AsSavePictureDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSavePictureDialog

func NewSavePictureDialog(owner IComponent) *TSavePictureDialog

NewSavePictureDialog

创建一个新的对象。

Create a new object.

func (*TSavePictureDialog) Assign

func (s *TSavePictureDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TSavePictureDialog) ClassName

func (s *TSavePictureDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TSavePictureDialog) ClassType added in v1.1.18

func (s *TSavePictureDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TSavePictureDialog) ComponentCount

func (s *TSavePictureDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TSavePictureDialog) ComponentIndex

func (s *TSavePictureDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TSavePictureDialog) Components

func (s *TSavePictureDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TSavePictureDialog) DefaultExt

func (s *TSavePictureDialog) DefaultExt() string

func (*TSavePictureDialog) Equals

func (s *TSavePictureDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TSavePictureDialog) Execute

func (s *TSavePictureDialog) Execute() bool

Execute

执行。

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TSavePictureDialog) Free

func (s *TSavePictureDialog) Free()

Free

释放对象。

Free object.

func (*TSavePictureDialog) GetHashCode

func (s *TSavePictureDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TSavePictureDialog) GetNamePath

func (s *TSavePictureDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TSavePictureDialog) Handle

func (s *TSavePictureDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TSavePictureDialog) HasParent

func (s *TSavePictureDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TSavePictureDialog) InheritsFrom added in v1.1.18

func (s *TSavePictureDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TSavePictureDialog) InstanceSize added in v1.1.18

func (s *TSavePictureDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TSavePictureDialog) Is added in v1.2.10

func (s *TSavePictureDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSavePictureDialog) IsValid

func (s *TSavePictureDialog) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TSavePictureDialog) Name

func (s *TSavePictureDialog) Name() string

Name

获取组件名称。

Get the component name.

func (*TSavePictureDialog) Options

func (s *TSavePictureDialog) Options() TOpenOptions

func (*TSavePictureDialog) Owner

func (s *TSavePictureDialog) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TSavePictureDialog) SetComponentIndex

func (s *TSavePictureDialog) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

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)

SetName

设置组件名称。

Set the component name.

func (*TSavePictureDialog) SetOnClose

func (s *TSavePictureDialog) SetOnClose(fn TNotifyEvent)

func (*TSavePictureDialog) SetOnShow

func (s *TSavePictureDialog) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

func (*TSavePictureDialog) SetOptions

func (s *TSavePictureDialog) SetOptions(value TOpenOptions)

func (*TSavePictureDialog) SetTag

func (s *TSavePictureDialog) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TSavePictureDialog) SetTitle

func (s *TSavePictureDialog) SetTitle(value string)

func (*TSavePictureDialog) Tag

func (s *TSavePictureDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TSavePictureDialog) Title

func (s *TSavePictureDialog) Title() string

func (*TSavePictureDialog) ToString

func (s *TSavePictureDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TSavePictureDialog) UnsafeAddr added in v1.1.21

func (s *TSavePictureDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TScreen

type TScreen struct {
	IComponent
	// contains filtered or unexported fields
}

func AsScreen added in v1.2.10

func AsScreen(obj interface{}) *TScreen

AsScreen

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewScreen

func NewScreen(owner IComponent) *TScreen

NewScreen

创建一个新的对象。

Create a new object.

func (*TScreen) ActiveControl

func (s *TScreen) ActiveControl() *TWinControl

ActiveControl

获取当前动控件。

func (*TScreen) ActiveForm

func (s *TScreen) ActiveForm() *TForm

func (*TScreen) Assign

func (s *TScreen) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TScreen) ClassType added in v1.1.18

func (s *TScreen) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TScreen) ComponentCount

func (s *TScreen) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TScreen) ComponentIndex

func (s *TScreen) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TScreen) Components

func (s *TScreen) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TScreen) Cursor

func (s *TScreen) Cursor() TCursor

Cursor

获取控件光标。

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TScreen) FindComponent

func (s *TScreen) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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()

Free

释放对象。

Free object.

func (*TScreen) GetHashCode

func (s *TScreen) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TScreen) GetNamePath

func (s *TScreen) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TScreen) HasParent

func (s *TScreen) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TScreen) Height

func (s *TScreen) Height() int32

Height

获取高度。

Get height.

func (*TScreen) InheritsFrom added in v1.1.18

func (s *TScreen) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TScreen) Instance

func (s *TScreen) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TScreen) InstanceSize added in v1.1.18

func (s *TScreen) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TScreen) Is added in v1.2.10

func (s *TScreen) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TScreen) IsValid

func (s *TScreen) IsValid() bool

IsValid

检测地址是否为空。

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

Name

获取组件名称。

Get the component name.

func (*TScreen) Owner

func (s *TScreen) Owner() *TComponent

Owner

获取组件所有者。

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)

SetComponentIndex

设置组件索引。

Set component index.

func (*TScreen) SetCursor

func (s *TScreen) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TScreen) SetCursors

func (s *TScreen) SetCursors(Index int32, value HICON)

func (*TScreen) SetName

func (s *TScreen) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TScreen) SetTag

func (s *TScreen) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TScreen) Tag

func (s *TScreen) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TScreen) ToString

func (s *TScreen) ToString() string

ToString

文本类信息。

Text information.

func (*TScreen) UnsafeAddr added in v1.1.21

func (s *TScreen) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TScreen) Width

func (s *TScreen) Width() int32

Width

获取宽度。

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 added in v1.2.10

func AsScrollBar(obj interface{}) *TScrollBar

AsScrollBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewScrollBar

func NewScrollBar(owner IComponent) *TScrollBar

NewScrollBar

创建一个新的对象。

Create a new object.

func (*TScrollBar) Action

func (s *TScrollBar) Action() *TAction

func (*TScrollBar) Align

func (s *TScrollBar) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TScrollBar) AnchorSideBottom

func (s *TScrollBar) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TScrollBar) AnchorSideLeft

func (s *TScrollBar) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TScrollBar) AnchorSideRight

func (s *TScrollBar) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TScrollBar) AnchorSideTop

func (s *TScrollBar) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TScrollBar) AnchorToNeighbour

func (s *TScrollBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TScrollBar) AnchorVerticalCenterTo

func (s *TScrollBar) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TScrollBar) Anchors

func (s *TScrollBar) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TScrollBar) Assign

func (s *TScrollBar) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TScrollBar) BoundsRect

func (s *TScrollBar) BoundsRect() TRect

func (*TScrollBar) BringToFront

func (s *TScrollBar) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TScrollBar) Brush

func (s *TScrollBar) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TScrollBar) CanFocus

func (s *TScrollBar) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TScrollBar) ChildSizing

func (s *TScrollBar) ChildSizing() *TControlChildSizing

func (*TScrollBar) ClassName

func (s *TScrollBar) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TScrollBar) ClassType added in v1.1.18

func (s *TScrollBar) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TScrollBar) ClientHeight

func (s *TScrollBar) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TScrollBar) ClientOrigin added in v1.1.21

func (s *TScrollBar) ClientOrigin() TPoint

func (*TScrollBar) ClientRect

func (s *TScrollBar) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TScrollBar) ClientToParent

func (s *TScrollBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TScrollBar) ClientToScreen

func (s *TScrollBar) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TScrollBar) ClientWidth

func (s *TScrollBar) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TScrollBar) ComponentCount

func (s *TScrollBar) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TScrollBar) ComponentIndex

func (s *TScrollBar) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TScrollBar) Components

func (s *TScrollBar) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TScrollBar) Constraints added in v1.2.7

func (s *TScrollBar) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TScrollBar) ContainsControl added in v1.1.21

func (s *TScrollBar) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TScrollBar) ControlAtPos added in v1.1.21

func (s *TScrollBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TScrollBar) ControlCount

func (s *TScrollBar) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TScrollBar) ControlState added in v1.1.21

func (s *TScrollBar) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TScrollBar) ControlStyle added in v1.1.21

func (s *TScrollBar) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TScrollBar) Controls

func (s *TScrollBar) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TScrollBar) Cursor

func (s *TScrollBar) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TScrollBar) DisableAlign added in v1.1.21

func (s *TScrollBar) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TScrollBar) DockClientCount added in v1.1.21

func (s *TScrollBar) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TScrollBar) DockClients added in v1.1.21

func (s *TScrollBar) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TScrollBar) DockSite

func (s *TScrollBar) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TScrollBar) DoubleBuffered

func (s *TScrollBar) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TScrollBar) DragCursor

func (s *TScrollBar) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TScrollBar) DragKind

func (s *TScrollBar) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TScrollBar) DragMode

func (s *TScrollBar) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TScrollBar) Dragging

func (s *TScrollBar) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TScrollBar) EnableAlign added in v1.1.21

func (s *TScrollBar) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TScrollBar) Enabled

func (s *TScrollBar) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TScrollBar) Equals

func (s *TScrollBar) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TScrollBar) FindChildControl added in v1.1.21

func (s *TScrollBar) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TScrollBar) FindComponent

func (s *TScrollBar) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TScrollBar) Free

func (s *TScrollBar) Free()

Free

释放对象。

Free object.

func (*TScrollBar) GetHashCode

func (s *TScrollBar) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TScrollBar) GetNamePath

func (s *TScrollBar) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TScrollBar) GetTextBuf

func (s *TScrollBar) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TScrollBar) GetTextLen

func (s *TScrollBar) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TScrollBar) Handle

func (s *TScrollBar) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TScrollBar) HandleAllocated

func (s *TScrollBar) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TScrollBar) HasParent

func (s *TScrollBar) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TScrollBar) Height

func (s *TScrollBar) Height() int32

Height

获取高度。

Get height.

func (*TScrollBar) Hide

func (s *TScrollBar) Hide()

Hide

隐藏控件。

Hidden control.

func (*TScrollBar) Hint

func (s *TScrollBar) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TScrollBar) InheritsFrom added in v1.1.18

func (s *TScrollBar) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TScrollBar) InsertControl added in v1.1.21

func (s *TScrollBar) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TScrollBar) Instance

func (s *TScrollBar) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TScrollBar) InstanceSize added in v1.1.18

func (s *TScrollBar) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TScrollBar) Invalidate

func (s *TScrollBar) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TScrollBar) Is added in v1.2.10

func (s *TScrollBar) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TScrollBar) IsValid

func (s *TScrollBar) IsValid() bool

IsValid

检测地址是否为空。

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

Left

获取左边位置。

Get Left position.

func (*TScrollBar) Max

func (s *TScrollBar) Max() int32

func (*TScrollBar) Min

func (s *TScrollBar) Min() int32

func (*TScrollBar) MouseInClient added in v1.1.21

func (s *TScrollBar) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TScrollBar) Name

func (s *TScrollBar) Name() string

Name

获取组件名称。

Get the component name.

func (*TScrollBar) Owner

func (s *TScrollBar) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TScrollBar) PageSize

func (s *TScrollBar) PageSize() int32

func (*TScrollBar) PaintTo added in v1.1.21

func (s *TScrollBar) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TScrollBar) Parent

func (s *TScrollBar) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TScrollBar) ParentDoubleBuffered

func (s *TScrollBar) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TScrollBar) ParentShowHint

func (s *TScrollBar) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TScrollBar) ParentToClient

func (s *TScrollBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TScrollBar) ParentWindow

func (s *TScrollBar) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TScrollBar) Perform

func (s *TScrollBar) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TScrollBar) PopupMenu

func (s *TScrollBar) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TScrollBar) Position

func (s *TScrollBar) Position() int32

func (*TScrollBar) Realign

func (s *TScrollBar) Realign()

Realign

重新对齐。

Realign.

func (*TScrollBar) Refresh

func (s *TScrollBar) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TScrollBar) RemoveControl added in v1.1.21

func (s *TScrollBar) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TScrollBar) Repaint

func (s *TScrollBar) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TScrollBar) ScrollBy added in v1.1.21

func (s *TScrollBar) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TScrollBar) SendToBack

func (s *TScrollBar) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TScrollBar) SetAnchorSideBottom

func (s *TScrollBar) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TScrollBar) SetAnchorSideLeft

func (s *TScrollBar) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TScrollBar) SetAnchorSideRight

func (s *TScrollBar) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TScrollBar) SetAnchorSideTop

func (s *TScrollBar) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TScrollBar) SetAnchors

func (s *TScrollBar) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TScrollBar) SetBiDiMode

func (s *TScrollBar) SetBiDiMode(value TBiDiMode)

func (*TScrollBar) SetBorderSpacing

func (s *TScrollBar) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TScrollBar) SetBounds

func (s *TScrollBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TScrollBar) SetClientWidth

func (s *TScrollBar) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TScrollBar) SetComponentIndex

func (s *TScrollBar) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TScrollBar) SetConstraints added in v1.2.7

func (s *TScrollBar) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TScrollBar) SetControlState added in v1.1.21

func (s *TScrollBar) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TScrollBar) SetControlStyle added in v1.1.21

func (s *TScrollBar) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TScrollBar) SetCursor

func (s *TScrollBar) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TScrollBar) SetDockSite

func (s *TScrollBar) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TScrollBar) SetDoubleBuffered

func (s *TScrollBar) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TScrollBar) SetDragCursor

func (s *TScrollBar) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TScrollBar) SetDragKind

func (s *TScrollBar) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TScrollBar) SetDragMode

func (s *TScrollBar) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TScrollBar) SetEnabled

func (s *TScrollBar) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TScrollBar) SetFocus

func (s *TScrollBar) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TScrollBar) SetHeight

func (s *TScrollBar) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TScrollBar) SetHint

func (s *TScrollBar) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetLeft

设置左边位置。

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)

SetName

设置组件名称。

Set the component name.

func (*TScrollBar) SetOnChange

func (s *TScrollBar) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TScrollBar) SetOnContextPopup

func (s *TScrollBar) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TScrollBar) SetOnDragDrop

func (s *TScrollBar) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TScrollBar) SetOnDragOver

func (s *TScrollBar) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TScrollBar) SetOnEndDrag

func (s *TScrollBar) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TScrollBar) SetOnEnter

func (s *TScrollBar) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TScrollBar) SetOnExit

func (s *TScrollBar) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TScrollBar) SetOnKeyDown

func (s *TScrollBar) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TScrollBar) SetOnKeyPress

func (s *TScrollBar) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TScrollBar) SetOnKeyUp

func (s *TScrollBar) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

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)

SetParent

设置控件父容器。

Set control parent container.

func (*TScrollBar) SetParentDoubleBuffered

func (s *TScrollBar) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TScrollBar) SetParentShowHint

func (s *TScrollBar) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TScrollBar) SetParentWindow

func (s *TScrollBar) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TScrollBar) SetPopupMenu

func (s *TScrollBar) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TScrollBar) SetPosition

func (s *TScrollBar) SetPosition(value int32)

func (*TScrollBar) SetShowHint

func (s *TScrollBar) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TScrollBar) SetSmallChange

func (s *TScrollBar) SetSmallChange(value TScrollBarInc)

func (*TScrollBar) SetTabOrder

func (s *TScrollBar) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TScrollBar) SetTabStop

func (s *TScrollBar) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TScrollBar) SetTag

func (s *TScrollBar) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TScrollBar) SetTextBuf added in v1.1.21

func (s *TScrollBar) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TScrollBar) SetTop

func (s *TScrollBar) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TScrollBar) SetUseDockManager

func (s *TScrollBar) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TScrollBar) SetVisible

func (s *TScrollBar) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TScrollBar) SetWidth

func (s *TScrollBar) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TScrollBar) Show

func (s *TScrollBar) Show()

Show

显示控件。

Show control.

func (*TScrollBar) ShowHint

func (s *TScrollBar) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TScrollBar) TabStop

func (s *TScrollBar) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TScrollBar) Tag

func (s *TScrollBar) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TScrollBar) ToString

func (s *TScrollBar) ToString() string

ToString

文本类信息。

Text information.

func (*TScrollBar) Top

func (s *TScrollBar) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TScrollBar) UnsafeAddr added in v1.1.21

func (s *TScrollBar) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TScrollBar) Update

func (s *TScrollBar) Update()

Update

控件更新。

Update.

func (*TScrollBar) UseDockManager

func (s *TScrollBar) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TScrollBar) Visible

func (s *TScrollBar) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TScrollBar) VisibleDockClientCount added in v1.1.21

func (s *TScrollBar) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TScrollBar) Width

func (s *TScrollBar) Width() int32

Width

获取宽度。

Get width.

type TScrollBox

type TScrollBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsScrollBox added in v1.2.10

func AsScrollBox(obj interface{}) *TScrollBox

AsScrollBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewScrollBox

func NewScrollBox(owner IComponent) *TScrollBox

NewScrollBox

创建一个新的对象。

Create a new object.

func (*TScrollBox) Action

func (s *TScrollBox) Action() *TAction

func (*TScrollBox) Align

func (s *TScrollBox) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TScrollBox) AnchorSideBottom

func (s *TScrollBox) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TScrollBox) AnchorSideLeft

func (s *TScrollBox) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TScrollBox) AnchorSideRight

func (s *TScrollBox) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TScrollBox) AnchorSideTop

func (s *TScrollBox) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TScrollBox) AnchorToNeighbour

func (s *TScrollBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TScrollBox) AnchorVerticalCenterTo

func (s *TScrollBox) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TScrollBox) Anchors

func (s *TScrollBox) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TScrollBox) Assign

func (s *TScrollBox) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.2.7

func (s *TScrollBox) AutoScroll() bool

func (*TScrollBox) AutoSize

func (s *TScrollBox) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TScrollBox) BiDiMode

func (s *TScrollBox) BiDiMode() TBiDiMode

func (*TScrollBox) BorderSpacing

func (s *TScrollBox) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TScrollBox) BorderStyle

func (s *TScrollBox) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TScrollBox) BoundsRect

func (s *TScrollBox) BoundsRect() TRect

func (*TScrollBox) BringToFront

func (s *TScrollBox) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TScrollBox) Brush

func (s *TScrollBox) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TScrollBox) CanFocus

func (s *TScrollBox) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TScrollBox) ChildSizing

func (s *TScrollBox) ChildSizing() *TControlChildSizing

func (*TScrollBox) ClassName

func (s *TScrollBox) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TScrollBox) ClassType added in v1.1.18

func (s *TScrollBox) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TScrollBox) ClientHeight

func (s *TScrollBox) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TScrollBox) ClientOrigin added in v1.1.21

func (s *TScrollBox) ClientOrigin() TPoint

func (*TScrollBox) ClientRect

func (s *TScrollBox) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TScrollBox) ClientToParent

func (s *TScrollBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TScrollBox) ClientToScreen

func (s *TScrollBox) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TScrollBox) ClientWidth

func (s *TScrollBox) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TScrollBox) Color

func (s *TScrollBox) Color() TColor

Color

获取颜色。

Get color.

func (*TScrollBox) ComponentCount

func (s *TScrollBox) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TScrollBox) ComponentIndex

func (s *TScrollBox) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TScrollBox) Components

func (s *TScrollBox) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TScrollBox) Constraints added in v1.2.7

func (s *TScrollBox) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TScrollBox) ContainsControl added in v1.1.21

func (s *TScrollBox) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TScrollBox) ControlAtPos added in v1.1.21

func (s *TScrollBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TScrollBox) ControlCount

func (s *TScrollBox) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TScrollBox) ControlState added in v1.1.21

func (s *TScrollBox) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TScrollBox) ControlStyle added in v1.1.21

func (s *TScrollBox) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TScrollBox) Controls

func (s *TScrollBox) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TScrollBox) Cursor

func (s *TScrollBox) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TScrollBox) DisableAlign added in v1.1.21

func (s *TScrollBox) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TScrollBox) DockClientCount added in v1.1.21

func (s *TScrollBox) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TScrollBox) DockClients added in v1.1.21

func (s *TScrollBox) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TScrollBox) DockSite

func (s *TScrollBox) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TScrollBox) DoubleBuffered

func (s *TScrollBox) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TScrollBox) DragCursor

func (s *TScrollBox) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TScrollBox) DragKind

func (s *TScrollBox) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TScrollBox) DragMode

func (s *TScrollBox) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TScrollBox) Dragging

func (s *TScrollBox) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TScrollBox) EnableAlign added in v1.1.21

func (s *TScrollBox) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TScrollBox) Enabled

func (s *TScrollBox) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TScrollBox) Equals

func (s *TScrollBox) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TScrollBox) FindChildControl added in v1.1.21

func (s *TScrollBox) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TScrollBox) FindComponent

func (s *TScrollBox) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TScrollBox) Font

func (s *TScrollBox) Font() *TFont

Font

获取字体。

Get Font.

func (*TScrollBox) Free

func (s *TScrollBox) Free()

Free

释放对象。

Free object.

func (*TScrollBox) GetHashCode

func (s *TScrollBox) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TScrollBox) GetNamePath

func (s *TScrollBox) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TScrollBox) GetTextBuf

func (s *TScrollBox) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TScrollBox) GetTextLen

func (s *TScrollBox) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TScrollBox) Handle

func (s *TScrollBox) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TScrollBox) HandleAllocated

func (s *TScrollBox) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TScrollBox) HasParent

func (s *TScrollBox) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TScrollBox) Height

func (s *TScrollBox) Height() int32

Height

获取高度。

Get height.

func (*TScrollBox) Hide

func (s *TScrollBox) Hide()

Hide

隐藏控件。

Hidden control.

func (*TScrollBox) Hint

func (s *TScrollBox) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TScrollBox) HorzScrollBar added in v1.2.7

func (s *TScrollBox) HorzScrollBar() *TControlScrollBar

func (*TScrollBox) InheritsFrom added in v1.1.18

func (s *TScrollBox) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TScrollBox) InsertControl added in v1.1.21

func (s *TScrollBox) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TScrollBox) Instance

func (s *TScrollBox) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TScrollBox) InstanceSize added in v1.1.18

func (s *TScrollBox) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TScrollBox) Invalidate

func (s *TScrollBox) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TScrollBox) Is added in v1.2.10

func (s *TScrollBox) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TScrollBox) IsValid

func (s *TScrollBox) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TScrollBox) Left

func (s *TScrollBox) Left() int32

Left

获取左边位置。

Get Left position.

func (*TScrollBox) MouseInClient added in v1.1.21

func (s *TScrollBox) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TScrollBox) Name

func (s *TScrollBox) Name() string

Name

获取组件名称。

Get the component name.

func (*TScrollBox) Owner

func (s *TScrollBox) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TScrollBox) PaintTo added in v1.1.21

func (s *TScrollBox) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TScrollBox) Parent

func (s *TScrollBox) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TScrollBox) ParentBackground

func (s *TScrollBox) ParentBackground() bool

func (*TScrollBox) ParentColor

func (s *TScrollBox) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TScrollBox) ParentDoubleBuffered

func (s *TScrollBox) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TScrollBox) ParentFont

func (s *TScrollBox) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TScrollBox) ParentShowHint

func (s *TScrollBox) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TScrollBox) ParentToClient

func (s *TScrollBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TScrollBox) ParentWindow

func (s *TScrollBox) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TScrollBox) Perform

func (s *TScrollBox) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TScrollBox) PopupMenu

func (s *TScrollBox) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TScrollBox) Realign

func (s *TScrollBox) Realign()

Realign

重新对齐。

Realign.

func (*TScrollBox) Refresh

func (s *TScrollBox) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TScrollBox) RemoveControl added in v1.1.21

func (s *TScrollBox) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TScrollBox) Repaint

func (s *TScrollBox) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TScrollBox) ScrollBy added in v1.1.21

func (s *TScrollBox) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TScrollBox) ScrollInView added in v1.2.7

func (s *TScrollBox) ScrollInView(AControl IControl)

func (*TScrollBox) SendToBack

func (s *TScrollBox) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TScrollBox) SetAnchorSideBottom

func (s *TScrollBox) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TScrollBox) SetAnchorSideLeft

func (s *TScrollBox) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TScrollBox) SetAnchorSideRight

func (s *TScrollBox) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TScrollBox) SetAnchorSideTop

func (s *TScrollBox) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TScrollBox) SetAnchors

func (s *TScrollBox) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TScrollBox) SetAutoScroll added in v1.2.7

func (s *TScrollBox) SetAutoScroll(value bool)

func (*TScrollBox) SetAutoSize

func (s *TScrollBox) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TScrollBox) SetBiDiMode

func (s *TScrollBox) SetBiDiMode(value TBiDiMode)

func (*TScrollBox) SetBorderSpacing

func (s *TScrollBox) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TScrollBox) SetBorderStyle

func (s *TScrollBox) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TScrollBox) SetBounds

func (s *TScrollBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TScrollBox) SetClientWidth

func (s *TScrollBox) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TScrollBox) SetColor

func (s *TScrollBox) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TScrollBox) SetComponentIndex

func (s *TScrollBox) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TScrollBox) SetConstraints added in v1.2.7

func (s *TScrollBox) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TScrollBox) SetControlState added in v1.1.21

func (s *TScrollBox) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TScrollBox) SetControlStyle added in v1.1.21

func (s *TScrollBox) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TScrollBox) SetCursor

func (s *TScrollBox) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TScrollBox) SetDockSite

func (s *TScrollBox) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TScrollBox) SetDoubleBuffered

func (s *TScrollBox) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TScrollBox) SetDragCursor

func (s *TScrollBox) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TScrollBox) SetDragKind

func (s *TScrollBox) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TScrollBox) SetDragMode

func (s *TScrollBox) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TScrollBox) SetEnabled

func (s *TScrollBox) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TScrollBox) SetFocus

func (s *TScrollBox) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TScrollBox) SetFont

func (s *TScrollBox) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TScrollBox) SetHeight

func (s *TScrollBox) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TScrollBox) SetHint

func (s *TScrollBox) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TScrollBox) SetHorzScrollBar added in v1.2.7

func (s *TScrollBox) SetHorzScrollBar(value *TControlScrollBar)

func (*TScrollBox) SetLeft

func (s *TScrollBox) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TScrollBox) SetName

func (s *TScrollBox) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TScrollBox) SetOnAlignPosition added in v1.2.10

func (s *TScrollBox) SetOnAlignPosition(fn TAlignPositionEvent)

SetOnAlignPosition

设置对齐位置事件,当Align为alCustom时Parent会收到这个消息。

func (*TScrollBox) SetOnClick

func (s *TScrollBox) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TScrollBox) SetOnConstrainedResize

func (s *TScrollBox) SetOnConstrainedResize(fn TConstrainedResizeEvent)

func (*TScrollBox) SetOnDblClick

func (s *TScrollBox) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TScrollBox) SetOnDockDrop

func (s *TScrollBox) SetOnDockDrop(fn TDockDropEvent)

func (*TScrollBox) SetOnDragDrop

func (s *TScrollBox) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TScrollBox) SetOnDragOver

func (s *TScrollBox) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TScrollBox) SetOnEndDrag

func (s *TScrollBox) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TScrollBox) SetOnEnter

func (s *TScrollBox) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TScrollBox) SetOnExit

func (s *TScrollBox) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TScrollBox) SetOnGetSiteInfo

func (s *TScrollBox) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TScrollBox) SetOnMouseDown

func (s *TScrollBox) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TScrollBox) SetOnMouseEnter

func (s *TScrollBox) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TScrollBox) SetOnMouseLeave

func (s *TScrollBox) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TScrollBox) SetOnMouseMove

func (s *TScrollBox) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TScrollBox) SetOnMouseUp

func (s *TScrollBox) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TScrollBox) SetOnMouseWheel

func (s *TScrollBox) SetOnMouseWheel(fn TMouseWheelEvent)

SetOnMouseWheel

设置鼠标滚轮事件。

func (*TScrollBox) SetOnMouseWheelDown

func (s *TScrollBox) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TScrollBox) SetOnMouseWheelUp

func (s *TScrollBox) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TScrollBox) SetOnResize

func (s *TScrollBox) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TScrollBox) SetOnUnDock

func (s *TScrollBox) SetOnUnDock(fn TUnDockEvent)

func (*TScrollBox) SetParent

func (s *TScrollBox) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TScrollBox) SetParentBackground

func (s *TScrollBox) SetParentBackground(value bool)

func (*TScrollBox) SetParentColor

func (s *TScrollBox) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TScrollBox) SetParentDoubleBuffered

func (s *TScrollBox) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TScrollBox) SetParentFont

func (s *TScrollBox) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TScrollBox) SetParentShowHint

func (s *TScrollBox) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TScrollBox) SetParentWindow

func (s *TScrollBox) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TScrollBox) SetPopupMenu

func (s *TScrollBox) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TScrollBox) SetShowHint

func (s *TScrollBox) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TScrollBox) SetTabOrder

func (s *TScrollBox) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TScrollBox) SetTabStop

func (s *TScrollBox) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TScrollBox) SetTag

func (s *TScrollBox) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TScrollBox) SetTextBuf added in v1.1.21

func (s *TScrollBox) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TScrollBox) SetTop

func (s *TScrollBox) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TScrollBox) SetUseDockManager

func (s *TScrollBox) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TScrollBox) SetVertScrollBar added in v1.2.7

func (s *TScrollBox) SetVertScrollBar(value *TControlScrollBar)

func (*TScrollBox) SetVisible

func (s *TScrollBox) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TScrollBox) SetWidth

func (s *TScrollBox) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TScrollBox) Show

func (s *TScrollBox) Show()

Show

显示控件。

Show control.

func (*TScrollBox) ShowHint

func (s *TScrollBox) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TScrollBox) Showing

func (s *TScrollBox) Showing() bool

func (*TScrollBox) TabOrder

func (s *TScrollBox) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TScrollBox) TabStop

func (s *TScrollBox) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TScrollBox) Tag

func (s *TScrollBox) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TScrollBox) ToString

func (s *TScrollBox) ToString() string

ToString

文本类信息。

Text information.

func (*TScrollBox) Top

func (s *TScrollBox) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TScrollBox) UnsafeAddr added in v1.1.21

func (s *TScrollBox) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TScrollBox) Update

func (s *TScrollBox) Update()

Update

控件更新。

Update.

func (*TScrollBox) UseDockManager

func (s *TScrollBox) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TScrollBox) VertScrollBar added in v1.2.7

func (s *TScrollBox) VertScrollBar() *TControlScrollBar

func (*TScrollBox) Visible

func (s *TScrollBox) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TScrollBox) VisibleDockClientCount added in v1.1.21

func (s *TScrollBox) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TScrollBox) Width

func (s *TScrollBox) Width() int32

Width

获取宽度。

Get width.

type TSectionDragEvent added in v1.1.19

type TSectionDragEvent func(sender IObject, fromSection, toSection *THeaderSection, allowDrag *bool)

type TSectionNotifyEvent added in v1.1.19

type TSectionNotifyEvent func(headerControl *THeaderControl, section *THeaderSection)

type TSectionTrackEvent added in v1.1.19

type TSectionTrackEvent func(headerControl *THeaderControl, section *THeaderSection, width int32, state TSectionTrackState)

type TSelectCellEvent added in v1.1.19

type TSelectCellEvent func(sender IObject, aCol, aRow int32, canSelect *bool)

type TSelectDirectoryDialog

type TSelectDirectoryDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsSelectDirectoryDialog

func AsSelectDirectoryDialog(obj interface{}) *TSelectDirectoryDialog

AsSelectDirectoryDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSelectDirectoryDialog

func NewSelectDirectoryDialog(owner IComponent) *TSelectDirectoryDialog

NewSelectDirectoryDialog

创建一个新的对象。

Create a new object.

func (*TSelectDirectoryDialog) Assign

func (s *TSelectDirectoryDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TSelectDirectoryDialog) ClassName

func (s *TSelectDirectoryDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TSelectDirectoryDialog) ClassType

func (s *TSelectDirectoryDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TSelectDirectoryDialog) ComponentCount

func (s *TSelectDirectoryDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TSelectDirectoryDialog) ComponentIndex

func (s *TSelectDirectoryDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TSelectDirectoryDialog) Components

func (s *TSelectDirectoryDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TSelectDirectoryDialog) DefaultExt

func (s *TSelectDirectoryDialog) DefaultExt() string

func (*TSelectDirectoryDialog) Equals

func (s *TSelectDirectoryDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TSelectDirectoryDialog) Execute

func (s *TSelectDirectoryDialog) Execute() bool

Execute

执行。

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

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TSelectDirectoryDialog) Free

func (s *TSelectDirectoryDialog) Free()

Free

释放对象。

Free object.

func (*TSelectDirectoryDialog) GetHashCode

func (s *TSelectDirectoryDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TSelectDirectoryDialog) GetNamePath

func (s *TSelectDirectoryDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TSelectDirectoryDialog) Handle

func (s *TSelectDirectoryDialog) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TSelectDirectoryDialog) HasParent

func (s *TSelectDirectoryDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TSelectDirectoryDialog) InheritsFrom

func (s *TSelectDirectoryDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TSelectDirectoryDialog) InstanceSize

func (s *TSelectDirectoryDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TSelectDirectoryDialog) Is

func (s *TSelectDirectoryDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSelectDirectoryDialog) IsValid

func (s *TSelectDirectoryDialog) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TSelectDirectoryDialog) Name

func (s *TSelectDirectoryDialog) Name() string

Name

获取组件名称。

Get the component name.

func (*TSelectDirectoryDialog) Options

func (s *TSelectDirectoryDialog) Options() TOpenOptions

func (*TSelectDirectoryDialog) Owner

func (s *TSelectDirectoryDialog) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TSelectDirectoryDialog) SetComponentIndex

func (s *TSelectDirectoryDialog) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

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)

SetName

设置组件名称。

Set the component name.

func (*TSelectDirectoryDialog) SetOnClose

func (s *TSelectDirectoryDialog) SetOnClose(fn TNotifyEvent)

func (*TSelectDirectoryDialog) SetOnShow

func (s *TSelectDirectoryDialog) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

func (*TSelectDirectoryDialog) SetOptions

func (s *TSelectDirectoryDialog) SetOptions(value TOpenOptions)

func (*TSelectDirectoryDialog) SetTag

func (s *TSelectDirectoryDialog) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TSelectDirectoryDialog) SetTitle

func (s *TSelectDirectoryDialog) SetTitle(value string)

func (*TSelectDirectoryDialog) Tag

func (s *TSelectDirectoryDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TSelectDirectoryDialog) Title

func (s *TSelectDirectoryDialog) Title() string

func (*TSelectDirectoryDialog) ToString

func (s *TSelectDirectoryDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TSelectDirectoryDialog) UnsafeAddr

func (s *TSelectDirectoryDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TSelectEditorEvent

type TSelectEditorEvent func(sender IObject, aCol, aRow int32, editor **TWinControl)

type TSetCheckboxStateEvent

type TSetCheckboxStateEvent func(sender IObject, ACol, ARow int32, Value TCheckBoxState)

type TSetEditEvent added in v1.1.19

type TSetEditEvent func(sender IObject, aCol, aRow int32, value string)

type TShape

type TShape struct {
	IControl
	// contains filtered or unexported fields
}

func AsShape added in v1.2.10

func AsShape(obj interface{}) *TShape

AsShape

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewShape

func NewShape(owner IComponent) *TShape

NewShape

创建一个新的对象。

Create a new object.

func (*TShape) Action

func (s *TShape) Action() *TAction

func (*TShape) Align

func (s *TShape) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TShape) AnchorSideBottom

func (s *TShape) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TShape) AnchorSideLeft

func (s *TShape) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TShape) AnchorSideRight

func (s *TShape) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TShape) AnchorSideTop

func (s *TShape) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TShape) AnchorToNeighbour

func (s *TShape) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TShape) AnchorVerticalCenterTo

func (s *TShape) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TShape) Anchors

func (s *TShape) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TShape) Assign

func (s *TShape) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TShape) BoundsRect

func (s *TShape) BoundsRect() TRect

func (*TShape) BringToFront

func (s *TShape) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TShape) Brush

func (s *TShape) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TShape) ClassName

func (s *TShape) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TShape) ClassType added in v1.1.18

func (s *TShape) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TShape) ClientHeight

func (s *TShape) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TShape) ClientOrigin added in v1.1.21

func (s *TShape) ClientOrigin() TPoint

func (*TShape) ClientRect

func (s *TShape) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TShape) ClientToParent

func (s *TShape) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TShape) ClientToScreen

func (s *TShape) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TShape) ClientWidth

func (s *TShape) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TShape) ComponentCount

func (s *TShape) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TShape) ComponentIndex

func (s *TShape) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TShape) Components

func (s *TShape) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TShape) Constraints added in v1.2.7

func (s *TShape) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TShape) ControlState added in v1.1.21

func (s *TShape) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TShape) ControlStyle added in v1.1.21

func (s *TShape) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TShape) Cursor

func (s *TShape) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TShape) DragCursor

func (s *TShape) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TShape) DragKind

func (s *TShape) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TShape) DragMode

func (s *TShape) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TShape) Dragging

func (s *TShape) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TShape) Enabled

func (s *TShape) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TShape) Equals

func (s *TShape) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TShape) FindComponent

func (s *TShape) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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()

Free

释放对象。

Free object.

func (*TShape) GetHashCode

func (s *TShape) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TShape) GetNamePath

func (s *TShape) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TShape) GetTextBuf

func (s *TShape) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TShape) GetTextLen

func (s *TShape) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TShape) HasParent

func (s *TShape) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TShape) Height

func (s *TShape) Height() int32

Height

获取高度。

Get height.

func (*TShape) Hide

func (s *TShape) Hide()

Hide

隐藏控件。

Hidden control.

func (*TShape) Hint

func (s *TShape) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TShape) InheritsFrom added in v1.1.18

func (s *TShape) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TShape) Instance

func (s *TShape) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TShape) InstanceSize added in v1.1.18

func (s *TShape) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TShape) Invalidate

func (s *TShape) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TShape) Is added in v1.2.10

func (s *TShape) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TShape) IsValid

func (s *TShape) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TShape) Left

func (s *TShape) Left() int32

Left

获取左边位置。

Get Left position.

func (*TShape) Name

func (s *TShape) Name() string

Name

获取组件名称。

Get the component name.

func (*TShape) Owner

func (s *TShape) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TShape) Parent

func (s *TShape) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TShape) ParentShowHint

func (s *TShape) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TShape) ParentToClient

func (s *TShape) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

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

Perform

发送一个消息。

Send a message.

func (*TShape) Refresh

func (s *TShape) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TShape) Repaint

func (s *TShape) Repaint()

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TShape) SendToBack

func (s *TShape) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TShape) SetAnchorSideBottom

func (s *TShape) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TShape) SetAnchorSideLeft

func (s *TShape) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TShape) SetAnchorSideRight

func (s *TShape) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TShape) SetAnchorSideTop

func (s *TShape) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TShape) SetAnchors

func (s *TShape) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TShape) SetBiDiMode

func (s *TShape) SetBiDiMode(value TBiDiMode)

func (*TShape) SetBorderSpacing

func (s *TShape) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TShape) SetBounds

func (s *TShape) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TShape) SetBoundsRect

func (s *TShape) SetBoundsRect(value TRect)

func (*TShape) SetBrush

func (s *TShape) SetBrush(value *TBrush)

SetBrush

设置画刷对象。

Set Brush.

func (*TShape) SetClientHeight

func (s *TShape) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TShape) SetClientWidth

func (s *TShape) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TShape) SetComponentIndex

func (s *TShape) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TShape) SetConstraints added in v1.2.7

func (s *TShape) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TShape) SetControlState added in v1.1.21

func (s *TShape) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TShape) SetControlStyle added in v1.1.21

func (s *TShape) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TShape) SetCursor

func (s *TShape) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TShape) SetDragCursor

func (s *TShape) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TShape) SetDragKind

func (s *TShape) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TShape) SetDragMode

func (s *TShape) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TShape) SetEnabled

func (s *TShape) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TShape) SetHeight

func (s *TShape) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TShape) SetHint

func (s *TShape) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TShape) SetLeft

func (s *TShape) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TShape) SetName

func (s *TShape) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TShape) SetOnDragDrop

func (s *TShape) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TShape) SetOnDragOver

func (s *TShape) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TShape) SetOnEndDrag

func (s *TShape) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TShape) SetOnMouseDown

func (s *TShape) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TShape) SetOnMouseEnter

func (s *TShape) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TShape) SetOnMouseLeave

func (s *TShape) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TShape) SetOnMouseMove

func (s *TShape) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TShape) SetOnMouseUp

func (s *TShape) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TShape) SetParent

func (s *TShape) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TShape) SetParentShowHint

func (s *TShape) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的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)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TShape) SetTag

func (s *TShape) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TShape) SetTextBuf added in v1.1.21

func (s *TShape) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TShape) SetTop

func (s *TShape) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TShape) SetVisible

func (s *TShape) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TShape) SetWidth

func (s *TShape) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TShape) Shape

func (s *TShape) Shape() TShapeType

func (*TShape) Show

func (s *TShape) Show()

Show

显示控件。

Show control.

func (*TShape) ShowHint

func (s *TShape) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TShape) Tag

func (s *TShape) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TShape) ToString

func (s *TShape) ToString() string

ToString

文本类信息。

Text information.

func (*TShape) Top

func (s *TShape) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TShape) UnsafeAddr added in v1.1.21

func (s *TShape) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TShape) Update

func (s *TShape) Update()

Update

控件更新。

Update.

func (*TShape) Visible

func (s *TShape) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TShape) Width

func (s *TShape) Width() int32

Width

获取宽度。

Get width.

type TShortCutEvent

type TShortCutEvent func(msg *TWMKey, handled *bool)

type TSizeConstraints added in v1.2.7

type TSizeConstraints struct {
	IObject
	// contains filtered or unexported fields
}

func AsSizeConstraints added in v1.2.10

func AsSizeConstraints(obj interface{}) *TSizeConstraints

AsSizeConstraints

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TSizeConstraints) Assign added in v1.2.7

func (s *TSizeConstraints) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TSizeConstraints) ClassName added in v1.2.7

func (s *TSizeConstraints) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TSizeConstraints) ClassType added in v1.2.7

func (s *TSizeConstraints) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TSizeConstraints) Equals added in v1.2.7

func (s *TSizeConstraints) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TSizeConstraints) GetHashCode added in v1.2.7

func (s *TSizeConstraints) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TSizeConstraints) GetNamePath added in v1.2.7

func (s *TSizeConstraints) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TSizeConstraints) InheritsFrom added in v1.2.7

func (s *TSizeConstraints) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TSizeConstraints) Instance added in v1.2.7

func (s *TSizeConstraints) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TSizeConstraints) InstanceSize added in v1.2.7

func (s *TSizeConstraints) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TSizeConstraints) Is added in v1.2.10

func (s *TSizeConstraints) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSizeConstraints) IsValid added in v1.2.7

func (s *TSizeConstraints) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TSizeConstraints) MaxHeight added in v1.2.7

func (s *TSizeConstraints) MaxHeight() TConstraintSize

func (*TSizeConstraints) MaxWidth added in v1.2.7

func (s *TSizeConstraints) MaxWidth() TConstraintSize

func (*TSizeConstraints) MinHeight added in v1.2.7

func (s *TSizeConstraints) MinHeight() TConstraintSize

func (*TSizeConstraints) MinWidth added in v1.2.7

func (s *TSizeConstraints) MinWidth() TConstraintSize

func (*TSizeConstraints) SetMaxHeight added in v1.2.7

func (s *TSizeConstraints) SetMaxHeight(value TConstraintSize)

func (*TSizeConstraints) SetMaxWidth added in v1.2.7

func (s *TSizeConstraints) SetMaxWidth(value TConstraintSize)

func (*TSizeConstraints) SetMinHeight added in v1.2.7

func (s *TSizeConstraints) SetMinHeight(value TConstraintSize)

func (*TSizeConstraints) SetMinWidth added in v1.2.7

func (s *TSizeConstraints) SetMinWidth(value TConstraintSize)

func (*TSizeConstraints) SetOnChange added in v1.2.7

func (s *TSizeConstraints) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TSizeConstraints) ToString added in v1.2.7

func (s *TSizeConstraints) ToString() string

ToString

文本类信息。

Text information.

func (*TSizeConstraints) UnsafeAddr added in v1.2.7

func (s *TSizeConstraints) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TSpeedButton

type TSpeedButton struct {
	IControl
	// contains filtered or unexported fields
}

func AsSpeedButton added in v1.2.10

func AsSpeedButton(obj interface{}) *TSpeedButton

AsSpeedButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSpeedButton

func NewSpeedButton(owner IComponent) *TSpeedButton

NewSpeedButton

创建一个新的对象。

Create a new object.

func (*TSpeedButton) Action

func (s *TSpeedButton) Action() *TAction

func (*TSpeedButton) Align

func (s *TSpeedButton) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TSpeedButton) AnchorSideBottom

func (s *TSpeedButton) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TSpeedButton) AnchorSideLeft

func (s *TSpeedButton) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TSpeedButton) AnchorSideRight

func (s *TSpeedButton) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TSpeedButton) AnchorSideTop

func (s *TSpeedButton) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TSpeedButton) AnchorToNeighbour

func (s *TSpeedButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSpeedButton) AnchorVerticalCenterTo

func (s *TSpeedButton) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TSpeedButton) Anchors

func (s *TSpeedButton) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TSpeedButton) Assign

func (s *TSpeedButton) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TSpeedButton) BoundsRect

func (s *TSpeedButton) BoundsRect() TRect

func (*TSpeedButton) BringToFront

func (s *TSpeedButton) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TSpeedButton) Caption

func (s *TSpeedButton) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TSpeedButton) ClassName

func (s *TSpeedButton) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TSpeedButton) ClassType added in v1.1.18

func (s *TSpeedButton) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TSpeedButton) Click

func (s *TSpeedButton) Click()

Click

单击。

func (*TSpeedButton) ClientHeight

func (s *TSpeedButton) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TSpeedButton) ClientOrigin added in v1.1.21

func (s *TSpeedButton) ClientOrigin() TPoint

func (*TSpeedButton) ClientRect

func (s *TSpeedButton) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TSpeedButton) ClientToParent

func (s *TSpeedButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TSpeedButton) ClientToScreen

func (s *TSpeedButton) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TSpeedButton) ClientWidth

func (s *TSpeedButton) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TSpeedButton) ComponentCount

func (s *TSpeedButton) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TSpeedButton) ComponentIndex

func (s *TSpeedButton) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TSpeedButton) Components

func (s *TSpeedButton) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TSpeedButton) Constraints added in v1.2.7

func (s *TSpeedButton) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TSpeedButton) ControlState added in v1.1.21

func (s *TSpeedButton) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TSpeedButton) ControlStyle added in v1.1.21

func (s *TSpeedButton) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TSpeedButton) Cursor

func (s *TSpeedButton) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TSpeedButton) Down

func (s *TSpeedButton) Down() bool

func (*TSpeedButton) Dragging

func (s *TSpeedButton) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TSpeedButton) Enabled

func (s *TSpeedButton) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TSpeedButton) Equals

func (s *TSpeedButton) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TSpeedButton) FindComponent

func (s *TSpeedButton) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TSpeedButton) FixDesignFontsPPI

func (s *TSpeedButton) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TSpeedButton) Flat

func (s *TSpeedButton) Flat() bool

Flat

获取平面样式。

func (*TSpeedButton) Floating

func (s *TSpeedButton) Floating() bool

func (*TSpeedButton) Font

func (s *TSpeedButton) Font() *TFont

Font

获取字体。

Get Font.

func (*TSpeedButton) Free

func (s *TSpeedButton) Free()

Free

释放对象。

Free object.

func (*TSpeedButton) GetHashCode

func (s *TSpeedButton) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TSpeedButton) GetNamePath

func (s *TSpeedButton) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TSpeedButton) GetTextBuf

func (s *TSpeedButton) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TSpeedButton) GetTextLen

func (s *TSpeedButton) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

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

GroupIndex

获取团组索引。

func (*TSpeedButton) HasParent

func (s *TSpeedButton) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TSpeedButton) Height

func (s *TSpeedButton) Height() int32

Height

获取高度。

Get height.

func (*TSpeedButton) Hide

func (s *TSpeedButton) Hide()

Hide

隐藏控件。

Hidden control.

func (*TSpeedButton) Hint

func (s *TSpeedButton) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TSpeedButton) ImageIndex

func (s *TSpeedButton) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TSpeedButton) ImageWidth

func (s *TSpeedButton) ImageWidth() int32

func (*TSpeedButton) Images

func (s *TSpeedButton) Images() *TImageList

Images

获取图标索引列表对象。

func (*TSpeedButton) InheritsFrom added in v1.1.18

func (s *TSpeedButton) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TSpeedButton) Instance

func (s *TSpeedButton) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TSpeedButton) InstanceSize added in v1.1.18

func (s *TSpeedButton) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TSpeedButton) Invalidate

func (s *TSpeedButton) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TSpeedButton) Is added in v1.2.10

func (s *TSpeedButton) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSpeedButton) IsValid

func (s *TSpeedButton) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TSpeedButton) Layout

func (s *TSpeedButton) Layout() TButtonLayout

func (*TSpeedButton) Left

func (s *TSpeedButton) Left() int32

Left

获取左边位置。

Get Left position.

func (*TSpeedButton) Name

func (s *TSpeedButton) Name() string

Name

获取组件名称。

Get the component name.

func (*TSpeedButton) NumGlyphs

func (s *TSpeedButton) NumGlyphs() TNumGlyphs

func (*TSpeedButton) Owner

func (s *TSpeedButton) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TSpeedButton) Parent

func (s *TSpeedButton) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TSpeedButton) ParentFont

func (s *TSpeedButton) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TSpeedButton) ParentShowHint

func (s *TSpeedButton) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TSpeedButton) ParentToClient

func (s *TSpeedButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TSpeedButton) Perform

func (s *TSpeedButton) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TSpeedButton) PopupMenu

func (s *TSpeedButton) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TSpeedButton) Refresh

func (s *TSpeedButton) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TSpeedButton) Repaint

func (s *TSpeedButton) Repaint()

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TSpeedButton) SendToBack

func (s *TSpeedButton) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TSpeedButton) SetAllowAllUp

func (s *TSpeedButton) SetAllowAllUp(value bool)

func (*TSpeedButton) SetAnchorSideBottom

func (s *TSpeedButton) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TSpeedButton) SetAnchorSideLeft

func (s *TSpeedButton) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TSpeedButton) SetAnchorSideRight

func (s *TSpeedButton) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TSpeedButton) SetAnchorSideTop

func (s *TSpeedButton) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TSpeedButton) SetAnchors

func (s *TSpeedButton) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TSpeedButton) SetBiDiMode

func (s *TSpeedButton) SetBiDiMode(value TBiDiMode)

func (*TSpeedButton) SetBorderSpacing

func (s *TSpeedButton) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TSpeedButton) SetBounds

func (s *TSpeedButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TSpeedButton) SetBoundsRect

func (s *TSpeedButton) SetBoundsRect(value TRect)

func (*TSpeedButton) SetCaption

func (s *TSpeedButton) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TSpeedButton) SetClientHeight

func (s *TSpeedButton) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TSpeedButton) SetClientWidth

func (s *TSpeedButton) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TSpeedButton) SetComponentIndex

func (s *TSpeedButton) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TSpeedButton) SetConstraints added in v1.2.7

func (s *TSpeedButton) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TSpeedButton) SetControlState added in v1.1.21

func (s *TSpeedButton) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TSpeedButton) SetControlStyle added in v1.1.21

func (s *TSpeedButton) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TSpeedButton) SetCursor

func (s *TSpeedButton) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TSpeedButton) SetDown

func (s *TSpeedButton) SetDown(value bool)

func (*TSpeedButton) SetEnabled

func (s *TSpeedButton) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TSpeedButton) SetFlat

func (s *TSpeedButton) SetFlat(value bool)

SetFlat

设置平面样式。

func (*TSpeedButton) SetFont

func (s *TSpeedButton) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TSpeedButton) SetGlyph

func (s *TSpeedButton) SetGlyph(value *TBitmap)

func (*TSpeedButton) SetGroupIndex

func (s *TSpeedButton) SetGroupIndex(value int32)

SetGroupIndex

设置团组索引。

func (*TSpeedButton) SetHeight

func (s *TSpeedButton) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TSpeedButton) SetHint

func (s *TSpeedButton) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TSpeedButton) SetImageIndex

func (s *TSpeedButton) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*TSpeedButton) SetImageWidth

func (s *TSpeedButton) SetImageWidth(value int32)

func (*TSpeedButton) SetImages

func (s *TSpeedButton) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

func (*TSpeedButton) SetLayout

func (s *TSpeedButton) SetLayout(value TButtonLayout)

func (*TSpeedButton) SetLeft

func (s *TSpeedButton) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TSpeedButton) SetName

func (s *TSpeedButton) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TSpeedButton) SetNumGlyphs

func (s *TSpeedButton) SetNumGlyphs(value TNumGlyphs)

func (*TSpeedButton) SetOnClick

func (s *TSpeedButton) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TSpeedButton) SetOnDblClick

func (s *TSpeedButton) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TSpeedButton) SetOnMouseDown

func (s *TSpeedButton) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TSpeedButton) SetOnMouseEnter

func (s *TSpeedButton) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TSpeedButton) SetOnMouseLeave

func (s *TSpeedButton) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TSpeedButton) SetOnMouseMove

func (s *TSpeedButton) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TSpeedButton) SetOnMouseUp

func (s *TSpeedButton) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TSpeedButton) SetParent

func (s *TSpeedButton) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TSpeedButton) SetParentFont

func (s *TSpeedButton) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TSpeedButton) SetParentShowHint

func (s *TSpeedButton) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TSpeedButton) SetPopupMenu

func (s *TSpeedButton) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TSpeedButton) SetShowCaption

func (s *TSpeedButton) SetShowCaption(value bool)

func (*TSpeedButton) SetShowHint

func (s *TSpeedButton) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TSpeedButton) SetSpacing

func (s *TSpeedButton) SetSpacing(value int32)

func (*TSpeedButton) SetTag

func (s *TSpeedButton) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TSpeedButton) SetTextBuf added in v1.1.21

func (s *TSpeedButton) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TSpeedButton) SetTop

func (s *TSpeedButton) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TSpeedButton) SetTransparent

func (s *TSpeedButton) SetTransparent(value bool)

SetTransparent

设置透明。

Set transparent.

func (*TSpeedButton) SetVisible

func (s *TSpeedButton) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TSpeedButton) SetWidth

func (s *TSpeedButton) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TSpeedButton) Show

func (s *TSpeedButton) Show()

Show

显示控件。

Show control.

func (*TSpeedButton) ShowCaption

func (s *TSpeedButton) ShowCaption() bool

func (*TSpeedButton) ShowHint

func (s *TSpeedButton) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TSpeedButton) Spacing

func (s *TSpeedButton) Spacing() int32

func (*TSpeedButton) Tag

func (s *TSpeedButton) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TSpeedButton) ToString

func (s *TSpeedButton) ToString() string

ToString

文本类信息。

Text information.

func (*TSpeedButton) Top

func (s *TSpeedButton) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TSpeedButton) Transparent

func (s *TSpeedButton) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TSpeedButton) UnsafeAddr added in v1.1.21

func (s *TSpeedButton) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TSpeedButton) Update

func (s *TSpeedButton) Update()

Update

控件更新。

Update.

func (*TSpeedButton) Visible

func (s *TSpeedButton) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TSpeedButton) Width

func (s *TSpeedButton) Width() int32

Width

获取宽度。

Get width.

type TSpinEdit added in v1.2.0

type TSpinEdit struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsSpinEdit added in v1.2.10

func AsSpinEdit(obj interface{}) *TSpinEdit

AsSpinEdit

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSpinEdit added in v1.2.0

func NewSpinEdit(owner IComponent) *TSpinEdit

NewSpinEdit

创建一个新的对象。

Create a new object.

func (*TSpinEdit) Action added in v1.2.0

func (s *TSpinEdit) Action() *TAction

func (*TSpinEdit) Align added in v1.2.0

func (s *TSpinEdit) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TSpinEdit) Alignment added in v1.2.0

func (s *TSpinEdit) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TSpinEdit) AnchorSideBottom

func (s *TSpinEdit) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TSpinEdit) AnchorSideLeft

func (s *TSpinEdit) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TSpinEdit) AnchorSideRight

func (s *TSpinEdit) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TSpinEdit) AnchorSideTop

func (s *TSpinEdit) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TSpinEdit) AnchorToNeighbour

func (s *TSpinEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSpinEdit) AnchorVerticalCenterTo

func (s *TSpinEdit) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TSpinEdit) Anchors added in v1.2.0

func (s *TSpinEdit) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TSpinEdit) Assign added in v1.2.0

func (s *TSpinEdit) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.2.0

func (s *TSpinEdit) AutoSelect() bool

AutoSelect

获取自动选择。

func (*TSpinEdit) AutoSize added in v1.2.0

func (s *TSpinEdit) AutoSize() bool

AutoSize

获取自动调整大小。

func (*TSpinEdit) BiDiMode added in v1.2.0

func (s *TSpinEdit) BiDiMode() TBiDiMode

func (*TSpinEdit) BorderSpacing

func (s *TSpinEdit) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TSpinEdit) BoundsRect added in v1.2.0

func (s *TSpinEdit) BoundsRect() TRect

func (*TSpinEdit) BringToFront added in v1.2.0

func (s *TSpinEdit) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TSpinEdit) Brush added in v1.2.0

func (s *TSpinEdit) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TSpinEdit) CanFocus added in v1.2.0

func (s *TSpinEdit) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TSpinEdit) CanUndo added in v1.2.0

func (s *TSpinEdit) CanUndo() bool

CanUndo

获取能否撤销。

func (*TSpinEdit) ChildSizing

func (s *TSpinEdit) ChildSizing() *TControlChildSizing

func (*TSpinEdit) ClassName added in v1.2.0

func (s *TSpinEdit) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TSpinEdit) ClassType added in v1.2.0

func (s *TSpinEdit) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TSpinEdit) Clear added in v1.2.0

func (s *TSpinEdit) Clear()

Clear

清除。

func (*TSpinEdit) ClearSelection added in v1.2.0

func (s *TSpinEdit) ClearSelection()

ClearSelection

清除选择。

func (*TSpinEdit) ClientHeight added in v1.2.0

func (s *TSpinEdit) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TSpinEdit) ClientOrigin added in v1.2.0

func (s *TSpinEdit) ClientOrigin() TPoint

func (*TSpinEdit) ClientRect added in v1.2.0

func (s *TSpinEdit) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TSpinEdit) ClientToParent added in v1.2.0

func (s *TSpinEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TSpinEdit) ClientToScreen added in v1.2.0

func (s *TSpinEdit) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TSpinEdit) ClientWidth added in v1.2.0

func (s *TSpinEdit) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TSpinEdit) Color added in v1.2.0

func (s *TSpinEdit) Color() TColor

Color

获取颜色。

Get color.

func (*TSpinEdit) ComponentCount added in v1.2.0

func (s *TSpinEdit) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TSpinEdit) ComponentIndex added in v1.2.0

func (s *TSpinEdit) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TSpinEdit) Components added in v1.2.0

func (s *TSpinEdit) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TSpinEdit) Constraints added in v1.2.7

func (s *TSpinEdit) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TSpinEdit) ContainsControl added in v1.2.0

func (s *TSpinEdit) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TSpinEdit) ControlAtPos added in v1.2.0

func (s *TSpinEdit) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TSpinEdit) ControlCount added in v1.2.0

func (s *TSpinEdit) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TSpinEdit) ControlState added in v1.2.0

func (s *TSpinEdit) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TSpinEdit) ControlStyle added in v1.2.0

func (s *TSpinEdit) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TSpinEdit) Controls added in v1.2.0

func (s *TSpinEdit) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TSpinEdit) CopyToClipboard added in v1.2.0

func (s *TSpinEdit) CopyToClipboard()

CopyToClipboard

复制到粘贴板。

func (*TSpinEdit) Cursor added in v1.2.0

func (s *TSpinEdit) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TSpinEdit) CutToClipboard added in v1.2.0

func (s *TSpinEdit) CutToClipboard()

CutToClipboard

剪切到粘贴板。

func (*TSpinEdit) DisableAlign added in v1.2.0

func (s *TSpinEdit) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TSpinEdit) DockClientCount added in v1.2.0

func (s *TSpinEdit) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TSpinEdit) DockClients added in v1.2.0

func (s *TSpinEdit) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TSpinEdit) DockSite added in v1.2.0

func (s *TSpinEdit) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TSpinEdit) DoubleBuffered added in v1.2.0

func (s *TSpinEdit) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TSpinEdit) Dragging added in v1.2.0

func (s *TSpinEdit) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TSpinEdit) EnableAlign added in v1.2.0

func (s *TSpinEdit) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TSpinEdit) Enabled added in v1.2.0

func (s *TSpinEdit) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TSpinEdit) Equals added in v1.2.0

func (s *TSpinEdit) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TSpinEdit) FindChildControl added in v1.2.0

func (s *TSpinEdit) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TSpinEdit) FindComponent added in v1.2.0

func (s *TSpinEdit) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TSpinEdit) FixDesignFontsPPI

func (s *TSpinEdit) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TSpinEdit) FlipChildren added in v1.2.0

func (s *TSpinEdit) FlipChildren(AllLevels bool)

func (*TSpinEdit) Floating added in v1.2.0

func (s *TSpinEdit) Floating() bool

func (*TSpinEdit) Focused added in v1.2.0

func (s *TSpinEdit) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*TSpinEdit) Font added in v1.2.0

func (s *TSpinEdit) Font() *TFont

Font

获取字体。

Get Font.

func (*TSpinEdit) Free added in v1.2.0

func (s *TSpinEdit) Free()

Free

释放对象。

Free object.

func (*TSpinEdit) GetHashCode added in v1.2.0

func (s *TSpinEdit) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TSpinEdit) GetNamePath added in v1.2.0

func (s *TSpinEdit) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TSpinEdit) GetTextBuf added in v1.2.0

func (s *TSpinEdit) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TSpinEdit) GetTextLen added in v1.2.0

func (s *TSpinEdit) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TSpinEdit) Handle added in v1.2.0

func (s *TSpinEdit) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TSpinEdit) HandleAllocated added in v1.2.0

func (s *TSpinEdit) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TSpinEdit) HasParent added in v1.2.0

func (s *TSpinEdit) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TSpinEdit) Height added in v1.2.0

func (s *TSpinEdit) Height() int32

Height

获取高度。

Get height.

func (*TSpinEdit) Hide added in v1.2.0

func (s *TSpinEdit) Hide()

Hide

隐藏控件。

Hidden control.

func (*TSpinEdit) Hint added in v1.2.0

func (s *TSpinEdit) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TSpinEdit) Increment added in v1.2.0

func (s *TSpinEdit) Increment() int32

func (*TSpinEdit) InheritsFrom added in v1.2.0

func (s *TSpinEdit) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TSpinEdit) InsertControl added in v1.2.0

func (s *TSpinEdit) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TSpinEdit) Instance added in v1.2.0

func (s *TSpinEdit) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TSpinEdit) InstanceSize added in v1.2.0

func (s *TSpinEdit) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TSpinEdit) Invalidate added in v1.2.0

func (s *TSpinEdit) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TSpinEdit) Is added in v1.2.10

func (s *TSpinEdit) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSpinEdit) IsValid added in v1.2.0

func (s *TSpinEdit) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TSpinEdit) Left added in v1.2.0

func (s *TSpinEdit) Left() int32

Left

获取左边位置。

Get Left position.

func (*TSpinEdit) MaxLength added in v1.2.0

func (s *TSpinEdit) MaxLength() int32

MaxLength

获取最大长度。

func (*TSpinEdit) MaxValue added in v1.2.0

func (s *TSpinEdit) MaxValue() int32

func (*TSpinEdit) MinValue added in v1.2.0

func (s *TSpinEdit) MinValue() int32

func (*TSpinEdit) Modified added in v1.2.0

func (s *TSpinEdit) Modified() bool

Modified

获取修改。

Get modified.

func (*TSpinEdit) MouseInClient added in v1.2.0

func (s *TSpinEdit) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TSpinEdit) Name added in v1.2.0

func (s *TSpinEdit) Name() string

Name

获取组件名称。

Get the component name.

func (*TSpinEdit) Owner added in v1.2.0

func (s *TSpinEdit) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TSpinEdit) PaintTo added in v1.2.0

func (s *TSpinEdit) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TSpinEdit) Parent added in v1.2.0

func (s *TSpinEdit) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TSpinEdit) ParentColor added in v1.2.0

func (s *TSpinEdit) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TSpinEdit) ParentDoubleBuffered added in v1.2.0

func (s *TSpinEdit) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TSpinEdit) ParentFont added in v1.2.0

func (s *TSpinEdit) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TSpinEdit) ParentShowHint added in v1.2.0

func (s *TSpinEdit) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TSpinEdit) ParentToClient added in v1.2.0

func (s *TSpinEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TSpinEdit) ParentWindow added in v1.2.0

func (s *TSpinEdit) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TSpinEdit) PasteFromClipboard added in v1.2.0

func (s *TSpinEdit) PasteFromClipboard()

PasteFromClipboard

从剪切板粘贴。

func (*TSpinEdit) Perform added in v1.2.0

func (s *TSpinEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TSpinEdit) PopupMenu added in v1.2.0

func (s *TSpinEdit) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TSpinEdit) ReadOnly added in v1.2.0

func (s *TSpinEdit) ReadOnly() bool

ReadOnly

获取只读。

func (*TSpinEdit) Realign added in v1.2.0

func (s *TSpinEdit) Realign()

Realign

重新对齐。

Realign.

func (*TSpinEdit) Refresh added in v1.2.0

func (s *TSpinEdit) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TSpinEdit) RemoveControl added in v1.2.0

func (s *TSpinEdit) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TSpinEdit) Repaint added in v1.2.0

func (s *TSpinEdit) Repaint()

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 added in v1.2.0

func (s *TSpinEdit) ScaleBy(M int32, D int32)

ScaleBy

按比例缩放。

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 added in v1.2.0

func (s *TSpinEdit) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TSpinEdit) ScrollBy added in v1.2.0

func (s *TSpinEdit) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TSpinEdit) SelLength added in v1.2.0

func (s *TSpinEdit) SelLength() int32

SelLength

获取选择的长度。

func (*TSpinEdit) SelStart added in v1.2.0

func (s *TSpinEdit) SelStart() int32

SelStart

获取选择的启始位置。

func (*TSpinEdit) SelText added in v1.2.0

func (s *TSpinEdit) SelText() string

SelText

获取选择的文本。

func (*TSpinEdit) SelectAll added in v1.2.0

func (s *TSpinEdit) SelectAll()

SelectAll

全选。

func (*TSpinEdit) SendToBack added in v1.2.0

func (s *TSpinEdit) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TSpinEdit) SetAction added in v1.2.0

func (s *TSpinEdit) SetAction(value IComponent)

func (*TSpinEdit) SetAlign added in v1.2.0

func (s *TSpinEdit) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TSpinEdit) SetAlignment added in v1.2.0

func (s *TSpinEdit) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TSpinEdit) SetAnchorSideBottom

func (s *TSpinEdit) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TSpinEdit) SetAnchorSideLeft

func (s *TSpinEdit) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TSpinEdit) SetAnchorSideRight

func (s *TSpinEdit) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TSpinEdit) SetAnchorSideTop

func (s *TSpinEdit) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TSpinEdit) SetAnchors added in v1.2.0

func (s *TSpinEdit) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TSpinEdit) SetAutoSelect added in v1.2.0

func (s *TSpinEdit) SetAutoSelect(value bool)

SetAutoSelect

设置自动选择。

func (*TSpinEdit) SetAutoSize added in v1.2.0

func (s *TSpinEdit) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TSpinEdit) SetBiDiMode added in v1.2.0

func (s *TSpinEdit) SetBiDiMode(value TBiDiMode)

func (*TSpinEdit) SetBorderSpacing

func (s *TSpinEdit) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TSpinEdit) SetBounds added in v1.2.0

func (s *TSpinEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TSpinEdit) SetBoundsRect added in v1.2.0

func (s *TSpinEdit) SetBoundsRect(value TRect)

func (*TSpinEdit) SetChildSizing

func (s *TSpinEdit) SetChildSizing(value *TControlChildSizing)

func (*TSpinEdit) SetClientHeight added in v1.2.0

func (s *TSpinEdit) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TSpinEdit) SetClientWidth added in v1.2.0

func (s *TSpinEdit) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TSpinEdit) SetColor added in v1.2.0

func (s *TSpinEdit) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TSpinEdit) SetComponentIndex added in v1.2.0

func (s *TSpinEdit) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TSpinEdit) SetConstraints added in v1.2.7

func (s *TSpinEdit) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TSpinEdit) SetControlState added in v1.2.0

func (s *TSpinEdit) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TSpinEdit) SetControlStyle added in v1.2.0

func (s *TSpinEdit) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TSpinEdit) SetCursor added in v1.2.0

func (s *TSpinEdit) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TSpinEdit) SetDockSite added in v1.2.0

func (s *TSpinEdit) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TSpinEdit) SetDoubleBuffered added in v1.2.0

func (s *TSpinEdit) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TSpinEdit) SetEnabled added in v1.2.0

func (s *TSpinEdit) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TSpinEdit) SetFocus added in v1.2.0

func (s *TSpinEdit) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TSpinEdit) SetFont added in v1.2.0

func (s *TSpinEdit) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TSpinEdit) SetHeight added in v1.2.0

func (s *TSpinEdit) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TSpinEdit) SetHint added in v1.2.0

func (s *TSpinEdit) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TSpinEdit) SetIncrement added in v1.2.0

func (s *TSpinEdit) SetIncrement(value int32)

func (*TSpinEdit) SetLeft added in v1.2.0

func (s *TSpinEdit) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TSpinEdit) SetMaxLength added in v1.2.0

func (s *TSpinEdit) SetMaxLength(value int32)

SetMaxLength

设置最大长度。

func (*TSpinEdit) SetMaxValue added in v1.2.0

func (s *TSpinEdit) SetMaxValue(value int32)

func (*TSpinEdit) SetMinValue added in v1.2.0

func (s *TSpinEdit) SetMinValue(value int32)

func (*TSpinEdit) SetModified added in v1.2.0

func (s *TSpinEdit) SetModified(value bool)

SetModified

设置修改。

Set modified.

func (*TSpinEdit) SetName added in v1.2.0

func (s *TSpinEdit) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TSpinEdit) SetOnChange added in v1.2.0

func (s *TSpinEdit) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TSpinEdit) SetOnClick added in v1.2.0

func (s *TSpinEdit) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TSpinEdit) SetOnEnter added in v1.2.0

func (s *TSpinEdit) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TSpinEdit) SetOnExit added in v1.2.0

func (s *TSpinEdit) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TSpinEdit) SetOnKeyDown added in v1.2.0

func (s *TSpinEdit) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TSpinEdit) SetOnKeyPress added in v1.2.0

func (s *TSpinEdit) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TSpinEdit) SetOnKeyUp added in v1.2.0

func (s *TSpinEdit) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TSpinEdit) SetOnMouseDown added in v1.2.0

func (s *TSpinEdit) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TSpinEdit) SetOnMouseMove added in v1.2.0

func (s *TSpinEdit) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TSpinEdit) SetOnMouseUp added in v1.2.0

func (s *TSpinEdit) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TSpinEdit) SetParent added in v1.2.0

func (s *TSpinEdit) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TSpinEdit) SetParentColor added in v1.2.0

func (s *TSpinEdit) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TSpinEdit) SetParentDoubleBuffered added in v1.2.0

func (s *TSpinEdit) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TSpinEdit) SetParentFont added in v1.2.0

func (s *TSpinEdit) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TSpinEdit) SetParentShowHint added in v1.2.0

func (s *TSpinEdit) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TSpinEdit) SetParentWindow added in v1.2.0

func (s *TSpinEdit) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TSpinEdit) SetPopupMenu added in v1.2.0

func (s *TSpinEdit) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TSpinEdit) SetReadOnly added in v1.2.0

func (s *TSpinEdit) SetReadOnly(value bool)

SetReadOnly

设置只读。

func (*TSpinEdit) SetSelLength added in v1.2.0

func (s *TSpinEdit) SetSelLength(value int32)

SetSelLength

设置选择的长度。

func (*TSpinEdit) SetSelStart added in v1.2.0

func (s *TSpinEdit) SetSelStart(value int32)

SetSelStart

设置选择的启始位置。

func (*TSpinEdit) SetSelText added in v1.2.0

func (s *TSpinEdit) SetSelText(value string)

SetSelText

设置选择的文本。

func (*TSpinEdit) SetShowHint added in v1.2.0

func (s *TSpinEdit) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TSpinEdit) SetTabOrder added in v1.2.0

func (s *TSpinEdit) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TSpinEdit) SetTabStop added in v1.2.0

func (s *TSpinEdit) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TSpinEdit) SetTag added in v1.2.0

func (s *TSpinEdit) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TSpinEdit) SetText added in v1.2.0

func (s *TSpinEdit) SetText(value string)

SetText

设置文本。

func (*TSpinEdit) SetTextBuf added in v1.2.0

func (s *TSpinEdit) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TSpinEdit) SetTextHint added in v1.2.0

func (s *TSpinEdit) SetTextHint(value string)

SetTextHint

设置提示文本。

func (*TSpinEdit) SetTop added in v1.2.0

func (s *TSpinEdit) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TSpinEdit) SetUseDockManager added in v1.2.0

func (s *TSpinEdit) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TSpinEdit) SetValue added in v1.2.0

func (s *TSpinEdit) SetValue(value int32)

func (*TSpinEdit) SetVisible added in v1.2.0

func (s *TSpinEdit) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TSpinEdit) SetWidth added in v1.2.0

func (s *TSpinEdit) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TSpinEdit) Show added in v1.2.0

func (s *TSpinEdit) Show()

Show

显示控件。

Show control.

func (*TSpinEdit) ShowHint added in v1.2.0

func (s *TSpinEdit) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TSpinEdit) Showing

func (s *TSpinEdit) Showing() bool

func (*TSpinEdit) TabOrder added in v1.2.0

func (s *TSpinEdit) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TSpinEdit) TabStop added in v1.2.0

func (s *TSpinEdit) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TSpinEdit) Tag added in v1.2.0

func (s *TSpinEdit) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TSpinEdit) Text added in v1.2.0

func (s *TSpinEdit) Text() string

Text

获取文本。

func (*TSpinEdit) TextHint added in v1.2.0

func (s *TSpinEdit) TextHint() string

TextHint

获取提示文本。

func (*TSpinEdit) ToString added in v1.2.0

func (s *TSpinEdit) ToString() string

ToString

文本类信息。

Text information.

func (*TSpinEdit) Top added in v1.2.0

func (s *TSpinEdit) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TSpinEdit) Undo added in v1.2.0

func (s *TSpinEdit) Undo()

Undo

撤销上一次操作。

func (*TSpinEdit) UnsafeAddr added in v1.2.0

func (s *TSpinEdit) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TSpinEdit) Update added in v1.2.0

func (s *TSpinEdit) Update()

Update

控件更新。

Update.

func (*TSpinEdit) UseDockManager added in v1.2.0

func (s *TSpinEdit) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TSpinEdit) Value added in v1.2.0

func (s *TSpinEdit) Value() int32

func (*TSpinEdit) Visible added in v1.2.0

func (s *TSpinEdit) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TSpinEdit) VisibleDockClientCount added in v1.2.0

func (s *TSpinEdit) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TSpinEdit) Width added in v1.2.0

func (s *TSpinEdit) Width() int32

Width

获取宽度。

Get width.

type TSplitter

type TSplitter struct {
	IControl
	// contains filtered or unexported fields
}

func AsSplitter added in v1.2.10

func AsSplitter(obj interface{}) *TSplitter

AsSplitter

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewSplitter

func NewSplitter(owner IComponent) *TSplitter

NewSplitter

创建一个新的对象。

Create a new object.

func (*TSplitter) Action

func (s *TSplitter) Action() *TAction

func (*TSplitter) Align

func (s *TSplitter) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TSplitter) AnchorSideBottom

func (s *TSplitter) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TSplitter) AnchorSideLeft

func (s *TSplitter) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TSplitter) AnchorSideRight

func (s *TSplitter) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TSplitter) AnchorSideTop

func (s *TSplitter) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TSplitter) AnchorToNeighbour

func (s *TSplitter) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSplitter) AnchorVerticalCenterTo

func (s *TSplitter) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TSplitter) Anchors

func (s *TSplitter) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TSplitter) Assign

func (s *TSplitter) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TSplitter) BoundsRect

func (s *TSplitter) BoundsRect() TRect

func (*TSplitter) BringToFront

func (s *TSplitter) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TSplitter) Canvas

func (s *TSplitter) Canvas() *TCanvas

Canvas

获取画布。

func (*TSplitter) ClassName

func (s *TSplitter) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TSplitter) ClassType added in v1.1.18

func (s *TSplitter) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TSplitter) ClientHeight

func (s *TSplitter) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TSplitter) ClientOrigin added in v1.1.21

func (s *TSplitter) ClientOrigin() TPoint

func (*TSplitter) ClientRect

func (s *TSplitter) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TSplitter) ClientToParent

func (s *TSplitter) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TSplitter) ClientToScreen

func (s *TSplitter) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TSplitter) ClientWidth

func (s *TSplitter) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TSplitter) Color

func (s *TSplitter) Color() TColor

Color

获取颜色。

Get color.

func (*TSplitter) ComponentCount

func (s *TSplitter) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TSplitter) ComponentIndex

func (s *TSplitter) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TSplitter) Components

func (s *TSplitter) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TSplitter) Constraints added in v1.2.7

func (s *TSplitter) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TSplitter) ControlState added in v1.1.21

func (s *TSplitter) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TSplitter) ControlStyle added in v1.1.21

func (s *TSplitter) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TSplitter) Cursor

func (s *TSplitter) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TSplitter) Dragging

func (s *TSplitter) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TSplitter) Enabled

func (s *TSplitter) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TSplitter) Equals

func (s *TSplitter) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TSplitter) FindComponent

func (s *TSplitter) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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()

Free

释放对象。

Free object.

func (*TSplitter) GetHashCode

func (s *TSplitter) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TSplitter) GetNamePath

func (s *TSplitter) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TSplitter) GetTextBuf

func (s *TSplitter) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TSplitter) GetTextLen

func (s *TSplitter) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TSplitter) HasParent

func (s *TSplitter) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TSplitter) Height

func (s *TSplitter) Height() int32

Height

获取高度。

Get height.

func (*TSplitter) Hide

func (s *TSplitter) Hide()

Hide

隐藏控件。

Hidden control.

func (*TSplitter) Hint

func (s *TSplitter) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TSplitter) InheritsFrom added in v1.1.18

func (s *TSplitter) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TSplitter) Instance

func (s *TSplitter) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TSplitter) InstanceSize added in v1.1.18

func (s *TSplitter) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TSplitter) Invalidate

func (s *TSplitter) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TSplitter) Is added in v1.2.10

func (s *TSplitter) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TSplitter) IsValid

func (s *TSplitter) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TSplitter) Left

func (s *TSplitter) Left() int32

Left

获取左边位置。

Get Left position.

func (*TSplitter) MinSize

func (s *TSplitter) MinSize() int32

func (*TSplitter) Name

func (s *TSplitter) Name() string

Name

获取组件名称。

Get the component name.

func (*TSplitter) Owner

func (s *TSplitter) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TSplitter) Parent

func (s *TSplitter) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TSplitter) ParentColor

func (s *TSplitter) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TSplitter) ParentToClient

func (s *TSplitter) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TSplitter) Perform

func (s *TSplitter) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TSplitter) Refresh

func (s *TSplitter) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TSplitter) Repaint

func (s *TSplitter) Repaint()

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TSplitter) SendToBack

func (s *TSplitter) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TSplitter) SetAnchorSideBottom

func (s *TSplitter) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TSplitter) SetAnchorSideLeft

func (s *TSplitter) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TSplitter) SetAnchorSideRight

func (s *TSplitter) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TSplitter) SetAnchorSideTop

func (s *TSplitter) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TSplitter) SetAnchors

func (s *TSplitter) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TSplitter) SetBiDiMode

func (s *TSplitter) SetBiDiMode(value TBiDiMode)

func (*TSplitter) SetBorderSpacing

func (s *TSplitter) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TSplitter) SetBounds

func (s *TSplitter) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TSplitter) SetBoundsRect

func (s *TSplitter) SetBoundsRect(value TRect)

func (*TSplitter) SetClientHeight

func (s *TSplitter) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TSplitter) SetClientWidth

func (s *TSplitter) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TSplitter) SetColor

func (s *TSplitter) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TSplitter) SetComponentIndex

func (s *TSplitter) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TSplitter) SetConstraints added in v1.2.7

func (s *TSplitter) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TSplitter) SetControlState added in v1.1.21

func (s *TSplitter) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TSplitter) SetControlStyle added in v1.1.21

func (s *TSplitter) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TSplitter) SetCursor

func (s *TSplitter) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TSplitter) SetEnabled

func (s *TSplitter) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TSplitter) SetHeight

func (s *TSplitter) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TSplitter) SetHint

func (s *TSplitter) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TSplitter) SetLeft

func (s *TSplitter) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TSplitter) SetMinSize

func (s *TSplitter) SetMinSize(value int32)

func (*TSplitter) SetName

func (s *TSplitter) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TSplitter) SetOnPaint

func (s *TSplitter) SetOnPaint(fn TNotifyEvent)

SetOnPaint

设置绘画事件。

func (*TSplitter) SetParent

func (s *TSplitter) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TSplitter) SetParentColor

func (s *TSplitter) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TSplitter) SetResizeAnchor

func (s *TSplitter) SetResizeAnchor(value TAnchorKind)

func (*TSplitter) SetShowHint

func (s *TSplitter) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TSplitter) SetTag

func (s *TSplitter) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TSplitter) SetTextBuf added in v1.1.21

func (s *TSplitter) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TSplitter) SetTop

func (s *TSplitter) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TSplitter) SetVisible

func (s *TSplitter) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TSplitter) SetWidth

func (s *TSplitter) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TSplitter) Show

func (s *TSplitter) Show()

Show

显示控件。

Show control.

func (*TSplitter) ShowHint

func (s *TSplitter) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TSplitter) Tag

func (s *TSplitter) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TSplitter) ToString

func (s *TSplitter) ToString() string

ToString

文本类信息。

Text information.

func (*TSplitter) Top

func (s *TSplitter) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TSplitter) UnsafeAddr added in v1.1.21

func (s *TSplitter) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TSplitter) Update

func (s *TSplitter) Update()

Update

控件更新。

Update.

func (*TSplitter) Visible

func (s *TSplitter) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TSplitter) Width

func (s *TSplitter) Width() int32

Width

获取宽度。

Get width.

type TStartDockEvent

type TStartDockEvent func(sender IObject, dragObject **TDragDockObject)

type TStaticText

type TStaticText struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsStaticText added in v1.2.10

func AsStaticText(obj interface{}) *TStaticText

AsStaticText

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStaticText

func NewStaticText(owner IComponent) *TStaticText

NewStaticText

创建一个新的对象。

Create a new object.

func (*TStaticText) Action

func (s *TStaticText) Action() *TAction

func (*TStaticText) Align

func (s *TStaticText) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TStaticText) Alignment

func (s *TStaticText) Alignment() TAlignment

Alignment

获取文字对齐。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TStaticText) AnchorSideBottom

func (s *TStaticText) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TStaticText) AnchorSideLeft

func (s *TStaticText) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TStaticText) AnchorSideRight

func (s *TStaticText) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TStaticText) AnchorSideTop

func (s *TStaticText) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TStaticText) AnchorToNeighbour

func (s *TStaticText) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStaticText) AnchorVerticalCenterTo

func (s *TStaticText) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TStaticText) Anchors

func (s *TStaticText) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TStaticText) Assign

func (s *TStaticText) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSize

获取自动调整大小。

func (*TStaticText) BiDiMode

func (s *TStaticText) BiDiMode() TBiDiMode

func (*TStaticText) BorderSpacing

func (s *TStaticText) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TStaticText) BorderStyle

func (s *TStaticText) BorderStyle() TStaticBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TStaticText) BoundsRect

func (s *TStaticText) BoundsRect() TRect

func (*TStaticText) BringToFront

func (s *TStaticText) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TStaticText) Brush

func (s *TStaticText) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TStaticText) CanFocus

func (s *TStaticText) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TStaticText) Caption

func (s *TStaticText) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TStaticText) ChildSizing

func (s *TStaticText) ChildSizing() *TControlChildSizing

func (*TStaticText) ClassName

func (s *TStaticText) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TStaticText) ClassType added in v1.1.18

func (s *TStaticText) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TStaticText) ClientHeight

func (s *TStaticText) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TStaticText) ClientOrigin added in v1.1.21

func (s *TStaticText) ClientOrigin() TPoint

func (*TStaticText) ClientRect

func (s *TStaticText) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TStaticText) ClientToParent

func (s *TStaticText) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TStaticText) ClientToScreen

func (s *TStaticText) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TStaticText) ClientWidth

func (s *TStaticText) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TStaticText) Color

func (s *TStaticText) Color() TColor

Color

获取颜色。

Get color.

func (*TStaticText) ComponentCount

func (s *TStaticText) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TStaticText) ComponentIndex

func (s *TStaticText) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TStaticText) Components

func (s *TStaticText) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TStaticText) Constraints added in v1.2.7

func (s *TStaticText) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TStaticText) ContainsControl added in v1.1.21

func (s *TStaticText) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TStaticText) ControlAtPos added in v1.1.21

func (s *TStaticText) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TStaticText) ControlCount

func (s *TStaticText) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TStaticText) ControlState added in v1.1.21

func (s *TStaticText) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TStaticText) ControlStyle added in v1.1.21

func (s *TStaticText) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TStaticText) Controls

func (s *TStaticText) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TStaticText) Cursor

func (s *TStaticText) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TStaticText) DisableAlign added in v1.1.21

func (s *TStaticText) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TStaticText) DockClientCount added in v1.1.21

func (s *TStaticText) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TStaticText) DockClients added in v1.1.21

func (s *TStaticText) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TStaticText) DockSite

func (s *TStaticText) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TStaticText) DoubleBuffered

func (s *TStaticText) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TStaticText) DragCursor

func (s *TStaticText) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TStaticText) DragKind

func (s *TStaticText) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TStaticText) DragMode

func (s *TStaticText) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TStaticText) Dragging

func (s *TStaticText) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TStaticText) EnableAlign added in v1.1.21

func (s *TStaticText) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TStaticText) Enabled

func (s *TStaticText) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TStaticText) Equals

func (s *TStaticText) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TStaticText) FindChildControl added in v1.1.21

func (s *TStaticText) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TStaticText) FindComponent

func (s *TStaticText) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TStaticText) Font

func (s *TStaticText) Font() *TFont

Font

获取字体。

Get Font.

func (*TStaticText) Free

func (s *TStaticText) Free()

Free

释放对象。

Free object.

func (*TStaticText) GetHashCode

func (s *TStaticText) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TStaticText) GetNamePath

func (s *TStaticText) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TStaticText) GetTextBuf

func (s *TStaticText) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TStaticText) GetTextLen

func (s *TStaticText) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TStaticText) Handle

func (s *TStaticText) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TStaticText) HandleAllocated

func (s *TStaticText) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TStaticText) HasParent

func (s *TStaticText) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TStaticText) Height

func (s *TStaticText) Height() int32

Height

获取高度。

Get height.

func (*TStaticText) Hide

func (s *TStaticText) Hide()

Hide

隐藏控件。

Hidden control.

func (*TStaticText) Hint

func (s *TStaticText) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TStaticText) InheritsFrom added in v1.1.18

func (s *TStaticText) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TStaticText) InsertControl added in v1.1.21

func (s *TStaticText) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TStaticText) Instance

func (s *TStaticText) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TStaticText) InstanceSize added in v1.1.18

func (s *TStaticText) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TStaticText) Invalidate

func (s *TStaticText) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TStaticText) Is added in v1.2.10

func (s *TStaticText) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStaticText) IsValid

func (s *TStaticText) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TStaticText) Left

func (s *TStaticText) Left() int32

Left

获取左边位置。

Get Left position.

func (*TStaticText) MouseInClient added in v1.1.21

func (s *TStaticText) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TStaticText) Name

func (s *TStaticText) Name() string

Name

获取组件名称。

Get the component name.

func (*TStaticText) Owner

func (s *TStaticText) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TStaticText) PaintTo added in v1.1.21

func (s *TStaticText) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TStaticText) Parent

func (s *TStaticText) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TStaticText) ParentColor

func (s *TStaticText) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TStaticText) ParentDoubleBuffered

func (s *TStaticText) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TStaticText) ParentFont

func (s *TStaticText) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TStaticText) ParentShowHint

func (s *TStaticText) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TStaticText) ParentToClient

func (s *TStaticText) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TStaticText) ParentWindow

func (s *TStaticText) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TStaticText) Perform

func (s *TStaticText) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TStaticText) PopupMenu

func (s *TStaticText) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TStaticText) Realign

func (s *TStaticText) Realign()

Realign

重新对齐。

Realign.

func (*TStaticText) Refresh

func (s *TStaticText) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TStaticText) RemoveControl added in v1.1.21

func (s *TStaticText) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TStaticText) Repaint

func (s *TStaticText) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TStaticText) ScrollBy added in v1.1.21

func (s *TStaticText) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TStaticText) SendToBack

func (s *TStaticText) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TStaticText) SetAlignment

func (s *TStaticText) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TStaticText) SetAnchorSideBottom

func (s *TStaticText) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TStaticText) SetAnchorSideLeft

func (s *TStaticText) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TStaticText) SetAnchorSideRight

func (s *TStaticText) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TStaticText) SetAnchorSideTop

func (s *TStaticText) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TStaticText) SetAnchors

func (s *TStaticText) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TStaticText) SetAutoSize

func (s *TStaticText) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TStaticText) SetBiDiMode

func (s *TStaticText) SetBiDiMode(value TBiDiMode)

func (*TStaticText) SetBorderSpacing

func (s *TStaticText) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TStaticText) SetBorderStyle

func (s *TStaticText) SetBorderStyle(value TStaticBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TStaticText) SetBounds

func (s *TStaticText) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TStaticText) SetBoundsRect

func (s *TStaticText) SetBoundsRect(value TRect)

func (*TStaticText) SetCaption

func (s *TStaticText) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TStaticText) SetChildSizing

func (s *TStaticText) SetChildSizing(value *TControlChildSizing)

func (*TStaticText) SetClientHeight

func (s *TStaticText) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TStaticText) SetClientWidth

func (s *TStaticText) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TStaticText) SetColor

func (s *TStaticText) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TStaticText) SetComponentIndex

func (s *TStaticText) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TStaticText) SetConstraints added in v1.2.7

func (s *TStaticText) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TStaticText) SetControlState added in v1.1.21

func (s *TStaticText) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TStaticText) SetControlStyle added in v1.1.21

func (s *TStaticText) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TStaticText) SetCursor

func (s *TStaticText) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TStaticText) SetDockSite

func (s *TStaticText) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TStaticText) SetDoubleBuffered

func (s *TStaticText) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TStaticText) SetDragCursor

func (s *TStaticText) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TStaticText) SetDragKind

func (s *TStaticText) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TStaticText) SetDragMode

func (s *TStaticText) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TStaticText) SetEnabled

func (s *TStaticText) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TStaticText) SetFocus

func (s *TStaticText) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TStaticText) SetFocusControl

func (s *TStaticText) SetFocusControl(value IWinControl)

func (*TStaticText) SetFont

func (s *TStaticText) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TStaticText) SetHeight

func (s *TStaticText) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TStaticText) SetHint

func (s *TStaticText) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TStaticText) SetLeft

func (s *TStaticText) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TStaticText) SetName

func (s *TStaticText) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TStaticText) SetOnClick

func (s *TStaticText) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TStaticText) SetOnContextPopup

func (s *TStaticText) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TStaticText) SetOnDblClick

func (s *TStaticText) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TStaticText) SetOnDragDrop

func (s *TStaticText) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TStaticText) SetOnDragOver

func (s *TStaticText) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TStaticText) SetOnEndDrag

func (s *TStaticText) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TStaticText) SetOnMouseDown

func (s *TStaticText) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TStaticText) SetOnMouseEnter

func (s *TStaticText) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TStaticText) SetOnMouseLeave

func (s *TStaticText) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TStaticText) SetOnMouseMove

func (s *TStaticText) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TStaticText) SetOnMouseUp

func (s *TStaticText) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TStaticText) SetParent

func (s *TStaticText) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TStaticText) SetParentColor

func (s *TStaticText) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TStaticText) SetParentDoubleBuffered

func (s *TStaticText) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TStaticText) SetParentFont

func (s *TStaticText) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TStaticText) SetParentShowHint

func (s *TStaticText) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TStaticText) SetParentWindow

func (s *TStaticText) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TStaticText) SetPopupMenu

func (s *TStaticText) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TStaticText) SetShowAccelChar

func (s *TStaticText) SetShowAccelChar(value bool)

func (*TStaticText) SetShowHint

func (s *TStaticText) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TStaticText) SetTabOrder

func (s *TStaticText) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TStaticText) SetTabStop

func (s *TStaticText) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TStaticText) SetTag

func (s *TStaticText) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TStaticText) SetTextBuf added in v1.1.21

func (s *TStaticText) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TStaticText) SetTop

func (s *TStaticText) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TStaticText) SetTransparent

func (s *TStaticText) SetTransparent(value bool)

SetTransparent

设置透明。

Set transparent.

func (*TStaticText) SetUseDockManager

func (s *TStaticText) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TStaticText) SetVisible

func (s *TStaticText) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TStaticText) SetWidth

func (s *TStaticText) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TStaticText) Show

func (s *TStaticText) Show()

Show

显示控件。

Show control.

func (*TStaticText) ShowAccelChar

func (s *TStaticText) ShowAccelChar() bool

func (*TStaticText) ShowHint

func (s *TStaticText) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TStaticText) Showing

func (s *TStaticText) Showing() bool

func (*TStaticText) TabOrder

func (s *TStaticText) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TStaticText) TabStop

func (s *TStaticText) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TStaticText) Tag

func (s *TStaticText) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TStaticText) ToString

func (s *TStaticText) ToString() string

ToString

文本类信息。

Text information.

func (*TStaticText) Top

func (s *TStaticText) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TStaticText) Transparent

func (s *TStaticText) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TStaticText) UnsafeAddr added in v1.1.21

func (s *TStaticText) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TStaticText) Update

func (s *TStaticText) Update()

Update

控件更新。

Update.

func (*TStaticText) UseDockManager

func (s *TStaticText) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TStaticText) Visible

func (s *TStaticText) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TStaticText) VisibleDockClientCount added in v1.1.21

func (s *TStaticText) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TStaticText) Width

func (s *TStaticText) Width() int32

Width

获取宽度。

Get width.

type TStatusBar

type TStatusBar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsStatusBar added in v1.2.10

func AsStatusBar(obj interface{}) *TStatusBar

AsStatusBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStatusBar

func NewStatusBar(owner IComponent) *TStatusBar

NewStatusBar

创建一个新的对象。

Create a new object.

func (*TStatusBar) Action

func (s *TStatusBar) Action() *TAction

func (*TStatusBar) Align

func (s *TStatusBar) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TStatusBar) AnchorSideBottom

func (s *TStatusBar) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TStatusBar) AnchorSideLeft

func (s *TStatusBar) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TStatusBar) AnchorSideRight

func (s *TStatusBar) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TStatusBar) AnchorSideTop

func (s *TStatusBar) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TStatusBar) AnchorToNeighbour

func (s *TStatusBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStatusBar) AnchorVerticalCenterTo

func (s *TStatusBar) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TStatusBar) Anchors

func (s *TStatusBar) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TStatusBar) Assign

func (s *TStatusBar) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TStatusBar) BorderWidth

func (s *TStatusBar) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TStatusBar) BoundsRect

func (s *TStatusBar) BoundsRect() TRect

func (*TStatusBar) BringToFront

func (s *TStatusBar) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TStatusBar) Brush

func (s *TStatusBar) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TStatusBar) CanFocus

func (s *TStatusBar) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TStatusBar) Canvas

func (s *TStatusBar) Canvas() *TCanvas

Canvas

获取画布。

func (*TStatusBar) ChildSizing

func (s *TStatusBar) ChildSizing() *TControlChildSizing

func (*TStatusBar) ClassName

func (s *TStatusBar) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TStatusBar) ClassType added in v1.1.18

func (s *TStatusBar) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TStatusBar) ClientHeight

func (s *TStatusBar) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TStatusBar) ClientOrigin added in v1.1.21

func (s *TStatusBar) ClientOrigin() TPoint

func (*TStatusBar) ClientRect

func (s *TStatusBar) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TStatusBar) ClientToParent

func (s *TStatusBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TStatusBar) ClientToScreen

func (s *TStatusBar) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TStatusBar) ClientWidth

func (s *TStatusBar) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TStatusBar) Color

func (s *TStatusBar) Color() TColor

Color

获取颜色。

Get color.

func (*TStatusBar) ComponentCount

func (s *TStatusBar) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TStatusBar) ComponentIndex

func (s *TStatusBar) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TStatusBar) Components

func (s *TStatusBar) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TStatusBar) Constraints added in v1.2.7

func (s *TStatusBar) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TStatusBar) ContainsControl added in v1.1.21

func (s *TStatusBar) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TStatusBar) ControlAtPos added in v1.1.21

func (s *TStatusBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TStatusBar) ControlCount

func (s *TStatusBar) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TStatusBar) ControlState added in v1.1.21

func (s *TStatusBar) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TStatusBar) ControlStyle added in v1.1.21

func (s *TStatusBar) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TStatusBar) Controls

func (s *TStatusBar) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TStatusBar) Cursor

func (s *TStatusBar) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TStatusBar) DisableAlign added in v1.1.21

func (s *TStatusBar) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TStatusBar) DockClientCount added in v1.1.21

func (s *TStatusBar) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TStatusBar) DockClients added in v1.1.21

func (s *TStatusBar) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TStatusBar) DockSite

func (s *TStatusBar) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TStatusBar) DoubleBuffered

func (s *TStatusBar) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TStatusBar) DragCursor

func (s *TStatusBar) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TStatusBar) DragKind

func (s *TStatusBar) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TStatusBar) DragMode

func (s *TStatusBar) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TStatusBar) Dragging

func (s *TStatusBar) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TStatusBar) EnableAlign added in v1.1.21

func (s *TStatusBar) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TStatusBar) Enabled

func (s *TStatusBar) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TStatusBar) Equals

func (s *TStatusBar) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TStatusBar) FindChildControl added in v1.1.21

func (s *TStatusBar) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TStatusBar) FindComponent

func (s *TStatusBar) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TStatusBar) Font

func (s *TStatusBar) Font() *TFont

Font

获取字体。

Get Font.

func (*TStatusBar) Free

func (s *TStatusBar) Free()

Free

释放对象。

Free object.

func (*TStatusBar) GetHashCode

func (s *TStatusBar) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TStatusBar) GetNamePath

func (s *TStatusBar) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TStatusBar) GetTextBuf

func (s *TStatusBar) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TStatusBar) GetTextLen

func (s *TStatusBar) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TStatusBar) Handle

func (s *TStatusBar) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TStatusBar) HandleAllocated

func (s *TStatusBar) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TStatusBar) HasParent

func (s *TStatusBar) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TStatusBar) Height

func (s *TStatusBar) Height() int32

Height

获取高度。

Get height.

func (*TStatusBar) Hide

func (s *TStatusBar) Hide()

Hide

隐藏控件。

Hidden control.

func (*TStatusBar) Hint

func (s *TStatusBar) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TStatusBar) InheritsFrom added in v1.1.18

func (s *TStatusBar) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TStatusBar) InsertControl added in v1.1.21

func (s *TStatusBar) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TStatusBar) Instance

func (s *TStatusBar) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TStatusBar) InstanceSize added in v1.1.18

func (s *TStatusBar) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TStatusBar) Invalidate

func (s *TStatusBar) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TStatusBar) Is added in v1.2.10

func (s *TStatusBar) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStatusBar) IsValid

func (s *TStatusBar) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TStatusBar) Left

func (s *TStatusBar) Left() int32

Left

获取左边位置。

Get Left position.

func (*TStatusBar) MouseInClient added in v1.1.21

func (s *TStatusBar) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TStatusBar) Name

func (s *TStatusBar) Name() string

Name

获取组件名称。

Get the component name.

func (*TStatusBar) Owner

func (s *TStatusBar) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TStatusBar) PaintTo added in v1.1.21

func (s *TStatusBar) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TStatusBar) Panels

func (s *TStatusBar) Panels() *TStatusPanels

func (*TStatusBar) Parent

func (s *TStatusBar) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TStatusBar) ParentColor

func (s *TStatusBar) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TStatusBar) ParentDoubleBuffered

func (s *TStatusBar) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TStatusBar) ParentFont

func (s *TStatusBar) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TStatusBar) ParentShowHint

func (s *TStatusBar) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TStatusBar) ParentToClient

func (s *TStatusBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TStatusBar) ParentWindow

func (s *TStatusBar) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TStatusBar) Perform

func (s *TStatusBar) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TStatusBar) PopupMenu

func (s *TStatusBar) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TStatusBar) Realign

func (s *TStatusBar) Realign()

Realign

重新对齐。

Realign.

func (*TStatusBar) Refresh

func (s *TStatusBar) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TStatusBar) RemoveControl added in v1.1.21

func (s *TStatusBar) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TStatusBar) Repaint

func (s *TStatusBar) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TStatusBar) ScrollBy added in v1.1.21

func (s *TStatusBar) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TStatusBar) SendToBack

func (s *TStatusBar) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TStatusBar) SetAnchorSideBottom

func (s *TStatusBar) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TStatusBar) SetAnchorSideLeft

func (s *TStatusBar) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TStatusBar) SetAnchorSideRight

func (s *TStatusBar) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TStatusBar) SetAnchorSideTop

func (s *TStatusBar) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TStatusBar) SetAnchors

func (s *TStatusBar) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

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)

SetBorderSpacing

设置边框间距。

func (*TStatusBar) SetBorderWidth

func (s *TStatusBar) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TStatusBar) SetBounds

func (s *TStatusBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TStatusBar) SetClientWidth

func (s *TStatusBar) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TStatusBar) SetColor

func (s *TStatusBar) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TStatusBar) SetComponentIndex

func (s *TStatusBar) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TStatusBar) SetConstraints added in v1.2.7

func (s *TStatusBar) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TStatusBar) SetControlState added in v1.1.21

func (s *TStatusBar) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TStatusBar) SetControlStyle added in v1.1.21

func (s *TStatusBar) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TStatusBar) SetCursor

func (s *TStatusBar) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TStatusBar) SetDockSite

func (s *TStatusBar) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TStatusBar) SetDoubleBuffered

func (s *TStatusBar) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TStatusBar) SetDragCursor

func (s *TStatusBar) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TStatusBar) SetDragKind

func (s *TStatusBar) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TStatusBar) SetDragMode

func (s *TStatusBar) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TStatusBar) SetEnabled

func (s *TStatusBar) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TStatusBar) SetFocus

func (s *TStatusBar) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TStatusBar) SetFont

func (s *TStatusBar) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TStatusBar) SetHeight

func (s *TStatusBar) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TStatusBar) SetHint

func (s *TStatusBar) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TStatusBar) SetLeft

func (s *TStatusBar) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TStatusBar) SetName

func (s *TStatusBar) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TStatusBar) SetOnClick

func (s *TStatusBar) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TStatusBar) SetOnContextPopup

func (s *TStatusBar) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TStatusBar) SetOnDblClick

func (s *TStatusBar) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TStatusBar) SetOnDragDrop

func (s *TStatusBar) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TStatusBar) SetOnDragOver

func (s *TStatusBar) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TStatusBar) SetOnEndDock

func (s *TStatusBar) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TStatusBar) SetOnEndDrag

func (s *TStatusBar) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TStatusBar) SetOnHint

func (s *TStatusBar) SetOnHint(fn TNotifyEvent)

SetOnHint

设置鼠标悬停提示事件。

func (*TStatusBar) SetOnMouseDown

func (s *TStatusBar) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TStatusBar) SetOnMouseEnter

func (s *TStatusBar) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TStatusBar) SetOnMouseLeave

func (s *TStatusBar) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TStatusBar) SetOnMouseMove

func (s *TStatusBar) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TStatusBar) SetOnMouseUp

func (s *TStatusBar) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TStatusBar) SetOnResize

func (s *TStatusBar) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TStatusBar) SetOnStartDock

func (s *TStatusBar) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TStatusBar) SetPanels

func (s *TStatusBar) SetPanels(value *TStatusPanels)

func (*TStatusBar) SetParent

func (s *TStatusBar) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TStatusBar) SetParentColor

func (s *TStatusBar) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TStatusBar) SetParentDoubleBuffered

func (s *TStatusBar) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TStatusBar) SetParentFont

func (s *TStatusBar) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TStatusBar) SetParentShowHint

func (s *TStatusBar) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TStatusBar) SetParentWindow

func (s *TStatusBar) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TStatusBar) SetPopupMenu

func (s *TStatusBar) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TStatusBar) SetShowHint

func (s *TStatusBar) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

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)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TStatusBar) SetTabStop

func (s *TStatusBar) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TStatusBar) SetTag

func (s *TStatusBar) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TStatusBar) SetTextBuf added in v1.1.21

func (s *TStatusBar) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TStatusBar) SetTop

func (s *TStatusBar) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TStatusBar) SetUseDockManager

func (s *TStatusBar) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TStatusBar) SetUseSystemFont

func (s *TStatusBar) SetUseSystemFont(value bool)

func (*TStatusBar) SetVisible

func (s *TStatusBar) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TStatusBar) SetWidth

func (s *TStatusBar) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TStatusBar) Show

func (s *TStatusBar) Show()

Show

显示控件。

Show control.

func (*TStatusBar) ShowHint

func (s *TStatusBar) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TStatusBar) TabStop

func (s *TStatusBar) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TStatusBar) Tag

func (s *TStatusBar) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TStatusBar) ToString

func (s *TStatusBar) ToString() string

ToString

文本类信息。

Text information.

func (*TStatusBar) Top

func (s *TStatusBar) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TStatusBar) UnsafeAddr added in v1.1.21

func (s *TStatusBar) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TStatusBar) Update

func (s *TStatusBar) Update()

Update

控件更新。

Update.

func (*TStatusBar) UseDockManager

func (s *TStatusBar) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TStatusBar) UseSystemFont

func (s *TStatusBar) UseSystemFont() bool

func (*TStatusBar) Visible

func (s *TStatusBar) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TStatusBar) VisibleDockClientCount added in v1.1.21

func (s *TStatusBar) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TStatusBar) Width

func (s *TStatusBar) Width() int32

Width

获取宽度。

Get width.

type TStatusPanel

type TStatusPanel struct {
	IObject
	// contains filtered or unexported fields
}

func AsStatusPanel added in v1.2.10

func AsStatusPanel(obj interface{}) *TStatusPanel

AsStatusPanel

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStatusPanel

func NewStatusPanel(AOwner *TCollection) *TStatusPanel

NewStatusPanel

创建一个新的对象。

Create a new object.

func (*TStatusPanel) Alignment

func (s *TStatusPanel) Alignment() TAlignment

Alignment

获取文字对齐。

Get Text alignment.

func (*TStatusPanel) Assign

func (s *TStatusPanel) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TStatusPanel) ClassType added in v1.1.18

func (s *TStatusPanel) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TStatusPanel) Collection added in v1.1.23

func (s *TStatusPanel) Collection() *TCollection

func (*TStatusPanel) DisplayName added in v1.2.7

func (s *TStatusPanel) DisplayName() string

func (*TStatusPanel) Equals

func (s *TStatusPanel) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TStatusPanel) Free

func (s *TStatusPanel) Free()

Free

释放对象。

Free object.

func (*TStatusPanel) GetHashCode

func (s *TStatusPanel) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TStatusPanel) GetNamePath

func (s *TStatusPanel) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TStatusPanel) Index

func (s *TStatusPanel) Index() int32

func (*TStatusPanel) InheritsFrom added in v1.1.18

func (s *TStatusPanel) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TStatusPanel) Instance

func (s *TStatusPanel) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TStatusPanel) InstanceSize added in v1.1.18

func (s *TStatusPanel) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TStatusPanel) Is added in v1.2.10

func (s *TStatusPanel) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStatusPanel) IsValid

func (s *TStatusPanel) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TStatusPanel) SetAlignment

func (s *TStatusPanel) SetAlignment(value TAlignment)

SetAlignment

设置文字对齐。

Set Text alignment.

func (*TStatusPanel) SetBiDiMode

func (s *TStatusPanel) SetBiDiMode(value TBiDiMode)

func (*TStatusPanel) SetCollection added in v1.1.23

func (s *TStatusPanel) SetCollection(value *TCollection)

func (*TStatusPanel) SetDisplayName added in v1.2.7

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)

SetText

设置文本。

func (*TStatusPanel) SetWidth

func (s *TStatusPanel) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TStatusPanel) Style

func (s *TStatusPanel) Style() TStatusPanelStyle

func (*TStatusPanel) Text

func (s *TStatusPanel) Text() string

Text

获取文本。

func (*TStatusPanel) ToString

func (s *TStatusPanel) ToString() string

ToString

文本类信息。

Text information.

func (*TStatusPanel) UnsafeAddr added in v1.1.21

func (s *TStatusPanel) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TStatusPanel) Width

func (s *TStatusPanel) Width() int32

Width

获取宽度。

Get width.

type TStatusPanels

type TStatusPanels struct {
	IObject
	// contains filtered or unexported fields
}

func AsStatusPanels added in v1.2.10

func AsStatusPanels(obj interface{}) *TStatusPanels

AsStatusPanels

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStatusPanels

func NewStatusPanels(AOwner *TStatusBar) *TStatusPanels

NewStatusPanels

创建一个新的对象。

Create a new object.

func (*TStatusPanels) Add

func (s *TStatusPanels) Add() *TStatusPanel

func (*TStatusPanels) Assign

func (s *TStatusPanels) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TStatusPanels) ClassType added in v1.1.18

func (s *TStatusPanels) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TStatusPanels) Clear

func (s *TStatusPanels) Clear()

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TStatusPanels) FindItemID added in v1.1.23

func (s *TStatusPanels) FindItemID(ID int32) *TCollectionItem

func (*TStatusPanels) Free

func (s *TStatusPanels) Free()

Free

释放对象。

Free object.

func (*TStatusPanels) GetHashCode

func (s *TStatusPanels) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TStatusPanels) GetNamePath

func (s *TStatusPanels) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TStatusPanels) InheritsFrom added in v1.1.18

func (s *TStatusPanels) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TStatusPanels) InstanceSize added in v1.1.18

func (s *TStatusPanels) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TStatusPanels) Is added in v1.2.10

func (s *TStatusPanels) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStatusPanels) IsValid

func (s *TStatusPanels) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TStatusPanels) Items

func (s *TStatusPanels) Items(Index int32) *TStatusPanel

func (*TStatusPanels) Owner

func (s *TStatusPanels) Owner() *TObject

Owner

组件所有者。

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

ToString

文本类信息。

Text information.

func (*TStatusPanels) UnsafeAddr added in v1.1.21

func (s *TStatusPanels) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TStringGrid added in v1.1.19

type TStringGrid struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsStringGrid added in v1.2.10

func AsStringGrid(obj interface{}) *TStringGrid

AsStringGrid

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStringGrid added in v1.1.19

func NewStringGrid(owner IComponent) *TStringGrid

NewStringGrid

创建一个新的对象。

Create a new object.

func (*TStringGrid) Action added in v1.1.19

func (s *TStringGrid) Action() *TAction

func (*TStringGrid) Align added in v1.1.19

func (s *TStringGrid) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TStringGrid) AnchorSideBottom

func (s *TStringGrid) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TStringGrid) AnchorSideLeft

func (s *TStringGrid) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TStringGrid) AnchorSideRight

func (s *TStringGrid) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TStringGrid) AnchorSideTop

func (s *TStringGrid) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TStringGrid) AnchorToNeighbour

func (s *TStringGrid) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStringGrid) AnchorVerticalCenterTo

func (s *TStringGrid) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TStringGrid) Anchors added in v1.1.19

func (s *TStringGrid) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TStringGrid) Assign added in v1.1.19

func (s *TStringGrid) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.1.19

func (s *TStringGrid) BiDiMode() TBiDiMode

func (*TStringGrid) BorderSpacing

func (s *TStringGrid) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TStringGrid) BorderStyle added in v1.1.19

func (s *TStringGrid) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TStringGrid) BoundsRect added in v1.1.19

func (s *TStringGrid) BoundsRect() TRect

func (*TStringGrid) BringToFront added in v1.1.19

func (s *TStringGrid) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TStringGrid) Brush added in v1.1.19

func (s *TStringGrid) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TStringGrid) CanFocus added in v1.1.19

func (s *TStringGrid) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TStringGrid) Canvas added in v1.1.19

func (s *TStringGrid) Canvas() *TCanvas

Canvas

获取画布。

func (*TStringGrid) CellHintPriority

func (s *TStringGrid) CellHintPriority() TCellHintPriority

func (*TStringGrid) CellRect added in v1.1.19

func (s *TStringGrid) CellRect(ACol int32, ARow int32) TRect

func (*TStringGrid) CellToGridZone

func (s *TStringGrid) CellToGridZone(aCol int32, aRow int32) TGridZone

func (*TStringGrid) Cells added in v1.1.19

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 added in v1.1.19

func (s *TStringGrid) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TStringGrid) ClassType added in v1.1.19

func (s *TStringGrid) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TStringGrid) Clear

func (s *TStringGrid) Clear()

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 added in v1.1.19

func (s *TStringGrid) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TStringGrid) ClientOrigin added in v1.1.21

func (s *TStringGrid) ClientOrigin() TPoint

func (*TStringGrid) ClientRect added in v1.1.19

func (s *TStringGrid) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TStringGrid) ClientToParent added in v1.1.19

func (s *TStringGrid) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TStringGrid) ClientToScreen added in v1.1.19

func (s *TStringGrid) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TStringGrid) ClientWidth added in v1.1.19

func (s *TStringGrid) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TStringGrid) Col added in v1.1.19

func (s *TStringGrid) Col() int32

func (*TStringGrid) ColCount added in v1.1.19

func (s *TStringGrid) ColCount() int32

func (*TStringGrid) ColWidths added in v1.1.19

func (s *TStringGrid) ColWidths(Index int32) int32

func (*TStringGrid) Color added in v1.1.19

func (s *TStringGrid) Color() TColor

Color

获取颜色。

Get color.

func (*TStringGrid) Cols added in v1.1.19

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 added in v1.1.19

func (s *TStringGrid) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TStringGrid) ComponentIndex added in v1.1.19

func (s *TStringGrid) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TStringGrid) Components added in v1.1.19

func (s *TStringGrid) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TStringGrid) Constraints added in v1.2.7

func (s *TStringGrid) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TStringGrid) ContainsControl added in v1.1.21

func (s *TStringGrid) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TStringGrid) ControlAtPos added in v1.1.21

func (s *TStringGrid) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TStringGrid) ControlCount added in v1.1.19

func (s *TStringGrid) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TStringGrid) ControlState added in v1.1.21

func (s *TStringGrid) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TStringGrid) ControlStyle added in v1.1.21

func (s *TStringGrid) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TStringGrid) Controls added in v1.1.19

func (s *TStringGrid) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TStringGrid) Cursor added in v1.1.19

func (s *TStringGrid) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TStringGrid) DefaultColWidth added in v1.1.19

func (s *TStringGrid) DefaultColWidth() int32

func (*TStringGrid) DefaultDrawing added in v1.1.19

func (s *TStringGrid) DefaultDrawing() bool

func (*TStringGrid) DefaultRowHeight added in v1.1.19

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 added in v1.1.21

func (s *TStringGrid) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TStringGrid) DockClientCount added in v1.1.21

func (s *TStringGrid) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TStringGrid) DockClients added in v1.1.21

func (s *TStringGrid) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TStringGrid) DockSite added in v1.1.19

func (s *TStringGrid) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TStringGrid) DoubleBuffered added in v1.1.19

func (s *TStringGrid) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TStringGrid) DragCursor added in v1.1.19

func (s *TStringGrid) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TStringGrid) DragKind added in v1.1.19

func (s *TStringGrid) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TStringGrid) DragMode added in v1.1.19

func (s *TStringGrid) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TStringGrid) Dragging added in v1.1.19

func (s *TStringGrid) Dragging() bool

Dragging

是否在拖拽中。

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 added in v1.1.19

func (s *TStringGrid) EditorMode() bool

func (*TStringGrid) EditorTextChanged

func (s *TStringGrid) EditorTextChanged(aCol int32, aRow int32, aText string)

func (*TStringGrid) EnableAlign added in v1.1.21

func (s *TStringGrid) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TStringGrid) Enabled added in v1.1.19

func (s *TStringGrid) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TStringGrid) Equals added in v1.1.19

func (s *TStringGrid) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

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 added in v1.1.21

func (s *TStringGrid) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TStringGrid) FindComponent added in v1.1.19

func (s *TStringGrid) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TStringGrid) FixDesignFontsPPI

func (s *TStringGrid) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TStringGrid) FixedColor added in v1.1.19

func (s *TStringGrid) FixedColor() TColor

func (*TStringGrid) FixedCols added in v1.1.19

func (s *TStringGrid) FixedCols() int32

func (*TStringGrid) FixedGridLineColor

func (s *TStringGrid) FixedGridLineColor() TColor

func (*TStringGrid) FixedHotColor

func (s *TStringGrid) FixedHotColor() TColor

func (*TStringGrid) FixedRows added in v1.1.19

func (s *TStringGrid) FixedRows() int32

func (*TStringGrid) Flat

func (s *TStringGrid) Flat() bool

Flat

获取平面样式。

func (*TStringGrid) FlipChildren added in v1.1.19

func (s *TStringGrid) FlipChildren(AllLevels bool)

func (*TStringGrid) Floating added in v1.1.19

func (s *TStringGrid) Floating() bool

func (*TStringGrid) FocusColor

func (s *TStringGrid) FocusColor() TColor

func (*TStringGrid) FocusRectVisible

func (s *TStringGrid) FocusRectVisible() bool

func (*TStringGrid) Focused added in v1.1.19

func (s *TStringGrid) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*TStringGrid) Font added in v1.1.19

func (s *TStringGrid) Font() *TFont

Font

获取字体。

Get Font.

func (*TStringGrid) Free added in v1.1.19

func (s *TStringGrid) Free()

Free

释放对象。

Free object.

func (*TStringGrid) GetHashCode added in v1.1.19

func (s *TStringGrid) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TStringGrid) GetNamePath added in v1.1.19

func (s *TStringGrid) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TStringGrid) GetTextBuf added in v1.1.19

func (s *TStringGrid) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TStringGrid) GetTextLen added in v1.1.19

func (s *TStringGrid) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TStringGrid) GridHeight added in v1.1.19

func (s *TStringGrid) GridHeight() int32

func (*TStringGrid) GridLineColor

func (s *TStringGrid) GridLineColor() TColor

func (*TStringGrid) GridLineStyle

func (s *TStringGrid) GridLineStyle() TPenStyle

func (*TStringGrid) GridLineWidth added in v1.1.19

func (s *TStringGrid) GridLineWidth() int32

func (*TStringGrid) GridWidth added in v1.1.19

func (s *TStringGrid) GridWidth() int32

func (*TStringGrid) Handle added in v1.1.19

func (s *TStringGrid) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TStringGrid) HandleAllocated added in v1.1.19

func (s *TStringGrid) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TStringGrid) HasMultiSelection

func (s *TStringGrid) HasMultiSelection() bool

func (*TStringGrid) HasParent added in v1.1.19

func (s *TStringGrid) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TStringGrid) HeaderHotZones

func (s *TStringGrid) HeaderHotZones() TGridZoneSet

func (*TStringGrid) HeaderPushZones

func (s *TStringGrid) HeaderPushZones() TGridZoneSet

func (*TStringGrid) Height added in v1.1.19

func (s *TStringGrid) Height() int32

Height

获取高度。

Get height.

func (*TStringGrid) Hide added in v1.1.19

func (s *TStringGrid) Hide()

Hide

隐藏控件。

Hidden control.

func (*TStringGrid) Hint added in v1.1.19

func (s *TStringGrid) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TStringGrid) ImageIndexSortAsc

func (s *TStringGrid) ImageIndexSortAsc() int32

func (*TStringGrid) ImageIndexSortDesc

func (s *TStringGrid) ImageIndexSortDesc() int32

func (*TStringGrid) InheritsFrom added in v1.1.19

func (s *TStringGrid) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TStringGrid) InsertColRow

func (s *TStringGrid) InsertColRow(IsColumn bool, index int32)

func (*TStringGrid) InsertControl added in v1.1.21

func (s *TStringGrid) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TStringGrid) Instance added in v1.1.19

func (s *TStringGrid) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TStringGrid) InstanceSize added in v1.1.19

func (s *TStringGrid) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TStringGrid) Invalidate added in v1.1.19

func (s *TStringGrid) Invalidate()

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 added in v1.2.10

func (s *TStringGrid) Is() TIs

Is

检测当前对象是否继承自目标对象。

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 added in v1.1.19

func (s *TStringGrid) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TStringGrid) Left added in v1.1.19

func (s *TStringGrid) Left() int32

Left

获取左边位置。

Get Left position.

func (*TStringGrid) LeftCol added in v1.1.19

func (s *TStringGrid) LeftCol() int32

func (*TStringGrid) MouseCoord added in v1.1.19

func (s *TStringGrid) MouseCoord(X int32, Y int32) TGridCoord

func (*TStringGrid) MouseInClient added in v1.1.21

func (s *TStringGrid) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TStringGrid) MouseToCell added in v1.1.19

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 added in v1.1.19

func (s *TStringGrid) Name() string

Name

获取组件名称。

Get the component name.

func (*TStringGrid) Objects added in v1.1.19

func (s *TStringGrid) Objects(ACol int32, ARow int32) *TObject

func (*TStringGrid) Options added in v1.1.19

func (s *TStringGrid) Options() TGridOptions

func (*TStringGrid) Options2

func (s *TStringGrid) Options2() TGridOptions2

func (*TStringGrid) Owner added in v1.1.19

func (s *TStringGrid) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TStringGrid) PaintTo added in v1.1.21

func (s *TStringGrid) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TStringGrid) Parent added in v1.1.19

func (s *TStringGrid) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TStringGrid) ParentColor added in v1.1.19

func (s *TStringGrid) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TStringGrid) ParentDoubleBuffered added in v1.1.19

func (s *TStringGrid) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TStringGrid) ParentFont added in v1.1.19

func (s *TStringGrid) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TStringGrid) ParentShowHint added in v1.1.19

func (s *TStringGrid) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TStringGrid) ParentToClient added in v1.1.19

func (s *TStringGrid) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TStringGrid) ParentWindow added in v1.1.19

func (s *TStringGrid) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TStringGrid) Perform added in v1.1.19

func (s *TStringGrid) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TStringGrid) PopupMenu added in v1.1.19

func (s *TStringGrid) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TStringGrid) RangeSelectMode

func (s *TStringGrid) RangeSelectMode() TRangeSelectMode

func (*TStringGrid) Realign added in v1.1.19

func (s *TStringGrid) Realign()

Realign

重新对齐。

Realign.

func (*TStringGrid) Refresh added in v1.1.19

func (s *TStringGrid) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TStringGrid) RemoveControl added in v1.1.21

func (s *TStringGrid) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TStringGrid) Repaint added in v1.1.19

func (s *TStringGrid) Repaint()

Repaint

重绘。

Repaint.

func (*TStringGrid) Row added in v1.1.19

func (s *TStringGrid) Row() int32

func (*TStringGrid) RowCount added in v1.1.19

func (s *TStringGrid) RowCount() int32

func (*TStringGrid) RowHeights added in v1.1.19

func (s *TStringGrid) RowHeights(Index int32) int32

func (*TStringGrid) Rows added in v1.1.19

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 added in v1.1.19

func (s *TStringGrid) ScaleBy(M int32, D int32)

ScaleBy

按比例缩放。

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 added in v1.1.19

func (s *TStringGrid) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TStringGrid) ScrollBars added in v1.1.19

func (s *TStringGrid) ScrollBars() TScrollStyle

func (*TStringGrid) ScrollBy added in v1.1.21

func (s *TStringGrid) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TStringGrid) SelectedColor

func (s *TStringGrid) SelectedColor() TColor

func (*TStringGrid) SelectedColumn

func (s *TStringGrid) SelectedColumn() *TGridColumn

func (*TStringGrid) Selection added in v1.1.19

func (s *TStringGrid) Selection() TGridRect

func (*TStringGrid) SendToBack added in v1.1.19

func (s *TStringGrid) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TStringGrid) SetAction added in v1.1.19

func (s *TStringGrid) SetAction(value IComponent)

func (*TStringGrid) SetAlign added in v1.1.19

func (s *TStringGrid) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TStringGrid) SetAlternateColor

func (s *TStringGrid) SetAlternateColor(value TColor)

func (*TStringGrid) SetAnchorSideBottom

func (s *TStringGrid) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TStringGrid) SetAnchorSideLeft

func (s *TStringGrid) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TStringGrid) SetAnchorSideRight

func (s *TStringGrid) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TStringGrid) SetAnchorSideTop

func (s *TStringGrid) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TStringGrid) SetAnchors added in v1.1.19

func (s *TStringGrid) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

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 added in v1.1.19

func (s *TStringGrid) SetBiDiMode(value TBiDiMode)

func (*TStringGrid) SetBorderSpacing

func (s *TStringGrid) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TStringGrid) SetBorderStyle added in v1.1.19

func (s *TStringGrid) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TStringGrid) SetBounds added in v1.1.19

func (s *TStringGrid) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TStringGrid) SetBoundsRect added in v1.1.19

func (s *TStringGrid) SetBoundsRect(value TRect)

func (*TStringGrid) SetCellHintPriority

func (s *TStringGrid) SetCellHintPriority(value TCellHintPriority)

func (*TStringGrid) SetCells added in v1.1.19

func (s *TStringGrid) SetCells(ACol int32, ARow int32, value string)

func (*TStringGrid) SetChildSizing

func (s *TStringGrid) SetChildSizing(value *TControlChildSizing)

func (*TStringGrid) SetClientHeight added in v1.1.19

func (s *TStringGrid) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TStringGrid) SetClientWidth added in v1.1.19

func (s *TStringGrid) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TStringGrid) SetCol added in v1.1.19

func (s *TStringGrid) SetCol(value int32)

func (*TStringGrid) SetColCount added in v1.1.19

func (s *TStringGrid) SetColCount(value int32)

func (*TStringGrid) SetColWidths added in v1.1.19

func (s *TStringGrid) SetColWidths(Index int32, value int32)

func (*TStringGrid) SetColor added in v1.1.19

func (s *TStringGrid) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TStringGrid) SetCols added in v1.1.19

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 added in v1.1.19

func (s *TStringGrid) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TStringGrid) SetConstraints added in v1.2.7

func (s *TStringGrid) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TStringGrid) SetControlState added in v1.1.21

func (s *TStringGrid) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TStringGrid) SetControlStyle added in v1.1.21

func (s *TStringGrid) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TStringGrid) SetCursor added in v1.1.19

func (s *TStringGrid) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TStringGrid) SetDefaultColWidth added in v1.1.19

func (s *TStringGrid) SetDefaultColWidth(value int32)

func (*TStringGrid) SetDefaultDrawing added in v1.1.19

func (s *TStringGrid) SetDefaultDrawing(value bool)

func (*TStringGrid) SetDefaultRowHeight added in v1.1.19

func (s *TStringGrid) SetDefaultRowHeight(value int32)

func (*TStringGrid) SetDockSite added in v1.1.19

func (s *TStringGrid) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TStringGrid) SetDoubleBuffered added in v1.1.19

func (s *TStringGrid) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TStringGrid) SetDragCursor added in v1.1.19

func (s *TStringGrid) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TStringGrid) SetDragKind added in v1.1.19

func (s *TStringGrid) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TStringGrid) SetDragMode added in v1.1.19

func (s *TStringGrid) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TStringGrid) SetEditor

func (s *TStringGrid) SetEditor(value IWinControl)

func (*TStringGrid) SetEditorBorderStyle

func (s *TStringGrid) SetEditorBorderStyle(value TBorderStyle)

func (*TStringGrid) SetEditorMode added in v1.1.19

func (s *TStringGrid) SetEditorMode(value bool)

func (*TStringGrid) SetEnabled added in v1.1.19

func (s *TStringGrid) SetEnabled(value bool)

SetEnabled

设置控件启用。

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 added in v1.1.19

func (s *TStringGrid) SetFixedColor(value TColor)

func (*TStringGrid) SetFixedCols added in v1.1.19

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 added in v1.1.19

func (s *TStringGrid) SetFixedRows(value int32)

func (*TStringGrid) SetFlat

func (s *TStringGrid) SetFlat(value bool)

SetFlat

设置平面样式。

func (*TStringGrid) SetFocus added in v1.1.19

func (s *TStringGrid) SetFocus()

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 added in v1.1.19

func (s *TStringGrid) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TStringGrid) SetGridLineColor

func (s *TStringGrid) SetGridLineColor(value TColor)

func (*TStringGrid) SetGridLineStyle

func (s *TStringGrid) SetGridLineStyle(value TPenStyle)

func (*TStringGrid) SetGridLineWidth added in v1.1.19

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 added in v1.1.19

func (s *TStringGrid) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TStringGrid) SetHint added in v1.1.19

func (s *TStringGrid) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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 added in v1.1.19

func (s *TStringGrid) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TStringGrid) SetLeftCol added in v1.1.19

func (s *TStringGrid) SetLeftCol(value int32)

func (*TStringGrid) SetMouseWheelOption

func (s *TStringGrid) SetMouseWheelOption(value TMouseWheelOption)

func (*TStringGrid) SetName added in v1.1.19

func (s *TStringGrid) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TStringGrid) SetObjects added in v1.1.19

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 added in v1.1.19

func (s *TStringGrid) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

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 added in v1.1.19

func (s *TStringGrid) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TStringGrid) SetOnDblClick added in v1.1.19

func (s *TStringGrid) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TStringGrid) SetOnDragDrop added in v1.1.19

func (s *TStringGrid) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TStringGrid) SetOnDragOver added in v1.1.19

func (s *TStringGrid) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TStringGrid) SetOnDrawCell added in v1.1.19

func (s *TStringGrid) SetOnDrawCell(fn TDrawCellEvent)

func (*TStringGrid) SetOnEditingDone

func (s *TStringGrid) SetOnEditingDone(fn TNotifyEvent)

func (*TStringGrid) SetOnEndDock added in v1.1.19

func (s *TStringGrid) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TStringGrid) SetOnEndDrag added in v1.1.19

func (s *TStringGrid) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TStringGrid) SetOnEnter added in v1.1.19

func (s *TStringGrid) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TStringGrid) SetOnExit added in v1.1.19

func (s *TStringGrid) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TStringGrid) SetOnGetCellHint

func (s *TStringGrid) SetOnGetCellHint(fn TGetCellHintEvent)

func (*TStringGrid) SetOnGetCheckboxState

func (s *TStringGrid) SetOnGetCheckboxState(fn TGetCheckboxStateEvent)

func (*TStringGrid) SetOnGetEditMask added in v1.1.19

func (s *TStringGrid) SetOnGetEditMask(fn TGetEditEvent)

func (*TStringGrid) SetOnGetEditText added in v1.1.19

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 added in v1.1.19

func (s *TStringGrid) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TStringGrid) SetOnKeyPress added in v1.1.19

func (s *TStringGrid) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TStringGrid) SetOnKeyUp added in v1.1.19

func (s *TStringGrid) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TStringGrid) SetOnMouseDown added in v1.1.19

func (s *TStringGrid) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TStringGrid) SetOnMouseEnter added in v1.1.19

func (s *TStringGrid) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TStringGrid) SetOnMouseLeave added in v1.1.19

func (s *TStringGrid) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TStringGrid) SetOnMouseMove added in v1.1.19

func (s *TStringGrid) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TStringGrid) SetOnMouseUp added in v1.1.19

func (s *TStringGrid) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TStringGrid) SetOnMouseWheelDown added in v1.1.19

func (s *TStringGrid) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TStringGrid) SetOnMouseWheelUp added in v1.1.19

func (s *TStringGrid) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TStringGrid) SetOnPickListSelect

func (s *TStringGrid) SetOnPickListSelect(fn TNotifyEvent)

func (*TStringGrid) SetOnPrepareCanvas

func (s *TStringGrid) SetOnPrepareCanvas(fn TOnPrepareCanvasEvent)

func (*TStringGrid) SetOnSelectCell added in v1.1.19

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 added in v1.1.19

func (s *TStringGrid) SetOnSetEditText(fn TSetEditEvent)

func (*TStringGrid) SetOnStartDock added in v1.1.19

func (s *TStringGrid) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TStringGrid) SetOnTopLeftChanged added in v1.1.19

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 added in v1.1.19

func (s *TStringGrid) SetOptions(value TGridOptions)

func (*TStringGrid) SetOptions2

func (s *TStringGrid) SetOptions2(value TGridOptions2)

func (*TStringGrid) SetParent added in v1.1.19

func (s *TStringGrid) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TStringGrid) SetParentColor added in v1.1.19

func (s *TStringGrid) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TStringGrid) SetParentDoubleBuffered added in v1.1.19

func (s *TStringGrid) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TStringGrid) SetParentFont added in v1.1.19

func (s *TStringGrid) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TStringGrid) SetParentShowHint added in v1.1.19

func (s *TStringGrid) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TStringGrid) SetParentWindow added in v1.1.19

func (s *TStringGrid) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TStringGrid) SetPopupMenu added in v1.1.19

func (s *TStringGrid) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TStringGrid) SetRangeSelectMode

func (s *TStringGrid) SetRangeSelectMode(value TRangeSelectMode)

func (*TStringGrid) SetRow added in v1.1.19

func (s *TStringGrid) SetRow(value int32)

func (*TStringGrid) SetRowCount added in v1.1.19

func (s *TStringGrid) SetRowCount(value int32)

func (*TStringGrid) SetRowHeights added in v1.1.19

func (s *TStringGrid) SetRowHeights(Index int32, value int32)

func (*TStringGrid) SetRows added in v1.1.19

func (s *TStringGrid) SetRows(Index int32, value IStrings)

func (*TStringGrid) SetScrollBars added in v1.1.19

func (s *TStringGrid) SetScrollBars(value TScrollStyle)

func (*TStringGrid) SetSelectedColor

func (s *TStringGrid) SetSelectedColor(value TColor)

func (*TStringGrid) SetSelection added in v1.1.19

func (s *TStringGrid) SetSelection(value TGridRect)

func (*TStringGrid) SetShowHint added in v1.1.19

func (s *TStringGrid) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

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 added in v1.1.19

func (s *TStringGrid) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TStringGrid) SetTabStop added in v1.1.19

func (s *TStringGrid) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TStringGrid) SetTag added in v1.1.19

func (s *TStringGrid) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TStringGrid) SetTextBuf added in v1.1.21

func (s *TStringGrid) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

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 added in v1.1.19

func (s *TStringGrid) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TStringGrid) SetTopRow added in v1.1.19

func (s *TStringGrid) SetTopRow(value int32)

func (*TStringGrid) SetUseDockManager added in v1.1.19

func (s *TStringGrid) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TStringGrid) SetUseXORFeatures

func (s *TStringGrid) SetUseXORFeatures(value bool)

func (*TStringGrid) SetVisible added in v1.1.19

func (s *TStringGrid) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TStringGrid) SetWidth added in v1.1.19

func (s *TStringGrid) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TStringGrid) Show added in v1.1.19

func (s *TStringGrid) Show()

Show

显示控件。

Show control.

func (*TStringGrid) ShowHint added in v1.1.19

func (s *TStringGrid) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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 added in v1.1.19

func (s *TStringGrid) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TStringGrid) TabStop added in v1.1.19

func (s *TStringGrid) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TStringGrid) Tag added in v1.1.19

func (s *TStringGrid) Tag() int

Tag

获取对象标记。

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 added in v1.1.19

func (s *TStringGrid) ToString() string

ToString

文本类信息。

Text information.

func (*TStringGrid) Top added in v1.1.19

func (s *TStringGrid) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TStringGrid) TopRow added in v1.1.19

func (s *TStringGrid) TopRow() int32

func (*TStringGrid) UnsafeAddr added in v1.1.21

func (s *TStringGrid) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TStringGrid) Update added in v1.1.19

func (s *TStringGrid) Update()

Update

控件更新。

Update.

func (*TStringGrid) UseDockManager added in v1.1.19

func (s *TStringGrid) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TStringGrid) UseXORFeatures

func (s *TStringGrid) UseXORFeatures() bool

func (*TStringGrid) Visible added in v1.1.19

func (s *TStringGrid) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TStringGrid) VisibleColCount added in v1.1.19

func (s *TStringGrid) VisibleColCount() int32

func (*TStringGrid) VisibleDockClientCount added in v1.1.21

func (s *TStringGrid) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TStringGrid) VisibleRowCount added in v1.1.19

func (s *TStringGrid) VisibleRowCount() int32

func (*TStringGrid) Width added in v1.1.19

func (s *TStringGrid) Width() int32

Width

获取宽度。

Get width.

type TStringList

type TStringList struct {
	IStrings
	// contains filtered or unexported fields
}

func AsStringList added in v1.2.10

func AsStringList(obj interface{}) *TStringList

AsStringList

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStringList

func NewStringList() *TStringList

NewStringList

创建一个新的对象。

Create a new object.

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)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TStringList) ClassType added in v1.1.18

func (s *TStringList) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TStringList) Clear

func (s *TStringList) Clear()

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TStringList) Exchange

func (s *TStringList) Exchange(Index1 int32, Index2 int32)

func (*TStringList) Free

func (s *TStringList) Free()

Free

释放对象。

Free object.

func (*TStringList) GetHashCode

func (s *TStringList) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TStringList) GetNamePath

func (s *TStringList) GetNamePath() string

GetNamePath

获取类名路径。

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 added in v1.1.18

func (s *TStringList) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TStringList) InstanceSize added in v1.1.18

func (s *TStringList) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TStringList) Is added in v1.2.10

func (s *TStringList) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStringList) IsValid

func (s *TStringList) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TStringList) LoadFromBytes

func (s *TStringList) LoadFromBytes(data []byte)

func (*TStringList) LoadFromFile

func (s *TStringList) LoadFromFile(FileName string)

LoadFromFile

从文件加载。

func (*TStringList) LoadFromStream

func (s *TStringList) LoadFromStream(Stream IStream)

LoadFromStream

文件流加载。

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 added in v1.2.10

func (s *TStringList) S(Index int32) string

S

Strings()的别名。

Alias of Strings().

func (*TStringList) SaveToFile

func (s *TStringList) SaveToFile(FileName string)

SaveToFile

保存至文件。

func (*TStringList) SaveToStream

func (s *TStringList) SaveToStream(Stream IStream)

SaveToStream

保存至流。

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)

SetOnChange

设置改变事件。

Set changed event.

func (*TStringList) SetOnChanging added in v1.1.21

func (s *TStringList) SetOnChanging(fn TNotifyEvent)

func (*TStringList) SetS added in v1.2.10

func (s *TStringList) SetS(Index int32, value string)

SetS

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)

SetText

设置文本。

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

Text

获取文本。

func (*TStringList) ToString

func (s *TStringList) ToString() string

ToString

文本类信息。

Text information.

func (*TStringList) UnsafeAddr added in v1.1.21

func (s *TStringList) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

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 added in v1.2.10

func AsStrings(obj interface{}) *TStrings

AsStrings

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewStrings

func NewStrings() *TStrings

NewStrings

创建一个新的对象。

Create a new object.

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)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TStrings) ClassType added in v1.1.18

func (s *TStrings) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TStrings) Clear

func (s *TStrings) Clear()

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TStrings) Exchange

func (s *TStrings) Exchange(Index1 int32, Index2 int32)

func (*TStrings) Free

func (s *TStrings) Free()

Free

释放对象。

Free object.

func (*TStrings) GetHashCode

func (s *TStrings) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TStrings) GetNamePath

func (s *TStrings) GetNamePath() string

GetNamePath

获取类名路径。

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 added in v1.1.18

func (s *TStrings) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TStrings) InstanceSize added in v1.1.18

func (s *TStrings) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TStrings) Is added in v1.2.10

func (s *TStrings) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TStrings) IsValid

func (s *TStrings) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TStrings) LoadFromBytes

func (s *TStrings) LoadFromBytes(data []byte)

func (*TStrings) LoadFromFile

func (s *TStrings) LoadFromFile(FileName string)

LoadFromFile

从文件加载。

func (*TStrings) LoadFromStream

func (s *TStrings) LoadFromStream(Stream IStream)

LoadFromStream

文件流加载。

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 added in v1.2.10

func (s *TStrings) S(Index int32) string

S

Strings()的别名。

Alias of Strings().

func (*TStrings) SaveToFile

func (s *TStrings) SaveToFile(FileName string)

SaveToFile

保存至文件。

func (*TStrings) SaveToStream

func (s *TStrings) SaveToStream(Stream IStream)

SaveToStream

保存至流。

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 added in v1.2.10

func (s *TStrings) SetS(Index int32, value string)

SetS

SetStrings()的别名。

Alias of SetStrings().

func (*TStrings) SetStrings

func (s *TStrings) SetStrings(Index int32, value string)

func (*TStrings) SetText

func (s *TStrings) SetText(value string)

SetText

设置文本。

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

Text

获取文本。

func (*TStrings) ToString

func (s *TStrings) ToString() string

ToString

文本类信息。

Text information.

func (*TStrings) UnsafeAddr added in v1.1.21

func (s *TStrings) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

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)

type TTBAdvancedCustomDrawEvent

type TTBAdvancedCustomDrawEvent func(sender *TToolBar, aRect TRect, stage TCustomDrawStage, defaultDraw *bool)

type TTVAdvancedCustomDrawEvent

type TTVAdvancedCustomDrawEvent func(sender *TTreeView, aRect TRect, stage TCustomDrawStage, defaultDraw *bool)

type TTVAdvancedCustomDrawItemEvent

type TTVAdvancedCustomDrawItemEvent func(sender *TTreeView, node *TTreeNode, state TCustomDrawState, stage TCustomDrawStage, paintImages, defaultDraw *bool)

type TTVChangedEvent

type TTVChangedEvent func(sender IObject, node *TTreeNode)

type TTVChangingEvent added in v1.1.21

type TTVChangingEvent func(sender IObject, node *TTreeNode, allowChange *bool)

type TTVCollapsingEvent added in v1.1.21

type TTVCollapsingEvent func(sender IObject, node *TTreeNode, allowCollapse *bool)

type TTVCompareEvent

type TTVCompareEvent func(sender IObject, node1, node2 *TTreeNode, data int32, compare *int32)

type TTVCustomDrawEvent added in v1.1.23

type TTVCustomDrawEvent func(sender *TTreeView, aRect TRect, defaultDraw *bool)

type TTVCustomDrawItemEvent added in v1.1.23

type TTVCustomDrawItemEvent func(sender *TTreeView, node *TTreeNode, state TCustomDrawState, defaultDraw *bool)

type TTVEditedEvent added in v1.1.21

type TTVEditedEvent func(sender IObject, node *TTreeNode, s *string)

type TTVEditingEvent added in v1.1.21

type TTVEditingEvent func(sender IObject, node *TTreeNode, allowEdit *bool)

type TTVExpandedEvent

type TTVExpandedEvent func(sender IObject, node *TTreeNode)

type TTVExpandingEvent added in v1.1.21

type TTVExpandingEvent func(sender IObject, node *TTreeNode, allowExpansion *bool)

type TTVHintEvent added in v1.1.21

type TTVHintEvent func(sender IObject, node *TTreeNode, hint *string)

type TTabChangingEvent added in v1.1.21

type TTabChangingEvent func(sender IObject, allowChange *bool)

type TTabGetImageEvent

type TTabGetImageEvent func(sender IObject, tabIndex int32, imageIndex *int32)

type TTabSheet

type TTabSheet struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsTabSheet added in v1.2.10

func AsTabSheet(obj interface{}) *TTabSheet

AsTabSheet

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTabSheet

func NewTabSheet(owner IComponent) *TTabSheet

NewTabSheet

创建一个新的对象。

Create a new object.

func (*TTabSheet) Action

func (t *TTabSheet) Action() *TAction

func (*TTabSheet) Align

func (t *TTabSheet) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TTabSheet) AnchorSideBottom

func (t *TTabSheet) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TTabSheet) AnchorSideLeft

func (t *TTabSheet) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TTabSheet) AnchorSideRight

func (t *TTabSheet) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TTabSheet) AnchorSideTop

func (t *TTabSheet) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TTabSheet) AnchorToNeighbour

func (t *TTabSheet) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTabSheet) AnchorVerticalCenterTo

func (t *TTabSheet) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TTabSheet) Anchors

func (t *TTabSheet) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TTabSheet) Assign

func (t *TTabSheet) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TTabSheet) BorderWidth

func (t *TTabSheet) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TTabSheet) BoundsRect

func (t *TTabSheet) BoundsRect() TRect

func (*TTabSheet) BringToFront

func (t *TTabSheet) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TTabSheet) Brush

func (t *TTabSheet) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TTabSheet) CanFocus

func (t *TTabSheet) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TTabSheet) Caption

func (t *TTabSheet) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TTabSheet) ChildSizing

func (t *TTabSheet) ChildSizing() *TControlChildSizing

func (*TTabSheet) ClassName

func (t *TTabSheet) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTabSheet) ClassType added in v1.1.18

func (t *TTabSheet) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTabSheet) ClientHeight

func (t *TTabSheet) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TTabSheet) ClientOrigin added in v1.1.21

func (t *TTabSheet) ClientOrigin() TPoint

func (*TTabSheet) ClientRect

func (t *TTabSheet) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TTabSheet) ClientToParent

func (t *TTabSheet) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TTabSheet) ClientToScreen

func (t *TTabSheet) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TTabSheet) ClientWidth

func (t *TTabSheet) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TTabSheet) ComponentCount

func (t *TTabSheet) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TTabSheet) ComponentIndex

func (t *TTabSheet) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TTabSheet) Components

func (t *TTabSheet) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TTabSheet) Constraints added in v1.2.7

func (t *TTabSheet) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TTabSheet) ContainsControl added in v1.1.21

func (t *TTabSheet) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TTabSheet) ControlAtPos added in v1.1.21

func (t *TTabSheet) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TTabSheet) ControlCount

func (t *TTabSheet) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TTabSheet) ControlState added in v1.1.21

func (t *TTabSheet) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TTabSheet) ControlStyle added in v1.1.21

func (t *TTabSheet) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TTabSheet) Controls

func (t *TTabSheet) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TTabSheet) Cursor

func (t *TTabSheet) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TTabSheet) DisableAlign added in v1.1.21

func (t *TTabSheet) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TTabSheet) DockClientCount added in v1.1.21

func (t *TTabSheet) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TTabSheet) DockClients added in v1.1.21

func (t *TTabSheet) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TTabSheet) DockSite

func (t *TTabSheet) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TTabSheet) DoubleBuffered

func (t *TTabSheet) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TTabSheet) Dragging

func (t *TTabSheet) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TTabSheet) EnableAlign added in v1.1.21

func (t *TTabSheet) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TTabSheet) Enabled

func (t *TTabSheet) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TTabSheet) Equals

func (t *TTabSheet) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TTabSheet) FindChildControl added in v1.1.21

func (t *TTabSheet) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TTabSheet) FindComponent

func (t *TTabSheet) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TTabSheet) Font

func (t *TTabSheet) Font() *TFont

Font

获取字体。

Get Font.

func (*TTabSheet) Free

func (t *TTabSheet) Free()

Free

释放对象。

Free object.

func (*TTabSheet) GetHashCode

func (t *TTabSheet) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TTabSheet) GetNamePath

func (t *TTabSheet) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TTabSheet) GetTextBuf

func (t *TTabSheet) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TTabSheet) GetTextLen

func (t *TTabSheet) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TTabSheet) Handle

func (t *TTabSheet) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TTabSheet) HandleAllocated

func (t *TTabSheet) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TTabSheet) HasParent

func (t *TTabSheet) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TTabSheet) Height

func (t *TTabSheet) Height() int32

Height

获取高度。

Get height.

func (*TTabSheet) Hide

func (t *TTabSheet) Hide()

Hide

隐藏控件。

Hidden control.

func (*TTabSheet) Hint

func (t *TTabSheet) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TTabSheet) ImageIndex

func (t *TTabSheet) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TTabSheet) InheritsFrom added in v1.1.18

func (t *TTabSheet) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTabSheet) InsertControl added in v1.1.21

func (t *TTabSheet) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TTabSheet) Instance

func (t *TTabSheet) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTabSheet) InstanceSize added in v1.1.18

func (t *TTabSheet) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTabSheet) Invalidate

func (t *TTabSheet) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TTabSheet) Is added in v1.2.10

func (t *TTabSheet) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTabSheet) IsValid

func (t *TTabSheet) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTabSheet) Left

func (t *TTabSheet) Left() int32

Left

获取左边位置。

Get Left position.

func (*TTabSheet) MouseInClient added in v1.1.21

func (t *TTabSheet) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TTabSheet) Name

func (t *TTabSheet) Name() string

Name

获取组件名称。

Get the component name.

func (*TTabSheet) Owner

func (t *TTabSheet) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TTabSheet) PageControl

func (t *TTabSheet) PageControl() *TPageControl

func (*TTabSheet) PageIndex

func (t *TTabSheet) PageIndex() int32

func (*TTabSheet) PaintTo added in v1.1.21

func (t *TTabSheet) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TTabSheet) Parent

func (t *TTabSheet) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TTabSheet) ParentDoubleBuffered

func (t *TTabSheet) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TTabSheet) ParentFont

func (t *TTabSheet) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TTabSheet) ParentShowHint

func (t *TTabSheet) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TTabSheet) ParentToClient

func (t *TTabSheet) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TTabSheet) ParentWindow

func (t *TTabSheet) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TTabSheet) Perform

func (t *TTabSheet) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TTabSheet) PopupMenu

func (t *TTabSheet) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TTabSheet) Realign

func (t *TTabSheet) Realign()

Realign

重新对齐。

Realign.

func (*TTabSheet) Refresh

func (t *TTabSheet) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TTabSheet) RemoveControl added in v1.1.21

func (t *TTabSheet) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TTabSheet) Repaint

func (t *TTabSheet) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TTabSheet) ScrollBy added in v1.1.21

func (t *TTabSheet) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TTabSheet) SendToBack

func (t *TTabSheet) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TTabSheet) SetAnchorSideBottom

func (t *TTabSheet) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TTabSheet) SetAnchorSideLeft

func (t *TTabSheet) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TTabSheet) SetAnchorSideRight

func (t *TTabSheet) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TTabSheet) SetAnchorSideTop

func (t *TTabSheet) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TTabSheet) SetAnchors

func (t *TTabSheet) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TTabSheet) SetBiDiMode

func (t *TTabSheet) SetBiDiMode(value TBiDiMode)

func (*TTabSheet) SetBorderSpacing

func (t *TTabSheet) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TTabSheet) SetBorderWidth

func (t *TTabSheet) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TTabSheet) SetBounds

func (t *TTabSheet) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TTabSheet) SetBoundsRect

func (t *TTabSheet) SetBoundsRect(value TRect)

func (*TTabSheet) SetCaption

func (t *TTabSheet) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TTabSheet) SetChildSizing

func (t *TTabSheet) SetChildSizing(value *TControlChildSizing)

func (*TTabSheet) SetClientHeight

func (t *TTabSheet) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TTabSheet) SetClientWidth

func (t *TTabSheet) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TTabSheet) SetComponentIndex

func (t *TTabSheet) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TTabSheet) SetConstraints added in v1.2.7

func (t *TTabSheet) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TTabSheet) SetControlState added in v1.1.21

func (t *TTabSheet) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TTabSheet) SetControlStyle added in v1.1.21

func (t *TTabSheet) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TTabSheet) SetCursor

func (t *TTabSheet) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TTabSheet) SetDockSite

func (t *TTabSheet) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TTabSheet) SetDoubleBuffered

func (t *TTabSheet) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TTabSheet) SetEnabled

func (t *TTabSheet) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TTabSheet) SetFocus

func (t *TTabSheet) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TTabSheet) SetFont

func (t *TTabSheet) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TTabSheet) SetHeight

func (t *TTabSheet) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TTabSheet) SetHint

func (t *TTabSheet) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TTabSheet) SetImageIndex

func (t *TTabSheet) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*TTabSheet) SetLeft

func (t *TTabSheet) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TTabSheet) SetName

func (t *TTabSheet) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TTabSheet) SetOnContextPopup

func (t *TTabSheet) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TTabSheet) SetOnDragDrop

func (t *TTabSheet) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TTabSheet) SetOnDragOver

func (t *TTabSheet) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TTabSheet) SetOnEndDrag

func (t *TTabSheet) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TTabSheet) SetOnEnter

func (t *TTabSheet) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TTabSheet) SetOnExit

func (t *TTabSheet) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TTabSheet) SetOnHide

func (t *TTabSheet) SetOnHide(fn TNotifyEvent)

SetOnHide

设置隐藏事件。

func (*TTabSheet) SetOnMouseDown

func (t *TTabSheet) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TTabSheet) SetOnMouseEnter

func (t *TTabSheet) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TTabSheet) SetOnMouseLeave

func (t *TTabSheet) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TTabSheet) SetOnMouseMove

func (t *TTabSheet) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TTabSheet) SetOnMouseUp

func (t *TTabSheet) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TTabSheet) SetOnResize

func (t *TTabSheet) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TTabSheet) SetOnShow

func (t *TTabSheet) SetOnShow(fn TNotifyEvent)

SetOnShow

设置显示事件。

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)

SetParent

设置控件父容器。

Set control parent container.

func (*TTabSheet) SetParentDoubleBuffered

func (t *TTabSheet) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TTabSheet) SetParentFont

func (t *TTabSheet) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TTabSheet) SetParentShowHint

func (t *TTabSheet) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TTabSheet) SetParentWindow

func (t *TTabSheet) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TTabSheet) SetPopupMenu

func (t *TTabSheet) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TTabSheet) SetShowHint

func (t *TTabSheet) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TTabSheet) SetTabOrder

func (t *TTabSheet) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TTabSheet) SetTabStop

func (t *TTabSheet) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TTabSheet) SetTabVisible

func (t *TTabSheet) SetTabVisible(value bool)

func (*TTabSheet) SetTag

func (t *TTabSheet) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TTabSheet) SetTextBuf added in v1.1.21

func (t *TTabSheet) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TTabSheet) SetTop

func (t *TTabSheet) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TTabSheet) SetUseDockManager

func (t *TTabSheet) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TTabSheet) SetVisible

func (t *TTabSheet) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TTabSheet) SetWidth

func (t *TTabSheet) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TTabSheet) Show

func (t *TTabSheet) Show()

Show

显示控件。

Show control.

func (*TTabSheet) ShowHint

func (t *TTabSheet) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TTabSheet) TabStop

func (t *TTabSheet) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TTabSheet) TabVisible

func (t *TTabSheet) TabVisible() bool

func (*TTabSheet) Tag

func (t *TTabSheet) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TTabSheet) ToString

func (t *TTabSheet) ToString() string

ToString

文本类信息。

Text information.

func (*TTabSheet) Top

func (t *TTabSheet) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TTabSheet) UnsafeAddr added in v1.1.21

func (t *TTabSheet) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TTabSheet) Update

func (t *TTabSheet) Update()

Update

控件更新。

Update.

func (*TTabSheet) UseDockManager

func (t *TTabSheet) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TTabSheet) Visible

func (t *TTabSheet) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TTabSheet) VisibleDockClientCount added in v1.1.21

func (t *TTabSheet) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TTabSheet) Width

func (t *TTabSheet) Width() int32

Width

获取宽度。

Get width.

type TTaskDialog added in v1.2.4

type TTaskDialog struct {
	IComponent
	// contains filtered or unexported fields
}

func AsTaskDialog added in v1.2.10

func AsTaskDialog(obj interface{}) *TTaskDialog

AsTaskDialog

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTaskDialog added in v1.2.4

func NewTaskDialog(owner IComponent) *TTaskDialog

NewTaskDialog

创建一个新的对象。

Create a new object.

func (*TTaskDialog) Assign added in v1.2.4

func (t *TTaskDialog) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTaskDialog) Button added in v1.2.4

func (t *TTaskDialog) Button() *TTaskDialogButtonItem

func (*TTaskDialog) Buttons added in v1.2.4

func (t *TTaskDialog) Buttons() *TTaskDialogButtons

func (*TTaskDialog) Caption added in v1.2.4

func (t *TTaskDialog) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TTaskDialog) ClassName added in v1.2.4

func (t *TTaskDialog) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTaskDialog) ClassType added in v1.2.4

func (t *TTaskDialog) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTaskDialog) CommonButtons added in v1.2.4

func (t *TTaskDialog) CommonButtons() TTaskDialogCommonButtons

func (*TTaskDialog) ComponentCount added in v1.2.4

func (t *TTaskDialog) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TTaskDialog) ComponentIndex added in v1.2.4

func (t *TTaskDialog) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TTaskDialog) Components added in v1.2.4

func (t *TTaskDialog) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TTaskDialog) DefaultButton added in v1.2.4

func (t *TTaskDialog) DefaultButton() TTaskDialogCommonButton

func (*TTaskDialog) Equals added in v1.2.4

func (t *TTaskDialog) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TTaskDialog) Execute added in v1.2.4

func (t *TTaskDialog) Execute() bool

Execute

执行。

func (*TTaskDialog) ExpandButtonCaption added in v1.2.4

func (t *TTaskDialog) ExpandButtonCaption() string

func (*TTaskDialog) ExpandedText added in v1.2.4

func (t *TTaskDialog) ExpandedText() string

func (*TTaskDialog) FindComponent added in v1.2.4

func (t *TTaskDialog) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TTaskDialog) Flags added in v1.2.4

func (t *TTaskDialog) Flags() TTaskDialogFlags

func (*TTaskDialog) FooterIcon added in v1.2.4

func (t *TTaskDialog) FooterIcon() TTaskDialogIcon

func (*TTaskDialog) FooterText added in v1.2.4

func (t *TTaskDialog) FooterText() string

func (*TTaskDialog) Free added in v1.2.4

func (t *TTaskDialog) Free()

Free

释放对象。

Free object.

func (*TTaskDialog) GetHashCode added in v1.2.4

func (t *TTaskDialog) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TTaskDialog) GetNamePath added in v1.2.4

func (t *TTaskDialog) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TTaskDialog) HasParent added in v1.2.4

func (t *TTaskDialog) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TTaskDialog) InheritsFrom added in v1.2.4

func (t *TTaskDialog) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTaskDialog) Instance added in v1.2.4

func (t *TTaskDialog) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTaskDialog) InstanceSize added in v1.2.4

func (t *TTaskDialog) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTaskDialog) Is added in v1.2.10

func (t *TTaskDialog) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTaskDialog) IsValid added in v1.2.4

func (t *TTaskDialog) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTaskDialog) MainIcon added in v1.2.4

func (t *TTaskDialog) MainIcon() TTaskDialogIcon

func (*TTaskDialog) ModalResult added in v1.2.4

func (t *TTaskDialog) ModalResult() TModalResult

ModalResult

获取模态对话框显示结果。

func (*TTaskDialog) Name added in v1.2.4

func (t *TTaskDialog) Name() string

Name

获取组件名称。

Get the component name.

func (*TTaskDialog) Owner added in v1.2.4

func (t *TTaskDialog) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TTaskDialog) RadioButton added in v1.2.4

func (t *TTaskDialog) RadioButton() *TTaskDialogRadioButtonItem

func (*TTaskDialog) RadioButtons added in v1.2.4

func (t *TTaskDialog) RadioButtons() *TTaskDialogButtons

func (*TTaskDialog) SetButton added in v1.2.4

func (t *TTaskDialog) SetButton(value *TTaskDialogButtonItem)

func (*TTaskDialog) SetButtons added in v1.2.4

func (t *TTaskDialog) SetButtons(value *TTaskDialogButtons)

func (*TTaskDialog) SetCaption added in v1.2.4

func (t *TTaskDialog) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TTaskDialog) SetCommonButtons added in v1.2.4

func (t *TTaskDialog) SetCommonButtons(value TTaskDialogCommonButtons)

func (*TTaskDialog) SetComponentIndex added in v1.2.4

func (t *TTaskDialog) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TTaskDialog) SetDefaultButton added in v1.2.4

func (t *TTaskDialog) SetDefaultButton(value TTaskDialogCommonButton)

func (*TTaskDialog) SetExpandButtonCaption added in v1.2.4

func (t *TTaskDialog) SetExpandButtonCaption(value string)

func (*TTaskDialog) SetExpandedText added in v1.2.4

func (t *TTaskDialog) SetExpandedText(value string)

func (*TTaskDialog) SetFlags added in v1.2.4

func (t *TTaskDialog) SetFlags(value TTaskDialogFlags)

func (*TTaskDialog) SetFooterIcon added in v1.2.4

func (t *TTaskDialog) SetFooterIcon(value TTaskDialogIcon)

func (*TTaskDialog) SetFooterText added in v1.2.4

func (t *TTaskDialog) SetFooterText(value string)

func (*TTaskDialog) SetMainIcon added in v1.2.4

func (t *TTaskDialog) SetMainIcon(value TTaskDialogIcon)

func (*TTaskDialog) SetModalResult added in v1.2.4

func (t *TTaskDialog) SetModalResult(value TModalResult)

SetModalResult

设置模态对话框显示结果。

func (*TTaskDialog) SetName added in v1.2.4

func (t *TTaskDialog) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TTaskDialog) SetOnButtonClicked added in v1.2.4

func (t *TTaskDialog) SetOnButtonClicked(fn TTaskDlgClickEvent)

func (*TTaskDialog) SetRadioButtons added in v1.2.4

func (t *TTaskDialog) SetRadioButtons(value *TTaskDialogButtons)

func (*TTaskDialog) SetTag added in v1.2.4

func (t *TTaskDialog) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TTaskDialog) SetText added in v1.2.4

func (t *TTaskDialog) SetText(value string)

SetText

设置文本。

func (*TTaskDialog) SetTitle added in v1.2.4

func (t *TTaskDialog) SetTitle(value string)

func (*TTaskDialog) SetVerificationText added in v1.2.4

func (t *TTaskDialog) SetVerificationText(value string)

func (*TTaskDialog) Tag added in v1.2.4

func (t *TTaskDialog) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TTaskDialog) Text added in v1.2.4

func (t *TTaskDialog) Text() string

Text

获取文本。

func (*TTaskDialog) Title added in v1.2.4

func (t *TTaskDialog) Title() string

func (*TTaskDialog) ToString added in v1.2.4

func (t *TTaskDialog) ToString() string

ToString

文本类信息。

Text information.

func (*TTaskDialog) UnsafeAddr added in v1.2.4

func (t *TTaskDialog) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TTaskDialog) VerificationText added in v1.2.4

func (t *TTaskDialog) VerificationText() string

type TTaskDialogBaseButtonItem added in v1.2.4

type TTaskDialogBaseButtonItem struct {
	IObject
	// contains filtered or unexported fields
}

func AsTaskDialogBaseButtonItem added in v1.2.10

func AsTaskDialogBaseButtonItem(obj interface{}) *TTaskDialogBaseButtonItem

AsTaskDialogBaseButtonItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTaskDialogBaseButtonItem added in v1.2.4

func NewTaskDialogBaseButtonItem(AOwner *TCollection) *TTaskDialogBaseButtonItem

NewTaskDialogBaseButtonItem

创建一个新的对象。

Create a new object.

func (*TTaskDialogBaseButtonItem) Assign added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTaskDialogBaseButtonItem) Caption added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TTaskDialogBaseButtonItem) ClassName added in v1.2.4

func (t *TTaskDialogBaseButtonItem) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTaskDialogBaseButtonItem) ClassType added in v1.2.4

func (t *TTaskDialogBaseButtonItem) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTaskDialogBaseButtonItem) Collection added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Collection() *TCollection

func (*TTaskDialogBaseButtonItem) Default added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Default() bool

func (*TTaskDialogBaseButtonItem) DisplayName added in v1.2.7

func (t *TTaskDialogBaseButtonItem) DisplayName() string

func (*TTaskDialogBaseButtonItem) Equals added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TTaskDialogBaseButtonItem) Free added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Free()

Free

释放对象。

Free object.

func (*TTaskDialogBaseButtonItem) GetHashCode added in v1.2.4

func (t *TTaskDialogBaseButtonItem) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TTaskDialogBaseButtonItem) GetNamePath added in v1.2.4

func (t *TTaskDialogBaseButtonItem) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TTaskDialogBaseButtonItem) Index added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Index() int32

func (*TTaskDialogBaseButtonItem) InheritsFrom added in v1.2.4

func (t *TTaskDialogBaseButtonItem) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTaskDialogBaseButtonItem) Instance added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTaskDialogBaseButtonItem) InstanceSize added in v1.2.4

func (t *TTaskDialogBaseButtonItem) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTaskDialogBaseButtonItem) Is added in v1.2.10

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTaskDialogBaseButtonItem) IsValid added in v1.2.4

func (t *TTaskDialogBaseButtonItem) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTaskDialogBaseButtonItem) ModalResult added in v1.2.4

func (t *TTaskDialogBaseButtonItem) ModalResult() TModalResult

ModalResult

获取模态对话框显示结果。

func (*TTaskDialogBaseButtonItem) SetCaption added in v1.2.4

func (t *TTaskDialogBaseButtonItem) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TTaskDialogBaseButtonItem) SetCollection added in v1.2.4

func (t *TTaskDialogBaseButtonItem) SetCollection(value *TCollection)

func (*TTaskDialogBaseButtonItem) SetDefault added in v1.2.4

func (t *TTaskDialogBaseButtonItem) SetDefault(value bool)

func (*TTaskDialogBaseButtonItem) SetDisplayName added in v1.2.7

func (t *TTaskDialogBaseButtonItem) SetDisplayName(value string)

func (*TTaskDialogBaseButtonItem) SetIndex added in v1.2.4

func (t *TTaskDialogBaseButtonItem) SetIndex(value int32)

func (*TTaskDialogBaseButtonItem) SetModalResult added in v1.2.4

func (t *TTaskDialogBaseButtonItem) SetModalResult(value TModalResult)

SetModalResult

设置模态对话框显示结果。

func (*TTaskDialogBaseButtonItem) ToString added in v1.2.4

func (t *TTaskDialogBaseButtonItem) ToString() string

ToString

文本类信息。

Text information.

func (*TTaskDialogBaseButtonItem) UnsafeAddr added in v1.2.4

func (t *TTaskDialogBaseButtonItem) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TTaskDialogButtonItem added in v1.2.4

type TTaskDialogButtonItem struct {
	IObject
	// contains filtered or unexported fields
}

func AsTaskDialogButtonItem added in v1.2.10

func AsTaskDialogButtonItem(obj interface{}) *TTaskDialogButtonItem

AsTaskDialogButtonItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTaskDialogButtonItem added in v1.2.4

func NewTaskDialogButtonItem(AOwner *TCollection) *TTaskDialogButtonItem

NewTaskDialogButtonItem

创建一个新的对象。

Create a new object.

func (*TTaskDialogButtonItem) Assign added in v1.2.4

func (t *TTaskDialogButtonItem) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTaskDialogButtonItem) Caption added in v1.2.4

func (t *TTaskDialogButtonItem) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TTaskDialogButtonItem) ClassName added in v1.2.4

func (t *TTaskDialogButtonItem) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTaskDialogButtonItem) ClassType added in v1.2.4

func (t *TTaskDialogButtonItem) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTaskDialogButtonItem) Collection added in v1.2.4

func (t *TTaskDialogButtonItem) Collection() *TCollection

func (*TTaskDialogButtonItem) Default added in v1.2.4

func (t *TTaskDialogButtonItem) Default() bool

func (*TTaskDialogButtonItem) DisplayName added in v1.2.7

func (t *TTaskDialogButtonItem) DisplayName() string

func (*TTaskDialogButtonItem) Equals added in v1.2.4

func (t *TTaskDialogButtonItem) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TTaskDialogButtonItem) Free added in v1.2.4

func (t *TTaskDialogButtonItem) Free()

Free

释放对象。

Free object.

func (*TTaskDialogButtonItem) GetHashCode added in v1.2.4

func (t *TTaskDialogButtonItem) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TTaskDialogButtonItem) GetNamePath added in v1.2.4

func (t *TTaskDialogButtonItem) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TTaskDialogButtonItem) Index added in v1.2.4

func (t *TTaskDialogButtonItem) Index() int32

func (*TTaskDialogButtonItem) InheritsFrom added in v1.2.4

func (t *TTaskDialogButtonItem) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTaskDialogButtonItem) Instance added in v1.2.4

func (t *TTaskDialogButtonItem) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTaskDialogButtonItem) InstanceSize added in v1.2.4

func (t *TTaskDialogButtonItem) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTaskDialogButtonItem) Is added in v1.2.10

func (t *TTaskDialogButtonItem) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTaskDialogButtonItem) IsValid added in v1.2.4

func (t *TTaskDialogButtonItem) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTaskDialogButtonItem) ModalResult added in v1.2.4

func (t *TTaskDialogButtonItem) ModalResult() TModalResult

ModalResult

获取模态对话框显示结果。

func (*TTaskDialogButtonItem) SetCaption added in v1.2.4

func (t *TTaskDialogButtonItem) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TTaskDialogButtonItem) SetCollection added in v1.2.4

func (t *TTaskDialogButtonItem) SetCollection(value *TCollection)

func (*TTaskDialogButtonItem) SetDefault added in v1.2.4

func (t *TTaskDialogButtonItem) SetDefault(value bool)

func (*TTaskDialogButtonItem) SetDisplayName added in v1.2.7

func (t *TTaskDialogButtonItem) SetDisplayName(value string)

func (*TTaskDialogButtonItem) SetIndex added in v1.2.4

func (t *TTaskDialogButtonItem) SetIndex(value int32)

func (*TTaskDialogButtonItem) SetModalResult added in v1.2.4

func (t *TTaskDialogButtonItem) SetModalResult(value TModalResult)

SetModalResult

设置模态对话框显示结果。

func (*TTaskDialogButtonItem) ToString added in v1.2.4

func (t *TTaskDialogButtonItem) ToString() string

ToString

文本类信息。

Text information.

func (*TTaskDialogButtonItem) UnsafeAddr added in v1.2.4

func (t *TTaskDialogButtonItem) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TTaskDialogButtons added in v1.2.4

type TTaskDialogButtons struct {
	IObject
	// contains filtered or unexported fields
}

func AsTaskDialogButtons added in v1.2.10

func AsTaskDialogButtons(obj interface{}) *TTaskDialogButtons

AsTaskDialogButtons

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TTaskDialogButtons) Add added in v1.2.4

func (*TTaskDialogButtons) Assign added in v1.2.4

func (t *TTaskDialogButtons) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTaskDialogButtons) BeginUpdate added in v1.2.4

func (t *TTaskDialogButtons) BeginUpdate()

func (*TTaskDialogButtons) ClassName added in v1.2.4

func (t *TTaskDialogButtons) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTaskDialogButtons) ClassType added in v1.2.4

func (t *TTaskDialogButtons) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTaskDialogButtons) Clear added in v1.2.4

func (t *TTaskDialogButtons) Clear()

Clear

清除。

func (*TTaskDialogButtons) Count added in v1.2.4

func (t *TTaskDialogButtons) Count() int32

func (*TTaskDialogButtons) DefaultButton added in v1.2.4

func (t *TTaskDialogButtons) DefaultButton() *TTaskDialogBaseButtonItem

func (*TTaskDialogButtons) Delete added in v1.2.4

func (t *TTaskDialogButtons) Delete(Index int32)

func (*TTaskDialogButtons) EndUpdate added in v1.2.4

func (t *TTaskDialogButtons) EndUpdate()

func (*TTaskDialogButtons) Equals added in v1.2.4

func (t *TTaskDialogButtons) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TTaskDialogButtons) FindButton

func (t *TTaskDialogButtons) FindButton(AModalResult TModalResult) *TTaskDialogBaseButtonItem

func (*TTaskDialogButtons) FindItemID added in v1.2.4

func (t *TTaskDialogButtons) FindItemID(ID int32) *TCollectionItem

func (*TTaskDialogButtons) GetHashCode added in v1.2.4

func (t *TTaskDialogButtons) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TTaskDialogButtons) GetNamePath added in v1.2.4

func (t *TTaskDialogButtons) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TTaskDialogButtons) InheritsFrom added in v1.2.4

func (t *TTaskDialogButtons) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTaskDialogButtons) Insert added in v1.2.4

func (t *TTaskDialogButtons) Insert(Index int32) *TCollectionItem

func (*TTaskDialogButtons) Instance added in v1.2.4

func (t *TTaskDialogButtons) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTaskDialogButtons) InstanceSize added in v1.2.4

func (t *TTaskDialogButtons) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTaskDialogButtons) Is added in v1.2.10

func (t *TTaskDialogButtons) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTaskDialogButtons) IsValid added in v1.2.4

func (t *TTaskDialogButtons) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTaskDialogButtons) Items added in v1.2.4

func (*TTaskDialogButtons) Owner added in v1.2.4

func (t *TTaskDialogButtons) Owner() *TObject

Owner

组件所有者。

component owner.

func (*TTaskDialogButtons) SetDefaultButton added in v1.2.4

func (t *TTaskDialogButtons) SetDefaultButton(value *TTaskDialogBaseButtonItem)

func (*TTaskDialogButtons) SetItems added in v1.2.4

func (t *TTaskDialogButtons) SetItems(Index int32, value *TTaskDialogBaseButtonItem)

func (*TTaskDialogButtons) ToString added in v1.2.4

func (t *TTaskDialogButtons) ToString() string

ToString

文本类信息。

Text information.

func (*TTaskDialogButtons) UnsafeAddr added in v1.2.4

func (t *TTaskDialogButtons) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TTaskDialogRadioButtonItem added in v1.2.4

type TTaskDialogRadioButtonItem struct {
	IObject
	// contains filtered or unexported fields
}

func AsTaskDialogRadioButtonItem added in v1.2.10

func AsTaskDialogRadioButtonItem(obj interface{}) *TTaskDialogRadioButtonItem

AsTaskDialogRadioButtonItem

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTaskDialogRadioButtonItem added in v1.2.4

func NewTaskDialogRadioButtonItem(AOwner *TCollection) *TTaskDialogRadioButtonItem

NewTaskDialogRadioButtonItem

创建一个新的对象。

Create a new object.

func (*TTaskDialogRadioButtonItem) Assign added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTaskDialogRadioButtonItem) Caption added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TTaskDialogRadioButtonItem) ClassName added in v1.2.4

func (t *TTaskDialogRadioButtonItem) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTaskDialogRadioButtonItem) ClassType added in v1.2.4

func (t *TTaskDialogRadioButtonItem) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTaskDialogRadioButtonItem) Collection added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Collection() *TCollection

func (*TTaskDialogRadioButtonItem) Default added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Default() bool

func (*TTaskDialogRadioButtonItem) DisplayName added in v1.2.7

func (t *TTaskDialogRadioButtonItem) DisplayName() string

func (*TTaskDialogRadioButtonItem) Equals added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TTaskDialogRadioButtonItem) Free added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Free()

Free

释放对象。

Free object.

func (*TTaskDialogRadioButtonItem) GetHashCode added in v1.2.4

func (t *TTaskDialogRadioButtonItem) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TTaskDialogRadioButtonItem) GetNamePath added in v1.2.4

func (t *TTaskDialogRadioButtonItem) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TTaskDialogRadioButtonItem) Index added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Index() int32

func (*TTaskDialogRadioButtonItem) InheritsFrom added in v1.2.4

func (t *TTaskDialogRadioButtonItem) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTaskDialogRadioButtonItem) Instance added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTaskDialogRadioButtonItem) InstanceSize added in v1.2.4

func (t *TTaskDialogRadioButtonItem) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTaskDialogRadioButtonItem) Is added in v1.2.10

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTaskDialogRadioButtonItem) IsValid added in v1.2.4

func (t *TTaskDialogRadioButtonItem) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTaskDialogRadioButtonItem) ModalResult added in v1.2.4

func (t *TTaskDialogRadioButtonItem) ModalResult() TModalResult

ModalResult

获取模态对话框显示结果。

func (*TTaskDialogRadioButtonItem) SetCaption added in v1.2.4

func (t *TTaskDialogRadioButtonItem) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TTaskDialogRadioButtonItem) SetCollection added in v1.2.4

func (t *TTaskDialogRadioButtonItem) SetCollection(value *TCollection)

func (*TTaskDialogRadioButtonItem) SetDefault added in v1.2.4

func (t *TTaskDialogRadioButtonItem) SetDefault(value bool)

func (*TTaskDialogRadioButtonItem) SetDisplayName added in v1.2.7

func (t *TTaskDialogRadioButtonItem) SetDisplayName(value string)

func (*TTaskDialogRadioButtonItem) SetIndex added in v1.2.4

func (t *TTaskDialogRadioButtonItem) SetIndex(value int32)

func (*TTaskDialogRadioButtonItem) SetModalResult added in v1.2.4

func (t *TTaskDialogRadioButtonItem) SetModalResult(value TModalResult)

SetModalResult

设置模态对话框显示结果。

func (*TTaskDialogRadioButtonItem) ToString added in v1.2.4

func (t *TTaskDialogRadioButtonItem) ToString() string

ToString

文本类信息。

Text information.

func (*TTaskDialogRadioButtonItem) UnsafeAddr added in v1.2.4

func (t *TTaskDialogRadioButtonItem) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TTaskDlgClickEvent added in v1.2.4

type TTaskDlgClickEvent func(sender IObject, modalResult TModalResult, canClose *bool)

type TTaskDlgTimerEvent added in v1.2.4

type TTaskDlgTimerEvent func(sender IObject, tickCount uint32, reset *bool)

type TTextAttributes

type TTextAttributes struct {
	IObject
	// contains filtered or unexported fields
}

func AsTextAttributes added in v1.2.10

func AsTextAttributes(obj interface{}) *TTextAttributes

AsTextAttributes

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func (*TTextAttributes) Assign

func (t *TTextAttributes) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTextAttributes) ClassType added in v1.1.18

func (t *TTextAttributes) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTextAttributes) Color

func (t *TTextAttributes) Color() TColor

Color

获取颜色。

Get color.

func (*TTextAttributes) Equals

func (t *TTextAttributes) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TTextAttributes) GetHashCode

func (t *TTextAttributes) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TTextAttributes) GetNamePath

func (t *TTextAttributes) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TTextAttributes) Height

func (t *TTextAttributes) Height() int32

Height

获取高度。

Get height.

func (*TTextAttributes) InheritsFrom added in v1.1.18

func (t *TTextAttributes) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTextAttributes) Instance

func (t *TTextAttributes) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTextAttributes) InstanceSize added in v1.1.18

func (t *TTextAttributes) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTextAttributes) Is added in v1.2.10

func (t *TTextAttributes) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTextAttributes) IsValid

func (t *TTextAttributes) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTextAttributes) Name

func (t *TTextAttributes) Name() string

Name

获取组件名称。

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)

SetColor

设置颜色。

Set color.

func (*TTextAttributes) SetHeight

func (t *TTextAttributes) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TTextAttributes) SetName

func (t *TTextAttributes) SetName(value string)

SetName

设置组件名称。

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

ToString

文本类信息。

Text information.

func (*TTextAttributes) UnsafeAddr added in v1.1.21

func (t *TTextAttributes) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TThreadProc

type TThreadProc func()

type TTimer

type TTimer struct {
	IComponent
	// contains filtered or unexported fields
}

func AsTimer added in v1.2.10

func AsTimer(obj interface{}) *TTimer

AsTimer

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTimer

func NewTimer(owner IComponent) *TTimer

NewTimer

创建一个新的对象。

Create a new object.

func (*TTimer) Assign

func (t *TTimer) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTimer) ClassName

func (t *TTimer) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTimer) ClassType added in v1.1.18

func (t *TTimer) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTimer) ComponentCount

func (t *TTimer) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TTimer) ComponentIndex

func (t *TTimer) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TTimer) Components

func (t *TTimer) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TTimer) Enabled

func (t *TTimer) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TTimer) Equals

func (t *TTimer) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TTimer) FindComponent

func (t *TTimer) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TTimer) Free

func (t *TTimer) Free()

Free

释放对象。

Free object.

func (*TTimer) GetHashCode

func (t *TTimer) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TTimer) GetNamePath

func (t *TTimer) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TTimer) HasParent

func (t *TTimer) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TTimer) InheritsFrom added in v1.1.18

func (t *TTimer) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTimer) Instance

func (t *TTimer) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTimer) InstanceSize added in v1.1.18

func (t *TTimer) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTimer) Interval

func (t *TTimer) Interval() uint32

Interval

获取时钟每次跳动间隔时间,ms。

func (*TTimer) Is added in v1.2.10

func (t *TTimer) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTimer) IsValid

func (t *TTimer) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTimer) Name

func (t *TTimer) Name() string

Name

获取组件名称。

Get the component name.

func (*TTimer) Owner

func (t *TTimer) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TTimer) SetComponentIndex

func (t *TTimer) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TTimer) SetEnabled

func (t *TTimer) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TTimer) SetInterval

func (t *TTimer) SetInterval(value uint32)

SetInterval

设置时钟每次跳动间隔时间,ms。

func (*TTimer) SetName

func (t *TTimer) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TTimer) SetOnTimer

func (t *TTimer) SetOnTimer(fn TNotifyEvent)

SetOnTimer

设置时钟事件。

func (*TTimer) SetTag

func (t *TTimer) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TTimer) Tag

func (t *TTimer) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TTimer) ToString

func (t *TTimer) ToString() string

ToString

文本类信息。

Text information.

func (*TTimer) UnsafeAddr added in v1.1.21

func (t *TTimer) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TToggleBox

type TToggleBox struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsToggleBox

func AsToggleBox(obj interface{}) *TToggleBox

AsToggleBox

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewToggleBox

func NewToggleBox(owner IComponent) *TToggleBox

NewToggleBox

创建一个新的对象。

Create a new object.

func (*TToggleBox) Action

func (t *TToggleBox) Action() *TAction

func (*TToggleBox) Align

func (t *TToggleBox) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TToggleBox) AnchorSideBottom

func (t *TToggleBox) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TToggleBox) AnchorSideLeft

func (t *TToggleBox) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TToggleBox) AnchorSideRight

func (t *TToggleBox) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TToggleBox) AnchorSideTop

func (t *TToggleBox) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TToggleBox) AnchorToNeighbour

func (t *TToggleBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToggleBox) AnchorVerticalCenterTo

func (t *TToggleBox) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TToggleBox) Anchors

func (t *TToggleBox) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TToggleBox) Assign

func (t *TToggleBox) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSize

获取自动调整大小。

func (*TToggleBox) BiDiMode

func (t *TToggleBox) BiDiMode() TBiDiMode

func (*TToggleBox) BorderSpacing

func (t *TToggleBox) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TToggleBox) BoundsRect

func (t *TToggleBox) BoundsRect() TRect

func (*TToggleBox) BringToFront

func (t *TToggleBox) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TToggleBox) Brush

func (t *TToggleBox) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TToggleBox) CanFocus

func (t *TToggleBox) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TToggleBox) Caption

func (t *TToggleBox) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TToggleBox) Checked

func (t *TToggleBox) Checked() bool

Checked

获取是否选中。

func (*TToggleBox) ChildSizing

func (t *TToggleBox) ChildSizing() *TControlChildSizing

func (*TToggleBox) ClassName

func (t *TToggleBox) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TToggleBox) ClassType

func (t *TToggleBox) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TToggleBox) ClientHeight

func (t *TToggleBox) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TToggleBox) ClientOrigin

func (t *TToggleBox) ClientOrigin() TPoint

func (*TToggleBox) ClientRect

func (t *TToggleBox) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TToggleBox) ClientToParent

func (t *TToggleBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TToggleBox) ClientToScreen

func (t *TToggleBox) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TToggleBox) ClientWidth

func (t *TToggleBox) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TToggleBox) Color

func (t *TToggleBox) Color() TColor

Color

获取颜色。

Get color.

func (*TToggleBox) ComponentCount

func (t *TToggleBox) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TToggleBox) ComponentIndex

func (t *TToggleBox) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TToggleBox) Components

func (t *TToggleBox) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TToggleBox) Constraints

func (t *TToggleBox) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TToggleBox) ContainsControl

func (t *TToggleBox) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TToggleBox) ControlAtPos

func (t *TToggleBox) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TToggleBox) ControlCount

func (t *TToggleBox) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TToggleBox) ControlState

func (t *TToggleBox) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TToggleBox) ControlStyle

func (t *TToggleBox) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TToggleBox) Controls

func (t *TToggleBox) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TToggleBox) Cursor

func (t *TToggleBox) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TToggleBox) DisableAlign

func (t *TToggleBox) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TToggleBox) DockClientCount

func (t *TToggleBox) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TToggleBox) DockClients

func (t *TToggleBox) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TToggleBox) DockSite

func (t *TToggleBox) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TToggleBox) DoubleBuffered

func (t *TToggleBox) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TToggleBox) DragCursor

func (t *TToggleBox) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TToggleBox) DragKind

func (t *TToggleBox) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TToggleBox) DragMode

func (t *TToggleBox) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TToggleBox) Dragging

func (t *TToggleBox) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TToggleBox) EnableAlign

func (t *TToggleBox) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TToggleBox) Enabled

func (t *TToggleBox) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TToggleBox) Equals

func (t *TToggleBox) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TToggleBox) FindChildControl

func (t *TToggleBox) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TToggleBox) FindComponent

func (t *TToggleBox) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TToggleBox) Font

func (t *TToggleBox) Font() *TFont

Font

获取字体。

Get Font.

func (*TToggleBox) Free

func (t *TToggleBox) Free()

Free

释放对象。

Free object.

func (*TToggleBox) GetHashCode

func (t *TToggleBox) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TToggleBox) GetNamePath

func (t *TToggleBox) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TToggleBox) GetTextBuf

func (t *TToggleBox) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TToggleBox) GetTextLen

func (t *TToggleBox) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TToggleBox) Handle

func (t *TToggleBox) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TToggleBox) HandleAllocated

func (t *TToggleBox) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TToggleBox) HasParent

func (t *TToggleBox) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TToggleBox) Height

func (t *TToggleBox) Height() int32

Height

获取高度。

Get height.

func (*TToggleBox) Hide

func (t *TToggleBox) Hide()

Hide

隐藏控件。

Hidden control.

func (*TToggleBox) Hint

func (t *TToggleBox) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TToggleBox) InheritsFrom

func (t *TToggleBox) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TToggleBox) InsertControl

func (t *TToggleBox) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TToggleBox) Instance

func (t *TToggleBox) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TToggleBox) InstanceSize

func (t *TToggleBox) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TToggleBox) Invalidate

func (t *TToggleBox) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TToggleBox) Is

func (t *TToggleBox) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TToggleBox) IsValid

func (t *TToggleBox) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TToggleBox) Left

func (t *TToggleBox) Left() int32

Left

获取左边位置。

Get Left position.

func (*TToggleBox) MouseInClient

func (t *TToggleBox) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TToggleBox) Name

func (t *TToggleBox) Name() string

Name

获取组件名称。

Get the component name.

func (*TToggleBox) Owner

func (t *TToggleBox) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TToggleBox) PaintTo

func (t *TToggleBox) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TToggleBox) Parent

func (t *TToggleBox) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TToggleBox) ParentDoubleBuffered

func (t *TToggleBox) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TToggleBox) ParentFont

func (t *TToggleBox) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TToggleBox) ParentShowHint

func (t *TToggleBox) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TToggleBox) ParentToClient

func (t *TToggleBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TToggleBox) ParentWindow

func (t *TToggleBox) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TToggleBox) Perform

func (t *TToggleBox) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TToggleBox) PopupMenu

func (t *TToggleBox) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TToggleBox) Realign

func (t *TToggleBox) Realign()

Realign

重新对齐。

Realign.

func (*TToggleBox) Refresh

func (t *TToggleBox) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TToggleBox) RemoveControl

func (t *TToggleBox) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TToggleBox) Repaint

func (t *TToggleBox) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TToggleBox) ScrollBy

func (t *TToggleBox) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TToggleBox) SendToBack

func (t *TToggleBox) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TToggleBox) SetAllowGrayed

func (t *TToggleBox) SetAllowGrayed(value bool)

func (*TToggleBox) SetAnchorSideBottom

func (t *TToggleBox) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TToggleBox) SetAnchorSideLeft

func (t *TToggleBox) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TToggleBox) SetAnchorSideRight

func (t *TToggleBox) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TToggleBox) SetAnchorSideTop

func (t *TToggleBox) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TToggleBox) SetAnchors

func (t *TToggleBox) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TToggleBox) SetAutoSize

func (t *TToggleBox) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TToggleBox) SetBiDiMode

func (t *TToggleBox) SetBiDiMode(value TBiDiMode)

func (*TToggleBox) SetBorderSpacing

func (t *TToggleBox) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TToggleBox) SetBounds

func (t *TToggleBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TToggleBox) SetBoundsRect

func (t *TToggleBox) SetBoundsRect(value TRect)

func (*TToggleBox) SetCaption

func (t *TToggleBox) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TToggleBox) SetChecked

func (t *TToggleBox) SetChecked(value bool)

SetChecked

设置是否选中。

func (*TToggleBox) SetChildSizing

func (t *TToggleBox) SetChildSizing(value *TControlChildSizing)

func (*TToggleBox) SetClientHeight

func (t *TToggleBox) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TToggleBox) SetClientWidth

func (t *TToggleBox) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TToggleBox) SetColor

func (t *TToggleBox) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TToggleBox) SetComponentIndex

func (t *TToggleBox) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TToggleBox) SetConstraints

func (t *TToggleBox) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TToggleBox) SetControlState

func (t *TToggleBox) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TToggleBox) SetControlStyle

func (t *TToggleBox) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TToggleBox) SetCursor

func (t *TToggleBox) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TToggleBox) SetDockSite

func (t *TToggleBox) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TToggleBox) SetDoubleBuffered

func (t *TToggleBox) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TToggleBox) SetDragCursor

func (t *TToggleBox) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TToggleBox) SetDragKind

func (t *TToggleBox) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TToggleBox) SetDragMode

func (t *TToggleBox) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TToggleBox) SetEnabled

func (t *TToggleBox) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TToggleBox) SetFocus

func (t *TToggleBox) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TToggleBox) SetFont

func (t *TToggleBox) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TToggleBox) SetHeight

func (t *TToggleBox) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TToggleBox) SetHint

func (t *TToggleBox) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TToggleBox) SetLeft

func (t *TToggleBox) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TToggleBox) SetName

func (t *TToggleBox) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TToggleBox) SetOnChange

func (t *TToggleBox) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TToggleBox) SetOnClick

func (t *TToggleBox) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TToggleBox) SetOnDragDrop

func (t *TToggleBox) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TToggleBox) SetOnDragOver

func (t *TToggleBox) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TToggleBox) SetOnEndDrag

func (t *TToggleBox) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TToggleBox) SetOnEnter

func (t *TToggleBox) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TToggleBox) SetOnExit

func (t *TToggleBox) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TToggleBox) SetOnMouseDown

func (t *TToggleBox) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TToggleBox) SetOnMouseEnter

func (t *TToggleBox) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TToggleBox) SetOnMouseLeave

func (t *TToggleBox) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TToggleBox) SetOnMouseMove

func (t *TToggleBox) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TToggleBox) SetOnMouseUp

func (t *TToggleBox) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TToggleBox) SetOnMouseWheel

func (t *TToggleBox) SetOnMouseWheel(fn TMouseWheelEvent)

SetOnMouseWheel

设置鼠标滚轮事件。

func (*TToggleBox) SetOnMouseWheelDown

func (t *TToggleBox) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TToggleBox) SetOnMouseWheelUp

func (t *TToggleBox) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TToggleBox) SetParent

func (t *TToggleBox) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TToggleBox) SetParentDoubleBuffered

func (t *TToggleBox) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TToggleBox) SetParentFont

func (t *TToggleBox) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TToggleBox) SetParentShowHint

func (t *TToggleBox) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TToggleBox) SetParentWindow

func (t *TToggleBox) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TToggleBox) SetPopupMenu

func (t *TToggleBox) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TToggleBox) SetShowHint

func (t *TToggleBox) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TToggleBox) SetState

func (t *TToggleBox) SetState(value TCheckBoxState)

func (*TToggleBox) SetTabOrder

func (t *TToggleBox) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TToggleBox) SetTabStop

func (t *TToggleBox) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TToggleBox) SetTag

func (t *TToggleBox) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TToggleBox) SetTextBuf

func (t *TToggleBox) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TToggleBox) SetTop

func (t *TToggleBox) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TToggleBox) SetUseDockManager

func (t *TToggleBox) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TToggleBox) SetVisible

func (t *TToggleBox) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TToggleBox) SetWidth

func (t *TToggleBox) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TToggleBox) Show

func (t *TToggleBox) Show()

Show

显示控件。

Show control.

func (*TToggleBox) ShowHint

func (t *TToggleBox) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TToggleBox) TabStop

func (t *TToggleBox) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TToggleBox) Tag

func (t *TToggleBox) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TToggleBox) ToString

func (t *TToggleBox) ToString() string

ToString

文本类信息。

Text information.

func (*TToggleBox) Top

func (t *TToggleBox) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TToggleBox) UnsafeAddr

func (t *TToggleBox) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TToggleBox) Update

func (t *TToggleBox) Update()

Update

控件更新。

Update.

func (*TToggleBox) UseDockManager

func (t *TToggleBox) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TToggleBox) Visible

func (t *TToggleBox) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TToggleBox) VisibleDockClientCount

func (t *TToggleBox) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TToggleBox) Width

func (t *TToggleBox) Width() int32

Width

获取宽度。

Get width.

type TToggledCheckboxEvent

type TToggledCheckboxEvent func(sender IObject, aCol, aRow int32, aState TCheckBoxState)

type TToolBar

type TToolBar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsToolBar added in v1.2.10

func AsToolBar(obj interface{}) *TToolBar

AsToolBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewToolBar

func NewToolBar(owner IComponent) *TToolBar

NewToolBar

创建一个新的对象。

Create a new object.

func (*TToolBar) Action

func (t *TToolBar) Action() *TAction

func (*TToolBar) Align

func (t *TToolBar) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TToolBar) AnchorSideBottom

func (t *TToolBar) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TToolBar) AnchorSideLeft

func (t *TToolBar) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TToolBar) AnchorSideRight

func (t *TToolBar) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TToolBar) AnchorSideTop

func (t *TToolBar) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TToolBar) AnchorToNeighbour

func (t *TToolBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToolBar) AnchorVerticalCenterTo

func (t *TToolBar) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TToolBar) Anchors

func (t *TToolBar) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TToolBar) Assign

func (t *TToolBar) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSize

获取自动调整大小。

func (*TToolBar) BiDiMode

func (t *TToolBar) BiDiMode() TBiDiMode

func (*TToolBar) BorderSpacing

func (t *TToolBar) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TToolBar) BorderWidth

func (t *TToolBar) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TToolBar) BoundsRect

func (t *TToolBar) BoundsRect() TRect

func (*TToolBar) BringToFront

func (t *TToolBar) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TToolBar) Brush

func (t *TToolBar) Brush() *TBrush

Brush

获取画刷对象。

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

CanFocus

是否可以获得焦点。

func (*TToolBar) Canvas

func (t *TToolBar) Canvas() *TCanvas

Canvas

获取画布。

func (*TToolBar) Caption

func (t *TToolBar) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TToolBar) ChildSizing

func (t *TToolBar) ChildSizing() *TControlChildSizing

func (*TToolBar) ClassName

func (t *TToolBar) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TToolBar) ClassType added in v1.1.18

func (t *TToolBar) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TToolBar) ClientHeight

func (t *TToolBar) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TToolBar) ClientOrigin added in v1.1.21

func (t *TToolBar) ClientOrigin() TPoint

func (*TToolBar) ClientRect

func (t *TToolBar) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TToolBar) ClientToParent

func (t *TToolBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TToolBar) ClientToScreen

func (t *TToolBar) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TToolBar) ClientWidth

func (t *TToolBar) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TToolBar) Color

func (t *TToolBar) Color() TColor

Color

获取颜色。

Get color.

func (*TToolBar) ComponentCount

func (t *TToolBar) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TToolBar) ComponentIndex

func (t *TToolBar) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TToolBar) Components

func (t *TToolBar) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TToolBar) Constraints added in v1.2.7

func (t *TToolBar) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TToolBar) ContainsControl added in v1.1.21

func (t *TToolBar) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TToolBar) ControlAtPos added in v1.1.21

func (t *TToolBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TToolBar) ControlCount

func (t *TToolBar) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TToolBar) ControlState added in v1.1.21

func (t *TToolBar) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TToolBar) ControlStyle added in v1.1.21

func (t *TToolBar) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TToolBar) Controls

func (t *TToolBar) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TToolBar) Cursor

func (t *TToolBar) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TToolBar) DisableAlign added in v1.1.21

func (t *TToolBar) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TToolBar) DockClientCount added in v1.1.21

func (t *TToolBar) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TToolBar) DockClients added in v1.1.21

func (t *TToolBar) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TToolBar) DockSite

func (t *TToolBar) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TToolBar) DoubleBuffered

func (t *TToolBar) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TToolBar) DragCursor

func (t *TToolBar) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TToolBar) DragKind

func (t *TToolBar) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TToolBar) DragMode

func (t *TToolBar) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TToolBar) Dragging

func (t *TToolBar) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TToolBar) EdgeBorders added in v1.1.19

func (t *TToolBar) EdgeBorders() TEdgeBorders

func (*TToolBar) EdgeInner added in v1.1.19

func (t *TToolBar) EdgeInner() TEdgeStyle

func (*TToolBar) EdgeOuter added in v1.1.19

func (t *TToolBar) EdgeOuter() TEdgeStyle

func (*TToolBar) EnableAlign added in v1.1.21

func (t *TToolBar) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TToolBar) Enabled

func (t *TToolBar) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TToolBar) Equals

func (t *TToolBar) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TToolBar) FindChildControl added in v1.1.21

func (t *TToolBar) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TToolBar) FindComponent

func (t *TToolBar) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TToolBar) FixDesignFontsPPI

func (t *TToolBar) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TToolBar) Flat

func (t *TToolBar) Flat() bool

Flat

获取平面样式。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TToolBar) Font

func (t *TToolBar) Font() *TFont

Font

获取字体。

Get Font.

func (*TToolBar) Free

func (t *TToolBar) Free()

Free

释放对象。

Free object.

func (*TToolBar) GetHashCode

func (t *TToolBar) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TToolBar) GetNamePath

func (t *TToolBar) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TToolBar) GetTextBuf

func (t *TToolBar) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TToolBar) GetTextLen

func (t *TToolBar) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TToolBar) Handle

func (t *TToolBar) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TToolBar) HandleAllocated

func (t *TToolBar) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TToolBar) HasParent

func (t *TToolBar) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TToolBar) Height

func (t *TToolBar) Height() int32

Height

获取高度。

Get height.

func (*TToolBar) Hide

func (t *TToolBar) Hide()

Hide

隐藏控件。

Hidden control.

func (*TToolBar) Hint

func (t *TToolBar) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TToolBar) HotImages

func (t *TToolBar) HotImages() *TImageList

func (*TToolBar) Images

func (t *TToolBar) Images() *TImageList

Images

获取图标索引列表对象。

func (*TToolBar) Indent

func (t *TToolBar) Indent() int32

func (*TToolBar) InheritsFrom added in v1.1.18

func (t *TToolBar) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TToolBar) InsertControl added in v1.1.21

func (t *TToolBar) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TToolBar) Instance

func (t *TToolBar) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TToolBar) InstanceSize added in v1.1.18

func (t *TToolBar) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TToolBar) Invalidate

func (t *TToolBar) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TToolBar) Is added in v1.2.10

func (t *TToolBar) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TToolBar) IsValid

func (t *TToolBar) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TToolBar) Left

func (t *TToolBar) Left() int32

Left

获取左边位置。

Get Left position.

func (*TToolBar) List

func (t *TToolBar) List() bool

func (*TToolBar) MouseInClient added in v1.1.21

func (t *TToolBar) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TToolBar) Name

func (t *TToolBar) Name() string

Name

获取组件名称。

Get the component name.

func (*TToolBar) Owner

func (t *TToolBar) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TToolBar) PaintTo added in v1.1.21

func (t *TToolBar) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TToolBar) Parent

func (t *TToolBar) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TToolBar) ParentColor

func (t *TToolBar) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TToolBar) ParentDoubleBuffered

func (t *TToolBar) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TToolBar) ParentFont

func (t *TToolBar) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TToolBar) ParentShowHint

func (t *TToolBar) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TToolBar) ParentToClient

func (t *TToolBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TToolBar) ParentWindow

func (t *TToolBar) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TToolBar) Perform

func (t *TToolBar) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TToolBar) PopupMenu

func (t *TToolBar) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TToolBar) Realign

func (t *TToolBar) Realign()

Realign

重新对齐。

Realign.

func (*TToolBar) Refresh

func (t *TToolBar) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TToolBar) RemoveControl added in v1.1.21

func (t *TToolBar) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TToolBar) Repaint

func (t *TToolBar) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TToolBar) ScrollBy added in v1.1.21

func (t *TToolBar) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TToolBar) SendToBack

func (t *TToolBar) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TToolBar) SetAnchorSideBottom

func (t *TToolBar) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TToolBar) SetAnchorSideLeft

func (t *TToolBar) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TToolBar) SetAnchorSideRight

func (t *TToolBar) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TToolBar) SetAnchorSideTop

func (t *TToolBar) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TToolBar) SetAnchors

func (t *TToolBar) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TToolBar) SetAutoSize

func (t *TToolBar) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TToolBar) SetBiDiMode

func (t *TToolBar) SetBiDiMode(value TBiDiMode)

func (*TToolBar) SetBorderSpacing

func (t *TToolBar) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TToolBar) SetBorderWidth

func (t *TToolBar) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TToolBar) SetBounds

func (t *TToolBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetCaption

设置控件标题。

Set the control title.

func (*TToolBar) SetChildSizing

func (t *TToolBar) SetChildSizing(value *TControlChildSizing)

func (*TToolBar) SetClientHeight

func (t *TToolBar) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TToolBar) SetClientWidth

func (t *TToolBar) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TToolBar) SetColor

func (t *TToolBar) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TToolBar) SetComponentIndex

func (t *TToolBar) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TToolBar) SetConstraints added in v1.2.7

func (t *TToolBar) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TToolBar) SetControlState added in v1.1.21

func (t *TToolBar) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TToolBar) SetControlStyle added in v1.1.21

func (t *TToolBar) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TToolBar) SetCursor

func (t *TToolBar) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TToolBar) SetDockSite

func (t *TToolBar) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TToolBar) SetDoubleBuffered

func (t *TToolBar) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TToolBar) SetDragCursor

func (t *TToolBar) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TToolBar) SetDragKind

func (t *TToolBar) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TToolBar) SetDragMode

func (t *TToolBar) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TToolBar) SetEdgeBorders added in v1.1.19

func (t *TToolBar) SetEdgeBorders(value TEdgeBorders)

func (*TToolBar) SetEdgeInner added in v1.1.19

func (t *TToolBar) SetEdgeInner(value TEdgeStyle)

func (*TToolBar) SetEdgeOuter added in v1.1.19

func (t *TToolBar) SetEdgeOuter(value TEdgeStyle)

func (*TToolBar) SetEnabled

func (t *TToolBar) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TToolBar) SetFlat

func (t *TToolBar) SetFlat(value bool)

SetFlat

设置平面样式。

func (*TToolBar) SetFocus

func (t *TToolBar) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TToolBar) SetFont

func (t *TToolBar) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TToolBar) SetHeight

func (t *TToolBar) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TToolBar) SetHint

func (t *TToolBar) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TToolBar) SetHotImages

func (t *TToolBar) SetHotImages(value IComponent)

func (*TToolBar) SetImages

func (t *TToolBar) SetImages(value IComponent)

SetImages

设置图标索引列表对象。

func (*TToolBar) SetIndent

func (t *TToolBar) SetIndent(value int32)

func (*TToolBar) SetLeft

func (t *TToolBar) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TToolBar) SetList

func (t *TToolBar) SetList(value bool)

func (*TToolBar) SetName

func (t *TToolBar) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TToolBar) SetOnClick

func (t *TToolBar) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TToolBar) SetOnContextPopup

func (t *TToolBar) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TToolBar) SetOnDblClick

func (t *TToolBar) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TToolBar) SetOnDockDrop

func (t *TToolBar) SetOnDockDrop(fn TDockDropEvent)

func (*TToolBar) SetOnDragDrop

func (t *TToolBar) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TToolBar) SetOnDragOver

func (t *TToolBar) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TToolBar) SetOnEndDrag

func (t *TToolBar) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TToolBar) SetOnEnter

func (t *TToolBar) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TToolBar) SetOnExit

func (t *TToolBar) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TToolBar) SetOnMouseDown

func (t *TToolBar) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TToolBar) SetOnMouseEnter

func (t *TToolBar) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TToolBar) SetOnMouseLeave

func (t *TToolBar) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TToolBar) SetOnMouseMove

func (t *TToolBar) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TToolBar) SetOnMouseUp

func (t *TToolBar) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TToolBar) SetOnResize

func (t *TToolBar) SetOnResize(fn TNotifyEvent)

SetOnResize

设置大小被改变事件。

func (*TToolBar) SetOnUnDock

func (t *TToolBar) SetOnUnDock(fn TUnDockEvent)

func (*TToolBar) SetParent

func (t *TToolBar) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TToolBar) SetParentColor

func (t *TToolBar) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TToolBar) SetParentDoubleBuffered

func (t *TToolBar) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TToolBar) SetParentFont

func (t *TToolBar) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TToolBar) SetParentShowHint

func (t *TToolBar) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TToolBar) SetParentWindow

func (t *TToolBar) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TToolBar) SetPopupMenu

func (t *TToolBar) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TToolBar) SetShowCaptions

func (t *TToolBar) SetShowCaptions(value bool)

SetShowCaptions

设置显示标题。

func (*TToolBar) SetShowHint

func (t *TToolBar) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TToolBar) SetTabOrder

func (t *TToolBar) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TToolBar) SetTabStop

func (t *TToolBar) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TToolBar) SetTag

func (t *TToolBar) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TToolBar) SetTextBuf added in v1.1.21

func (t *TToolBar) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TToolBar) SetTop

func (t *TToolBar) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TToolBar) SetTransparent

func (t *TToolBar) SetTransparent(value bool)

SetTransparent

设置透明。

Set transparent.

func (*TToolBar) SetUseDockManager

func (t *TToolBar) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TToolBar) SetVisible

func (t *TToolBar) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TToolBar) SetWidth

func (t *TToolBar) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TToolBar) SetWrapable

func (t *TToolBar) SetWrapable(value bool)

func (*TToolBar) Show

func (t *TToolBar) Show()

Show

显示控件。

Show control.

func (*TToolBar) ShowCaptions

func (t *TToolBar) ShowCaptions() bool

ShowCaptions

获取显示标题。

func (*TToolBar) ShowHint

func (t *TToolBar) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TToolBar) Showing

func (t *TToolBar) Showing() bool

func (*TToolBar) TabOrder

func (t *TToolBar) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TToolBar) TabStop

func (t *TToolBar) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TToolBar) Tag

func (t *TToolBar) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TToolBar) ToString

func (t *TToolBar) ToString() string

ToString

文本类信息。

Text information.

func (*TToolBar) Top

func (t *TToolBar) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TToolBar) Transparent

func (t *TToolBar) Transparent() bool

Transparent

获取透明。

Get transparent.

func (*TToolBar) UnsafeAddr added in v1.1.21

func (t *TToolBar) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TToolBar) Update

func (t *TToolBar) Update()

Update

控件更新。

Update.

func (*TToolBar) UseDockManager

func (t *TToolBar) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TToolBar) Visible

func (t *TToolBar) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TToolBar) VisibleDockClientCount added in v1.1.21

func (t *TToolBar) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TToolBar) Width

func (t *TToolBar) Width() int32

Width

获取宽度。

Get width.

func (*TToolBar) Wrapable

func (t *TToolBar) Wrapable() bool

type TToolButton

type TToolButton struct {
	IControl
	// contains filtered or unexported fields
}

func AsToolButton added in v1.2.10

func AsToolButton(obj interface{}) *TToolButton

AsToolButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewToolButton

func NewToolButton(owner IComponent) *TToolButton

NewToolButton

创建一个新的对象。

Create a new object.

func (*TToolButton) Action

func (t *TToolButton) Action() *TAction

func (*TToolButton) Align

func (t *TToolButton) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TToolButton) AnchorSideBottom

func (t *TToolButton) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TToolButton) AnchorSideLeft

func (t *TToolButton) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TToolButton) AnchorSideRight

func (t *TToolButton) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TToolButton) AnchorSideTop

func (t *TToolButton) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TToolButton) AnchorToNeighbour

func (t *TToolButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToolButton) AnchorVerticalCenterTo

func (t *TToolButton) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TToolButton) Anchors

func (t *TToolButton) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TToolButton) Assign

func (t *TToolButton) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

AutoSize

获取自动调整大小。

func (*TToolButton) BiDiMode

func (t *TToolButton) BiDiMode() TBiDiMode

func (*TToolButton) BorderSpacing

func (t *TToolButton) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TToolButton) BoundsRect

func (t *TToolButton) BoundsRect() TRect

func (*TToolButton) BringToFront

func (t *TToolButton) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TToolButton) Caption

func (t *TToolButton) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TToolButton) CheckMenuDropdown

func (t *TToolButton) CheckMenuDropdown() bool

func (*TToolButton) ClassName

func (t *TToolButton) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TToolButton) ClassType added in v1.1.18

func (t *TToolButton) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TToolButton) Click

func (t *TToolButton) Click()

Click

单击。

func (*TToolButton) ClientHeight

func (t *TToolButton) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TToolButton) ClientOrigin added in v1.1.21

func (t *TToolButton) ClientOrigin() TPoint

func (*TToolButton) ClientRect

func (t *TToolButton) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TToolButton) ClientToParent

func (t *TToolButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TToolButton) ClientToScreen

func (t *TToolButton) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TToolButton) ClientWidth

func (t *TToolButton) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TToolButton) ComponentCount

func (t *TToolButton) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TToolButton) ComponentIndex

func (t *TToolButton) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TToolButton) Components

func (t *TToolButton) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TToolButton) Constraints added in v1.2.7

func (t *TToolButton) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TToolButton) ControlState added in v1.1.21

func (t *TToolButton) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TToolButton) ControlStyle added in v1.1.21

func (t *TToolButton) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TToolButton) Cursor

func (t *TToolButton) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TToolButton) Down

func (t *TToolButton) Down() bool

func (*TToolButton) DragCursor

func (t *TToolButton) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TToolButton) DragKind

func (t *TToolButton) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TToolButton) DragMode

func (t *TToolButton) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TToolButton) Dragging

func (t *TToolButton) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TToolButton) DropdownMenu

func (t *TToolButton) DropdownMenu() *TPopupMenu

func (*TToolButton) Enabled

func (t *TToolButton) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TToolButton) Equals

func (t *TToolButton) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TToolButton) FindComponent

func (t *TToolButton) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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()

Free

释放对象。

Free object.

func (*TToolButton) GetHashCode

func (t *TToolButton) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TToolButton) GetNamePath

func (t *TToolButton) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TToolButton) GetTextBuf

func (t *TToolButton) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TToolButton) GetTextLen

func (t *TToolButton) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

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

HasParent

是否有父容器。

Is there a parent container.

func (*TToolButton) Height

func (t *TToolButton) Height() int32

Height

获取高度。

Get height.

func (*TToolButton) Hide

func (t *TToolButton) Hide()

Hide

隐藏控件。

Hidden control.

func (*TToolButton) Hint

func (t *TToolButton) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TToolButton) ImageIndex

func (t *TToolButton) ImageIndex() int32

ImageIndex

获取图像在images中的索引。

func (*TToolButton) Indeterminate

func (t *TToolButton) Indeterminate() bool

func (*TToolButton) Index

func (t *TToolButton) Index() int32

func (*TToolButton) InheritsFrom added in v1.1.18

func (t *TToolButton) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TToolButton) Instance

func (t *TToolButton) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TToolButton) InstanceSize added in v1.1.18

func (t *TToolButton) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TToolButton) Invalidate

func (t *TToolButton) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TToolButton) Is added in v1.2.10

func (t *TToolButton) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TToolButton) IsValid

func (t *TToolButton) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TToolButton) Left

func (t *TToolButton) Left() int32

Left

获取左边位置。

Get Left position.

func (*TToolButton) Marked

func (t *TToolButton) Marked() bool

func (*TToolButton) Name

func (t *TToolButton) Name() string

Name

获取组件名称。

Get the component name.

func (*TToolButton) Owner

func (t *TToolButton) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TToolButton) Parent

func (t *TToolButton) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TToolButton) ParentShowHint

func (t *TToolButton) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TToolButton) ParentToClient

func (t *TToolButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TToolButton) Perform

func (t *TToolButton) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TToolButton) PopupMenu

func (t *TToolButton) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TToolButton) Refresh

func (t *TToolButton) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TToolButton) Repaint

func (t *TToolButton) Repaint()

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TToolButton) SendToBack

func (t *TToolButton) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TToolButton) SetAllowAllUp

func (t *TToolButton) SetAllowAllUp(value bool)

func (*TToolButton) SetAnchorSideBottom

func (t *TToolButton) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TToolButton) SetAnchorSideLeft

func (t *TToolButton) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TToolButton) SetAnchorSideRight

func (t *TToolButton) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TToolButton) SetAnchorSideTop

func (t *TToolButton) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TToolButton) SetAnchors

func (t *TToolButton) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TToolButton) SetAutoSize

func (t *TToolButton) SetAutoSize(value bool)

SetAutoSize

设置自动调整大小。

func (*TToolButton) SetBiDiMode

func (t *TToolButton) SetBiDiMode(value TBiDiMode)

func (*TToolButton) SetBorderSpacing

func (t *TToolButton) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TToolButton) SetBounds

func (t *TToolButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TToolButton) SetBoundsRect

func (t *TToolButton) SetBoundsRect(value TRect)

func (*TToolButton) SetCaption

func (t *TToolButton) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TToolButton) SetClientHeight

func (t *TToolButton) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TToolButton) SetClientWidth

func (t *TToolButton) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TToolButton) SetComponentIndex

func (t *TToolButton) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TToolButton) SetConstraints added in v1.2.7

func (t *TToolButton) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TToolButton) SetControlState added in v1.1.21

func (t *TToolButton) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TToolButton) SetControlStyle added in v1.1.21

func (t *TToolButton) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TToolButton) SetCursor

func (t *TToolButton) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TToolButton) SetDown

func (t *TToolButton) SetDown(value bool)

func (*TToolButton) SetDragCursor

func (t *TToolButton) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TToolButton) SetDragKind

func (t *TToolButton) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TToolButton) SetDragMode

func (t *TToolButton) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TToolButton) SetDropdownMenu

func (t *TToolButton) SetDropdownMenu(value IComponent)

func (*TToolButton) SetEnabled

func (t *TToolButton) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TToolButton) SetGrouped

func (t *TToolButton) SetGrouped(value bool)

func (*TToolButton) SetHeight

func (t *TToolButton) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TToolButton) SetHint

func (t *TToolButton) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TToolButton) SetImageIndex

func (t *TToolButton) SetImageIndex(value int32)

SetImageIndex

设置图像在images中的索引。

func (*TToolButton) SetIndeterminate

func (t *TToolButton) SetIndeterminate(value bool)

func (*TToolButton) SetLeft

func (t *TToolButton) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TToolButton) SetMarked

func (t *TToolButton) SetMarked(value bool)

func (*TToolButton) SetName

func (t *TToolButton) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TToolButton) SetOnClick

func (t *TToolButton) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TToolButton) SetOnContextPopup

func (t *TToolButton) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TToolButton) SetOnDragDrop

func (t *TToolButton) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TToolButton) SetOnDragOver

func (t *TToolButton) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TToolButton) SetOnEndDock

func (t *TToolButton) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TToolButton) SetOnEndDrag

func (t *TToolButton) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TToolButton) SetOnMouseDown

func (t *TToolButton) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TToolButton) SetOnMouseEnter

func (t *TToolButton) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TToolButton) SetOnMouseLeave

func (t *TToolButton) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TToolButton) SetOnMouseMove

func (t *TToolButton) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TToolButton) SetOnMouseUp

func (t *TToolButton) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TToolButton) SetOnStartDock

func (t *TToolButton) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TToolButton) SetParent

func (t *TToolButton) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TToolButton) SetParentShowHint

func (t *TToolButton) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TToolButton) SetPopupMenu

func (t *TToolButton) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TToolButton) SetShowHint

func (t *TToolButton) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TToolButton) SetStyle

func (t *TToolButton) SetStyle(value TToolButtonStyle)

func (*TToolButton) SetTag

func (t *TToolButton) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TToolButton) SetTextBuf added in v1.1.21

func (t *TToolButton) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TToolButton) SetTop

func (t *TToolButton) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TToolButton) SetVisible

func (t *TToolButton) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TToolButton) SetWidth

func (t *TToolButton) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TToolButton) SetWrap

func (t *TToolButton) SetWrap(value bool)

func (*TToolButton) Show

func (t *TToolButton) Show()

Show

显示控件。

Show control.

func (*TToolButton) ShowHint

func (t *TToolButton) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TToolButton) Style

func (t *TToolButton) Style() TToolButtonStyle

func (*TToolButton) Tag

func (t *TToolButton) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TToolButton) ToString

func (t *TToolButton) ToString() string

ToString

文本类信息。

Text information.

func (*TToolButton) Top

func (t *TToolButton) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TToolButton) UnsafeAddr added in v1.1.21

func (t *TToolButton) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TToolButton) Update

func (t *TToolButton) Update()

Update

控件更新。

Update.

func (*TToolButton) Visible

func (t *TToolButton) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TToolButton) Width

func (t *TToolButton) Width() int32

Width

获取宽度。

Get width.

func (*TToolButton) Wrap

func (t *TToolButton) Wrap() bool

type TTrackBar

type TTrackBar struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsTrackBar added in v1.2.10

func AsTrackBar(obj interface{}) *TTrackBar

AsTrackBar

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTrackBar

func NewTrackBar(owner IComponent) *TTrackBar

NewTrackBar

创建一个新的对象。

Create a new object.

func (*TTrackBar) Action

func (t *TTrackBar) Action() *TAction

func (*TTrackBar) Align

func (t *TTrackBar) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TTrackBar) AnchorSideBottom

func (t *TTrackBar) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TTrackBar) AnchorSideLeft

func (t *TTrackBar) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TTrackBar) AnchorSideRight

func (t *TTrackBar) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TTrackBar) AnchorSideTop

func (t *TTrackBar) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TTrackBar) AnchorToNeighbour

func (t *TTrackBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTrackBar) AnchorVerticalCenterTo

func (t *TTrackBar) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TTrackBar) Anchors

func (t *TTrackBar) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TTrackBar) Assign

func (t *TTrackBar) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TTrackBar) BorderWidth

func (t *TTrackBar) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TTrackBar) BoundsRect

func (t *TTrackBar) BoundsRect() TRect

func (*TTrackBar) BringToFront

func (t *TTrackBar) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TTrackBar) Brush

func (t *TTrackBar) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TTrackBar) CanFocus

func (t *TTrackBar) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TTrackBar) ChildSizing

func (t *TTrackBar) ChildSizing() *TControlChildSizing

func (*TTrackBar) ClassName

func (t *TTrackBar) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTrackBar) ClassType added in v1.1.18

func (t *TTrackBar) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTrackBar) ClientHeight

func (t *TTrackBar) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TTrackBar) ClientOrigin added in v1.1.21

func (t *TTrackBar) ClientOrigin() TPoint

func (*TTrackBar) ClientRect

func (t *TTrackBar) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TTrackBar) ClientToParent

func (t *TTrackBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TTrackBar) ClientToScreen

func (t *TTrackBar) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TTrackBar) ClientWidth

func (t *TTrackBar) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TTrackBar) ComponentCount

func (t *TTrackBar) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TTrackBar) ComponentIndex

func (t *TTrackBar) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TTrackBar) Components

func (t *TTrackBar) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TTrackBar) Constraints added in v1.2.7

func (t *TTrackBar) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TTrackBar) ContainsControl added in v1.1.21

func (t *TTrackBar) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TTrackBar) ControlAtPos added in v1.1.21

func (t *TTrackBar) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TTrackBar) ControlCount

func (t *TTrackBar) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TTrackBar) ControlState added in v1.1.21

func (t *TTrackBar) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TTrackBar) ControlStyle added in v1.1.21

func (t *TTrackBar) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TTrackBar) Controls

func (t *TTrackBar) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TTrackBar) Cursor

func (t *TTrackBar) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TTrackBar) DisableAlign added in v1.1.21

func (t *TTrackBar) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TTrackBar) DockClientCount added in v1.1.21

func (t *TTrackBar) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TTrackBar) DockClients added in v1.1.21

func (t *TTrackBar) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TTrackBar) DockSite

func (t *TTrackBar) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TTrackBar) DoubleBuffered

func (t *TTrackBar) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TTrackBar) DragCursor

func (t *TTrackBar) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TTrackBar) DragMode

func (t *TTrackBar) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TTrackBar) Dragging

func (t *TTrackBar) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TTrackBar) EnableAlign added in v1.1.21

func (t *TTrackBar) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TTrackBar) Enabled

func (t *TTrackBar) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TTrackBar) Equals

func (t *TTrackBar) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TTrackBar) FindChildControl added in v1.1.21

func (t *TTrackBar) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TTrackBar) FindComponent

func (t *TTrackBar) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TTrackBar) Free

func (t *TTrackBar) Free()

Free

释放对象。

Free object.

func (*TTrackBar) Frequency

func (t *TTrackBar) Frequency() int32

func (*TTrackBar) GetHashCode

func (t *TTrackBar) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TTrackBar) GetNamePath

func (t *TTrackBar) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TTrackBar) GetTextBuf

func (t *TTrackBar) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TTrackBar) GetTextLen

func (t *TTrackBar) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TTrackBar) Handle

func (t *TTrackBar) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TTrackBar) HandleAllocated

func (t *TTrackBar) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TTrackBar) HasParent

func (t *TTrackBar) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TTrackBar) Height

func (t *TTrackBar) Height() int32

Height

获取高度。

Get height.

func (*TTrackBar) Hide

func (t *TTrackBar) Hide()

Hide

隐藏控件。

Hidden control.

func (*TTrackBar) Hint

func (t *TTrackBar) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TTrackBar) InheritsFrom added in v1.1.18

func (t *TTrackBar) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTrackBar) InsertControl added in v1.1.21

func (t *TTrackBar) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TTrackBar) Instance

func (t *TTrackBar) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTrackBar) InstanceSize added in v1.1.18

func (t *TTrackBar) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTrackBar) Invalidate

func (t *TTrackBar) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TTrackBar) Is added in v1.2.10

func (t *TTrackBar) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTrackBar) IsValid

func (t *TTrackBar) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTrackBar) Left

func (t *TTrackBar) Left() int32

Left

获取左边位置。

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 added in v1.1.21

func (t *TTrackBar) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TTrackBar) Name

func (t *TTrackBar) Name() string

Name

获取组件名称。

Get the component name.

func (*TTrackBar) Orientation

func (t *TTrackBar) Orientation() TTrackBarOrientation

func (*TTrackBar) Owner

func (t *TTrackBar) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TTrackBar) PageSize

func (t *TTrackBar) PageSize() int32

func (*TTrackBar) PaintTo added in v1.1.21

func (t *TTrackBar) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TTrackBar) Parent

func (t *TTrackBar) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TTrackBar) ParentDoubleBuffered

func (t *TTrackBar) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TTrackBar) ParentShowHint

func (t *TTrackBar) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TTrackBar) ParentToClient

func (t *TTrackBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TTrackBar) ParentWindow

func (t *TTrackBar) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TTrackBar) Perform

func (t *TTrackBar) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TTrackBar) PopupMenu

func (t *TTrackBar) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TTrackBar) Position

func (t *TTrackBar) Position() int32

func (*TTrackBar) Realign

func (t *TTrackBar) Realign()

Realign

重新对齐。

Realign.

func (*TTrackBar) Refresh

func (t *TTrackBar) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TTrackBar) RemoveControl added in v1.1.21

func (t *TTrackBar) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TTrackBar) Repaint

func (t *TTrackBar) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TTrackBar) ScrollBy added in v1.1.21

func (t *TTrackBar) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TTrackBar) SelEnd

func (t *TTrackBar) SelEnd() int32

func (*TTrackBar) SelStart

func (t *TTrackBar) SelStart() int32

SelStart

获取选择的启始位置。

func (*TTrackBar) SendToBack

func (t *TTrackBar) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TTrackBar) SetAnchorSideBottom

func (t *TTrackBar) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TTrackBar) SetAnchorSideLeft

func (t *TTrackBar) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TTrackBar) SetAnchorSideRight

func (t *TTrackBar) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TTrackBar) SetAnchorSideTop

func (t *TTrackBar) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TTrackBar) SetAnchors

func (t *TTrackBar) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TTrackBar) SetBiDiMode

func (t *TTrackBar) SetBiDiMode(value TBiDiMode)

func (*TTrackBar) SetBorderSpacing

func (t *TTrackBar) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TTrackBar) SetBorderWidth

func (t *TTrackBar) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TTrackBar) SetBounds

func (t *TTrackBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TTrackBar) SetClientWidth

func (t *TTrackBar) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TTrackBar) SetComponentIndex

func (t *TTrackBar) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TTrackBar) SetConstraints added in v1.2.7

func (t *TTrackBar) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TTrackBar) SetControlState added in v1.1.21

func (t *TTrackBar) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TTrackBar) SetControlStyle added in v1.1.21

func (t *TTrackBar) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TTrackBar) SetCursor

func (t *TTrackBar) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TTrackBar) SetDockSite

func (t *TTrackBar) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TTrackBar) SetDoubleBuffered

func (t *TTrackBar) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TTrackBar) SetDragCursor

func (t *TTrackBar) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TTrackBar) SetDragMode

func (t *TTrackBar) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TTrackBar) SetEnabled

func (t *TTrackBar) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TTrackBar) SetFocus

func (t *TTrackBar) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TTrackBar) SetFrequency

func (t *TTrackBar) SetFrequency(value int32)

func (*TTrackBar) SetHeight

func (t *TTrackBar) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TTrackBar) SetHint

func (t *TTrackBar) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TTrackBar) SetLeft

func (t *TTrackBar) SetLeft(value int32)

SetLeft

设置左边位置。

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)

SetName

设置组件名称。

Set the component name.

func (*TTrackBar) SetOnChange

func (t *TTrackBar) SetOnChange(fn TNotifyEvent)

SetOnChange

设置改变事件。

Set changed event.

func (*TTrackBar) SetOnContextPopup

func (t *TTrackBar) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TTrackBar) SetOnDragDrop

func (t *TTrackBar) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TTrackBar) SetOnDragOver

func (t *TTrackBar) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TTrackBar) SetOnEndDrag

func (t *TTrackBar) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TTrackBar) SetOnEnter

func (t *TTrackBar) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TTrackBar) SetOnExit

func (t *TTrackBar) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TTrackBar) SetOnKeyDown

func (t *TTrackBar) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TTrackBar) SetOnKeyPress

func (t *TTrackBar) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TTrackBar) SetOnKeyUp

func (t *TTrackBar) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

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)

SetParent

设置控件父容器。

Set control parent container.

func (*TTrackBar) SetParentDoubleBuffered

func (t *TTrackBar) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TTrackBar) SetParentShowHint

func (t *TTrackBar) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TTrackBar) SetParentWindow

func (t *TTrackBar) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TTrackBar) SetPopupMenu

func (t *TTrackBar) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

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)

SetSelStart

设置选择的启始位置。

func (*TTrackBar) SetShowHint

func (t *TTrackBar) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TTrackBar) SetShowSelRange

func (t *TTrackBar) SetShowSelRange(value bool)

func (*TTrackBar) SetTabOrder

func (t *TTrackBar) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TTrackBar) SetTabStop

func (t *TTrackBar) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TTrackBar) SetTag

func (t *TTrackBar) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TTrackBar) SetTextBuf added in v1.1.21

func (t *TTrackBar) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

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)

SetTop

设置顶边位置。

Set Top position.

func (*TTrackBar) SetUseDockManager

func (t *TTrackBar) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TTrackBar) SetVisible

func (t *TTrackBar) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TTrackBar) SetWidth

func (t *TTrackBar) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TTrackBar) Show

func (t *TTrackBar) Show()

Show

显示控件。

Show control.

func (*TTrackBar) ShowHint

func (t *TTrackBar) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TTrackBar) TabStop

func (t *TTrackBar) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TTrackBar) Tag

func (t *TTrackBar) Tag() int

Tag

获取对象标记。

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

ToString

文本类信息。

Text information.

func (*TTrackBar) Top

func (t *TTrackBar) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TTrackBar) UnsafeAddr added in v1.1.21

func (t *TTrackBar) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TTrackBar) Update

func (t *TTrackBar) Update()

Update

控件更新。

Update.

func (*TTrackBar) UseDockManager

func (t *TTrackBar) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TTrackBar) Visible

func (t *TTrackBar) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TTrackBar) VisibleDockClientCount added in v1.1.21

func (t *TTrackBar) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TTrackBar) Width

func (t *TTrackBar) Width() int32

Width

获取宽度。

Get width.

type TTrayIcon

type TTrayIcon struct {
	IComponent
	// contains filtered or unexported fields
}

func AsTrayIcon added in v1.2.10

func AsTrayIcon(obj interface{}) *TTrayIcon

AsTrayIcon

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTrayIcon

func NewTrayIcon(owner IComponent) *TTrayIcon

NewTrayIcon

创建一个新的对象。

Create a new object.

func (*TTrayIcon) AnimateInterval

func (t *TTrayIcon) AnimateInterval() uint32

func (*TTrayIcon) Assign

func (t *TTrayIcon) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTrayIcon) ClassType added in v1.1.18

func (t *TTrayIcon) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTrayIcon) ComponentCount

func (t *TTrayIcon) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TTrayIcon) ComponentIndex

func (t *TTrayIcon) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TTrayIcon) Components

func (t *TTrayIcon) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TTrayIcon) Equals

func (t *TTrayIcon) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TTrayIcon) FindComponent

func (t *TTrayIcon) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TTrayIcon) Free

func (t *TTrayIcon) Free()

Free

释放对象。

Free object.

func (*TTrayIcon) GetHashCode

func (t *TTrayIcon) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TTrayIcon) GetNamePath

func (t *TTrayIcon) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TTrayIcon) HasParent

func (t *TTrayIcon) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TTrayIcon) Hint

func (t *TTrayIcon) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TTrayIcon) Icon

func (t *TTrayIcon) Icon() *TIcon

Icon

获取图标。

Get icon.

func (*TTrayIcon) InheritsFrom added in v1.1.18

func (t *TTrayIcon) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTrayIcon) Instance

func (t *TTrayIcon) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTrayIcon) InstanceSize added in v1.1.18

func (t *TTrayIcon) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTrayIcon) Is added in v1.2.10

func (t *TTrayIcon) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTrayIcon) IsValid

func (t *TTrayIcon) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTrayIcon) Name

func (t *TTrayIcon) Name() string

Name

获取组件名称。

Get the component name.

func (*TTrayIcon) Owner

func (t *TTrayIcon) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TTrayIcon) PopupMenu

func (t *TTrayIcon) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

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)

SetComponentIndex

设置组件索引。

Set component index.

func (*TTrayIcon) SetHint

func (t *TTrayIcon) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TTrayIcon) SetIcon

func (t *TTrayIcon) SetIcon(value *TIcon)

SetIcon

设置图标。

Set icon.

func (*TTrayIcon) SetName

func (t *TTrayIcon) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TTrayIcon) SetOnClick

func (t *TTrayIcon) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TTrayIcon) SetOnDblClick

func (t *TTrayIcon) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TTrayIcon) SetOnMouseDown

func (t *TTrayIcon) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TTrayIcon) SetOnMouseMove

func (t *TTrayIcon) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TTrayIcon) SetOnMouseUp

func (t *TTrayIcon) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TTrayIcon) SetPopupMenu

func (t *TTrayIcon) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TTrayIcon) SetTag

func (t *TTrayIcon) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TTrayIcon) SetVisible

func (t *TTrayIcon) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TTrayIcon) ShowBalloonHint

func (t *TTrayIcon) ShowBalloonHint()

func (*TTrayIcon) Tag

func (t *TTrayIcon) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TTrayIcon) ToString

func (t *TTrayIcon) ToString() string

ToString

文本类信息。

Text information.

func (*TTrayIcon) UnsafeAddr added in v1.1.21

func (t *TTrayIcon) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TTrayIcon) Visible

func (t *TTrayIcon) Visible() bool

Visible

获取控件可视。

Get the control visible.

type TTreeNode

type TTreeNode struct {
	IObject
	// contains filtered or unexported fields
}

func AsTreeNode added in v1.2.10

func AsTreeNode(obj interface{}) *TTreeNode

AsTreeNode

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTreeNode

func NewTreeNode(AOwner *TTreeNodes) *TTreeNode

NewTreeNode

创建一个新的对象。

Create a new object.

func (*TTreeNode) AbsoluteIndex

func (t *TTreeNode) AbsoluteIndex() int32

func (*TTreeNode) Assign

func (t *TTreeNode) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTreeNode) ClassType added in v1.1.18

func (t *TTreeNode) ClassType() TClass

ClassType

获取类的类型信息。

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

Equals

与一个对象进行比较。

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

Focused

获取返回是否获取焦点。

Get Return to get focus.

func (*TTreeNode) Free

func (t *TTreeNode) Free()

Free

释放对象。

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

GetHashCode

获取类的哈希值。

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

GetNamePath

获取类名路径。

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

Handle

获取控件句柄。

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

Height

获取高度。

Get height.

func (*TTreeNode) ImageIndex

func (t *TTreeNode) ImageIndex() int32

ImageIndex

获取图像在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 added in v1.1.18

func (t *TTreeNode) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTreeNode) Instance

func (t *TTreeNode) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTreeNode) InstanceSize added in v1.1.18

func (t *TTreeNode) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTreeNode) Is added in v1.2.10

func (t *TTreeNode) Is() TIs

Is

检测当前对象是否继承自目标对象。

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

IsValid

检测地址是否为空。

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

Owner

获取组件所有者。

Get component owner.

func (*TTreeNode) Parent

func (t *TTreeNode) Parent() *TTreeNode

Parent

获取控件父容器。

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)

SetFocused

设置返回是否获取焦点。

Set Return to get focus.

func (*TTreeNode) SetHasChildren

func (t *TTreeNode) SetHasChildren(value bool)

func (*TTreeNode) SetHeight

func (t *TTreeNode) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TTreeNode) SetImageIndex

func (t *TTreeNode) SetImageIndex(value int32)

SetImageIndex

设置图像在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)

SetText

设置文本。

func (*TTreeNode) SetVisible

func (t *TTreeNode) SetVisible(value bool)

SetVisible

设置控件可视。

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

Text

获取文本。

func (*TTreeNode) ToString

func (t *TTreeNode) ToString() string

ToString

文本类信息。

Text information.

func (*TTreeNode) Top

func (t *TTreeNode) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TTreeNode) TreeNodes

func (t *TTreeNode) TreeNodes() *TTreeNodes

func (*TTreeNode) TreeView added in v1.2.3

func (t *TTreeNode) TreeView() *TWinControl

func (*TTreeNode) UnsafeAddr added in v1.1.21

func (t *TTreeNode) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TTreeNode) Update

func (t *TTreeNode) Update()

Update

控件更新。

Update.

func (*TTreeNode) Visible

func (t *TTreeNode) Visible() bool

Visible

获取控件可视。

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 added in v1.2.10

func AsTreeNodes(obj interface{}) *TTreeNodes

AsTreeNodes

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTreeNodes

func NewTreeNodes(AOwner *TTreeView) *TTreeNodes

NewTreeNodes

创建一个新的对象。

Create a new object.

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)

Assign

复制一个对象,如果对象实现了此方法的话。

Copy an object, if the object implements this method.

func (*TTreeNodes) BeginUpdate

func (t *TTreeNodes) BeginUpdate()

func (*TTreeNodes) ClassName

func (t *TTreeNodes) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTreeNodes) ClassType added in v1.1.18

func (t *TTreeNodes) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTreeNodes) Clear

func (t *TTreeNodes) Clear()

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

Equals

与一个对象进行比较。

Compare with an object.

func (*TTreeNodes) Free

func (t *TTreeNodes) Free()

Free

释放对象。

Free object.

func (*TTreeNodes) GetFirstNode

func (t *TTreeNodes) GetFirstNode() *TTreeNode

func (*TTreeNodes) GetHashCode

func (t *TTreeNodes) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TTreeNodes) GetNamePath

func (t *TTreeNodes) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TTreeNodes) InheritsFrom added in v1.1.18

func (t *TTreeNodes) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

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

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTreeNodes) InstanceSize added in v1.1.18

func (t *TTreeNodes) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTreeNodes) Is added in v1.2.10

func (t *TTreeNodes) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TTreeNodes) IsValid

func (t *TTreeNodes) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTreeNodes) Item

func (t *TTreeNodes) Item(Index int32) *TTreeNode

func (*TTreeNodes) Owner

func (t *TTreeNodes) Owner() *TWinControl

Owner

获取组件所有者。

Get component owner.

func (*TTreeNodes) ToString

func (t *TTreeNodes) ToString() string

ToString

文本类信息。

Text information.

func (*TTreeNodes) UnsafeAddr added in v1.1.21

func (t *TTreeNodes) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

type TTreeView

type TTreeView struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsTreeView added in v1.2.10

func AsTreeView(obj interface{}) *TTreeView

AsTreeView

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewTreeView

func NewTreeView(owner IComponent) *TTreeView

NewTreeView

创建一个新的对象。

Create a new object.

func (*TTreeView) Action

func (t *TTreeView) Action() *TAction

func (*TTreeView) Align

func (t *TTreeView) Align() TAlign

Align

获取控件自动调整。

Get Control automatically adjusts.

func (*TTreeView) AlphaSort

func (t *TTreeView) AlphaSort(ARecurse bool) bool

AlphaSort

按字母排序,所有都参数无效,仅仅用来兼容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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TTreeView) AnchorSideBottom

func (t *TTreeView) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TTreeView) AnchorSideLeft

func (t *TTreeView) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TTreeView) AnchorSideRight

func (t *TTreeView) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TTreeView) AnchorSideTop

func (t *TTreeView) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TTreeView) AnchorToNeighbour

func (t *TTreeView) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTreeView) AnchorVerticalCenterTo

func (t *TTreeView) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TTreeView) Anchors

func (t *TTreeView) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TTreeView) Assign

func (t *TTreeView) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TTreeView) BorderStyle

func (t *TTreeView) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TTreeView) BorderWidth

func (t *TTreeView) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TTreeView) BoundsRect

func (t *TTreeView) BoundsRect() TRect

func (*TTreeView) BringToFront

func (t *TTreeView) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TTreeView) Brush

func (t *TTreeView) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TTreeView) CanFocus

func (t *TTreeView) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TTreeView) Canvas

func (t *TTreeView) Canvas() *TCanvas

Canvas

获取画布。

func (*TTreeView) ChildSizing

func (t *TTreeView) ChildSizing() *TControlChildSizing

func (*TTreeView) ClassName

func (t *TTreeView) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TTreeView) ClassType added in v1.1.18

func (t *TTreeView) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TTreeView) ClearSelection

func (t *TTreeView) ClearSelection(KeepPrimary bool)

ClearSelection

清除选择。

func (*TTreeView) ClientHeight

func (t *TTreeView) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TTreeView) ClientOrigin added in v1.1.21

func (t *TTreeView) ClientOrigin() TPoint

func (*TTreeView) ClientRect

func (t *TTreeView) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TTreeView) ClientToParent

func (t *TTreeView) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TTreeView) ClientToScreen

func (t *TTreeView) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TTreeView) ClientWidth

func (t *TTreeView) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TTreeView) Color

func (t *TTreeView) Color() TColor

Color

获取颜色。

Get color.

func (*TTreeView) ComponentCount

func (t *TTreeView) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TTreeView) ComponentIndex

func (t *TTreeView) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TTreeView) Components

func (t *TTreeView) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TTreeView) Constraints added in v1.2.7

func (t *TTreeView) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TTreeView) ContainsControl added in v1.1.21

func (t *TTreeView) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TTreeView) ControlAtPos added in v1.1.21

func (t *TTreeView) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TTreeView) ControlCount

func (t *TTreeView) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TTreeView) ControlState added in v1.1.21

func (t *TTreeView) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TTreeView) ControlStyle added in v1.1.21

func (t *TTreeView) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TTreeView) Controls

func (t *TTreeView) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TTreeView) Cursor

func (t *TTreeView) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TTreeView) CustomSort

func (t *TTreeView) CustomSort(SortProc PFNTVCOMPARE, Data int, ARecurse bool) bool

CustomSort

自定义排序,所有都参数无效,仅仅用来兼容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 added in v1.1.21

func (t *TTreeView) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TTreeView) DockClientCount added in v1.1.21

func (t *TTreeView) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TTreeView) DockClients added in v1.1.21

func (t *TTreeView) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TTreeView) DockSite

func (t *TTreeView) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TTreeView) DoubleBuffered

func (t *TTreeView) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TTreeView) DragCursor

func (t *TTreeView) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TTreeView) DragKind

func (t *TTreeView) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TTreeView) DragMode

func (t *TTreeView) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TTreeView) Dragging

func (t *TTreeView) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TTreeView) DropTarget

func (t *TTreeView) DropTarget() *TTreeNode

func (*TTreeView) EnableAlign added in v1.1.21

func (t *TTreeView) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TTreeView) Enabled

func (t *TTreeView) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TTreeView) Equals

func (t *TTreeView) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

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 added in v1.1.21

func (t *TTreeView) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TTreeView) FindComponent

func (t *TTreeView) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TTreeView) Font

func (t *TTreeView) Font() *TFont

Font

获取字体。

Get Font.

func (*TTreeView) Free

func (t *TTreeView) Free()

Free

释放对象。

Free object.

func (*TTreeView) FullCollapse

func (t *TTreeView) FullCollapse()

func (*TTreeView) FullExpand

func (t *TTreeView) FullExpand()

func (*TTreeView) GetHashCode

func (t *TTreeView) GetHashCode() int32

GetHashCode

获取类的哈希值。

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

GetNamePath

获取类名路径。

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

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TTreeView) GetTextLen

func (t *TTreeView) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TTreeView) Handle

func (t *TTreeView) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TTreeView) HandleAllocated

func (t *TTreeView) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TTreeView) HasParent

func (t *TTreeView) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TTreeView) Height

func (t *TTreeView) Height() int32

Height

获取高度。

Get height.

func (*TTreeView) Hide

func (t *TTreeView) Hide()

Hide

隐藏控件。

Hidden control.

func (*TTreeView) HideSelection

func (t *TTreeView) HideSelection() bool

HideSelection

获取隐藏选择。

func (*TTreeView) Hint

func (t *TTreeView) Hint() string

Hint

获取组件鼠标悬停提示。

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

Images

获取图标索引列表对象。

func (*TTreeView) ImagesWidth

func (t *TTreeView) ImagesWidth() int32

func (*TTreeView) Indent

func (t *TTreeView) Indent() int32

func (*TTreeView) InheritsFrom added in v1.1.18

func (t *TTreeView) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TTreeView) InsertControl added in v1.1.21

func (t *TTreeView) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TTreeView) Instance

func (t *TTreeView) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TTreeView) InstanceSize added in v1.1.18

func (t *TTreeView) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TTreeView) Invalidate

func (t *TTreeView) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TTreeView) Is added in v1.2.10

func (t *TTreeView) Is() TIs

Is

检测当前对象是否继承自目标对象。

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

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TTreeView) Items

func (t *TTreeView) Items() *TTreeNodes

func (*TTreeView) Left

func (t *TTreeView) Left() int32

Left

获取左边位置。

Get Left position.

func (*TTreeView) LoadFromFile

func (t *TTreeView) LoadFromFile(FileName string)

LoadFromFile

从文件加载。

func (*TTreeView) LoadFromStream

func (t *TTreeView) LoadFromStream(Stream IStream)

LoadFromStream

文件流加载。

func (*TTreeView) MouseInClient added in v1.1.21

func (t *TTreeView) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅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

Name

获取组件名称。

Get the component name.

func (*TTreeView) Options

func (t *TTreeView) Options() TTreeViewOptions

func (*TTreeView) Owner

func (t *TTreeView) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TTreeView) PaintTo added in v1.1.21

func (t *TTreeView) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TTreeView) Parent

func (t *TTreeView) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TTreeView) ParentColor

func (t *TTreeView) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TTreeView) ParentDoubleBuffered

func (t *TTreeView) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TTreeView) ParentFont

func (t *TTreeView) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TTreeView) ParentShowHint

func (t *TTreeView) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TTreeView) ParentToClient

func (t *TTreeView) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TTreeView) ParentWindow

func (t *TTreeView) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TTreeView) Perform

func (t *TTreeView) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TTreeView) PopupMenu

func (t *TTreeView) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TTreeView) ReadOnly

func (t *TTreeView) ReadOnly() bool

ReadOnly

获取只读。

func (*TTreeView) Realign

func (t *TTreeView) Realign()

Realign

重新对齐。

Realign.

func (*TTreeView) Refresh

func (t *TTreeView) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TTreeView) RemoveControl added in v1.1.21

func (t *TTreeView) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TTreeView) Repaint

func (t *TTreeView) Repaint()

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)

SaveToFile

保存至文件。

func (*TTreeView) SaveToStream

func (t *TTreeView) SaveToStream(Stream IStream)

SaveToStream

保存至流。

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TTreeView) ScrollBars

func (t *TTreeView) ScrollBars() TScrollStyle

func (*TTreeView) ScrollBy added in v1.1.21

func (t *TTreeView) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

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()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TTreeView) SetAnchorSideBottom

func (t *TTreeView) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TTreeView) SetAnchorSideLeft

func (t *TTreeView) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TTreeView) SetAnchorSideRight

func (t *TTreeView) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TTreeView) SetAnchorSideTop

func (t *TTreeView) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TTreeView) SetAnchors

func (t *TTreeView) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

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)

SetBorderSpacing

设置边框间距。

func (*TTreeView) SetBorderStyle

func (t *TTreeView) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TTreeView) SetBorderWidth

func (t *TTreeView) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TTreeView) SetBounds

func (t *TTreeView) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TTreeView) SetClientWidth

func (t *TTreeView) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TTreeView) SetColor

func (t *TTreeView) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TTreeView) SetComponentIndex

func (t *TTreeView) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TTreeView) SetConstraints added in v1.2.7

func (t *TTreeView) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TTreeView) SetControlState added in v1.1.21

func (t *TTreeView) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TTreeView) SetControlStyle added in v1.1.21

func (t *TTreeView) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TTreeView) SetCursor

func (t *TTreeView) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TTreeView) SetDefaultItemHeight

func (t *TTreeView) SetDefaultItemHeight(value int32)

func (*TTreeView) SetDockSite

func (t *TTreeView) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TTreeView) SetDoubleBuffered

func (t *TTreeView) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TTreeView) SetDragCursor

func (t *TTreeView) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TTreeView) SetDragKind

func (t *TTreeView) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TTreeView) SetDragMode

func (t *TTreeView) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TTreeView) SetDropTarget

func (t *TTreeView) SetDropTarget(value *TTreeNode)

func (*TTreeView) SetEnabled

func (t *TTreeView) SetEnabled(value bool)

SetEnabled

设置控件启用。

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()

SetFocus

设置控件焦点。

Set control focus.

func (*TTreeView) SetFont

func (t *TTreeView) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TTreeView) SetHeight

func (t *TTreeView) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TTreeView) SetHideSelection

func (t *TTreeView) SetHideSelection(value bool)

SetHideSelection

设置隐藏选择。

func (*TTreeView) SetHint

func (t *TTreeView) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

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)

SetImages

设置图标索引列表对象。

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)

SetLeft

设置左边位置。

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)

SetName

设置组件名称。

Set the component name.

func (*TTreeView) SetOnAddition added in v1.1.21

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)

SetOnChange

设置改变事件。

Set changed event.

func (*TTreeView) SetOnChanging added in v1.1.21

func (t *TTreeView) SetOnChanging(fn TTVChangingEvent)

func (*TTreeView) SetOnClick

func (t *TTreeView) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TTreeView) SetOnCollapsed added in v1.1.21

func (t *TTreeView) SetOnCollapsed(fn TTVExpandedEvent)

func (*TTreeView) SetOnCollapsing added in v1.1.21

func (t *TTreeView) SetOnCollapsing(fn TTVCollapsingEvent)

func (*TTreeView) SetOnCompare

func (t *TTreeView) SetOnCompare(fn TTVCompareEvent)

func (*TTreeView) SetOnContextPopup

func (t *TTreeView) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TTreeView) SetOnCustomDraw added in v1.1.23

func (t *TTreeView) SetOnCustomDraw(fn TTVCustomDrawEvent)

func (*TTreeView) SetOnCustomDrawItem added in v1.1.23

func (t *TTreeView) SetOnCustomDrawItem(fn TTVCustomDrawItemEvent)

func (*TTreeView) SetOnDblClick

func (t *TTreeView) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TTreeView) SetOnDeletion added in v1.1.21

func (t *TTreeView) SetOnDeletion(fn TTVExpandedEvent)

func (*TTreeView) SetOnDragDrop

func (t *TTreeView) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TTreeView) SetOnDragOver

func (t *TTreeView) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TTreeView) SetOnEdited added in v1.1.21

func (t *TTreeView) SetOnEdited(fn TTVEditedEvent)

func (*TTreeView) SetOnEditing added in v1.1.21

func (t *TTreeView) SetOnEditing(fn TTVEditingEvent)

func (*TTreeView) SetOnEndDrag

func (t *TTreeView) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TTreeView) SetOnEnter

func (t *TTreeView) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TTreeView) SetOnExit

func (t *TTreeView) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TTreeView) SetOnExpanded added in v1.1.21

func (t *TTreeView) SetOnExpanded(fn TTVExpandedEvent)

func (*TTreeView) SetOnExpanding added in v1.1.21

func (t *TTreeView) SetOnExpanding(fn TTVExpandingEvent)

func (*TTreeView) SetOnGetSelectedIndex

func (t *TTreeView) SetOnGetSelectedIndex(fn TTVExpandedEvent)

func (*TTreeView) SetOnKeyDown

func (t *TTreeView) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TTreeView) SetOnKeyPress

func (t *TTreeView) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TTreeView) SetOnKeyUp

func (t *TTreeView) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TTreeView) SetOnMouseDown

func (t *TTreeView) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TTreeView) SetOnMouseEnter

func (t *TTreeView) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TTreeView) SetOnMouseLeave

func (t *TTreeView) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TTreeView) SetOnMouseMove

func (t *TTreeView) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TTreeView) SetOnMouseUp

func (t *TTreeView) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TTreeView) SetOptions

func (t *TTreeView) SetOptions(value TTreeViewOptions)

func (*TTreeView) SetParent

func (t *TTreeView) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TTreeView) SetParentColor

func (t *TTreeView) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TTreeView) SetParentDoubleBuffered

func (t *TTreeView) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TTreeView) SetParentFont

func (t *TTreeView) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TTreeView) SetParentShowHint

func (t *TTreeView) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TTreeView) SetParentWindow

func (t *TTreeView) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TTreeView) SetPopupMenu

func (t *TTreeView) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TTreeView) SetReadOnly

func (t *TTreeView) SetReadOnly(value bool)

SetReadOnly

设置只读。

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)

SetShowHint

设置显示鼠标悬停提示。

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)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TTreeView) SetTabStop

func (t *TTreeView) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TTreeView) SetTag

func (t *TTreeView) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TTreeView) SetTextBuf added in v1.1.21

func (t *TTreeView) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TTreeView) SetToolTips

func (t *TTreeView) SetToolTips(value bool)

func (*TTreeView) SetTop

func (t *TTreeView) SetTop(value int32)

SetTop

设置顶边位置。

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)

SetUseDockManager

设置使用停靠管理。

func (*TTreeView) SetVisible

func (t *TTreeView) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TTreeView) SetWidth

func (t *TTreeView) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TTreeView) Show

func (t *TTreeView) Show()

Show

显示控件。

Show control.

func (*TTreeView) ShowButtons

func (t *TTreeView) ShowButtons() bool

func (*TTreeView) ShowHint

func (t *TTreeView) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

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

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TTreeView) TabStop

func (t *TTreeView) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TTreeView) Tag

func (t *TTreeView) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TTreeView) ToString

func (t *TTreeView) ToString() string

ToString

文本类信息。

Text information.

func (*TTreeView) ToolTips

func (t *TTreeView) ToolTips() bool

func (*TTreeView) Top

func (t *TTreeView) Top() int32

Top

获取顶边位置。

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 added in v1.1.21

func (t *TTreeView) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TTreeView) Update

func (t *TTreeView) Update()

Update

控件更新。

Update.

func (*TTreeView) UseDockManager

func (t *TTreeView) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TTreeView) Visible

func (t *TTreeView) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TTreeView) VisibleDockClientCount added in v1.1.21

func (t *TTreeView) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TTreeView) Width

func (t *TTreeView) Width() int32

Width

获取宽度。

Get width.

type TUDChangingEvent added in v1.1.21

type TUDChangingEvent func(sender IObject, allowChange *bool)

type TUDClickEvent

type TUDClickEvent func(sender IObject, button TUDBtnType)

type TUTF8KeyPressEvent

type TUTF8KeyPressEvent func(sender IObject, utf8key *TUTF8Char)

type TUnDockEvent

type TUnDockEvent func(sender IObject, client *TControl, newTarget *TControl, allow *bool)

type TUpDown

type TUpDown struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsUpDown added in v1.2.10

func AsUpDown(obj interface{}) *TUpDown

AsUpDown

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewUpDown

func NewUpDown(owner IComponent) *TUpDown

NewUpDown

创建一个新的对象。

Create a new object.

func (*TUpDown) Action

func (u *TUpDown) Action() *TAction

func (*TUpDown) Align

func (u *TUpDown) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TUpDown) AnchorSideBottom

func (u *TUpDown) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TUpDown) AnchorSideLeft

func (u *TUpDown) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TUpDown) AnchorSideRight

func (u *TUpDown) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TUpDown) AnchorSideTop

func (u *TUpDown) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TUpDown) AnchorToNeighbour

func (u *TUpDown) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TUpDown) AnchorVerticalCenterTo

func (u *TUpDown) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TUpDown) Anchors

func (u *TUpDown) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TUpDown) Assign

func (u *TUpDown) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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

BorderSpacing

获取边框间距。

func (*TUpDown) BoundsRect

func (u *TUpDown) BoundsRect() TRect

func (*TUpDown) BringToFront

func (u *TUpDown) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TUpDown) Brush

func (u *TUpDown) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TUpDown) CanFocus

func (u *TUpDown) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TUpDown) ChildSizing

func (u *TUpDown) ChildSizing() *TControlChildSizing

func (*TUpDown) ClassName

func (u *TUpDown) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TUpDown) ClassType added in v1.1.18

func (u *TUpDown) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TUpDown) ClientHeight

func (u *TUpDown) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TUpDown) ClientOrigin added in v1.1.21

func (u *TUpDown) ClientOrigin() TPoint

func (*TUpDown) ClientRect

func (u *TUpDown) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TUpDown) ClientToParent

func (u *TUpDown) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TUpDown) ClientToScreen

func (u *TUpDown) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TUpDown) ClientWidth

func (u *TUpDown) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TUpDown) ComponentCount

func (u *TUpDown) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TUpDown) ComponentIndex

func (u *TUpDown) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TUpDown) Components

func (u *TUpDown) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TUpDown) Constraints added in v1.2.7

func (u *TUpDown) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TUpDown) ContainsControl added in v1.1.21

func (u *TUpDown) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TUpDown) ControlAtPos added in v1.1.21

func (u *TUpDown) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TUpDown) ControlCount

func (u *TUpDown) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TUpDown) ControlState added in v1.1.21

func (u *TUpDown) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TUpDown) ControlStyle added in v1.1.21

func (u *TUpDown) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TUpDown) Controls

func (u *TUpDown) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TUpDown) Cursor

func (u *TUpDown) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TUpDown) DisableAlign added in v1.1.21

func (u *TUpDown) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TUpDown) DockClientCount added in v1.1.21

func (u *TUpDown) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TUpDown) DockClients added in v1.1.21

func (u *TUpDown) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TUpDown) DockSite

func (u *TUpDown) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TUpDown) DoubleBuffered

func (u *TUpDown) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TUpDown) Dragging

func (u *TUpDown) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TUpDown) EnableAlign added in v1.1.21

func (u *TUpDown) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TUpDown) Enabled

func (u *TUpDown) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TUpDown) Equals

func (u *TUpDown) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TUpDown) FindChildControl added in v1.1.21

func (u *TUpDown) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TUpDown) FindComponent

func (u *TUpDown) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

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

Focused

返回是否获取焦点。

Return to get focus.

func (*TUpDown) Free

func (u *TUpDown) Free()

Free

释放对象。

Free object.

func (*TUpDown) GetHashCode

func (u *TUpDown) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TUpDown) GetNamePath

func (u *TUpDown) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TUpDown) GetTextBuf

func (u *TUpDown) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TUpDown) GetTextLen

func (u *TUpDown) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TUpDown) Handle

func (u *TUpDown) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TUpDown) HandleAllocated

func (u *TUpDown) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TUpDown) HasParent

func (u *TUpDown) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TUpDown) Height

func (u *TUpDown) Height() int32

Height

获取高度。

Get height.

func (*TUpDown) Hide

func (u *TUpDown) Hide()

Hide

隐藏控件。

Hidden control.

func (*TUpDown) Hint

func (u *TUpDown) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TUpDown) Increment added in v1.2.0

func (u *TUpDown) Increment() int32

func (*TUpDown) InheritsFrom added in v1.1.18

func (u *TUpDown) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TUpDown) InsertControl added in v1.1.21

func (u *TUpDown) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TUpDown) Instance

func (u *TUpDown) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TUpDown) InstanceSize added in v1.1.18

func (u *TUpDown) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TUpDown) Invalidate

func (u *TUpDown) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TUpDown) Is added in v1.2.10

func (u *TUpDown) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TUpDown) IsValid

func (u *TUpDown) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TUpDown) Left

func (u *TUpDown) Left() int32

Left

获取左边位置。

Get Left position.

func (*TUpDown) Max

func (u *TUpDown) Max() int32

func (*TUpDown) Min

func (u *TUpDown) Min() int32

func (*TUpDown) MouseInClient added in v1.1.21

func (u *TUpDown) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TUpDown) Name

func (u *TUpDown) Name() string

Name

获取组件名称。

Get the component name.

func (*TUpDown) Orientation

func (u *TUpDown) Orientation() TUDOrientation

func (*TUpDown) Owner

func (u *TUpDown) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TUpDown) PaintTo added in v1.1.21

func (u *TUpDown) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TUpDown) Parent

func (u *TUpDown) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TUpDown) ParentDoubleBuffered

func (u *TUpDown) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TUpDown) ParentShowHint

func (u *TUpDown) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TUpDown) ParentToClient

func (u *TUpDown) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TUpDown) ParentWindow

func (u *TUpDown) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TUpDown) Perform

func (u *TUpDown) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TUpDown) PopupMenu

func (u *TUpDown) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TUpDown) Position

func (u *TUpDown) Position() int32

func (*TUpDown) Realign

func (u *TUpDown) Realign()

Realign

重新对齐。

Realign.

func (*TUpDown) Refresh

func (u *TUpDown) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TUpDown) RemoveControl added in v1.1.21

func (u *TUpDown) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TUpDown) Repaint

func (u *TUpDown) Repaint()

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)

ScaleBy

按比例缩放。

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

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TUpDown) ScrollBy added in v1.1.21

func (u *TUpDown) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TUpDown) SendToBack

func (u *TUpDown) SendToBack()

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)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TUpDown) SetAnchorSideBottom

func (u *TUpDown) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TUpDown) SetAnchorSideLeft

func (u *TUpDown) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TUpDown) SetAnchorSideRight

func (u *TUpDown) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TUpDown) SetAnchorSideTop

func (u *TUpDown) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TUpDown) SetAnchors

func (u *TUpDown) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TUpDown) SetBiDiMode

func (u *TUpDown) SetBiDiMode(value TBiDiMode)

func (*TUpDown) SetBorderSpacing

func (u *TUpDown) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TUpDown) SetBounds

func (u *TUpDown) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

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)

SetClientHeight

设置客户区高度。

Set client height.

func (*TUpDown) SetClientWidth

func (u *TUpDown) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TUpDown) SetComponentIndex

func (u *TUpDown) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TUpDown) SetConstraints added in v1.2.7

func (u *TUpDown) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TUpDown) SetControlState added in v1.1.21

func (u *TUpDown) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TUpDown) SetControlStyle added in v1.1.21

func (u *TUpDown) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TUpDown) SetCursor

func (u *TUpDown) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TUpDown) SetDockSite

func (u *TUpDown) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TUpDown) SetDoubleBuffered

func (u *TUpDown) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TUpDown) SetEnabled

func (u *TUpDown) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TUpDown) SetFocus

func (u *TUpDown) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TUpDown) SetHeight

func (u *TUpDown) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TUpDown) SetHint

func (u *TUpDown) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TUpDown) SetIncrement added in v1.2.0

func (u *TUpDown) SetIncrement(value int32)

func (*TUpDown) SetLeft

func (u *TUpDown) SetLeft(value int32)

SetLeft

设置左边位置。

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)

SetName

设置组件名称。

Set the component name.

func (*TUpDown) SetOnChanging added in v1.1.21

func (u *TUpDown) SetOnChanging(fn TUDChangingEvent)

func (*TUpDown) SetOnClick

func (u *TUpDown) SetOnClick(fn TUDClickEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TUpDown) SetOnContextPopup

func (u *TUpDown) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TUpDown) SetOnEnter

func (u *TUpDown) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TUpDown) SetOnExit

func (u *TUpDown) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TUpDown) SetOnMouseDown

func (u *TUpDown) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TUpDown) SetOnMouseEnter

func (u *TUpDown) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TUpDown) SetOnMouseLeave

func (u *TUpDown) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TUpDown) SetOnMouseMove

func (u *TUpDown) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TUpDown) SetOnMouseUp

func (u *TUpDown) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TUpDown) SetOrientation

func (u *TUpDown) SetOrientation(value TUDOrientation)

func (*TUpDown) SetParent

func (u *TUpDown) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TUpDown) SetParentDoubleBuffered

func (u *TUpDown) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TUpDown) SetParentShowHint

func (u *TUpDown) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TUpDown) SetParentWindow

func (u *TUpDown) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TUpDown) SetPopupMenu

func (u *TUpDown) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TUpDown) SetPosition

func (u *TUpDown) SetPosition(value int32)

func (*TUpDown) SetShowHint

func (u *TUpDown) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TUpDown) SetTabOrder

func (u *TUpDown) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TUpDown) SetTabStop

func (u *TUpDown) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TUpDown) SetTag

func (u *TUpDown) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TUpDown) SetTextBuf added in v1.1.21

func (u *TUpDown) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TUpDown) SetTop

func (u *TUpDown) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TUpDown) SetUseDockManager

func (u *TUpDown) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TUpDown) SetVisible

func (u *TUpDown) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TUpDown) SetWidth

func (u *TUpDown) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TUpDown) SetWrap

func (u *TUpDown) SetWrap(value bool)

func (*TUpDown) Show

func (u *TUpDown) Show()

Show

显示控件。

Show control.

func (*TUpDown) ShowHint

func (u *TUpDown) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TUpDown) Showing

func (u *TUpDown) Showing() bool

func (*TUpDown) TabOrder

func (u *TUpDown) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TUpDown) TabStop

func (u *TUpDown) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TUpDown) Tag

func (u *TUpDown) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TUpDown) ToString

func (u *TUpDown) ToString() string

ToString

文本类信息。

Text information.

func (*TUpDown) Top

func (u *TUpDown) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TUpDown) UnsafeAddr added in v1.1.21

func (u *TUpDown) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TUpDown) Update

func (u *TUpDown) Update()

Update

控件更新。

Update.

func (*TUpDown) UseDockManager

func (u *TUpDown) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TUpDown) Visible

func (u *TUpDown) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TUpDown) VisibleDockClientCount added in v1.1.21

func (u *TUpDown) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TUpDown) Width

func (u *TUpDown) Width() int32

Width

获取宽度。

Get width.

func (*TUpDown) Wrap

func (u *TUpDown) Wrap() bool

type TUserCheckBoxBitmapEvent

type TUserCheckBoxBitmapEvent func(sender IObject, aCol, aRow int32, CheckedState TCheckBoxState, aBitmap **TBitmap)

type TValidateEntryEvent

type TValidateEntryEvent func(sender IObject, aCol, aRow int32, oldValue string, newValue *string)

type TValueListEditor added in v1.1.19

type TValueListEditor struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsValueListEditor added in v1.2.10

func AsValueListEditor(obj interface{}) *TValueListEditor

AsValueListEditor

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewValueListEditor added in v1.1.19

func NewValueListEditor(owner IComponent) *TValueListEditor

NewValueListEditor

创建一个新的对象。

Create a new object.

func (*TValueListEditor) Action added in v1.1.19

func (v *TValueListEditor) Action() *TAction

func (*TValueListEditor) Align added in v1.1.19

func (v *TValueListEditor) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TValueListEditor) AnchorSideBottom

func (v *TValueListEditor) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TValueListEditor) AnchorSideLeft

func (v *TValueListEditor) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TValueListEditor) AnchorSideRight

func (v *TValueListEditor) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TValueListEditor) AnchorSideTop

func (v *TValueListEditor) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TValueListEditor) AnchorToNeighbour

func (v *TValueListEditor) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TValueListEditor) AnchorVerticalCenterTo

func (v *TValueListEditor) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TValueListEditor) Anchors added in v1.1.19

func (v *TValueListEditor) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TValueListEditor) Assign added in v1.1.19

func (v *TValueListEditor) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.1.19

func (v *TValueListEditor) BiDiMode() TBiDiMode

func (*TValueListEditor) BorderSpacing

func (v *TValueListEditor) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TValueListEditor) BorderStyle added in v1.1.19

func (v *TValueListEditor) BorderStyle() TBorderStyle

BorderStyle

获取窗口边框样式。比如:无边框,单一边框等。

func (*TValueListEditor) BoundsRect added in v1.1.19

func (v *TValueListEditor) BoundsRect() TRect

func (*TValueListEditor) BringToFront added in v1.1.19

func (v *TValueListEditor) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TValueListEditor) Brush added in v1.1.19

func (v *TValueListEditor) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TValueListEditor) CanFocus added in v1.1.19

func (v *TValueListEditor) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TValueListEditor) Canvas added in v1.1.19

func (v *TValueListEditor) Canvas() *TCanvas

Canvas

获取画布。

func (*TValueListEditor) CellRect added in v1.1.19

func (v *TValueListEditor) CellRect(ACol int32, ARow int32) TRect

func (*TValueListEditor) Cells added in v1.1.19

func (v *TValueListEditor) Cells(ACol int32, ARow int32) string

func (*TValueListEditor) ChildSizing

func (v *TValueListEditor) ChildSizing() *TControlChildSizing

func (*TValueListEditor) ClassName added in v1.1.19

func (v *TValueListEditor) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TValueListEditor) ClassType added in v1.1.19

func (v *TValueListEditor) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TValueListEditor) ClientHeight added in v1.1.19

func (v *TValueListEditor) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TValueListEditor) ClientOrigin added in v1.1.21

func (v *TValueListEditor) ClientOrigin() TPoint

func (*TValueListEditor) ClientRect added in v1.1.19

func (v *TValueListEditor) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TValueListEditor) ClientToParent added in v1.1.19

func (v *TValueListEditor) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TValueListEditor) ClientToScreen added in v1.1.19

func (v *TValueListEditor) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TValueListEditor) ClientWidth added in v1.1.19

func (v *TValueListEditor) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TValueListEditor) Col added in v1.1.19

func (v *TValueListEditor) Col() int32

func (*TValueListEditor) ColCount added in v1.1.19

func (v *TValueListEditor) ColCount() int32

func (*TValueListEditor) ColWidths added in v1.1.19

func (v *TValueListEditor) ColWidths(Index int32) int32

func (*TValueListEditor) Color added in v1.1.19

func (v *TValueListEditor) Color() TColor

Color

获取颜色。

Get color.

func (*TValueListEditor) ComponentCount added in v1.1.19

func (v *TValueListEditor) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TValueListEditor) ComponentIndex added in v1.1.19

func (v *TValueListEditor) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TValueListEditor) Components added in v1.1.19

func (v *TValueListEditor) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TValueListEditor) Constraints added in v1.2.7

func (v *TValueListEditor) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TValueListEditor) ContainsControl added in v1.1.21

func (v *TValueListEditor) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TValueListEditor) ControlAtPos added in v1.1.21

func (v *TValueListEditor) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TValueListEditor) ControlCount added in v1.1.19

func (v *TValueListEditor) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TValueListEditor) ControlState added in v1.1.21

func (v *TValueListEditor) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TValueListEditor) ControlStyle added in v1.1.21

func (v *TValueListEditor) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TValueListEditor) Controls added in v1.1.19

func (v *TValueListEditor) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TValueListEditor) Cursor added in v1.1.19

func (v *TValueListEditor) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TValueListEditor) DefaultColWidth added in v1.1.19

func (v *TValueListEditor) DefaultColWidth() int32

func (*TValueListEditor) DefaultDrawing added in v1.1.19

func (v *TValueListEditor) DefaultDrawing() bool

func (*TValueListEditor) DefaultRowHeight added in v1.1.19

func (v *TValueListEditor) DefaultRowHeight() int32

func (*TValueListEditor) DeleteRow

func (v *TValueListEditor) DeleteRow(ARow int32)

func (*TValueListEditor) DisableAlign added in v1.1.21

func (v *TValueListEditor) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TValueListEditor) DockClientCount added in v1.1.21

func (v *TValueListEditor) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TValueListEditor) DockClients added in v1.1.21

func (v *TValueListEditor) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TValueListEditor) DockSite added in v1.1.19

func (v *TValueListEditor) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TValueListEditor) DoubleBuffered added in v1.1.19

func (v *TValueListEditor) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TValueListEditor) DragCursor added in v1.1.19

func (v *TValueListEditor) DragCursor() TCursor

DragCursor

获取设置控件拖拽时的光标。

Get Set the cursor when the control is dragged.

func (*TValueListEditor) DragKind added in v1.1.19

func (v *TValueListEditor) DragKind() TDragKind

DragKind

获取拖拽方式。

Get Drag and drop.

func (*TValueListEditor) DragMode added in v1.1.19

func (v *TValueListEditor) DragMode() TDragMode

DragMode

获取拖拽模式。

Get Drag mode.

func (*TValueListEditor) Dragging added in v1.1.19

func (v *TValueListEditor) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TValueListEditor) DropDownRows

func (v *TValueListEditor) DropDownRows() int32

func (*TValueListEditor) EditorMode added in v1.1.19

func (v *TValueListEditor) EditorMode() bool

func (*TValueListEditor) EnableAlign added in v1.1.21

func (v *TValueListEditor) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TValueListEditor) Enabled added in v1.1.19

func (v *TValueListEditor) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TValueListEditor) Equals added in v1.1.19

func (v *TValueListEditor) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TValueListEditor) FindChildControl added in v1.1.21

func (v *TValueListEditor) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TValueListEditor) FindComponent added in v1.1.19

func (v *TValueListEditor) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TValueListEditor) FixDesignFontsPPI

func (v *TValueListEditor) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TValueListEditor) FixedColor added in v1.1.19

func (v *TValueListEditor) FixedColor() TColor

func (*TValueListEditor) FixedCols added in v1.1.19

func (v *TValueListEditor) FixedCols() int32

func (*TValueListEditor) FlipChildren added in v1.1.19

func (v *TValueListEditor) FlipChildren(AllLevels bool)

func (*TValueListEditor) Floating added in v1.1.19

func (v *TValueListEditor) Floating() bool

func (*TValueListEditor) Focused added in v1.1.19

func (v *TValueListEditor) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*TValueListEditor) Font added in v1.1.19

func (v *TValueListEditor) Font() *TFont

Font

获取字体。

Get Font.

func (*TValueListEditor) Free added in v1.1.19

func (v *TValueListEditor) Free()

Free

释放对象。

Free object.

func (*TValueListEditor) GetHashCode added in v1.1.19

func (v *TValueListEditor) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TValueListEditor) GetNamePath added in v1.1.19

func (v *TValueListEditor) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TValueListEditor) GetTextBuf added in v1.1.19

func (v *TValueListEditor) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TValueListEditor) GetTextLen added in v1.1.19

func (v *TValueListEditor) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TValueListEditor) GridHeight added in v1.1.19

func (v *TValueListEditor) GridHeight() int32

func (*TValueListEditor) GridLineWidth added in v1.1.19

func (v *TValueListEditor) GridLineWidth() int32

func (*TValueListEditor) GridWidth added in v1.1.19

func (v *TValueListEditor) GridWidth() int32

func (*TValueListEditor) Handle added in v1.1.19

func (v *TValueListEditor) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TValueListEditor) HandleAllocated added in v1.1.19

func (v *TValueListEditor) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TValueListEditor) HasParent added in v1.1.19

func (v *TValueListEditor) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TValueListEditor) Height added in v1.1.19

func (v *TValueListEditor) Height() int32

Height

获取高度。

Get height.

func (*TValueListEditor) Hide added in v1.1.19

func (v *TValueListEditor) Hide()

Hide

隐藏控件。

Hidden control.

func (*TValueListEditor) Hint added in v1.1.19

func (v *TValueListEditor) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TValueListEditor) InheritsFrom added in v1.1.19

func (v *TValueListEditor) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TValueListEditor) InsertControl added in v1.1.21

func (v *TValueListEditor) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TValueListEditor) Instance added in v1.1.19

func (v *TValueListEditor) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TValueListEditor) InstanceSize added in v1.1.19

func (v *TValueListEditor) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TValueListEditor) Invalidate added in v1.1.19

func (v *TValueListEditor) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TValueListEditor) Is added in v1.2.10

func (v *TValueListEditor) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TValueListEditor) IsValid added in v1.1.19

func (v *TValueListEditor) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TValueListEditor) Left added in v1.1.19

func (v *TValueListEditor) Left() int32

Left

获取左边位置。

Get Left position.

func (*TValueListEditor) LeftCol added in v1.1.19

func (v *TValueListEditor) LeftCol() int32

func (*TValueListEditor) MouseCoord added in v1.1.19

func (v *TValueListEditor) MouseCoord(X int32, Y int32) TGridCoord

func (*TValueListEditor) MouseInClient added in v1.1.21

func (v *TValueListEditor) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TValueListEditor) MouseToCell added in v1.1.19

func (v *TValueListEditor) MouseToCell(X int32, Y int32, ACol *int32, ARow *int32)

func (*TValueListEditor) Name added in v1.1.19

func (v *TValueListEditor) Name() string

Name

获取组件名称。

Get the component name.

func (*TValueListEditor) Options added in v1.1.19

func (v *TValueListEditor) Options() TGridOptions

func (*TValueListEditor) Owner added in v1.1.19

func (v *TValueListEditor) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TValueListEditor) PaintTo added in v1.1.21

func (v *TValueListEditor) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TValueListEditor) Parent added in v1.1.19

func (v *TValueListEditor) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TValueListEditor) ParentColor added in v1.1.19

func (v *TValueListEditor) ParentColor() bool

ParentColor

获取使用父容器颜色。

Get parent color.

func (*TValueListEditor) ParentDoubleBuffered added in v1.1.19

func (v *TValueListEditor) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TValueListEditor) ParentFont added in v1.1.19

func (v *TValueListEditor) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TValueListEditor) ParentShowHint added in v1.1.19

func (v *TValueListEditor) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TValueListEditor) ParentToClient added in v1.1.19

func (v *TValueListEditor) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TValueListEditor) ParentWindow added in v1.1.19

func (v *TValueListEditor) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TValueListEditor) Perform added in v1.1.19

func (v *TValueListEditor) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TValueListEditor) PopupMenu added in v1.1.19

func (v *TValueListEditor) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TValueListEditor) Realign added in v1.1.19

func (v *TValueListEditor) Realign()

Realign

重新对齐。

Realign.

func (*TValueListEditor) Refresh added in v1.1.19

func (v *TValueListEditor) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TValueListEditor) RemoveControl added in v1.1.21

func (v *TValueListEditor) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TValueListEditor) Repaint added in v1.1.19

func (v *TValueListEditor) Repaint()

Repaint

重绘。

Repaint.

func (*TValueListEditor) Row added in v1.1.19

func (v *TValueListEditor) Row() int32

func (*TValueListEditor) RowCount added in v1.1.19

func (v *TValueListEditor) RowCount() int32

func (*TValueListEditor) RowHeights added in v1.1.19

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 added in v1.1.19

func (v *TValueListEditor) ScaleBy(M int32, D int32)

ScaleBy

按比例缩放。

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 added in v1.1.19

func (v *TValueListEditor) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TValueListEditor) ScrollBars added in v1.1.19

func (v *TValueListEditor) ScrollBars() TScrollStyle

func (*TValueListEditor) ScrollBy added in v1.1.21

func (v *TValueListEditor) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TValueListEditor) Selection added in v1.1.19

func (v *TValueListEditor) Selection() TGridRect

func (*TValueListEditor) SendToBack added in v1.1.19

func (v *TValueListEditor) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TValueListEditor) SetAction added in v1.1.19

func (v *TValueListEditor) SetAction(value IComponent)

func (*TValueListEditor) SetAlign added in v1.1.19

func (v *TValueListEditor) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TValueListEditor) SetAnchorSideBottom

func (v *TValueListEditor) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TValueListEditor) SetAnchorSideLeft

func (v *TValueListEditor) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TValueListEditor) SetAnchorSideRight

func (v *TValueListEditor) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TValueListEditor) SetAnchorSideTop

func (v *TValueListEditor) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TValueListEditor) SetAnchors added in v1.1.19

func (v *TValueListEditor) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TValueListEditor) SetBiDiMode added in v1.1.19

func (v *TValueListEditor) SetBiDiMode(value TBiDiMode)

func (*TValueListEditor) SetBorderSpacing

func (v *TValueListEditor) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TValueListEditor) SetBorderStyle added in v1.1.19

func (v *TValueListEditor) SetBorderStyle(value TBorderStyle)

SetBorderStyle

设置窗口边框样式。比如:无边框,单一边框等。

func (*TValueListEditor) SetBounds added in v1.1.19

func (v *TValueListEditor) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TValueListEditor) SetBoundsRect added in v1.1.19

func (v *TValueListEditor) SetBoundsRect(value TRect)

func (*TValueListEditor) SetCells added in v1.1.19

func (v *TValueListEditor) SetCells(ACol int32, ARow int32, value string)

func (*TValueListEditor) SetChildSizing

func (v *TValueListEditor) SetChildSizing(value *TControlChildSizing)

func (*TValueListEditor) SetClientHeight added in v1.1.19

func (v *TValueListEditor) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TValueListEditor) SetClientWidth added in v1.1.19

func (v *TValueListEditor) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TValueListEditor) SetCol added in v1.1.19

func (v *TValueListEditor) SetCol(value int32)

func (*TValueListEditor) SetColCount added in v1.1.19

func (v *TValueListEditor) SetColCount(value int32)

func (*TValueListEditor) SetColWidths added in v1.1.19

func (v *TValueListEditor) SetColWidths(Index int32, value int32)

func (*TValueListEditor) SetColor added in v1.1.19

func (v *TValueListEditor) SetColor(value TColor)

SetColor

设置颜色。

Set color.

func (*TValueListEditor) SetComponentIndex added in v1.1.19

func (v *TValueListEditor) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TValueListEditor) SetConstraints added in v1.2.7

func (v *TValueListEditor) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TValueListEditor) SetControlState added in v1.1.21

func (v *TValueListEditor) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TValueListEditor) SetControlStyle added in v1.1.21

func (v *TValueListEditor) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TValueListEditor) SetCursor added in v1.1.19

func (v *TValueListEditor) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TValueListEditor) SetDefaultColWidth added in v1.1.19

func (v *TValueListEditor) SetDefaultColWidth(value int32)

func (*TValueListEditor) SetDefaultDrawing added in v1.1.19

func (v *TValueListEditor) SetDefaultDrawing(value bool)

func (*TValueListEditor) SetDefaultRowHeight added in v1.1.19

func (v *TValueListEditor) SetDefaultRowHeight(value int32)

func (*TValueListEditor) SetDockSite added in v1.1.19

func (v *TValueListEditor) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TValueListEditor) SetDoubleBuffered added in v1.1.19

func (v *TValueListEditor) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TValueListEditor) SetDragCursor added in v1.1.19

func (v *TValueListEditor) SetDragCursor(value TCursor)

SetDragCursor

设置设置控件拖拽时的光标。

Set Set the cursor when the control is dragged.

func (*TValueListEditor) SetDragKind added in v1.1.19

func (v *TValueListEditor) SetDragKind(value TDragKind)

SetDragKind

设置拖拽方式。

Set Drag and drop.

func (*TValueListEditor) SetDragMode added in v1.1.19

func (v *TValueListEditor) SetDragMode(value TDragMode)

SetDragMode

设置拖拽模式。

Set Drag mode.

func (*TValueListEditor) SetDropDownRows

func (v *TValueListEditor) SetDropDownRows(value int32)

func (*TValueListEditor) SetEditorMode added in v1.1.19

func (v *TValueListEditor) SetEditorMode(value bool)

func (*TValueListEditor) SetEnabled added in v1.1.19

func (v *TValueListEditor) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TValueListEditor) SetFixedColor added in v1.1.19

func (v *TValueListEditor) SetFixedColor(value TColor)

func (*TValueListEditor) SetFixedCols added in v1.1.19

func (v *TValueListEditor) SetFixedCols(value int32)

func (*TValueListEditor) SetFocus added in v1.1.19

func (v *TValueListEditor) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TValueListEditor) SetFont added in v1.1.19

func (v *TValueListEditor) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TValueListEditor) SetGridLineWidth added in v1.1.19

func (v *TValueListEditor) SetGridLineWidth(value int32)

func (*TValueListEditor) SetHeight added in v1.1.19

func (v *TValueListEditor) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TValueListEditor) SetHint added in v1.1.19

func (v *TValueListEditor) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TValueListEditor) SetLeft added in v1.1.19

func (v *TValueListEditor) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TValueListEditor) SetLeftCol added in v1.1.19

func (v *TValueListEditor) SetLeftCol(value int32)

func (*TValueListEditor) SetName added in v1.1.19

func (v *TValueListEditor) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TValueListEditor) SetOnClick added in v1.1.19

func (v *TValueListEditor) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TValueListEditor) SetOnContextPopup added in v1.1.19

func (v *TValueListEditor) SetOnContextPopup(fn TContextPopupEvent)

SetOnContextPopup

设置上下文弹出事件,一般是右键时弹出。

Set Context popup event, usually pop up when right click.

func (*TValueListEditor) SetOnDblClick added in v1.1.19

func (v *TValueListEditor) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TValueListEditor) SetOnDragDrop added in v1.1.19

func (v *TValueListEditor) SetOnDragDrop(fn TDragDropEvent)

SetOnDragDrop

设置拖拽下落事件。

Set Drag and drop event.

func (*TValueListEditor) SetOnDragOver added in v1.1.19

func (v *TValueListEditor) SetOnDragOver(fn TDragOverEvent)

SetOnDragOver

设置拖拽完成事件。

Set Drag and drop completion event.

func (*TValueListEditor) SetOnDrawCell added in v1.1.19

func (v *TValueListEditor) SetOnDrawCell(fn TDrawCellEvent)

func (*TValueListEditor) SetOnEndDock added in v1.1.19

func (v *TValueListEditor) SetOnEndDock(fn TEndDragEvent)

SetOnEndDock

设置停靠结束事件。

Set Dock end event.

func (*TValueListEditor) SetOnEndDrag added in v1.1.19

func (v *TValueListEditor) SetOnEndDrag(fn TEndDragEvent)

SetOnEndDrag

设置拖拽结束。

Set End of drag.

func (*TValueListEditor) SetOnEnter added in v1.1.19

func (v *TValueListEditor) SetOnEnter(fn TNotifyEvent)

SetOnEnter

设置焦点进入。

Set Focus entry.

func (*TValueListEditor) SetOnExit added in v1.1.19

func (v *TValueListEditor) SetOnExit(fn TNotifyEvent)

SetOnExit

设置焦点退出。

Set Focus exit.

func (*TValueListEditor) SetOnGetEditMask added in v1.1.19

func (v *TValueListEditor) SetOnGetEditMask(fn TGetEditEvent)

func (*TValueListEditor) SetOnGetEditText added in v1.1.19

func (v *TValueListEditor) SetOnGetEditText(fn TGetEditEvent)

func (*TValueListEditor) SetOnKeyDown added in v1.1.19

func (v *TValueListEditor) SetOnKeyDown(fn TKeyEvent)

SetOnKeyDown

设置键盘按键按下事件。

Set Keyboard button press event.

func (*TValueListEditor) SetOnKeyPress added in v1.1.19

func (v *TValueListEditor) SetOnKeyPress(fn TKeyPressEvent)

SetOnKeyPress

设置键键下事件。

func (*TValueListEditor) SetOnKeyUp added in v1.1.19

func (v *TValueListEditor) SetOnKeyUp(fn TKeyEvent)

SetOnKeyUp

设置键盘按键抬起事件。

Set Keyboard button lift event.

func (*TValueListEditor) SetOnMouseDown added in v1.1.19

func (v *TValueListEditor) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TValueListEditor) SetOnMouseEnter added in v1.1.19

func (v *TValueListEditor) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TValueListEditor) SetOnMouseLeave added in v1.1.19

func (v *TValueListEditor) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TValueListEditor) SetOnMouseMove added in v1.1.19

func (v *TValueListEditor) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TValueListEditor) SetOnMouseUp added in v1.1.19

func (v *TValueListEditor) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TValueListEditor) SetOnMouseWheelDown added in v1.1.19

func (v *TValueListEditor) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

SetOnMouseWheelDown

设置鼠标滚轮按下事件。

func (*TValueListEditor) SetOnMouseWheelUp added in v1.1.19

func (v *TValueListEditor) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

SetOnMouseWheelUp

设置鼠标滚轮抬起事件。

func (*TValueListEditor) SetOnSelectCell added in v1.1.19

func (v *TValueListEditor) SetOnSelectCell(fn TSelectCellEvent)

func (*TValueListEditor) SetOnSetEditText added in v1.1.19

func (v *TValueListEditor) SetOnSetEditText(fn TSetEditEvent)

func (*TValueListEditor) SetOnStartDock added in v1.1.19

func (v *TValueListEditor) SetOnStartDock(fn TStartDockEvent)

SetOnStartDock

设置启动停靠。

func (*TValueListEditor) SetOnTopLeftChanged added in v1.1.19

func (v *TValueListEditor) SetOnTopLeftChanged(fn TNotifyEvent)

func (*TValueListEditor) SetOptions added in v1.1.19

func (v *TValueListEditor) SetOptions(value TGridOptions)

func (*TValueListEditor) SetParent added in v1.1.19

func (v *TValueListEditor) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TValueListEditor) SetParentColor added in v1.1.19

func (v *TValueListEditor) SetParentColor(value bool)

SetParentColor

设置使用父容器颜色。

Set parent color.

func (*TValueListEditor) SetParentDoubleBuffered added in v1.1.19

func (v *TValueListEditor) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TValueListEditor) SetParentFont added in v1.1.19

func (v *TValueListEditor) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TValueListEditor) SetParentShowHint added in v1.1.19

func (v *TValueListEditor) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TValueListEditor) SetParentWindow added in v1.1.19

func (v *TValueListEditor) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TValueListEditor) SetPopupMenu added in v1.1.19

func (v *TValueListEditor) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TValueListEditor) SetRow added in v1.1.19

func (v *TValueListEditor) SetRow(value int32)

func (*TValueListEditor) SetRowHeights added in v1.1.19

func (v *TValueListEditor) SetRowHeights(Index int32, value int32)

func (*TValueListEditor) SetScrollBars added in v1.1.19

func (v *TValueListEditor) SetScrollBars(value TScrollStyle)

func (*TValueListEditor) SetSelection added in v1.1.19

func (v *TValueListEditor) SetSelection(value TGridRect)

func (*TValueListEditor) SetShowHint added in v1.1.19

func (v *TValueListEditor) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TValueListEditor) SetStrings added in v1.1.19

func (v *TValueListEditor) SetStrings(value IStrings)

func (*TValueListEditor) SetTabOrder added in v1.1.19

func (v *TValueListEditor) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TValueListEditor) SetTabStop added in v1.1.19

func (v *TValueListEditor) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TValueListEditor) SetTag added in v1.1.19

func (v *TValueListEditor) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TValueListEditor) SetTextBuf added in v1.1.21

func (v *TValueListEditor) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TValueListEditor) SetTop added in v1.1.19

func (v *TValueListEditor) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TValueListEditor) SetTopRow added in v1.1.19

func (v *TValueListEditor) SetTopRow(value int32)

func (*TValueListEditor) SetUseDockManager added in v1.1.19

func (v *TValueListEditor) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TValueListEditor) SetValues added in v1.1.19

func (v *TValueListEditor) SetValues(Key string, value string)

func (*TValueListEditor) SetVisible added in v1.1.19

func (v *TValueListEditor) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TValueListEditor) SetWidth added in v1.1.19

func (v *TValueListEditor) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TValueListEditor) Show added in v1.1.19

func (v *TValueListEditor) Show()

Show

显示控件。

Show control.

func (*TValueListEditor) ShowHint added in v1.1.19

func (v *TValueListEditor) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TValueListEditor) Showing

func (v *TValueListEditor) Showing() bool

func (*TValueListEditor) Strings added in v1.1.19

func (v *TValueListEditor) Strings() *TStrings

func (*TValueListEditor) TabOrder added in v1.1.19

func (v *TValueListEditor) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TValueListEditor) TabStop added in v1.1.19

func (v *TValueListEditor) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TValueListEditor) Tag added in v1.1.19

func (v *TValueListEditor) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TValueListEditor) ToString added in v1.1.19

func (v *TValueListEditor) ToString() string

ToString

文本类信息。

Text information.

func (*TValueListEditor) Top added in v1.1.19

func (v *TValueListEditor) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TValueListEditor) TopRow added in v1.1.19

func (v *TValueListEditor) TopRow() int32

func (*TValueListEditor) UnsafeAddr added in v1.1.21

func (v *TValueListEditor) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TValueListEditor) Update added in v1.1.19

func (v *TValueListEditor) Update()

Update

控件更新。

Update.

func (*TValueListEditor) UseDockManager added in v1.1.19

func (v *TValueListEditor) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TValueListEditor) Values added in v1.1.19

func (v *TValueListEditor) Values(Key string) string

func (*TValueListEditor) Visible added in v1.1.19

func (v *TValueListEditor) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TValueListEditor) VisibleColCount added in v1.1.19

func (v *TValueListEditor) VisibleColCount() int32

func (*TValueListEditor) VisibleDockClientCount added in v1.1.21

func (v *TValueListEditor) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TValueListEditor) VisibleRowCount added in v1.1.19

func (v *TValueListEditor) VisibleRowCount() int32

func (*TValueListEditor) Width added in v1.1.19

func (v *TValueListEditor) Width() int32

Width

获取宽度。

Get width.

type TWebJSExternalEvent added in v1.2.4

type TWebJSExternalEvent func(sender IObject, funcName, args string, retVal *string)

type TWebTitleChangeEvent added in v1.2.1

type TWebTitleChangeEvent func(sender IObject, text string)

type TWinControl added in v1.1.18

type TWinControl struct {
	IWinControl
	// contains filtered or unexported fields
}

func AsWinControl added in v1.2.10

func AsWinControl(obj interface{}) *TWinControl

AsWinControl

动态转换一个已存在的对象实例。

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 added in v1.1.18

func NewWinControl(owner IComponent) *TWinControl

NewWinControl

创建一个新的对象。

Create a new object.

func (*TWinControl) Action added in v1.1.18

func (w *TWinControl) Action() *TAction

func (*TWinControl) Align added in v1.1.18

func (w *TWinControl) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TWinControl) AnchorSideBottom

func (w *TWinControl) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TWinControl) AnchorSideLeft

func (w *TWinControl) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TWinControl) AnchorSideRight

func (w *TWinControl) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TWinControl) AnchorSideTop

func (w *TWinControl) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TWinControl) AnchorToNeighbour

func (w *TWinControl) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TWinControl) AnchorVerticalCenterTo

func (w *TWinControl) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TWinControl) Anchors added in v1.1.18

func (w *TWinControl) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TWinControl) Assign added in v1.1.18

func (w *TWinControl) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.1.18

func (w *TWinControl) BiDiMode() TBiDiMode

func (*TWinControl) BorderSpacing

func (w *TWinControl) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TWinControl) BoundsRect added in v1.1.18

func (w *TWinControl) BoundsRect() TRect

func (*TWinControl) BringToFront added in v1.1.18

func (w *TWinControl) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TWinControl) Brush added in v1.1.18

func (w *TWinControl) Brush() *TBrush

Brush

获取画刷对象。

Get Brush.

func (*TWinControl) CanFocus added in v1.1.18

func (w *TWinControl) CanFocus() bool

CanFocus

是否可以获得焦点。

func (*TWinControl) ChildSizing

func (w *TWinControl) ChildSizing() *TControlChildSizing

func (*TWinControl) ClassName added in v1.1.18

func (w *TWinControl) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TWinControl) ClassType added in v1.1.18

func (w *TWinControl) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TWinControl) ClientHeight added in v1.1.18

func (w *TWinControl) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TWinControl) ClientOrigin added in v1.1.21

func (w *TWinControl) ClientOrigin() TPoint

func (*TWinControl) ClientRect added in v1.1.18

func (w *TWinControl) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TWinControl) ClientToParent added in v1.1.18

func (w *TWinControl) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TWinControl) ClientToScreen added in v1.1.18

func (w *TWinControl) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TWinControl) ClientWidth added in v1.1.18

func (w *TWinControl) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TWinControl) ComponentCount added in v1.1.18

func (w *TWinControl) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TWinControl) ComponentIndex added in v1.1.18

func (w *TWinControl) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TWinControl) Components added in v1.1.18

func (w *TWinControl) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TWinControl) Constraints added in v1.2.7

func (w *TWinControl) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TWinControl) ContainsControl added in v1.1.21

func (w *TWinControl) ContainsControl(Control IControl) bool

ContainsControl

返回是否包含指定控件。

it's contain a specified control.

func (*TWinControl) ControlAtPos added in v1.1.21

func (w *TWinControl) ControlAtPos(Pos TPoint, AllowDisabled bool, AllowWinControls bool, AllLevels bool) *TControl

ControlAtPos

返回指定坐标及相关属性位置控件。

Returns the specified coordinate and the relevant attribute position control..

func (*TWinControl) ControlCount added in v1.1.18

func (w *TWinControl) ControlCount() int32

ControlCount

获取子控件数。

Get Number of child controls.

func (*TWinControl) ControlState added in v1.1.21

func (w *TWinControl) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TWinControl) ControlStyle added in v1.1.21

func (w *TWinControl) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TWinControl) Controls added in v1.1.18

func (w *TWinControl) Controls(Index int32) *TControl

Controls

获取指定索引子控件。

func (*TWinControl) Cursor added in v1.1.18

func (w *TWinControl) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TWinControl) DisableAlign added in v1.1.21

func (w *TWinControl) DisableAlign()

DisableAlign

禁用控件的对齐。

Disable control alignment.

func (*TWinControl) DockClientCount added in v1.1.21

func (w *TWinControl) DockClientCount() int32

DockClientCount

获取依靠客户端总数。

func (*TWinControl) DockClients added in v1.1.21

func (w *TWinControl) DockClients(Index int32) *TControl

DockClients

获取指定索引停靠客户端。

func (*TWinControl) DockSite added in v1.1.18

func (w *TWinControl) DockSite() bool

DockSite

获取停靠站点。

Get Docking site.

func (*TWinControl) DoubleBuffered added in v1.1.18

func (w *TWinControl) DoubleBuffered() bool

DoubleBuffered

获取设置控件双缓冲。

Get Set control double buffering.

func (*TWinControl) Dragging added in v1.1.18

func (w *TWinControl) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TWinControl) EnableAlign added in v1.1.21

func (w *TWinControl) EnableAlign()

EnableAlign

启用控件对齐。

Enabled control alignment.

func (*TWinControl) Enabled added in v1.1.18

func (w *TWinControl) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TWinControl) Equals added in v1.1.18

func (w *TWinControl) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TWinControl) FindChildControl added in v1.1.21

func (w *TWinControl) FindChildControl(ControlName string) *TControl

FindChildControl

查找子控件。

Find sub controls.

func (*TWinControl) FindComponent added in v1.1.18

func (w *TWinControl) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TWinControl) FixDesignFontsPPI

func (w *TWinControl) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TWinControl) FlipChildren added in v1.1.18

func (w *TWinControl) FlipChildren(AllLevels bool)

func (*TWinControl) Floating added in v1.1.18

func (w *TWinControl) Floating() bool

func (*TWinControl) Focused added in v1.1.18

func (w *TWinControl) Focused() bool

Focused

返回是否获取焦点。

Return to get focus.

func (*TWinControl) Free added in v1.1.18

func (w *TWinControl) Free()

Free

释放对象。

Free object.

func (*TWinControl) GetHashCode added in v1.1.18

func (w *TWinControl) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TWinControl) GetNamePath added in v1.1.18

func (w *TWinControl) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TWinControl) GetTextBuf added in v1.1.18

func (w *TWinControl) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TWinControl) GetTextLen added in v1.1.18

func (w *TWinControl) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TWinControl) Handle added in v1.1.18

func (w *TWinControl) Handle() HWND

Handle

获取控件句柄。

Get Control handle.

func (*TWinControl) HandleAllocated added in v1.1.18

func (w *TWinControl) HandleAllocated() bool

HandleAllocated

句柄是否已经分配。

Is the handle already allocated.

func (*TWinControl) HasParent added in v1.1.18

func (w *TWinControl) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TWinControl) Height added in v1.1.18

func (w *TWinControl) Height() int32

Height

获取高度。

Get height.

func (*TWinControl) Hide added in v1.1.18

func (w *TWinControl) Hide()

Hide

隐藏控件。

Hidden control.

func (*TWinControl) Hint added in v1.1.18

func (w *TWinControl) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TWinControl) InheritsFrom added in v1.1.18

func (w *TWinControl) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TWinControl) InsertControl added in v1.1.21

func (w *TWinControl) InsertControl(AControl IControl)

InsertControl

插入一个控件。

Insert a control.

func (*TWinControl) Instance added in v1.1.18

func (w *TWinControl) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TWinControl) InstanceSize added in v1.1.18

func (w *TWinControl) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TWinControl) Invalidate added in v1.1.18

func (w *TWinControl) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TWinControl) Is added in v1.2.10

func (w *TWinControl) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TWinControl) IsValid added in v1.1.18

func (w *TWinControl) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TWinControl) Left added in v1.1.18

func (w *TWinControl) Left() int32

Left

获取左边位置。

Get Left position.

func (*TWinControl) MouseInClient added in v1.1.21

func (w *TWinControl) MouseInClient() bool

MouseInClient

获取鼠标是否在客户端,仅VCL有效。

Get Whether the mouse is on the client, only VCL is valid.

func (*TWinControl) Name added in v1.1.18

func (w *TWinControl) Name() string

Name

获取组件名称。

Get the component name.

func (*TWinControl) Owner added in v1.1.18

func (w *TWinControl) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TWinControl) PaintTo added in v1.1.21

func (w *TWinControl) PaintTo(DC HDC, X int32, Y int32)

PaintTo

绘画至指定DC。

Painting to the specified DC.

func (*TWinControl) Parent added in v1.1.18

func (w *TWinControl) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TWinControl) ParentDoubleBuffered added in v1.1.18

func (w *TWinControl) ParentDoubleBuffered() bool

ParentDoubleBuffered

获取使用父容器双缓冲。

Get Parent container double buffering.

func (*TWinControl) ParentToClient added in v1.1.18

func (w *TWinControl) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TWinControl) ParentWindow added in v1.1.18

func (w *TWinControl) ParentWindow() HWND

ParentWindow

获取父容器句柄。

Get Parent container handle.

func (*TWinControl) Perform added in v1.1.18

func (w *TWinControl) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TWinControl) Realign added in v1.1.18

func (w *TWinControl) Realign()

Realign

重新对齐。

Realign.

func (*TWinControl) Refresh added in v1.1.18

func (w *TWinControl) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TWinControl) RemoveControl added in v1.1.21

func (w *TWinControl) RemoveControl(AControl IControl)

RemoveControl

移除一个控件。

Remove a control.

func (*TWinControl) Repaint added in v1.1.18

func (w *TWinControl) Repaint()

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 added in v1.1.18

func (w *TWinControl) ScaleBy(M int32, D int32)

ScaleBy

按比例缩放。

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 added in v1.1.18

func (w *TWinControl) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TWinControl) ScrollBy added in v1.1.21

func (w *TWinControl) ScrollBy(DeltaX int32, DeltaY int32)

ScrollBy

滚动至指定位置。

Scroll by.

func (*TWinControl) SendToBack added in v1.1.18

func (w *TWinControl) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TWinControl) SetAction added in v1.1.18

func (w *TWinControl) SetAction(value IComponent)

func (*TWinControl) SetAlign added in v1.1.18

func (w *TWinControl) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TWinControl) SetAnchorSideBottom

func (w *TWinControl) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TWinControl) SetAnchorSideLeft

func (w *TWinControl) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TWinControl) SetAnchorSideRight

func (w *TWinControl) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TWinControl) SetAnchorSideTop

func (w *TWinControl) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TWinControl) SetAnchors added in v1.1.18

func (w *TWinControl) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TWinControl) SetBiDiMode added in v1.1.18

func (w *TWinControl) SetBiDiMode(value TBiDiMode)

func (*TWinControl) SetBorderSpacing

func (w *TWinControl) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TWinControl) SetBounds added in v1.1.18

func (w *TWinControl) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TWinControl) SetBoundsRect added in v1.1.18

func (w *TWinControl) SetBoundsRect(value TRect)

func (*TWinControl) SetChildSizing

func (w *TWinControl) SetChildSizing(value *TControlChildSizing)

func (*TWinControl) SetClientHeight added in v1.1.18

func (w *TWinControl) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TWinControl) SetClientWidth added in v1.1.18

func (w *TWinControl) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TWinControl) SetComponentIndex added in v1.1.18

func (w *TWinControl) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TWinControl) SetConstraints added in v1.2.7

func (w *TWinControl) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TWinControl) SetControlState added in v1.1.21

func (w *TWinControl) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TWinControl) SetControlStyle added in v1.1.21

func (w *TWinControl) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TWinControl) SetCursor added in v1.1.18

func (w *TWinControl) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TWinControl) SetDockSite added in v1.1.18

func (w *TWinControl) SetDockSite(value bool)

SetDockSite

设置停靠站点。

Set Docking site.

func (*TWinControl) SetDoubleBuffered added in v1.1.18

func (w *TWinControl) SetDoubleBuffered(value bool)

SetDoubleBuffered

设置设置控件双缓冲。

Set Set control double buffering.

func (*TWinControl) SetEnabled added in v1.1.18

func (w *TWinControl) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TWinControl) SetFocus added in v1.1.18

func (w *TWinControl) SetFocus()

SetFocus

设置控件焦点。

Set control focus.

func (*TWinControl) SetHeight added in v1.1.18

func (w *TWinControl) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TWinControl) SetHint added in v1.1.18

func (w *TWinControl) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TWinControl) SetLeft added in v1.1.18

func (w *TWinControl) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TWinControl) SetName added in v1.1.18

func (w *TWinControl) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TWinControl) SetParent added in v1.1.18

func (w *TWinControl) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TWinControl) SetParentDoubleBuffered added in v1.1.18

func (w *TWinControl) SetParentDoubleBuffered(value bool)

SetParentDoubleBuffered

设置使用父容器双缓冲。

Set Parent container double buffering.

func (*TWinControl) SetParentWindow added in v1.1.18

func (w *TWinControl) SetParentWindow(value HWND)

SetParentWindow

设置父容器句柄。

Set Parent container handle.

func (*TWinControl) SetShowHint added in v1.1.18

func (w *TWinControl) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TWinControl) SetTabOrder added in v1.1.18

func (w *TWinControl) SetTabOrder(value TTabOrder)

SetTabOrder

设置Tab切换顺序序号。

Set Tab switching sequence number.

func (*TWinControl) SetTabStop added in v1.1.18

func (w *TWinControl) SetTabStop(value bool)

SetTabStop

设置Tab可停留。

Set Tab can stay.

func (*TWinControl) SetTag added in v1.1.18

func (w *TWinControl) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TWinControl) SetTextBuf added in v1.1.21

func (w *TWinControl) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TWinControl) SetTop added in v1.1.18

func (w *TWinControl) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TWinControl) SetUseDockManager added in v1.1.18

func (w *TWinControl) SetUseDockManager(value bool)

SetUseDockManager

设置使用停靠管理。

func (*TWinControl) SetVisible added in v1.1.18

func (w *TWinControl) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TWinControl) SetWidth added in v1.1.18

func (w *TWinControl) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TWinControl) Show added in v1.1.18

func (w *TWinControl) Show()

Show

显示控件。

Show control.

func (*TWinControl) ShowHint added in v1.1.18

func (w *TWinControl) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TWinControl) Showing

func (w *TWinControl) Showing() bool

func (*TWinControl) TabOrder added in v1.1.18

func (w *TWinControl) TabOrder() TTabOrder

TabOrder

获取Tab切换顺序序号。

Get Tab switching sequence number.

func (*TWinControl) TabStop added in v1.1.18

func (w *TWinControl) TabStop() bool

TabStop

获取Tab可停留。

Get Tab can stay.

func (*TWinControl) Tag added in v1.1.18

func (w *TWinControl) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TWinControl) ToString added in v1.1.18

func (w *TWinControl) ToString() string

ToString

文本类信息。

Text information.

func (*TWinControl) Top added in v1.1.18

func (w *TWinControl) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TWinControl) UnsafeAddr added in v1.1.21

func (w *TWinControl) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TWinControl) Update added in v1.1.18

func (w *TWinControl) Update()

Update

控件更新。

Update.

func (*TWinControl) UseDockManager added in v1.1.18

func (w *TWinControl) UseDockManager() bool

UseDockManager

获取使用停靠管理。

func (*TWinControl) Visible added in v1.1.18

func (w *TWinControl) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TWinControl) VisibleDockClientCount added in v1.1.21

func (w *TWinControl) VisibleDockClientCount() int32

VisibleDockClientCount

获取当前停靠的可视总数。

Get The total number of visible calls currently docked.

func (*TWinControl) Width added in v1.1.18

func (w *TWinControl) Width() int32

Width

获取宽度。

Get width.

type TWndProcEvent added in v1.2.0

type TWndProcEvent func(msg *TMessage)

type TXButton added in v1.2.10

type TXButton struct {
	IControl
	// contains filtered or unexported fields
}

func AsXButton added in v1.2.10

func AsXButton(obj interface{}) *TXButton

AsXButton

动态转换一个已存在的对象实例。

Dynamically convert an existing object instance.

func NewXButton added in v1.2.10

func NewXButton(owner IComponent) *TXButton

NewXButton

创建一个新的对象。

Create a new object.

func (*TXButton) Action added in v1.2.10

func (x *TXButton) Action() *TAction

func (*TXButton) Align added in v1.2.10

func (x *TXButton) Align() TAlign

Align

获取控件自动调整。

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)

AnchorHorizontalCenterTo

置于指定控件的横向中心。

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

AnchorSide

获取锚侧面。

func (*TXButton) AnchorSideBottom

func (x *TXButton) AnchorSideBottom() *TAnchorSide

AnchorSideBottom

获取底边锚点。

func (*TXButton) AnchorSideLeft

func (x *TXButton) AnchorSideLeft() *TAnchorSide

AnchorSideLeft

获取左边锚点。

func (*TXButton) AnchorSideRight

func (x *TXButton) AnchorSideRight() *TAnchorSide

AnchorSideRight

获取右边锚点。

func (*TXButton) AnchorSideTop

func (x *TXButton) AnchorSideTop() *TAnchorSide

AnchorSideTop

获取顶边锚点。

func (*TXButton) AnchorToNeighbour

func (x *TXButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TXButton) AnchorVerticalCenterTo

func (x *TXButton) AnchorVerticalCenterTo(ASibling IControl)

AnchorVerticalCenterTo

置于指定控件的纵向中心。

func (*TXButton) Anchors added in v1.2.10

func (x *TXButton) Anchors() TAnchors

Anchors

获取四个角位置的锚点。

func (*TXButton) Assign added in v1.2.10

func (x *TXButton) Assign(Source IObject)

Assign

复制一个对象,如果对象实现了此方法的话。

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 added in v1.2.10

func (x *TXButton) BackColor() TColor

func (*TXButton) BiDiMode added in v1.2.10

func (x *TXButton) BiDiMode() TBiDiMode

func (*TXButton) BorderColor added in v1.2.10

func (x *TXButton) BorderColor() TColor

func (*TXButton) BorderSpacing

func (x *TXButton) BorderSpacing() *TControlBorderSpacing

BorderSpacing

获取边框间距。

func (*TXButton) BorderWidth added in v1.2.10

func (x *TXButton) BorderWidth() int32

BorderWidth

获取边框的宽度。

func (*TXButton) BoundsRect added in v1.2.10

func (x *TXButton) BoundsRect() TRect

func (*TXButton) BringToFront added in v1.2.10

func (x *TXButton) BringToFront()

BringToFront

将控件置于最前。

Bring the control to the front.

func (*TXButton) Caption added in v1.2.10

func (x *TXButton) Caption() string

Caption

获取控件标题。

Get the control title.

func (*TXButton) ClassName added in v1.2.10

func (x *TXButton) ClassName() string

ClassName

获取当前对象类名称。

Get the current object class name.

func (*TXButton) ClassType added in v1.2.10

func (x *TXButton) ClassType() TClass

ClassType

获取类的类型信息。

Get class type information.

func (*TXButton) ClientHeight added in v1.2.10

func (x *TXButton) ClientHeight() int32

ClientHeight

获取客户区高度。

Get client height.

func (*TXButton) ClientOrigin added in v1.2.10

func (x *TXButton) ClientOrigin() TPoint

func (*TXButton) ClientRect added in v1.2.10

func (x *TXButton) ClientRect() TRect

ClientRect

获取客户区矩形。

Get client rectangle.

func (*TXButton) ClientToParent added in v1.2.10

func (x *TXButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

ClientToParent

将客户端坐标转为父容器坐标。

Convert client coordinates to parent container coordinates.

func (*TXButton) ClientToScreen added in v1.2.10

func (x *TXButton) ClientToScreen(Point TPoint) TPoint

ClientToScreen

将客户端坐标转为绝对的屏幕坐标。

Convert client coordinates to absolute screen coordinates.

func (*TXButton) ClientWidth added in v1.2.10

func (x *TXButton) ClientWidth() int32

ClientWidth

获取客户区宽度。

Get client width.

func (*TXButton) ComponentCount added in v1.2.10

func (x *TXButton) ComponentCount() int32

ComponentCount

获取组件总数。

Get the total number of components.

func (*TXButton) ComponentIndex added in v1.2.10

func (x *TXButton) ComponentIndex() int32

ComponentIndex

获取组件索引。

Get component index.

func (*TXButton) Components added in v1.2.10

func (x *TXButton) Components(AIndex int32) *TComponent

Components

获取指定索引组件。

Get the specified index component.

func (*TXButton) Constraints added in v1.2.10

func (x *TXButton) Constraints() *TSizeConstraints

Constraints

获取约束控件大小。

func (*TXButton) ControlState added in v1.2.10

func (x *TXButton) ControlState() TControlState

ControlState

获取控件状态。

Get control state.

func (*TXButton) ControlStyle added in v1.2.10

func (x *TXButton) ControlStyle() TControlStyle

ControlStyle

获取控件样式。

Get control style.

func (*TXButton) Cursor added in v1.2.10

func (x *TXButton) Cursor() TCursor

Cursor

获取控件光标。

Get control cursor.

func (*TXButton) DownColor added in v1.2.10

func (x *TXButton) DownColor() TColor

func (*TXButton) DownFontColor added in v1.2.10

func (x *TXButton) DownFontColor() TColor

func (*TXButton) Dragging added in v1.2.10

func (x *TXButton) Dragging() bool

Dragging

是否在拖拽中。

Is it in the middle of dragging.

func (*TXButton) DrawMode added in v1.2.10

func (x *TXButton) DrawMode() TDrawImageMode

func (*TXButton) Enabled added in v1.2.10

func (x *TXButton) Enabled() bool

Enabled

获取控件启用。

Get the control enabled.

func (*TXButton) Equals added in v1.2.10

func (x *TXButton) Equals(Obj IObject) bool

Equals

与一个对象进行比较。

Compare with an object.

func (*TXButton) FindComponent added in v1.2.10

func (x *TXButton) FindComponent(AName string) *TComponent

FindComponent

查找指定名称的组件。

Find the component with the specified name.

func (*TXButton) FixDesignFontsPPI

func (x *TXButton) FixDesignFontsPPI(ADesignTimePPI int32)

func (*TXButton) Floating added in v1.2.10

func (x *TXButton) Floating() bool

func (*TXButton) Font added in v1.2.10

func (x *TXButton) Font() *TFont

Font

获取字体。

Get Font.

func (*TXButton) Free added in v1.2.10

func (x *TXButton) Free()

Free

释放对象。

Free object.

func (*TXButton) GetHashCode added in v1.2.10

func (x *TXButton) GetHashCode() int32

GetHashCode

获取类的哈希值。

Get the hash value of the class.

func (*TXButton) GetNamePath added in v1.2.10

func (x *TXButton) GetNamePath() string

GetNamePath

获取类名路径。

Get the class name path.

func (*TXButton) GetTextBuf added in v1.2.10

func (x *TXButton) GetTextBuf(Buffer *string, BufSize int32) int32

GetTextBuf

获取控件的字符,如果有。

Get the characters of the control, if any.

func (*TXButton) GetTextLen added in v1.2.10

func (x *TXButton) GetTextLen() int32

GetTextLen

获取控件的字符长,如果有。

Get the character length of the control, if any.

func (*TXButton) HasParent added in v1.2.10

func (x *TXButton) HasParent() bool

HasParent

是否有父容器。

Is there a parent container.

func (*TXButton) Height added in v1.2.10

func (x *TXButton) Height() int32

Height

获取高度。

Get height.

func (*TXButton) Hide added in v1.2.10

func (x *TXButton) Hide()

Hide

隐藏控件。

Hidden control.

func (*TXButton) Hint added in v1.2.10

func (x *TXButton) Hint() string

Hint

获取组件鼠标悬停提示。

Get component mouse hints.

func (*TXButton) HoverColor added in v1.2.10

func (x *TXButton) HoverColor() TColor

func (*TXButton) HoverFontColor added in v1.2.10

func (x *TXButton) HoverFontColor() TColor

func (*TXButton) InheritsFrom added in v1.2.10

func (x *TXButton) InheritsFrom(AClass TClass) bool

InheritsFrom

判断当前类是否继承自指定类。

Determine whether the current class inherits from the specified class.

func (*TXButton) Instance added in v1.2.10

func (x *TXButton) Instance() uintptr

Instance

返回对象实例指针。

Return object instance pointer.

func (*TXButton) InstanceSize added in v1.2.10

func (x *TXButton) InstanceSize() int32

InstanceSize

获取当前对象实例大小。

Get the current object instance size.

func (*TXButton) Invalidate added in v1.2.10

func (x *TXButton) Invalidate()

Invalidate

要求重绘。

Redraw.

func (*TXButton) Is added in v1.2.10

func (x *TXButton) Is() TIs

Is

检测当前对象是否继承自目标对象。

Checks whether the current object is inherited from the target object.

func (*TXButton) IsValid added in v1.2.10

func (x *TXButton) IsValid() bool

IsValid

检测地址是否为空。

Check if the address is empty.

func (*TXButton) Left added in v1.2.10

func (x *TXButton) Left() int32

Left

获取左边位置。

Get Left position.

func (*TXButton) Name added in v1.2.10

func (x *TXButton) Name() string

Name

获取组件名称。

Get the component name.

func (*TXButton) NormalFontColor added in v1.2.10

func (x *TXButton) NormalFontColor() TColor

func (*TXButton) Owner added in v1.2.10

func (x *TXButton) Owner() *TComponent

Owner

获取组件所有者。

Get component owner.

func (*TXButton) Parent added in v1.2.10

func (x *TXButton) Parent() *TWinControl

Parent

获取控件父容器。

Get control parent container.

func (*TXButton) ParentFont added in v1.2.10

func (x *TXButton) ParentFont() bool

ParentFont

获取使用父容器字体。

Get Parent container font.

func (*TXButton) ParentShowHint added in v1.2.10

func (x *TXButton) ParentShowHint() bool

ParentShowHint

获取以父容器的ShowHint属性为准。

func (*TXButton) ParentToClient added in v1.2.10

func (x *TXButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

ParentToClient

将父容器坐标转为客户端坐标。

Convert parent container coordinates to client coordinates.

func (*TXButton) Perform added in v1.2.10

func (x *TXButton) Perform(Msg uint32, WParam uintptr, LParam int) int

Perform

发送一个消息。

Send a message.

func (*TXButton) Picture added in v1.2.10

func (x *TXButton) Picture() *TPicture

Picture

获取图片。

func (*TXButton) PopupMenu added in v1.2.10

func (x *TXButton) PopupMenu() *TPopupMenu

PopupMenu

获取右键菜单。

Get Right click menu.

func (*TXButton) Refresh added in v1.2.10

func (x *TXButton) Refresh()

Refresh

刷新控件。

Refresh control.

func (*TXButton) Repaint added in v1.2.10

func (x *TXButton) Repaint()

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 added in v1.2.10

func (x *TXButton) ScreenToClient(Point TPoint) TPoint

ScreenToClient

将屏幕坐标转为客户端坐标。

Convert screen coordinates to client coordinates.

func (*TXButton) SendToBack added in v1.2.10

func (x *TXButton) SendToBack()

SendToBack

控件至于最后面。

The control is placed at the end.

func (*TXButton) SetAction added in v1.2.10

func (x *TXButton) SetAction(value IComponent)

func (*TXButton) SetAlign added in v1.2.10

func (x *TXButton) SetAlign(value TAlign)

SetAlign

设置控件自动调整。

Set Control automatically adjusts.

func (*TXButton) SetAnchorSideBottom

func (x *TXButton) SetAnchorSideBottom(value *TAnchorSide)

SetAnchorSideBottom

设置底边锚点。

func (*TXButton) SetAnchorSideLeft

func (x *TXButton) SetAnchorSideLeft(value *TAnchorSide)

SetAnchorSideLeft

设置左边锚点。

func (*TXButton) SetAnchorSideRight

func (x *TXButton) SetAnchorSideRight(value *TAnchorSide)

SetAnchorSideRight

设置右边锚点。

func (*TXButton) SetAnchorSideTop

func (x *TXButton) SetAnchorSideTop(value *TAnchorSide)

SetAnchorSideTop

设置顶边锚点。

func (*TXButton) SetAnchors added in v1.2.10

func (x *TXButton) SetAnchors(value TAnchors)

SetAnchors

设置四个角位置的锚点。

func (*TXButton) SetBackColor added in v1.2.10

func (x *TXButton) SetBackColor(value TColor)

func (*TXButton) SetBiDiMode added in v1.2.10

func (x *TXButton) SetBiDiMode(value TBiDiMode)

func (*TXButton) SetBorderColor added in v1.2.10

func (x *TXButton) SetBorderColor(value TColor)

func (*TXButton) SetBorderSpacing

func (x *TXButton) SetBorderSpacing(value *TControlBorderSpacing)

SetBorderSpacing

设置边框间距。

func (*TXButton) SetBorderWidth added in v1.2.10

func (x *TXButton) SetBorderWidth(value int32)

SetBorderWidth

设置边框的宽度。

func (*TXButton) SetBounds added in v1.2.10

func (x *TXButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

SetBounds

设置组件边界。

Set component boundaries.

func (*TXButton) SetBoundsRect added in v1.2.10

func (x *TXButton) SetBoundsRect(value TRect)

func (*TXButton) SetCaption added in v1.2.10

func (x *TXButton) SetCaption(value string)

SetCaption

设置控件标题。

Set the control title.

func (*TXButton) SetClientHeight added in v1.2.10

func (x *TXButton) SetClientHeight(value int32)

SetClientHeight

设置客户区高度。

Set client height.

func (*TXButton) SetClientWidth added in v1.2.10

func (x *TXButton) SetClientWidth(value int32)

SetClientWidth

设置客户区宽度。

Set client width.

func (*TXButton) SetComponentIndex added in v1.2.10

func (x *TXButton) SetComponentIndex(value int32)

SetComponentIndex

设置组件索引。

Set component index.

func (*TXButton) SetConstraints added in v1.2.10

func (x *TXButton) SetConstraints(value *TSizeConstraints)

SetConstraints

设置约束控件大小。

func (*TXButton) SetControlState added in v1.2.10

func (x *TXButton) SetControlState(value TControlState)

SetControlState

设置控件状态。

Set control state.

func (*TXButton) SetControlStyle added in v1.2.10

func (x *TXButton) SetControlStyle(value TControlStyle)

SetControlStyle

设置控件样式。

Set control style.

func (*TXButton) SetCursor added in v1.2.10

func (x *TXButton) SetCursor(value TCursor)

SetCursor

设置控件光标。

Set control cursor.

func (*TXButton) SetDownColor added in v1.2.10

func (x *TXButton) SetDownColor(value TColor)

func (*TXButton) SetDownFontColor added in v1.2.10

func (x *TXButton) SetDownFontColor(value TColor)

func (*TXButton) SetDrawMode added in v1.2.10

func (x *TXButton) SetDrawMode(value TDrawImageMode)

func (*TXButton) SetEnabled added in v1.2.10

func (x *TXButton) SetEnabled(value bool)

SetEnabled

设置控件启用。

Set the control enabled.

func (*TXButton) SetFont added in v1.2.10

func (x *TXButton) SetFont(value *TFont)

SetFont

设置字体。

Set Font.

func (*TXButton) SetHeight added in v1.2.10

func (x *TXButton) SetHeight(value int32)

SetHeight

设置高度。

Set height.

func (*TXButton) SetHint added in v1.2.10

func (x *TXButton) SetHint(value string)

SetHint

设置组件鼠标悬停提示。

Set component mouse hints.

func (*TXButton) SetHoverColor added in v1.2.10

func (x *TXButton) SetHoverColor(value TColor)

func (*TXButton) SetHoverFontColor added in v1.2.10

func (x *TXButton) SetHoverFontColor(value TColor)

func (*TXButton) SetLeft added in v1.2.10

func (x *TXButton) SetLeft(value int32)

SetLeft

设置左边位置。

Set Left position.

func (*TXButton) SetName added in v1.2.10

func (x *TXButton) SetName(value string)

SetName

设置组件名称。

Set the component name.

func (*TXButton) SetNormalFontColor added in v1.2.10

func (x *TXButton) SetNormalFontColor(value TColor)

func (*TXButton) SetOnClick added in v1.2.10

func (x *TXButton) SetOnClick(fn TNotifyEvent)

SetOnClick

设置控件单击事件。

Set control click event.

func (*TXButton) SetOnDblClick added in v1.2.10

func (x *TXButton) SetOnDblClick(fn TNotifyEvent)

SetOnDblClick

设置双击事件。

func (*TXButton) SetOnMouseDown added in v1.2.10

func (x *TXButton) SetOnMouseDown(fn TMouseEvent)

SetOnMouseDown

设置鼠标按下事件。

Set Mouse down event.

func (*TXButton) SetOnMouseEnter added in v1.2.10

func (x *TXButton) SetOnMouseEnter(fn TNotifyEvent)

SetOnMouseEnter

设置鼠标进入事件。

Set Mouse entry event.

func (*TXButton) SetOnMouseLeave added in v1.2.10

func (x *TXButton) SetOnMouseLeave(fn TNotifyEvent)

SetOnMouseLeave

设置鼠标离开事件。

Set Mouse leave event.

func (*TXButton) SetOnMouseMove added in v1.2.10

func (x *TXButton) SetOnMouseMove(fn TMouseMoveEvent)

SetOnMouseMove

设置鼠标移动事件。

func (*TXButton) SetOnMouseUp added in v1.2.10

func (x *TXButton) SetOnMouseUp(fn TMouseEvent)

SetOnMouseUp

设置鼠标抬起事件。

Set Mouse lift event.

func (*TXButton) SetParent added in v1.2.10

func (x *TXButton) SetParent(value IWinControl)

SetParent

设置控件父容器。

Set control parent container.

func (*TXButton) SetParentFont added in v1.2.10

func (x *TXButton) SetParentFont(value bool)

SetParentFont

设置使用父容器字体。

Set Parent container font.

func (*TXButton) SetParentShowHint added in v1.2.10

func (x *TXButton) SetParentShowHint(value bool)

SetParentShowHint

设置以父容器的ShowHint属性为准。

func (*TXButton) SetPicture added in v1.2.10

func (x *TXButton) SetPicture(value *TPicture)

SetPicture

设置图片。

func (*TXButton) SetPopupMenu added in v1.2.10

func (x *TXButton) SetPopupMenu(value IComponent)

SetPopupMenu

设置右键菜单。

Set Right click menu.

func (*TXButton) SetShowCaption added in v1.2.10

func (x *TXButton) SetShowCaption(value bool)

func (*TXButton) SetShowHint added in v1.2.10

func (x *TXButton) SetShowHint(value bool)

SetShowHint

设置显示鼠标悬停提示。

Set Show mouseover tips.

func (*TXButton) SetTag added in v1.2.10

func (x *TXButton) SetTag(value int)

SetTag

设置对象标记。

Set the control tag.

func (*TXButton) SetTextBuf added in v1.2.10

func (x *TXButton) SetTextBuf(Buffer string)

SetTextBuf

设置控件字符,如果有。

Set control characters, if any.

func (*TXButton) SetTop added in v1.2.10

func (x *TXButton) SetTop(value int32)

SetTop

设置顶边位置。

Set Top position.

func (*TXButton) SetVisible added in v1.2.10

func (x *TXButton) SetVisible(value bool)

SetVisible

设置控件可视。

Set the control visible.

func (*TXButton) SetWidth added in v1.2.10

func (x *TXButton) SetWidth(value int32)

SetWidth

设置宽度。

Set width.

func (*TXButton) Show added in v1.2.10

func (x *TXButton) Show()

Show

显示控件。

Show control.

func (*TXButton) ShowCaption added in v1.2.10

func (x *TXButton) ShowCaption() bool

func (*TXButton) ShowHint added in v1.2.10

func (x *TXButton) ShowHint() bool

ShowHint

获取显示鼠标悬停提示。

Get Show mouseover tips.

func (*TXButton) Tag added in v1.2.10

func (x *TXButton) Tag() int

Tag

获取对象标记。

Get the control tag.

func (*TXButton) ToString added in v1.2.10

func (x *TXButton) ToString() string

ToString

文本类信息。

Text information.

func (*TXButton) Top added in v1.2.10

func (x *TXButton) Top() int32

Top

获取顶边位置。

Get Top position.

func (*TXButton) UnsafeAddr added in v1.2.10

func (x *TXButton) UnsafeAddr() unsafe.Pointer

UnsafeAddr

获取一个不安全的地址。

Get an unsafe address.

func (*TXButton) Update added in v1.2.10

func (x *TXButton) Update()

Update

控件更新。

Update.

func (*TXButton) Visible added in v1.2.10

func (x *TXButton) Visible() bool

Visible

获取控件可视。

Get the control visible.

func (*TXButton) Width added in v1.2.10

func (x *TXButton) Width() int32

Width

获取宽度。

Get width.

type XID added in v1.2.10

type XID uintptr

Source Files

Directories

Path Synopsis
api
rtl
win

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL