vcl

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 13 Imported by: 1,113

README


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

  • multilang
    App多语言设置。

  • rtl
    一些非组件类的。

  • types
    所有的类型定义。

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func CheckPtr

func CheckPtr(value interface{}) uintptr

CN: 检测接口是否被实例化,如果已经实例化则返回实例指针。 EN: 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{})

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

func CreateResFrame added in v1.2.7

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

CN: 从资源中创建TFrame。 EN: Create TFrame from resources.

func EqualsObject

func EqualsObject(obj1, obj2 IObject) bool

比较两个对象

func ExceptionClass added in v1.1.18

func ExceptionClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func InputBox

func InputBox(aCaption, aPrompt, aDefault string) string

CN: 输入框。 EN: Input box.

func InputQuery

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

CN: 输入框。 EN: Input box.

func LclLoaded added in v1.2.10

func LclLoaded() bool

CN: 当前是否使用LCL库。 EN: Whether it is currently an LCL library. Deprecated

func MessageDlg

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

CN: 消息框,Buttons为按钮样式,详见types.TMsgDlgButtons。 EN: Message box, Buttons is the button style. For details, see types.TMsgDlgButtons.

func RegisterExtEventCallback added in v1.2.5

func RegisterExtEventCallback(callback TExtEventCallback)

CN: 注册外部扩展回调事件 EN: Registering external extension callback events.

func RegisterFormResource added in v1.2.8

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

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

func RunApp added in v1.2.9

func RunApp(values ...interface{})

CN: 简化运行。 EN: simplify running.

func SelectDirectory1

func SelectDirectory1(options TSelectDirOpts) (bool, string)

CN: 选择目录。 EN: Select directory.

func SelectDirectory2

func SelectDirectory2(caption, root string, options TSelectDirExtOpts, parent IObject) (bool, string)

CN: 选择目录,一般options默认是SdNewUI,parent默认为nil。 EN: Select directory, options defaults to SdNewUI, parent defaults to nil.

func SelectDirectory3 added in v1.2.2

func SelectDirectory3(caption, root string, options ...uint8) (bool, string)

CN: 选择目录, options默认是SdNewUI,parent默认为nil。 EN: Select directory, options defaults to SdNewUI, parent defaults to nil.

func ShowMessage

func ShowMessage(msg string)

CN: 显示一个消息框。 EN: Show a message box.

func ShowMessageFmt added in v1.1.21

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

CN: 显示一个格式化文本的消息框。 EN: Show a message box with formatted text.

func TActionClass added in v1.1.18

func TActionClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TActionListClass added in v1.1.18

func TActionListClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TAnchorSideClass

func TAnchorSideClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TApplicationClass added in v1.1.18

func TApplicationClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TBevelClass added in v1.1.18

func TBevelClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TBitBtnClass added in v1.1.18

func TBitBtnClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TBitmapClass added in v1.1.18

func TBitmapClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TBoundLabelClass added in v1.1.19

func TBoundLabelClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TBrushClass added in v1.1.18

func TBrushClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TButtonClass added in v1.1.18

func TButtonClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TCanvasClass added in v1.1.18

func TCanvasClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TCheckBoxClass added in v1.1.18

func TCheckBoxClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TCheckListBoxClass added in v1.1.18

func TCheckListBoxClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TClipboardClass added in v1.1.18

func TClipboardClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TCollectionClass added in v1.1.23

func TCollectionClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TCollectionItemClass added in v1.1.18

func TCollectionItemClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TColorBoxClass added in v1.1.18

func TColorBoxClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TColorDialogClass added in v1.1.18

func TColorDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TColorListBoxClass added in v1.1.18

func TColorListBoxClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TComboBoxClass added in v1.1.18

func TComboBoxClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TComboBoxExClass added in v1.2.7

func TComboBoxExClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TComboExItemClass added in v1.2.7

func TComboExItemClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TComboExItemsClass added in v1.2.7

func TComboExItemsClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TComponentClass added in v1.1.18

func TComponentClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TControlBorderSpacingClass

func TControlBorderSpacingClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TControlChildSizingClass

func TControlChildSizingClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TControlClass added in v1.1.18

func TControlClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TControlScrollBarClass added in v1.2.7

func TControlScrollBarClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TCoolBandClass added in v1.1.19

func TCoolBandClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TCoolBandsClass added in v1.1.19

func TCoolBandsClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TCoolBarClass added in v1.1.19

func TCoolBarClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TDateTimePickerClass added in v1.1.18

func TDateTimePickerClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TDragDockObjectClass added in v1.1.18

func TDragDockObjectClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TDragObjectClass added in v1.1.18

func TDragObjectClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TDrawGridClass added in v1.1.19

func TDrawGridClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TEditClass added in v1.1.18

func TEditClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TFindDialogClass added in v1.1.18

func TFindDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TFlowPanelClass added in v1.1.19

func TFlowPanelClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TFontClass added in v1.1.18

func TFontClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TFontDialogClass added in v1.1.18

func TFontDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TFormClass added in v1.1.18

func TFormClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TFrameClass added in v1.2.7

func TFrameClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TGIFImageClass added in v1.1.18

func TGIFImageClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TGaugeClass added in v1.1.18

func TGaugeClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TGraphicClass added in v1.1.18

func TGraphicClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TGroupBoxClass added in v1.1.18

func TGroupBoxClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func THeaderControlClass added in v1.1.19

func THeaderControlClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func THeaderSectionClass added in v1.1.19

func THeaderSectionClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func THeaderSectionsClass added in v1.1.19

func THeaderSectionsClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TIconClass added in v1.1.18

func TIconClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TIconOptionsClass added in v1.1.18

func TIconOptionsClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TImageButtonClass added in v1.1.18

func TImageButtonClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TImageClass added in v1.1.18

func TImageClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TImageListClass added in v1.1.18

func TImageListClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TIniFileClass added in v1.1.18

func TIniFileClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TJPEGImageClass added in v1.1.18

func TJPEGImageClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TLabelClass added in v1.1.18

func TLabelClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TLabeledEditClass added in v1.1.19

func TLabeledEditClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TLinkLabelClass added in v1.1.18

func TLinkLabelClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TListBoxClass added in v1.1.18

func TListBoxClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TListClass added in v1.1.18

func TListClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TListColumnClass added in v1.1.18

func TListColumnClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TListColumnsClass added in v1.1.18

func TListColumnsClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TListItemClass added in v1.1.18

func TListItemClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TListItemsClass added in v1.1.18

func TListItemsClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TListViewClass added in v1.1.18

func TListViewClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TMainMenuClass added in v1.1.18

func TMainMenuClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TMaskEditClass added in v1.1.18

func TMaskEditClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TMemoClass added in v1.1.18

func TMemoClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TMemoryStreamClass added in v1.1.18

func TMemoryStreamClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TMenuItemClass added in v1.1.18

func TMenuItemClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TMiniWebviewClass added in v1.2.1

func TMiniWebviewClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TMonitorClass added in v1.1.18

func TMonitorClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TMonthCalendarClass added in v1.1.18

func TMonthCalendarClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TMouseClass added in v1.1.18

func TMouseClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TObjectClass added in v1.1.18

func TObjectClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TOpenDialogClass added in v1.1.18

func TOpenDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TOpenPictureDialogClass added in v1.1.18

func TOpenPictureDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TPageControlClass added in v1.1.18

func TPageControlClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TPageSetupDialogClass added in v1.1.18

func TPageSetupDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TPaintBoxClass added in v1.1.18

func TPaintBoxClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TPanelClass added in v1.1.18

func TPanelClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TParaAttributesClass added in v1.1.18

func TParaAttributesClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TPenClass added in v1.1.18

func TPenClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TPictureClass added in v1.1.18

func TPictureClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TPngImageClass added in v1.1.18

func TPngImageClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TPopupMenuClass added in v1.1.18

func TPopupMenuClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TPrintDialogClass added in v1.1.18

func TPrintDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TPrinterClass added in v1.1.23

func TPrinterClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TPrinterSetupDialogClass added in v1.1.18

func TPrinterSetupDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TProgressBarClass added in v1.1.18

func TProgressBarClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TRadioButtonClass added in v1.1.18

func TRadioButtonClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TRadioGroupClass added in v1.1.18

func TRadioGroupClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TRegistryClass added in v1.1.18

func TRegistryClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TReplaceDialogClass added in v1.1.18

func TReplaceDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TRichEditClass added in v1.1.18

func TRichEditClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TSaveDialogClass added in v1.1.18

func TSaveDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TSavePictureDialogClass added in v1.1.18

func TSavePictureDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TScreenClass added in v1.1.18

func TScreenClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TScrollBarClass added in v1.1.18

func TScrollBarClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TScrollBoxClass added in v1.1.18

func TScrollBoxClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TSelectDirectoryDialogClass

func TSelectDirectoryDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TShapeClass added in v1.1.18

func TShapeClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TSizeConstraintsClass added in v1.2.7

func TSizeConstraintsClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TSpeedButtonClass added in v1.1.18

func TSpeedButtonClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TSpinEditClass added in v1.2.0

func TSpinEditClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TSplitterClass added in v1.1.18

func TSplitterClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TStaticTextClass added in v1.1.18

func TStaticTextClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TStatusBarClass added in v1.1.18

func TStatusBarClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TStatusPanelClass added in v1.1.18

func TStatusPanelClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TStatusPanelsClass added in v1.1.18

func TStatusPanelsClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TStringGridClass added in v1.1.19

func TStringGridClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TStringListClass added in v1.1.18

func TStringListClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TStringsClass added in v1.1.18

func TStringsClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTabSheetClass added in v1.1.18

func TTabSheetClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTaskDialogBaseButtonItemClass added in v1.2.4

func TTaskDialogBaseButtonItemClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTaskDialogButtonItemClass added in v1.2.4

func TTaskDialogButtonItemClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTaskDialogButtonsClass added in v1.2.4

func TTaskDialogButtonsClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTaskDialogClass added in v1.2.4

func TTaskDialogClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTaskDialogRadioButtonItemClass added in v1.2.4

func TTaskDialogRadioButtonItemClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTextAttributesClass added in v1.1.18

func TTextAttributesClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTimerClass added in v1.1.18

func TTimerClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TToolBarClass added in v1.1.18

func TToolBarClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TToolButtonClass added in v1.1.18

func TToolButtonClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTrackBarClass added in v1.1.18

func TTrackBarClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTrayIconClass added in v1.1.18

func TTrayIconClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTreeNodeClass added in v1.1.18

func TTreeNodeClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTreeNodesClass added in v1.1.18

func TTreeNodesClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TTreeViewClass added in v1.1.18

func TTreeViewClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TUpDownClass added in v1.1.18

func TUpDownClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TValueListEditorClass added in v1.1.19

func TValueListEditorClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TWinControlClass added in v1.1.18

func TWinControlClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func TXButtonClass added in v1.2.10

func TXButtonClass() TClass

CN: 获取类信息指针。 EN: Get class information pointer.

func ThreadSync

func ThreadSync(fn TThreadProc)

CN: 主线程中执行。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ExceptionFromInst

func ExceptionFromInst(inst uintptr) *Exception

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsException.

func ExceptionFromObj

func ExceptionFromObj(obj IObject) *Exception

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsException.

func ExceptionFromUnsafePointer added in v1.1.21

func ExceptionFromUnsafePointer(ptr unsafe.Pointer) *Exception

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsException.

func (*Exception) ClassName

func (e *Exception) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*Exception) ClassType added in v1.1.18

func (e *Exception) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*Exception) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*Exception) GetHashCode

func (e *Exception) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*Exception) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*Exception) Instance

func (e *Exception) Instance() uintptr

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*Exception) InstanceSize added in v1.1.18

func (e *Exception) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*Exception) Is added in v1.2.10

func (e *Exception) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*Exception) IsValid

func (e *Exception) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*Exception) Message

func (e *Exception) Message() string

func (*Exception) SetMessage

func (e *Exception) SetMessage(value string)

func (*Exception) ToString

func (e *Exception) ToString() string

CN: 文本类信息。 EN: Text information.

func (*Exception) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: 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

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

func (GtkWidget) Window added in v1.2.10

func (g GtkWidget) Window() GdkWindow

type IComponent

type IComponent interface {
	IObject

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

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

	Owner() *TComponent

	Name() string
	SetName(string)

	Tag() int
	SetTag(int)
}

type IControl

type IControl interface {
	IComponent

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

	Align() TAlign
	SetAlign(TAlign)

	Visible() bool
	SetVisible(bool)

	Enabled() bool
	SetEnabled(bool)

	Left() int32
	SetLeft(int32)

	Top() int32
	SetTop(int32)

	Width() int32
	SetWidth(int32)

	Height() int32
	SetHeight(int32)

	Hint() string
	SetHint(string)

	ShowHint() bool
	SetShowHint(bool)

	Parent() *TWinControl
	SetParent(IWinControl)

	SetBounds(int32, int32, int32, int32)

	Caption() string
	SetCaption(string)

	Cursor() TCursor
	SetCursor(TCursor)

	Action() *TAction
	SetAction(IComponent)

	Anchors() TAnchors
	SetAnchors(TAnchors)

	BoundsRect() TRect
	SetBoundsRect(TRect)

	ClientHeight() int32
	SetClientHeight(int32)

	ClientWidth() int32
	SetClientWidth(int32)

	ClientOrigin() TPoint
	ClientRect() TRect

	SetTextBuf(string)

	PopupMenu() *TPopupMenu
	SetPopupMenu(IComponent)

	Font() *TFont
	SetFont(*TFont)

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

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

	BorderSpacing() *TControlBorderSpacing

	Floating() bool
	SetFloating(bool)

	Color() TColor
	SetColor(TColor)

	ControlStyle() TControlStyle
	SetControlStyle(TControlStyle)

	ControlState() TControlState
	SetControlState(TControlState)

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

type 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 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 TAction

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

func ActionFromInst

func ActionFromInst(inst uintptr) *TAction

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsAction.

func ActionFromObj

func ActionFromObj(obj IObject) *TAction

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsAction.

func ActionFromUnsafePointer added in v1.1.21

func ActionFromUnsafePointer(ptr unsafe.Pointer) *TAction

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsAction.

func AsAction added in v1.2.10

func AsAction(obj interface{}) *TAction

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewAction

func NewAction(owner IComponent) *TAction

CN: 创建一个新的对象。 EN: Create a new object.

func (*TAction) Assign

func (a *TAction) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取控件标题。 EN: Get the control title.

func (*TAction) Checked

func (a *TAction) Checked() bool

CN: 获取是否选中。 EN: .

func (*TAction) ClassName

func (a *TAction) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TAction) ClassType added in v1.1.18

func (a *TAction) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TAction) ComponentCount

func (a *TAction) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TAction) ComponentIndex

func (a *TAction) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TAction) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TAction) Enabled

func (a *TAction) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TAction) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TAction) Execute

func (a *TAction) Execute() bool

CN: 执行。 EN: .

func (*TAction) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TAction) Free

func (a *TAction) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TAction) GetHashCode

func (a *TAction) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TAction) GetNamePath

func (a *TAction) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TAction) GroupIndex

func (a *TAction) GroupIndex() int32

CN: 获取团组索引。 EN: .

func (*TAction) HasParent

func (a *TAction) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TAction) Hint

func (a *TAction) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TAction) ImageIndex

func (a *TAction) ImageIndex() int32

CN: 获取图像在images中的索引。 EN: .

func (*TAction) Index

func (a *TAction) Index() int32

func (*TAction) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TAction) Instance

func (a *TAction) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TAction) InstanceSize added in v1.1.18

func (a *TAction) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TAction) Is added in v1.2.10

func (a *TAction) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TAction) IsValid

func (a *TAction) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TAction) Name

func (a *TAction) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TAction) Owner

func (a *TAction) Owner() *TComponent

CN: 获取组件所有者。 EN: 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)

CN: 设置控件标题。 EN: Set the control title.

func (*TAction) SetChecked

func (a *TAction) SetChecked(value bool)

CN: 设置是否选中。 EN: .

func (*TAction) SetComponentIndex

func (a *TAction) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TAction) SetEnabled

func (a *TAction) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TAction) SetGroupIndex

func (a *TAction) SetGroupIndex(value int32)

CN: 设置团组索引。 EN: .

func (*TAction) SetHint

func (a *TAction) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TAction) SetImageIndex

func (a *TAction) SetImageIndex(value int32)

CN: 设置图像在images中的索引。 EN: .

func (*TAction) SetIndex

func (a *TAction) SetIndex(value int32)

func (*TAction) SetName

func (a *TAction) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TAction) SetOnExecute

func (a *TAction) SetOnExecute(fn TNotifyEvent)

CN: 设置动作执行事件。 EN: .

func (*TAction) SetOnUpdate

func (a *TAction) SetOnUpdate(fn TNotifyEvent)

CN: 设置动作更新事件。 EN: .

func (*TAction) SetShortCut

func (a *TAction) SetShortCut(value TShortCut)

CN: 设置快捷键。 EN: .

func (*TAction) SetTag

func (a *TAction) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TAction) SetVisible

func (a *TAction) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TAction) ShortCut

func (a *TAction) ShortCut() TShortCut

CN: 获取快捷键。 EN: .

func (*TAction) Tag

func (a *TAction) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TAction) ToString

func (a *TAction) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TAction) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TAction) Update

func (a *TAction) Update() bool

CN: 控件更新。 EN: Update.

func (*TAction) Visible

func (a *TAction) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

type TActionList

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

func ActionListFromInst

func ActionListFromInst(inst uintptr) *TActionList

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsActionList.

func ActionListFromObj

func ActionListFromObj(obj IObject) *TActionList

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsActionList.

func ActionListFromUnsafePointer added in v1.1.21

func ActionListFromUnsafePointer(ptr unsafe.Pointer) *TActionList

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsActionList.

func AsActionList added in v1.2.10

func AsActionList(obj interface{}) *TActionList

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewActionList

func NewActionList(owner IComponent) *TActionList

CN: 创建一个新的对象。 EN: Create a new object.

func (*TActionList) Assign

func (a *TActionList) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TActionList) ClassName

func (a *TActionList) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TActionList) ClassType added in v1.1.18

func (a *TActionList) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TActionList) ComponentCount

func (a *TActionList) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TActionList) ComponentIndex

func (a *TActionList) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TActionList) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TActionList) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TActionList) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TActionList) Free

func (a *TActionList) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TActionList) GetHashCode

func (a *TActionList) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TActionList) GetNamePath

func (a *TActionList) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TActionList) HasParent

func (a *TActionList) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TActionList) Images

func (a *TActionList) Images() *TImageList

CN: 获取图标索引列表对象。 EN: .

func (*TActionList) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TActionList) Instance

func (a *TActionList) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TActionList) InstanceSize added in v1.1.18

func (a *TActionList) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TActionList) Is added in v1.2.10

func (a *TActionList) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TActionList) IsValid

func (a *TActionList) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TActionList) Name

func (a *TActionList) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TActionList) Owner

func (a *TActionList) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TActionList) SetComponentIndex

func (a *TActionList) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TActionList) SetImages

func (a *TActionList) SetImages(value IComponent)

CN: 设置图标索引列表对象。 EN: .

func (*TActionList) SetName

func (a *TActionList) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TActionList) SetOnChange

func (a *TActionList) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TActionList) SetState

func (a *TActionList) SetState(value TActionListState)

func (*TActionList) SetTag

func (a *TActionList) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TActionList) State

func (a *TActionList) State() TActionListState

func (*TActionList) Tag

func (a *TActionList) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TActionList) ToString

func (a *TActionList) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TActionList) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: 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)

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

type TAnchorSide

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

func AnchorSideFromInst

func AnchorSideFromInst(inst uintptr) *TAnchorSide

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsAnchorSide.

func AnchorSideFromObj

func AnchorSideFromObj(obj IObject) *TAnchorSide

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsAnchorSide.

func AnchorSideFromUnsafePointer

func AnchorSideFromUnsafePointer(ptr unsafe.Pointer) *TAnchorSide

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsAnchorSide.

func AsAnchorSide

func AsAnchorSide(obj interface{}) *TAnchorSide

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func (*TAnchorSide) Assign

func (a *TAnchorSide) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TAnchorSide) ClassName

func (a *TAnchorSide) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TAnchorSide) ClassType

func (a *TAnchorSide) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TAnchorSide) Control

func (a *TAnchorSide) Control() *TControl

func (*TAnchorSide) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TAnchorSide) GetHashCode

func (a *TAnchorSide) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TAnchorSide) GetNamePath

func (a *TAnchorSide) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TAnchorSide) InheritsFrom

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TAnchorSide) Instance

func (a *TAnchorSide) Instance() uintptr

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TAnchorSide) InstanceSize

func (a *TAnchorSide) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TAnchorSide) Is

func (a *TAnchorSide) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TAnchorSide) IsValid

func (a *TAnchorSide) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TAnchorSide) Owner

func (a *TAnchorSide) Owner() *TControl

CN: 获取组件所有者。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TAnchorSide) UnsafeAddr

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TApplication

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

func ApplicationFromInst

func ApplicationFromInst(inst uintptr) *TApplication

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsApplication.

func ApplicationFromObj

func ApplicationFromObj(obj IObject) *TApplication

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsApplication.

func ApplicationFromUnsafePointer added in v1.1.21

func ApplicationFromUnsafePointer(ptr unsafe.Pointer) *TApplication

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsApplication.

func AsApplication added in v1.2.10

func AsApplication(obj interface{}) *TApplication

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewApplication

func NewApplication(owner IComponent) *TApplication

CN: 创建一个新的对象。 EN: Create a new object.

func (*TApplication) ActivateHint

func (a *TApplication) ActivateHint(CursorPos TPoint)

CN: 激活鼠标悬停提示。 EN: .

func (*TApplication) Assign

func (a *TApplication) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TApplication) BiDiMode

func (a *TApplication) BiDiMode() TBiDiMode

func (*TApplication) BringToFront

func (a *TApplication) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TApplication) CancelHint

func (a *TApplication) CancelHint()

CN: 取消鼠标悬停提示。 EN: .

func (*TApplication) ClassName

func (a *TApplication) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TApplication) ClassType added in v1.1.18

func (a *TApplication) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TApplication) ComponentCount

func (a *TApplication) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TApplication) ComponentIndex

func (a *TApplication) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TApplication) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TApplication) CreateForm

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

CN: 创建一个TForm。 EN: Create a TForm.

func (*TApplication) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TApplication) ExeName

func (a *TApplication) ExeName() string

CN: 获取当前exe文件名,包含全路径。 EN: .

func (*TApplication) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TApplication) Free

func (a *TApplication) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TApplication) GetHashCode

func (a *TApplication) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TApplication) GetNamePath

func (a *TApplication) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TApplication) HandleMessage

func (a *TApplication) HandleMessage()

CN: 消息循环,不要使用。 EN: .

func (*TApplication) HasParent

func (a *TApplication) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TApplication) HideHint

func (a *TApplication) HideHint()

CN: 隐藏鼠标悬停提示。 EN: .

func (*TApplication) Hint

func (a *TApplication) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TApplication) HintColor

func (a *TApplication) HintColor() TColor

CN: 获取鼠标悬停提示颜色。 EN: .

func (*TApplication) HintHidePause

func (a *TApplication) HintHidePause() int32

CN: 获取鼠标悬停提示暂停时间,ms。 EN: .

func (*TApplication) HintPause

func (a *TApplication) HintPause() int32

CN: 获取鼠标悬停暂时时间。 EN: .

func (*TApplication) HintShortCuts

func (a *TApplication) HintShortCuts() bool

func (*TApplication) HintShortPause

func (a *TApplication) HintShortPause() int32

func (*TApplication) Icon

func (a *TApplication) Icon() *TIcon

CN: 获取图标。 EN: Get icon.

func (*TApplication) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TApplication) Initialize

func (a *TApplication) Initialize()

CN: 初始APP信息。 EN: Initial APP information.

func (*TApplication) Instance

func (a *TApplication) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TApplication) InstanceSize added in v1.1.18

func (a *TApplication) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TApplication) Is added in v1.2.10

func (a *TApplication) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TApplication) IsValid

func (a *TApplication) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TApplication) MainForm

func (a *TApplication) MainForm() *TForm

func (*TApplication) MainFormHandle

func (a *TApplication) MainFormHandle() HWND

func (*TApplication) MainFormOnTaskBar

func (a *TApplication) MainFormOnTaskBar() bool

CN: 获取主窗口显示在任务栏上。 EN: .

func (*TApplication) MessageBox

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

CN: 显示消息框。 EN: .

func (*TApplication) Minimize

func (a *TApplication) Minimize()

CN: 最小化应用程序。 EN: .

func (*TApplication) ModalFinished

func (a *TApplication) ModalFinished()

func (*TApplication) ModalStarted

func (a *TApplication) ModalStarted()

func (*TApplication) Name

func (a *TApplication) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TApplication) Owner

func (a *TApplication) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TApplication) ProcessMessages

func (a *TApplication) ProcessMessages()

CN: 处理消息循环。 EN: .

func (*TApplication) Restore

func (a *TApplication) Restore()

CN: 恢复小最小的应用。 EN: .

func (*TApplication) RestoreTopMosts

func (a *TApplication) RestoreTopMosts()

CN: 恢复最小化的应用并置顶。 EN: .

func (*TApplication) Run

func (a *TApplication) Run()

CN: 运行APP。 EN: Run the app.

func (*TApplication) Scaled

func (a *TApplication) Scaled() bool

func (*TApplication) SetBiDiMode

func (a *TApplication) SetBiDiMode(value TBiDiMode)

func (*TApplication) SetComponentIndex

func (a *TApplication) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TApplication) SetFormScaled

func (a *TApplication) SetFormScaled(val bool)

func (*TApplication) SetHint

func (a *TApplication) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TApplication) SetHintColor

func (a *TApplication) SetHintColor(value TColor)

CN: 设置鼠标悬停提示颜色。 EN: .

func (*TApplication) SetHintHidePause

func (a *TApplication) SetHintHidePause(value int32)

CN: 设置鼠标悬停提示暂停时间,ms。 EN: .

func (*TApplication) SetHintPause

func (a *TApplication) SetHintPause(value int32)

CN: 设置鼠标悬停暂时时间。 EN: .

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)

CN: 设置图标。 EN: Set icon.

func (*TApplication) SetIconResId

func (a *TApplication) SetIconResId(id int)

func (*TApplication) SetMainFormOnTaskBar

func (a *TApplication) SetMainFormOnTaskBar(value bool)

CN: 设置主窗口显示在任务栏上。 EN: .

func (*TApplication) SetName

func (a *TApplication) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TApplication) SetOnException

func (a *TApplication) SetOnException(fn TExceptionEvent)

CN: 设置应用程序异常事件。 EN: .

func (*TApplication) SetOnHelp

func (a *TApplication) SetOnHelp(fn THelpEvent)

func (*TApplication) SetOnHint

func (a *TApplication) SetOnHint(fn TNotifyEvent)

CN: 设置鼠标悬停提示事件。 EN: .

func (*TApplication) SetOnMinimize

func (a *TApplication) SetOnMinimize(fn TNotifyEvent)

CN: 设置App或者窗口最小化事件。 EN: .

func (*TApplication) SetOnRestore

func (a *TApplication) SetOnRestore(fn TNotifyEvent)

CN: 设置App或者窗口恢复事件。 EN: .

func (*TApplication) SetOnShortCut

func (a *TApplication) SetOnShortCut(fn TShortCutEvent)

func (*TApplication) SetScaled

func (a *TApplication) SetScaled(value bool)

func (*TApplication) SetShowHint

func (a *TApplication) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TApplication) SetShowMainForm

func (a *TApplication) SetShowMainForm(value bool)

CN: 设置初始显示主窗口。 EN: .

func (*TApplication) SetTag

func (a *TApplication) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TApplication) SetTitle

func (a *TApplication) SetTitle(value string)

func (*TApplication) ShowHint

func (a *TApplication) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TApplication) ShowMainForm

func (a *TApplication) ShowMainForm() bool

CN: 获取初始显示主窗口。 EN: .

func (*TApplication) Tag

func (a *TApplication) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TApplication) Terminate

func (a *TApplication) Terminate()

CN: 结束应用程序。 EN: .

func (*TApplication) Title

func (a *TApplication) Title() string

func (*TApplication) ToString

func (a *TApplication) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TApplication) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TAs added in v1.2.10

type TAs uintptr

As操作符

type TBevel

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

func AsBevel added in v1.2.10

func AsBevel(obj interface{}) *TBevel

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func BevelFromInst

func BevelFromInst(inst uintptr) *TBevel

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsBevel.

func BevelFromObj

func BevelFromObj(obj IObject) *TBevel

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsBevel.

func BevelFromUnsafePointer added in v1.1.21

func BevelFromUnsafePointer(ptr unsafe.Pointer) *TBevel

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsBevel.

func NewBevel

func NewBevel(owner IComponent) *TBevel

CN: 创建一个新的对象。 EN: Create a new object.

func (*TBevel) Action

func (b *TBevel) Action() *TAction

func (*TBevel) Align

func (b *TBevel) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TBevel) AnchorParallel

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

func (*TBevel) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TBevel) AnchorSideBottom

func (b *TBevel) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TBevel) AnchorSideLeft

func (b *TBevel) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TBevel) AnchorSideRight

func (b *TBevel) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TBevel) AnchorSideTop

func (b *TBevel) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TBevel) AnchorToNeighbour

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

func (*TBevel) AnchorVerticalCenterTo

func (b *TBevel) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TBevel) Anchors

func (b *TBevel) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TBevel) Assign

func (b *TBevel) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TBevel) BiDiMode

func (b *TBevel) BiDiMode() TBiDiMode

func (*TBevel) BorderSpacing

func (b *TBevel) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TBevel) BoundsRect

func (b *TBevel) BoundsRect() TRect

func (*TBevel) BringToFront

func (b *TBevel) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TBevel) ClassName

func (b *TBevel) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TBevel) ClassType added in v1.1.18

func (b *TBevel) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TBevel) ClientHeight

func (b *TBevel) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TBevel) ClientOrigin added in v1.1.21

func (b *TBevel) ClientOrigin() TPoint

func (*TBevel) ClientRect

func (b *TBevel) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TBevel) ClientToParent

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TBevel) ClientToScreen

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TBevel) ClientWidth

func (b *TBevel) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TBevel) ComponentCount

func (b *TBevel) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TBevel) ComponentIndex

func (b *TBevel) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TBevel) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TBevel) Constraints added in v1.2.7

func (b *TBevel) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TBevel) ControlState added in v1.1.21

func (b *TBevel) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TBevel) ControlStyle added in v1.1.21

func (b *TBevel) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TBevel) Cursor

func (b *TBevel) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TBevel) Dragging

func (b *TBevel) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TBevel) Enabled

func (b *TBevel) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TBevel) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TBevel) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TBevel) Floating

func (b *TBevel) Floating() bool

func (*TBevel) Free

func (b *TBevel) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TBevel) GetHashCode

func (b *TBevel) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TBevel) GetNamePath

func (b *TBevel) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TBevel) GetTextBuf

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TBevel) GetTextLen

func (b *TBevel) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TBevel) HasParent

func (b *TBevel) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TBevel) Height

func (b *TBevel) Height() int32

CN: 获取高度。 EN: Get height.

func (*TBevel) Hide

func (b *TBevel) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TBevel) Hint

func (b *TBevel) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TBevel) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TBevel) Instance

func (b *TBevel) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TBevel) InstanceSize added in v1.1.18

func (b *TBevel) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TBevel) Invalidate

func (b *TBevel) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TBevel) Is added in v1.2.10

func (b *TBevel) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TBevel) IsValid

func (b *TBevel) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TBevel) Left

func (b *TBevel) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TBevel) Name

func (b *TBevel) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TBevel) Owner

func (b *TBevel) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TBevel) Parent

func (b *TBevel) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TBevel) ParentShowHint

func (b *TBevel) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TBevel) ParentToClient

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

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TBevel) Perform

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

CN: 发送一个消息。 EN: Send a message.

func (*TBevel) Refresh

func (b *TBevel) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TBevel) Repaint

func (b *TBevel) Repaint()

CN: 重绘。 EN: Repaint.

func (*TBevel) ScreenToClient

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TBevel) SendToBack

func (b *TBevel) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TBevel) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TBevel) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TBevel) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TBevel) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TBevel) SetAnchors

func (b *TBevel) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TBevel) SetBiDiMode

func (b *TBevel) SetBiDiMode(value TBiDiMode)

func (*TBevel) SetBorderSpacing

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

CN: 设置边框间距。 EN: .

func (*TBevel) SetBounds

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

CN: 设置组件边界。 EN: Set component boundaries.

func (*TBevel) SetBoundsRect

func (b *TBevel) SetBoundsRect(value TRect)

func (*TBevel) SetClientHeight

func (b *TBevel) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TBevel) SetClientWidth

func (b *TBevel) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TBevel) SetComponentIndex

func (b *TBevel) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TBevel) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TBevel) SetControlState added in v1.1.21

func (b *TBevel) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TBevel) SetControlStyle added in v1.1.21

func (b *TBevel) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TBevel) SetCursor

func (b *TBevel) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TBevel) SetEnabled

func (b *TBevel) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TBevel) SetHeight

func (b *TBevel) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TBevel) SetHint

func (b *TBevel) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TBevel) SetLeft

func (b *TBevel) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TBevel) SetName

func (b *TBevel) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TBevel) SetParent

func (b *TBevel) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TBevel) SetParentShowHint

func (b *TBevel) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TBevel) SetShape

func (b *TBevel) SetShape(value TBevelShape)

func (*TBevel) SetShowHint

func (b *TBevel) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TBevel) SetStyle

func (b *TBevel) SetStyle(value TBevelStyle)

func (*TBevel) SetTag

func (b *TBevel) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TBevel) SetTextBuf added in v1.1.21

func (b *TBevel) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TBevel) SetTop

func (b *TBevel) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TBevel) SetVisible

func (b *TBevel) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TBevel) SetWidth

func (b *TBevel) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TBevel) Shape

func (b *TBevel) Shape() TBevelShape

func (*TBevel) Show

func (b *TBevel) Show()

CN: 显示控件。 EN: Show control.

func (*TBevel) ShowHint

func (b *TBevel) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TBevel) Style

func (b *TBevel) Style() TBevelStyle

func (*TBevel) Tag

func (b *TBevel) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TBevel) ToString

func (b *TBevel) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TBevel) Top

func (b *TBevel) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TBevel) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TBevel) Update

func (b *TBevel) Update()

CN: 控件更新。 EN: Update.

func (*TBevel) Visible

func (b *TBevel) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TBevel) Width

func (b *TBevel) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func BitBtnFromInst

func BitBtnFromInst(inst uintptr) *TBitBtn

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsBitBtn.

func BitBtnFromObj

func BitBtnFromObj(obj IObject) *TBitBtn

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsBitBtn.

func BitBtnFromUnsafePointer added in v1.1.21

func BitBtnFromUnsafePointer(ptr unsafe.Pointer) *TBitBtn

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsBitBtn.

func NewBitBtn

func NewBitBtn(owner IComponent) *TBitBtn

CN: 创建一个新的对象。 EN: Create a new object.

func (*TBitBtn) Action

func (b *TBitBtn) Action() *TAction

func (*TBitBtn) Align

func (b *TBitBtn) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TBitBtn) AnchorParallel

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

func (*TBitBtn) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TBitBtn) AnchorSideBottom

func (b *TBitBtn) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TBitBtn) AnchorSideLeft

func (b *TBitBtn) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TBitBtn) AnchorSideRight

func (b *TBitBtn) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TBitBtn) AnchorSideTop

func (b *TBitBtn) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TBitBtn) AnchorToNeighbour

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

func (*TBitBtn) AnchorVerticalCenterTo

func (b *TBitBtn) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TBitBtn) Anchors

func (b *TBitBtn) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TBitBtn) Assign

func (b *TBitBtn) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TBitBtn) BiDiMode

func (b *TBitBtn) BiDiMode() TBiDiMode

func (*TBitBtn) BorderSpacing

func (b *TBitBtn) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TBitBtn) BoundsRect

func (b *TBitBtn) BoundsRect() TRect

func (*TBitBtn) BringToFront

func (b *TBitBtn) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TBitBtn) Brush

func (b *TBitBtn) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TBitBtn) CanFocus

func (b *TBitBtn) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TBitBtn) Cancel

func (b *TBitBtn) Cancel() bool

func (*TBitBtn) Caption

func (b *TBitBtn) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TBitBtn) ChildSizing

func (b *TBitBtn) ChildSizing() *TControlChildSizing

func (*TBitBtn) ClassName

func (b *TBitBtn) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TBitBtn) ClassType added in v1.1.18

func (b *TBitBtn) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TBitBtn) Click

func (b *TBitBtn) Click()

CN: 单击。 EN: .

func (*TBitBtn) ClientHeight

func (b *TBitBtn) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TBitBtn) ClientOrigin added in v1.1.21

func (b *TBitBtn) ClientOrigin() TPoint

func (*TBitBtn) ClientRect

func (b *TBitBtn) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TBitBtn) ClientToParent

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TBitBtn) ClientToScreen

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TBitBtn) ClientWidth

func (b *TBitBtn) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TBitBtn) ComponentCount

func (b *TBitBtn) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TBitBtn) ComponentIndex

func (b *TBitBtn) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TBitBtn) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TBitBtn) Constraints added in v1.2.7

func (b *TBitBtn) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TBitBtn) ContainsControl added in v1.1.21

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

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TBitBtn) ControlCount

func (b *TBitBtn) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TBitBtn) ControlState added in v1.1.21

func (b *TBitBtn) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TBitBtn) ControlStyle added in v1.1.21

func (b *TBitBtn) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TBitBtn) Controls

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

CN: 获取指定索引子控件。 EN: .

func (*TBitBtn) Cursor

func (b *TBitBtn) Cursor() TCursor

CN: 获取控件光标。 EN: 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()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TBitBtn) DockClientCount added in v1.1.21

func (b *TBitBtn) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TBitBtn) DockClients added in v1.1.21

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

CN: 获取指定索引停靠客户端。 EN: .

func (*TBitBtn) DockSite

func (b *TBitBtn) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TBitBtn) DoubleBuffered

func (b *TBitBtn) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TBitBtn) Dragging

func (b *TBitBtn) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TBitBtn) EnableAlign added in v1.1.21

func (b *TBitBtn) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TBitBtn) Enabled

func (b *TBitBtn) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TBitBtn) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TBitBtn) FindChildControl added in v1.1.21

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

CN: 查找子控件。 EN: Find sub controls.

func (*TBitBtn) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TBitBtn) Font

func (b *TBitBtn) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TBitBtn) Free

func (b *TBitBtn) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TBitBtn) GetHashCode

func (b *TBitBtn) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TBitBtn) GetNamePath

func (b *TBitBtn) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TBitBtn) GetTextBuf

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TBitBtn) GetTextLen

func (b *TBitBtn) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: 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

CN: 获取控件句柄。 EN: Get Control handle.

func (*TBitBtn) HandleAllocated

func (b *TBitBtn) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TBitBtn) HasParent

func (b *TBitBtn) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TBitBtn) Height

func (b *TBitBtn) Height() int32

CN: 获取高度。 EN: Get height.

func (*TBitBtn) Hide

func (b *TBitBtn) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TBitBtn) Hint

func (b *TBitBtn) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TBitBtn) ImageWidth

func (b *TBitBtn) ImageWidth() int32

func (*TBitBtn) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TBitBtn) InsertControl added in v1.1.21

func (b *TBitBtn) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TBitBtn) Instance

func (b *TBitBtn) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TBitBtn) InstanceSize added in v1.1.18

func (b *TBitBtn) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TBitBtn) Invalidate

func (b *TBitBtn) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TBitBtn) Is added in v1.2.10

func (b *TBitBtn) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TBitBtn) IsValid

func (b *TBitBtn) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TBitBtn) Layout

func (b *TBitBtn) Layout() TButtonLayout

func (*TBitBtn) Left

func (b *TBitBtn) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TBitBtn) ModalResult

func (b *TBitBtn) ModalResult() TModalResult

CN: 获取模态对话框显示结果。 EN: .

func (*TBitBtn) MouseInClient added in v1.1.21

func (b *TBitBtn) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TBitBtn) Name

func (b *TBitBtn) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TBitBtn) NumGlyphs

func (b *TBitBtn) NumGlyphs() TNumGlyphs

func (*TBitBtn) Owner

func (b *TBitBtn) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TBitBtn) Parent

func (b *TBitBtn) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TBitBtn) ParentDoubleBuffered

func (b *TBitBtn) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TBitBtn) ParentFont

func (b *TBitBtn) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TBitBtn) ParentShowHint

func (b *TBitBtn) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TBitBtn) ParentToClient

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

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TBitBtn) ParentWindow

func (b *TBitBtn) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TBitBtn) Perform

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

CN: 发送一个消息。 EN: Send a message.

func (*TBitBtn) PopupMenu

func (b *TBitBtn) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TBitBtn) Realign

func (b *TBitBtn) Realign()

CN: 重新对齐。 EN: Realign.

func (*TBitBtn) Refresh

func (b *TBitBtn) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TBitBtn) RemoveControl added in v1.1.21

func (b *TBitBtn) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TBitBtn) Repaint

func (b *TBitBtn) Repaint()

CN: 重绘。 EN: Repaint.

func (*TBitBtn) ScaleBy

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

CN: 按比例缩放。 EN: Scale by.

func (*TBitBtn) ScreenToClient

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TBitBtn) ScrollBy added in v1.1.21

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

CN: 滚动至指定位置。 EN: Scroll by.

func (*TBitBtn) SendToBack

func (b *TBitBtn) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TBitBtn) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TBitBtn) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TBitBtn) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TBitBtn) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TBitBtn) SetAnchors

func (b *TBitBtn) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TBitBtn) SetBiDiMode

func (b *TBitBtn) SetBiDiMode(value TBiDiMode)

func (*TBitBtn) SetBorderSpacing

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

CN: 设置边框间距。 EN: .

func (*TBitBtn) SetBounds

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

CN: 设置组件边界。 EN: 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)

CN: 设置控件标题。 EN: Set the control title.

func (*TBitBtn) SetChildSizing

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

func (*TBitBtn) SetClientHeight

func (b *TBitBtn) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TBitBtn) SetClientWidth

func (b *TBitBtn) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TBitBtn) SetComponentIndex

func (b *TBitBtn) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TBitBtn) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TBitBtn) SetControlState added in v1.1.21

func (b *TBitBtn) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TBitBtn) SetControlStyle added in v1.1.21

func (b *TBitBtn) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TBitBtn) SetCursor

func (b *TBitBtn) SetCursor(value TCursor)

CN: 设置控件光标。 EN: 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)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TBitBtn) SetDoubleBuffered

func (b *TBitBtn) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TBitBtn) SetEnabled

func (b *TBitBtn) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TBitBtn) SetFocus

func (b *TBitBtn) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TBitBtn) SetFont

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

CN: 设置字体。 EN: 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)

CN: 设置高度。 EN: Set height.

func (*TBitBtn) SetHint

func (b *TBitBtn) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TBitBtn) SetImageWidth

func (b *TBitBtn) SetImageWidth(value int32)

func (*TBitBtn) SetLayout

func (b *TBitBtn) SetLayout(value TButtonLayout)

func (*TBitBtn) SetLeft

func (b *TBitBtn) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TBitBtn) SetModalResult

func (b *TBitBtn) SetModalResult(value TModalResult)

CN: 设置模态对话框显示结果。 EN: .

func (*TBitBtn) SetName

func (b *TBitBtn) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TBitBtn) SetNumGlyphs

func (b *TBitBtn) SetNumGlyphs(value TNumGlyphs)

func (*TBitBtn) SetOnClick

func (b *TBitBtn) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TBitBtn) SetOnContextPopup

func (b *TBitBtn) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TBitBtn) SetOnDragDrop

func (b *TBitBtn) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TBitBtn) SetOnDragOver

func (b *TBitBtn) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TBitBtn) SetOnEndDrag

func (b *TBitBtn) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TBitBtn) SetOnEnter

func (b *TBitBtn) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TBitBtn) SetOnExit

func (b *TBitBtn) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TBitBtn) SetOnKeyDown

func (b *TBitBtn) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TBitBtn) SetOnKeyPress

func (b *TBitBtn) SetOnKeyPress(fn TKeyPressEvent)

func (*TBitBtn) SetOnKeyUp

func (b *TBitBtn) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TBitBtn) SetOnMouseDown

func (b *TBitBtn) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TBitBtn) SetOnMouseEnter

func (b *TBitBtn) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TBitBtn) SetOnMouseLeave

func (b *TBitBtn) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TBitBtn) SetOnMouseMove

func (b *TBitBtn) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TBitBtn) SetOnMouseUp

func (b *TBitBtn) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TBitBtn) SetParent

func (b *TBitBtn) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TBitBtn) SetParentDoubleBuffered

func (b *TBitBtn) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TBitBtn) SetParentFont

func (b *TBitBtn) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TBitBtn) SetParentShowHint

func (b *TBitBtn) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TBitBtn) SetParentWindow

func (b *TBitBtn) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TBitBtn) SetPopupMenu

func (b *TBitBtn) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TBitBtn) SetShowHint

func (b *TBitBtn) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TBitBtn) SetSpacing

func (b *TBitBtn) SetSpacing(value int32)

func (*TBitBtn) SetTabOrder

func (b *TBitBtn) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TBitBtn) SetTabStop

func (b *TBitBtn) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TBitBtn) SetTag

func (b *TBitBtn) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TBitBtn) SetTextBuf added in v1.1.21

func (b *TBitBtn) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TBitBtn) SetTop

func (b *TBitBtn) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TBitBtn) SetUseDockManager

func (b *TBitBtn) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TBitBtn) SetVisible

func (b *TBitBtn) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TBitBtn) SetWidth

func (b *TBitBtn) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TBitBtn) Show

func (b *TBitBtn) Show()

CN: 显示控件。 EN: Show control.

func (*TBitBtn) ShowHint

func (b *TBitBtn) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TBitBtn) Spacing

func (b *TBitBtn) Spacing() int32

func (*TBitBtn) TabOrder

func (b *TBitBtn) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TBitBtn) TabStop

func (b *TBitBtn) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TBitBtn) Tag

func (b *TBitBtn) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TBitBtn) ToString

func (b *TBitBtn) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TBitBtn) Top

func (b *TBitBtn) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TBitBtn) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TBitBtn) Update

func (b *TBitBtn) Update()

CN: 控件更新。 EN: Update.

func (*TBitBtn) UseDockManager

func (b *TBitBtn) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TBitBtn) Visible

func (b *TBitBtn) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TBitBtn) VisibleDockClientCount added in v1.1.21

func (b *TBitBtn) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TBitBtn) Width

func (b *TBitBtn) Width() int32

CN: 获取宽度。 EN: Get width.

type TBitmap

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

func AsBitmap added in v1.2.10

func AsBitmap(obj interface{}) *TBitmap

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func BitmapFromInst

func BitmapFromInst(inst uintptr) *TBitmap

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsBitmap.

func BitmapFromObj

func BitmapFromObj(obj IObject) *TBitmap

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsBitmap.

func BitmapFromUnsafePointer added in v1.1.21

func BitmapFromUnsafePointer(ptr unsafe.Pointer) *TBitmap

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsBitmap.

func NewBitmap

func NewBitmap() *TBitmap

CN: 创建一个新的对象。 EN: Create a new object.

func (*TBitmap) Assign

func (b *TBitmap) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TBitmap) BeginUpdate added in v1.2.10

func (b *TBitmap) BeginUpdate(aCanvasOnly bool)

CN: LCL下的 用于ScanLine属性,aCanvasOnly 默认为 false EN: LCL only. Used for ScanLine properties, aCanvasOnly defaults to false.

func (*TBitmap) Canvas

func (b *TBitmap) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TBitmap) ClassName

func (b *TBitmap) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TBitmap) ClassType added in v1.1.18

func (b *TBitmap) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TBitmap) Clear added in v1.2.10

func (b *TBitmap) Clear()

LCL下的 LCL only. 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)

CN: LCL下的 用于ScanLine属性,aStreamIsValid 默认为 false EN: LCL only. Used for ScanLine property, aStreamIsValid defaults to false.

func (*TBitmap) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TBitmap) Free

func (b *TBitmap) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TBitmap) FreeImage added in v1.1.23

func (b *TBitmap) FreeImage()

func (*TBitmap) GetHashCode

func (b *TBitmap) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TBitmap) GetNamePath

func (b *TBitmap) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TBitmap) Handle

func (b *TBitmap) Handle() HBITMAP

CN: 获取控件句柄。 EN: Get Control handle.

func (*TBitmap) HandleAllocated

func (b *TBitmap) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: 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

CN: 获取高度。 EN: Get height.

func (*TBitmap) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TBitmap) Instance

func (b *TBitmap) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TBitmap) InstanceSize added in v1.1.18

func (b *TBitmap) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TBitmap) Is added in v1.2.10

func (b *TBitmap) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TBitmap) IsValid

func (b *TBitmap) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TBitmap) LoadFromDevice added in v1.2.10

func (b *TBitmap) LoadFromDevice(dc types.HDC)

CN:从设备驱动中加载Bitmap。 EN: Load the Bitmap from the device driver.

func (*TBitmap) LoadFromFile

func (b *TBitmap) LoadFromFile(Filename string)

CN: 从文件加载。 EN: .

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

CN: 文件流加载。 EN: .

func (*TBitmap) MaskHandle added in v1.1.23

func (b *TBitmap) MaskHandle() HBITMAP

func (*TBitmap) Modified

func (b *TBitmap) Modified() bool

CN: 获取修改。 EN: 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)

CN: 保存至文件。 EN: .

func (*TBitmap) SaveToStream

func (b *TBitmap) SaveToStream(Stream IObject)

CN: 保存至流。 EN: .

func (*TBitmap) ScanLine

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

func (*TBitmap) SetHandle

func (b *TBitmap) SetHandle(value HBITMAP)

CN: 设置控件句柄。 EN: 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)

CN: 设置高度。 EN: 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)

CN: 设置修改。 EN: Set modified.

func (*TBitmap) SetOnChange

func (b *TBitmap) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: 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)

CN: 设置透明。 EN: 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)

CN: 设置宽度。 EN: Set width.

func (*TBitmap) ToString

func (b *TBitmap) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TBitmap) Transparent

func (b *TBitmap) Transparent() bool

CN: 获取透明。 EN: 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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TBitmap) Width

func (b *TBitmap) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func BoundLabelFromInst added in v1.1.19

func BoundLabelFromInst(inst uintptr) *TBoundLabel

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsBoundLabel.

func BoundLabelFromObj added in v1.1.19

func BoundLabelFromObj(obj IObject) *TBoundLabel

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsBoundLabel.

func BoundLabelFromUnsafePointer added in v1.1.21

func BoundLabelFromUnsafePointer(ptr unsafe.Pointer) *TBoundLabel

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsBoundLabel.

func NewBoundLabel added in v1.1.19

func NewBoundLabel(owner IComponent) *TBoundLabel

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TBoundLabel) AnchorParallel

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

func (*TBoundLabel) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TBoundLabel) AnchorSideBottom

func (b *TBoundLabel) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TBoundLabel) AnchorSideLeft

func (b *TBoundLabel) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TBoundLabel) AnchorSideRight

func (b *TBoundLabel) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TBoundLabel) AnchorSideTop

func (b *TBoundLabel) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TBoundLabel) AnchorToNeighbour

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

func (*TBoundLabel) AnchorVerticalCenterTo

func (b *TBoundLabel) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TBoundLabel) Anchors added in v1.1.19

func (b *TBoundLabel) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TBoundLabel) Assign added in v1.1.19

func (b *TBoundLabel) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TBoundLabel) BiDiMode added in v1.1.19

func (b *TBoundLabel) BiDiMode() TBiDiMode

func (*TBoundLabel) BorderSpacing

func (b *TBoundLabel) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TBoundLabel) Canvas added in v1.1.19

func (b *TBoundLabel) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TBoundLabel) Caption added in v1.1.19

func (b *TBoundLabel) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TBoundLabel) ClassName added in v1.1.19

func (b *TBoundLabel) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TBoundLabel) ClassType added in v1.1.19

func (b *TBoundLabel) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TBoundLabel) ClientHeight added in v1.1.19

func (b *TBoundLabel) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TBoundLabel) ClientToParent added in v1.1.19

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TBoundLabel) ClientToScreen added in v1.1.19

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TBoundLabel) ClientWidth added in v1.1.19

func (b *TBoundLabel) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TBoundLabel) Color added in v1.1.19

func (b *TBoundLabel) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TBoundLabel) ComponentCount added in v1.1.19

func (b *TBoundLabel) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TBoundLabel) ComponentIndex added in v1.1.19

func (b *TBoundLabel) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TBoundLabel) Components added in v1.1.19

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TBoundLabel) Constraints added in v1.2.7

func (b *TBoundLabel) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TBoundLabel) ControlState added in v1.1.21

func (b *TBoundLabel) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TBoundLabel) ControlStyle added in v1.1.21

func (b *TBoundLabel) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TBoundLabel) Cursor added in v1.1.19

func (b *TBoundLabel) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TBoundLabel) DragCursor added in v1.1.19

func (b *TBoundLabel) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TBoundLabel) DragMode added in v1.1.19

func (b *TBoundLabel) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TBoundLabel) Dragging added in v1.1.19

func (b *TBoundLabel) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TBoundLabel) Enabled added in v1.1.19

func (b *TBoundLabel) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TBoundLabel) Equals added in v1.1.19

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TBoundLabel) FindComponent added in v1.1.19

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 获取字体。 EN: Get Font.

func (*TBoundLabel) Free added in v1.1.19

func (b *TBoundLabel) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TBoundLabel) GetHashCode added in v1.1.19

func (b *TBoundLabel) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TBoundLabel) GetNamePath added in v1.1.19

func (b *TBoundLabel) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TBoundLabel) GetTextBuf added in v1.1.19

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TBoundLabel) GetTextLen added in v1.1.19

func (b *TBoundLabel) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TBoundLabel) HasParent added in v1.1.19

func (b *TBoundLabel) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TBoundLabel) Height added in v1.1.19

func (b *TBoundLabel) Height() int32

CN: 获取高度。 EN: Get height.

func (*TBoundLabel) Hide added in v1.1.19

func (b *TBoundLabel) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TBoundLabel) Hint added in v1.1.19

func (b *TBoundLabel) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TBoundLabel) InheritsFrom added in v1.1.19

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TBoundLabel) Instance added in v1.1.19

func (b *TBoundLabel) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TBoundLabel) InstanceSize added in v1.1.19

func (b *TBoundLabel) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TBoundLabel) Invalidate added in v1.1.19

func (b *TBoundLabel) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TBoundLabel) Is added in v1.2.10

func (b *TBoundLabel) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TBoundLabel) IsValid added in v1.1.19

func (b *TBoundLabel) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取左边位置。 EN: Get Left position.

func (*TBoundLabel) Name added in v1.1.19

func (b *TBoundLabel) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TBoundLabel) Owner added in v1.1.19

func (b *TBoundLabel) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TBoundLabel) Parent added in v1.1.19

func (b *TBoundLabel) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TBoundLabel) ParentColor added in v1.1.19

func (b *TBoundLabel) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TBoundLabel) ParentFont added in v1.1.19

func (b *TBoundLabel) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TBoundLabel) ParentShowHint added in v1.1.19

func (b *TBoundLabel) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TBoundLabel) ParentToClient added in v1.1.19

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

CN: 将父容器坐标转为客户端坐标。 EN: 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

CN: 发送一个消息。 EN: Send a message.

func (*TBoundLabel) PopupMenu added in v1.1.19

func (b *TBoundLabel) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TBoundLabel) Refresh added in v1.1.19

func (b *TBoundLabel) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TBoundLabel) Repaint added in v1.1.19

func (b *TBoundLabel) Repaint()

CN: 重绘。 EN: Repaint.

func (*TBoundLabel) ScreenToClient added in v1.1.19

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TBoundLabel) SendToBack added in v1.1.19

func (b *TBoundLabel) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TBoundLabel) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TBoundLabel) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TBoundLabel) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TBoundLabel) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TBoundLabel) SetAnchors added in v1.1.19

func (b *TBoundLabel) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TBoundLabel) SetBiDiMode added in v1.1.19

func (b *TBoundLabel) SetBiDiMode(value TBiDiMode)

func (*TBoundLabel) SetBorderSpacing

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

CN: 设置边框间距。 EN: .

func (*TBoundLabel) SetBounds added in v1.1.19

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

CN: 设置组件边界。 EN: 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)

CN: 设置控件标题。 EN: Set the control title.

func (*TBoundLabel) SetClientHeight added in v1.1.19

func (b *TBoundLabel) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TBoundLabel) SetClientWidth added in v1.1.19

func (b *TBoundLabel) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TBoundLabel) SetColor added in v1.1.19

func (b *TBoundLabel) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TBoundLabel) SetComponentIndex added in v1.1.19

func (b *TBoundLabel) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TBoundLabel) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TBoundLabel) SetControlState added in v1.1.21

func (b *TBoundLabel) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TBoundLabel) SetControlStyle added in v1.1.21

func (b *TBoundLabel) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TBoundLabel) SetCursor added in v1.1.19

func (b *TBoundLabel) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TBoundLabel) SetDragCursor added in v1.1.19

func (b *TBoundLabel) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TBoundLabel) SetDragMode added in v1.1.19

func (b *TBoundLabel) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TBoundLabel) SetEnabled added in v1.1.19

func (b *TBoundLabel) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TBoundLabel) SetFont added in v1.1.19

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

CN: 设置字体。 EN: Set Font.

func (*TBoundLabel) SetHeight added in v1.1.19

func (b *TBoundLabel) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TBoundLabel) SetHint added in v1.1.19

func (b *TBoundLabel) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TBoundLabel) SetOnClick added in v1.1.19

func (b *TBoundLabel) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TBoundLabel) SetOnDblClick added in v1.1.19

func (b *TBoundLabel) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TBoundLabel) SetOnDragDrop added in v1.1.19

func (b *TBoundLabel) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TBoundLabel) SetOnDragOver added in v1.1.19

func (b *TBoundLabel) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TBoundLabel) SetOnEndDrag added in v1.1.19

func (b *TBoundLabel) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TBoundLabel) SetOnMouseDown added in v1.1.19

func (b *TBoundLabel) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TBoundLabel) SetOnMouseMove added in v1.1.19

func (b *TBoundLabel) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TBoundLabel) SetOnMouseUp added in v1.1.19

func (b *TBoundLabel) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TBoundLabel) SetParent added in v1.1.19

func (b *TBoundLabel) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TBoundLabel) SetParentColor added in v1.1.19

func (b *TBoundLabel) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TBoundLabel) SetParentFont added in v1.1.19

func (b *TBoundLabel) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TBoundLabel) SetParentShowHint added in v1.1.19

func (b *TBoundLabel) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TBoundLabel) SetPopupMenu added in v1.1.19

func (b *TBoundLabel) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: 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)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TBoundLabel) SetTag added in v1.1.19

func (b *TBoundLabel) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TBoundLabel) SetTextBuf added in v1.1.21

func (b *TBoundLabel) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TBoundLabel) SetVisible added in v1.1.19

func (b *TBoundLabel) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TBoundLabel) SetWidth added in v1.1.19

func (b *TBoundLabel) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TBoundLabel) SetWordWrap added in v1.1.19

func (b *TBoundLabel) SetWordWrap(value bool)

CN: 设置自动换行。 EN: Set Automatic line break.

func (*TBoundLabel) Show added in v1.1.19

func (b *TBoundLabel) Show()

CN: 显示控件。 EN: 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

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TBoundLabel) Tag added in v1.1.19

func (b *TBoundLabel) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TBoundLabel) ToString added in v1.1.19

func (b *TBoundLabel) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TBoundLabel) Top added in v1.1.19

func (b *TBoundLabel) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TBoundLabel) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TBoundLabel) Update added in v1.1.19

func (b *TBoundLabel) Update()

CN: 控件更新。 EN: Update.

func (*TBoundLabel) Visible added in v1.1.19

func (b *TBoundLabel) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TBoundLabel) Width added in v1.1.19

func (b *TBoundLabel) Width() int32

CN: 获取宽度。 EN: Get width.

func (*TBoundLabel) WordWrap added in v1.1.19

func (b *TBoundLabel) WordWrap() bool

CN: 获取自动换行。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func BrushFromInst

func BrushFromInst(inst uintptr) *TBrush

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsBrush.

func BrushFromObj

func BrushFromObj(obj IObject) *TBrush

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsBrush.

func BrushFromUnsafePointer added in v1.1.21

func BrushFromUnsafePointer(ptr unsafe.Pointer) *TBrush

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsBrush.

func NewBrush

func NewBrush() *TBrush

CN: 创建一个新的对象。 EN: Create a new object.

func (*TBrush) Assign

func (b *TBrush) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TBrush) ClassType added in v1.1.18

func (b *TBrush) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TBrush) Color

func (b *TBrush) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TBrush) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TBrush) Free

func (b *TBrush) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TBrush) GetHashCode

func (b *TBrush) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TBrush) GetNamePath

func (b *TBrush) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TBrush) Handle

func (b *TBrush) Handle() HBRUSH

CN: 获取控件句柄。 EN: Get Control handle.

func (*TBrush) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TBrush) Instance

func (b *TBrush) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TBrush) InstanceSize added in v1.1.18

func (b *TBrush) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TBrush) Is added in v1.2.10

func (b *TBrush) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TBrush) IsValid

func (b *TBrush) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TBrush) SetBitmap

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

func (*TBrush) SetColor

func (b *TBrush) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TBrush) SetHandle

func (b *TBrush) SetHandle(value HBRUSH)

CN: 设置控件句柄。 EN: Set Control handle.

func (*TBrush) SetOnChange

func (b *TBrush) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TBrush) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ButtonFromInst

func ButtonFromInst(inst uintptr) *TButton

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsButton.

func ButtonFromObj

func ButtonFromObj(obj IObject) *TButton

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsButton.

func ButtonFromUnsafePointer added in v1.1.21

func ButtonFromUnsafePointer(ptr unsafe.Pointer) *TButton

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsButton.

func NewButton

func NewButton(owner IComponent) *TButton

CN: 创建一个新的对象。 EN: Create a new object.

func (*TButton) Action

func (b *TButton) Action() *TAction

func (*TButton) Align

func (b *TButton) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TButton) AnchorParallel

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

func (*TButton) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TButton) AnchorSideBottom

func (b *TButton) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TButton) AnchorSideLeft

func (b *TButton) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TButton) AnchorSideRight

func (b *TButton) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TButton) AnchorSideTop

func (b *TButton) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TButton) AnchorToNeighbour

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

func (*TButton) AnchorVerticalCenterTo

func (b *TButton) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TButton) Anchors

func (b *TButton) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TButton) Assign

func (b *TButton) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TButton) BiDiMode

func (b *TButton) BiDiMode() TBiDiMode

func (*TButton) BorderSpacing

func (b *TButton) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TButton) BoundsRect

func (b *TButton) BoundsRect() TRect

func (*TButton) BringToFront

func (b *TButton) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TButton) Brush

func (b *TButton) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TButton) CanFocus

func (b *TButton) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TButton) Cancel

func (b *TButton) Cancel() bool

func (*TButton) Caption

func (b *TButton) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TButton) ChildSizing

func (b *TButton) ChildSizing() *TControlChildSizing

func (*TButton) ClassName

func (b *TButton) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TButton) ClassType added in v1.1.18

func (b *TButton) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TButton) Click

func (b *TButton) Click()

CN: 单击。 EN: .

func (*TButton) ClientHeight

func (b *TButton) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TButton) ClientOrigin added in v1.1.21

func (b *TButton) ClientOrigin() TPoint

func (*TButton) ClientRect

func (b *TButton) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TButton) ClientToParent

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TButton) ClientToScreen

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TButton) ClientWidth

func (b *TButton) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TButton) ComponentCount

func (b *TButton) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TButton) ComponentIndex

func (b *TButton) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TButton) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TButton) Constraints added in v1.2.7

func (b *TButton) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TButton) ContainsControl added in v1.1.21

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

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TButton) ControlCount

func (b *TButton) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TButton) ControlState added in v1.1.21

func (b *TButton) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TButton) ControlStyle added in v1.1.21

func (b *TButton) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TButton) Controls

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

CN: 获取指定索引子控件。 EN: .

func (*TButton) Cursor

func (b *TButton) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TButton) Default

func (b *TButton) Default() bool

func (*TButton) DisableAlign added in v1.1.21

func (b *TButton) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TButton) DockClientCount added in v1.1.21

func (b *TButton) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TButton) DockClients added in v1.1.21

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

CN: 获取指定索引停靠客户端。 EN: .

func (*TButton) DockSite

func (b *TButton) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TButton) DoubleBuffered

func (b *TButton) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TButton) DragCursor

func (b *TButton) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TButton) DragKind

func (b *TButton) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TButton) DragMode

func (b *TButton) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TButton) Dragging

func (b *TButton) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TButton) EnableAlign added in v1.1.21

func (b *TButton) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TButton) Enabled

func (b *TButton) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TButton) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TButton) FindChildControl added in v1.1.21

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

CN: 查找子控件。 EN: Find sub controls.

func (*TButton) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TButton) Font

func (b *TButton) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TButton) Free

func (b *TButton) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TButton) GetHashCode

func (b *TButton) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TButton) GetNamePath

func (b *TButton) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TButton) GetTextBuf

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TButton) GetTextLen

func (b *TButton) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TButton) Handle

func (b *TButton) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TButton) HandleAllocated

func (b *TButton) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TButton) HasParent

func (b *TButton) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TButton) Height

func (b *TButton) Height() int32

CN: 获取高度。 EN: Get height.

func (*TButton) Hide

func (b *TButton) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TButton) Hint

func (b *TButton) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TButton) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TButton) InsertControl added in v1.1.21

func (b *TButton) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TButton) Instance

func (b *TButton) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TButton) InstanceSize added in v1.1.18

func (b *TButton) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TButton) Invalidate

func (b *TButton) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TButton) Is added in v1.2.10

func (b *TButton) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TButton) IsValid

func (b *TButton) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TButton) Left

func (b *TButton) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TButton) ModalResult

func (b *TButton) ModalResult() TModalResult

CN: 获取模态对话框显示结果。 EN: .

func (*TButton) MouseInClient added in v1.1.21

func (b *TButton) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TButton) Name

func (b *TButton) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TButton) Owner

func (b *TButton) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TButton) Parent

func (b *TButton) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TButton) ParentDoubleBuffered

func (b *TButton) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TButton) ParentFont

func (b *TButton) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TButton) ParentShowHint

func (b *TButton) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TButton) ParentToClient

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

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TButton) ParentWindow

func (b *TButton) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TButton) Perform

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

CN: 发送一个消息。 EN: Send a message.

func (*TButton) PopupMenu

func (b *TButton) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TButton) Realign

func (b *TButton) Realign()

CN: 重新对齐。 EN: Realign.

func (*TButton) Refresh

func (b *TButton) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TButton) RemoveControl added in v1.1.21

func (b *TButton) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TButton) Repaint

func (b *TButton) Repaint()

CN: 重绘。 EN: Repaint.

func (*TButton) ScaleBy

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

CN: 按比例缩放。 EN: Scale by.

func (*TButton) ScreenToClient

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TButton) ScrollBy added in v1.1.21

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

CN: 滚动至指定位置。 EN: Scroll by.

func (*TButton) SendToBack

func (b *TButton) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TButton) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TButton) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TButton) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TButton) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TButton) SetAnchors

func (b *TButton) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TButton) SetBiDiMode

func (b *TButton) SetBiDiMode(value TBiDiMode)

func (*TButton) SetBorderSpacing

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

CN: 设置边框间距。 EN: .

func (*TButton) SetBounds

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

CN: 设置组件边界。 EN: 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)

CN: 设置控件标题。 EN: Set the control title.

func (*TButton) SetChildSizing

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

func (*TButton) SetClientHeight

func (b *TButton) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TButton) SetClientWidth

func (b *TButton) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TButton) SetComponentIndex

func (b *TButton) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TButton) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TButton) SetControlState added in v1.1.21

func (b *TButton) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TButton) SetControlStyle added in v1.1.21

func (b *TButton) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TButton) SetCursor

func (b *TButton) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TButton) SetDefault

func (b *TButton) SetDefault(value bool)

func (*TButton) SetDockSite

func (b *TButton) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TButton) SetDoubleBuffered

func (b *TButton) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TButton) SetDragCursor

func (b *TButton) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TButton) SetDragKind

func (b *TButton) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TButton) SetDragMode

func (b *TButton) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TButton) SetEnabled

func (b *TButton) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TButton) SetFocus

func (b *TButton) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TButton) SetFont

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

CN: 设置字体。 EN: Set Font.

func (*TButton) SetHeight

func (b *TButton) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TButton) SetHint

func (b *TButton) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TButton) SetLeft

func (b *TButton) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TButton) SetModalResult

func (b *TButton) SetModalResult(value TModalResult)

CN: 设置模态对话框显示结果。 EN: .

func (*TButton) SetName

func (b *TButton) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TButton) SetOnClick

func (b *TButton) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TButton) SetOnContextPopup

func (b *TButton) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TButton) SetOnDragDrop

func (b *TButton) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TButton) SetOnDragOver

func (b *TButton) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TButton) SetOnEndDrag

func (b *TButton) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TButton) SetOnEnter

func (b *TButton) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TButton) SetOnExit

func (b *TButton) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TButton) SetOnKeyDown

func (b *TButton) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TButton) SetOnKeyPress

func (b *TButton) SetOnKeyPress(fn TKeyPressEvent)

func (*TButton) SetOnKeyUp

func (b *TButton) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TButton) SetOnMouseDown

func (b *TButton) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TButton) SetOnMouseEnter

func (b *TButton) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TButton) SetOnMouseLeave

func (b *TButton) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TButton) SetOnMouseMove

func (b *TButton) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TButton) SetOnMouseUp

func (b *TButton) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TButton) SetParent

func (b *TButton) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TButton) SetParentDoubleBuffered

func (b *TButton) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TButton) SetParentFont

func (b *TButton) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TButton) SetParentShowHint

func (b *TButton) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TButton) SetParentWindow

func (b *TButton) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TButton) SetPopupMenu

func (b *TButton) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TButton) SetShowHint

func (b *TButton) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TButton) SetTabOrder

func (b *TButton) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TButton) SetTabStop

func (b *TButton) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TButton) SetTag

func (b *TButton) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TButton) SetTextBuf added in v1.1.21

func (b *TButton) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TButton) SetTop

func (b *TButton) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TButton) SetUseDockManager

func (b *TButton) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TButton) SetVisible

func (b *TButton) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TButton) SetWidth

func (b *TButton) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TButton) Show

func (b *TButton) Show()

CN: 显示控件。 EN: Show control.

func (*TButton) ShowHint

func (b *TButton) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TButton) TabOrder

func (b *TButton) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TButton) TabStop

func (b *TButton) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TButton) Tag

func (b *TButton) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TButton) ToString

func (b *TButton) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TButton) Top

func (b *TButton) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TButton) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TButton) Update

func (b *TButton) Update()

CN: 控件更新。 EN: Update.

func (*TButton) UseDockManager

func (b *TButton) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TButton) Visible

func (b *TButton) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TButton) VisibleDockClientCount added in v1.1.21

func (b *TButton) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TButton) Width

func (b *TButton) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func CanvasFromInst

func CanvasFromInst(inst uintptr) *TCanvas

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsCanvas.

func CanvasFromObj

func CanvasFromObj(obj IObject) *TCanvas

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsCanvas.

func CanvasFromUnsafePointer added in v1.1.21

func CanvasFromUnsafePointer(ptr unsafe.Pointer) *TCanvas

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCanvas.

func NewCanvas

func NewCanvas() *TCanvas

CN: 创建一个新的对象。 EN: 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)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TCanvas) Brush

func (c *TCanvas) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TCanvas) BrushCopy

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

画刷复制

func (*TCanvas) Chord

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

func (*TCanvas) ClassName

func (c *TCanvas) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TCanvas) ClassType added in v1.1.18

func (c *TCanvas) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TCanvas) CopyMode

func (c *TCanvas) CopyMode() int32

func (*TCanvas) CopyRect

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

复制矩形

func (*TCanvas) Draw

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

绘制graphic对象

func (*TCanvas) Draw2

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

绘制graphic对象,opacity透明度

func (*TCanvas) DrawFocusRect

func (c *TCanvas) DrawFocusRect(aRect TRect)

画焦点矩形

func (*TCanvas) Ellipse

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

func (*TCanvas) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TCanvas) FillRect

func (c *TCanvas) FillRect(aRect TRect)

填充矩形

func (*TCanvas) FloodFill

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

func (*TCanvas) Font

func (c *TCanvas) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TCanvas) FrameRect

func (c *TCanvas) FrameRect(aRect TRect)

绘制边框

func (*TCanvas) Free

func (c *TCanvas) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TCanvas) GetHashCode

func (c *TCanvas) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TCanvas) GetNamePath

func (c *TCanvas) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TCanvas) Handle

func (c *TCanvas) Handle() HDC

CN: 获取控件句柄。 EN: Get Control handle.

func (*TCanvas) HandleAllocated

func (c *TCanvas) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TCanvas) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TCanvas) Instance

func (c *TCanvas) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TCanvas) InstanceSize added in v1.1.18

func (c *TCanvas) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TCanvas) Is added in v1.2.10

func (c *TCanvas) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TCanvas) IsValid

func (c *TCanvas) IsValid() bool

CN: 检测地址是否为空。 EN: 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, y int32) TColor

CN: 获取指定位置的颜色 EN: Get the color at the specified position

func (*TCanvas) PolyBezier added in v1.2.8

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

多边形贝塞尔曲线

func (*TCanvas) PolyBezierTo added in v1.2.8

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

仅libvcl

func (*TCanvas) Polygon added in v1.2.8

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

填充多边形

func (*TCanvas) Polyline added in v1.2.8

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

画多边形,不填充

func (*TCanvas) Rectangle

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

func (*TCanvas) Refresh

func (c *TCanvas) Refresh()

CN: 刷新控件。 EN: 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)

CN: 设置画刷对象。 EN: Set Brush.

func (*TCanvas) SetCopyMode

func (c *TCanvas) SetCopyMode(value int32)

func (*TCanvas) SetFont

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

CN: 设置字体。 EN: Set Font.

func (*TCanvas) SetHandle

func (c *TCanvas) SetHandle(value HDC)

CN: 设置控件句柄。 EN: Set Control handle.

func (*TCanvas) SetOnChange

func (c *TCanvas) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: 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, y int32, value TColor)

CN: 设置指定位置的颜色。 EN: Set the color at the specified position.

func (*TCanvas) StretchDraw

func (c *TCanvas) StretchDraw(aRect TRect, graphic IObject)

拉伸绘制

func (*TCanvas) TextExtent

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

func (*TCanvas) TextHeight

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

func (*TCanvas) TextOut

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

func (*TCanvas) TextRect

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

在矩形内绘制文字

func (*TCanvas) TextRect2

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

在矩形内绘制文字

func (*TCanvas) TextRect3 added in v1.2.1

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

在矩形内绘制文字

func (*TCanvas) TextWidth

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

func (*TCanvas) ToString

func (c *TCanvas) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TCanvas) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func CheckBoxFromInst

func CheckBoxFromInst(inst uintptr) *TCheckBox

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsCheckBox.

func CheckBoxFromObj

func CheckBoxFromObj(obj IObject) *TCheckBox

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsCheckBox.

func CheckBoxFromUnsafePointer added in v1.1.21

func CheckBoxFromUnsafePointer(ptr unsafe.Pointer) *TCheckBox

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCheckBox.

func NewCheckBox

func NewCheckBox(owner IComponent) *TCheckBox

CN: 创建一个新的对象。 EN: Create a new object.

func (*TCheckBox) Action

func (c *TCheckBox) Action() *TAction

func (*TCheckBox) Align

func (c *TCheckBox) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TCheckBox) Alignment

func (c *TCheckBox) Alignment() TLeftRight

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TCheckBox) AnchorParallel

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

func (*TCheckBox) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TCheckBox) AnchorSideBottom

func (c *TCheckBox) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TCheckBox) AnchorSideLeft

func (c *TCheckBox) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TCheckBox) AnchorSideRight

func (c *TCheckBox) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TCheckBox) AnchorSideTop

func (c *TCheckBox) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TCheckBox) AnchorToNeighbour

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

func (*TCheckBox) AnchorVerticalCenterTo

func (c *TCheckBox) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TCheckBox) Anchors

func (c *TCheckBox) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TCheckBox) Assign

func (c *TCheckBox) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TCheckBox) BiDiMode

func (c *TCheckBox) BiDiMode() TBiDiMode

func (*TCheckBox) BorderSpacing

func (c *TCheckBox) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TCheckBox) BoundsRect

func (c *TCheckBox) BoundsRect() TRect

func (*TCheckBox) BringToFront

func (c *TCheckBox) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TCheckBox) Brush

func (c *TCheckBox) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TCheckBox) CanFocus

func (c *TCheckBox) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TCheckBox) Caption

func (c *TCheckBox) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TCheckBox) Checked

func (c *TCheckBox) Checked() bool

CN: 获取是否选中。 EN: .

func (*TCheckBox) ChildSizing

func (c *TCheckBox) ChildSizing() *TControlChildSizing

func (*TCheckBox) ClassName

func (c *TCheckBox) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TCheckBox) ClassType added in v1.1.18

func (c *TCheckBox) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TCheckBox) ClientHeight

func (c *TCheckBox) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TCheckBox) ClientOrigin added in v1.1.21

func (c *TCheckBox) ClientOrigin() TPoint

func (*TCheckBox) ClientRect

func (c *TCheckBox) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TCheckBox) ClientToParent

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TCheckBox) ClientToScreen

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TCheckBox) ClientWidth

func (c *TCheckBox) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TCheckBox) Color

func (c *TCheckBox) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TCheckBox) ComponentCount

func (c *TCheckBox) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TCheckBox) ComponentIndex

func (c *TCheckBox) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TCheckBox) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TCheckBox) Constraints added in v1.2.7

func (c *TCheckBox) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TCheckBox) ContainsControl added in v1.1.21

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

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TCheckBox) ControlCount

func (c *TCheckBox) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TCheckBox) ControlState added in v1.1.21

func (c *TCheckBox) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TCheckBox) ControlStyle added in v1.1.21

func (c *TCheckBox) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TCheckBox) Controls

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

CN: 获取指定索引子控件。 EN: .

func (*TCheckBox) Cursor

func (c *TCheckBox) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TCheckBox) DisableAlign added in v1.1.21

func (c *TCheckBox) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TCheckBox) DockClientCount added in v1.1.21

func (c *TCheckBox) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TCheckBox) DockClients added in v1.1.21

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

CN: 获取指定索引停靠客户端。 EN: .

func (*TCheckBox) DockSite

func (c *TCheckBox) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TCheckBox) DoubleBuffered

func (c *TCheckBox) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TCheckBox) DragCursor

func (c *TCheckBox) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TCheckBox) DragKind

func (c *TCheckBox) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TCheckBox) DragMode

func (c *TCheckBox) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TCheckBox) Dragging

func (c *TCheckBox) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TCheckBox) EnableAlign added in v1.1.21

func (c *TCheckBox) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TCheckBox) Enabled

func (c *TCheckBox) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TCheckBox) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TCheckBox) FindChildControl added in v1.1.21

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

CN: 查找子控件。 EN: Find sub controls.

func (*TCheckBox) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TCheckBox) Font

func (c *TCheckBox) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TCheckBox) Free

func (c *TCheckBox) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TCheckBox) GetHashCode

func (c *TCheckBox) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TCheckBox) GetNamePath

func (c *TCheckBox) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TCheckBox) GetTextBuf

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TCheckBox) GetTextLen

func (c *TCheckBox) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TCheckBox) Handle

func (c *TCheckBox) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TCheckBox) HandleAllocated

func (c *TCheckBox) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TCheckBox) HasParent

func (c *TCheckBox) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TCheckBox) Height

func (c *TCheckBox) Height() int32

CN: 获取高度。 EN: Get height.

func (*TCheckBox) Hide

func (c *TCheckBox) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TCheckBox) Hint

func (c *TCheckBox) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TCheckBox) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TCheckBox) InsertControl added in v1.1.21

func (c *TCheckBox) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TCheckBox) Instance

func (c *TCheckBox) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TCheckBox) InstanceSize added in v1.1.18

func (c *TCheckBox) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TCheckBox) Invalidate

func (c *TCheckBox) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TCheckBox) Is added in v1.2.10

func (c *TCheckBox) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TCheckBox) IsValid

func (c *TCheckBox) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TCheckBox) Left

func (c *TCheckBox) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TCheckBox) MouseInClient added in v1.1.21

func (c *TCheckBox) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TCheckBox) Name

func (c *TCheckBox) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TCheckBox) Owner

func (c *TCheckBox) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TCheckBox) Parent

func (c *TCheckBox) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TCheckBox) ParentColor

func (c *TCheckBox) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TCheckBox) ParentDoubleBuffered

func (c *TCheckBox) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TCheckBox) ParentFont

func (c *TCheckBox) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TCheckBox) ParentShowHint

func (c *TCheckBox) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TCheckBox) ParentToClient

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

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TCheckBox) ParentWindow

func (c *TCheckBox) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TCheckBox) Perform

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

CN: 发送一个消息。 EN: Send a message.

func (*TCheckBox) PopupMenu

func (c *TCheckBox) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TCheckBox) Realign

func (c *TCheckBox) Realign()

CN: 重新对齐。 EN: Realign.

func (*TCheckBox) Refresh

func (c *TCheckBox) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TCheckBox) RemoveControl added in v1.1.21

func (c *TCheckBox) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TCheckBox) Repaint

func (c *TCheckBox) Repaint()

CN: 重绘。 EN: Repaint.

func (*TCheckBox) ScaleBy

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

CN: 按比例缩放。 EN: Scale by.

func (*TCheckBox) ScreenToClient

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TCheckBox) ScrollBy added in v1.1.21

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

CN: 滚动至指定位置。 EN: Scroll by.

func (*TCheckBox) SendToBack

func (c *TCheckBox) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TCheckBox) SetAlignment

func (c *TCheckBox) SetAlignment(value TLeftRight)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TCheckBox) SetAllowGrayed

func (c *TCheckBox) SetAllowGrayed(value bool)

func (*TCheckBox) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TCheckBox) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TCheckBox) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TCheckBox) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TCheckBox) SetAnchors

func (c *TCheckBox) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TCheckBox) SetBiDiMode

func (c *TCheckBox) SetBiDiMode(value TBiDiMode)

func (*TCheckBox) SetBorderSpacing

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

CN: 设置边框间距。 EN: .

func (*TCheckBox) SetBounds

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

CN: 设置组件边界。 EN: Set component boundaries.

func (*TCheckBox) SetBoundsRect

func (c *TCheckBox) SetBoundsRect(value TRect)

func (*TCheckBox) SetCaption

func (c *TCheckBox) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TCheckBox) SetChecked

func (c *TCheckBox) SetChecked(value bool)

CN: 设置是否选中。 EN: .

func (*TCheckBox) SetChildSizing

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

func (*TCheckBox) SetClientHeight

func (c *TCheckBox) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TCheckBox) SetClientWidth

func (c *TCheckBox) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TCheckBox) SetColor

func (c *TCheckBox) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TCheckBox) SetComponentIndex

func (c *TCheckBox) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TCheckBox) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TCheckBox) SetControlState added in v1.1.21

func (c *TCheckBox) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TCheckBox) SetControlStyle added in v1.1.21

func (c *TCheckBox) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TCheckBox) SetCursor

func (c *TCheckBox) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TCheckBox) SetDockSite

func (c *TCheckBox) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TCheckBox) SetDoubleBuffered

func (c *TCheckBox) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TCheckBox) SetDragCursor

func (c *TCheckBox) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TCheckBox) SetDragKind

func (c *TCheckBox) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TCheckBox) SetDragMode

func (c *TCheckBox) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TCheckBox) SetEnabled

func (c *TCheckBox) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TCheckBox) SetFocus

func (c *TCheckBox) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TCheckBox) SetFont

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

CN: 设置字体。 EN: Set Font.

func (*TCheckBox) SetHeight

func (c *TCheckBox) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TCheckBox) SetHint

func (c *TCheckBox) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TCheckBox) SetLeft

func (c *TCheckBox) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TCheckBox) SetName

func (c *TCheckBox) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TCheckBox) SetOnClick

func (c *TCheckBox) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TCheckBox) SetOnContextPopup

func (c *TCheckBox) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TCheckBox) SetOnDragDrop

func (c *TCheckBox) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TCheckBox) SetOnDragOver

func (c *TCheckBox) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TCheckBox) SetOnEndDrag

func (c *TCheckBox) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TCheckBox) SetOnEnter

func (c *TCheckBox) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TCheckBox) SetOnExit

func (c *TCheckBox) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TCheckBox) SetOnKeyDown

func (c *TCheckBox) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TCheckBox) SetOnKeyPress

func (c *TCheckBox) SetOnKeyPress(fn TKeyPressEvent)

func (*TCheckBox) SetOnKeyUp

func (c *TCheckBox) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TCheckBox) SetOnMouseDown

func (c *TCheckBox) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TCheckBox) SetOnMouseEnter

func (c *TCheckBox) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TCheckBox) SetOnMouseLeave

func (c *TCheckBox) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TCheckBox) SetOnMouseMove

func (c *TCheckBox) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TCheckBox) SetOnMouseUp

func (c *TCheckBox) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TCheckBox) SetParent

func (c *TCheckBox) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TCheckBox) SetParentColor

func (c *TCheckBox) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TCheckBox) SetParentDoubleBuffered

func (c *TCheckBox) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TCheckBox) SetParentFont

func (c *TCheckBox) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TCheckBox) SetParentShowHint

func (c *TCheckBox) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TCheckBox) SetParentWindow

func (c *TCheckBox) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TCheckBox) SetPopupMenu

func (c *TCheckBox) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TCheckBox) SetShowHint

func (c *TCheckBox) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TCheckBox) SetState

func (c *TCheckBox) SetState(value TCheckBoxState)

func (*TCheckBox) SetTabOrder

func (c *TCheckBox) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TCheckBox) SetTabStop

func (c *TCheckBox) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TCheckBox) SetTag

func (c *TCheckBox) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TCheckBox) SetTextBuf added in v1.1.21

func (c *TCheckBox) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TCheckBox) SetTop

func (c *TCheckBox) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TCheckBox) SetUseDockManager

func (c *TCheckBox) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TCheckBox) SetVisible

func (c *TCheckBox) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TCheckBox) SetWidth

func (c *TCheckBox) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TCheckBox) Show

func (c *TCheckBox) Show()

CN: 显示控件。 EN: Show control.

func (*TCheckBox) ShowHint

func (c *TCheckBox) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TCheckBox) State

func (c *TCheckBox) State() TCheckBoxState

func (*TCheckBox) TabOrder

func (c *TCheckBox) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TCheckBox) TabStop

func (c *TCheckBox) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TCheckBox) Tag

func (c *TCheckBox) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TCheckBox) ToString

func (c *TCheckBox) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TCheckBox) Top

func (c *TCheckBox) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TCheckBox) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TCheckBox) Update

func (c *TCheckBox) Update()

CN: 控件更新。 EN: Update.

func (*TCheckBox) UseDockManager

func (c *TCheckBox) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TCheckBox) Visible

func (c *TCheckBox) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TCheckBox) VisibleDockClientCount added in v1.1.21

func (c *TCheckBox) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TCheckBox) Width

func (c *TCheckBox) Width() int32

CN: 获取宽度。 EN: Get width.

type TCheckListBox

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

func AsCheckListBox added in v1.2.10

func AsCheckListBox(obj interface{}) *TCheckListBox

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func CheckListBoxFromInst

func CheckListBoxFromInst(inst uintptr) *TCheckListBox

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsCheckListBox.

func CheckListBoxFromObj

func CheckListBoxFromObj(obj IObject) *TCheckListBox

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsCheckListBox.

func CheckListBoxFromUnsafePointer added in v1.1.21

func CheckListBoxFromUnsafePointer(ptr unsafe.Pointer) *TCheckListBox

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCheckListBox.

func NewCheckListBox

func NewCheckListBox(owner IComponent) *TCheckListBox

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TCheckListBox) AnchorParallel

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

func (*TCheckListBox) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TCheckListBox) AnchorSideBottom

func (c *TCheckListBox) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TCheckListBox) AnchorSideLeft

func (c *TCheckListBox) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TCheckListBox) AnchorSideRight

func (c *TCheckListBox) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TCheckListBox) AnchorSideTop

func (c *TCheckListBox) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TCheckListBox) AnchorToNeighbour

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

func (*TCheckListBox) AnchorVerticalCenterTo

func (c *TCheckListBox) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TCheckListBox) Anchors

func (c *TCheckListBox) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TCheckListBox) Assign

func (c *TCheckListBox) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TCheckListBox) BiDiMode

func (c *TCheckListBox) BiDiMode() TBiDiMode

func (*TCheckListBox) BorderSpacing

func (c *TCheckListBox) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TCheckListBox) BorderStyle

func (c *TCheckListBox) BorderStyle() TBorderStyle

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

func (*TCheckListBox) BoundsRect

func (c *TCheckListBox) BoundsRect() TRect

func (*TCheckListBox) BringToFront

func (c *TCheckListBox) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TCheckListBox) Brush

func (c *TCheckListBox) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TCheckListBox) CanFocus

func (c *TCheckListBox) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TCheckListBox) Canvas

func (c *TCheckListBox) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TCheckListBox) CheckAll

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

func (*TCheckListBox) Checked

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

CN: 获取是否选中。 EN: .

func (*TCheckListBox) ChildSizing

func (c *TCheckListBox) ChildSizing() *TControlChildSizing

func (*TCheckListBox) ClassName

func (c *TCheckListBox) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TCheckListBox) ClassType added in v1.1.18

func (c *TCheckListBox) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TCheckListBox) Clear

func (c *TCheckListBox) Clear()

CN: 清除。 EN: .

func (*TCheckListBox) ClearSelection

func (c *TCheckListBox) ClearSelection()

CN: 清除选择。 EN: .

func (*TCheckListBox) ClientHeight

func (c *TCheckListBox) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TCheckListBox) ClientOrigin added in v1.1.21

func (c *TCheckListBox) ClientOrigin() TPoint

func (*TCheckListBox) ClientRect

func (c *TCheckListBox) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TCheckListBox) ClientToParent

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TCheckListBox) ClientToScreen

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TCheckListBox) ClientWidth

func (c *TCheckListBox) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TCheckListBox) Color

func (c *TCheckListBox) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TCheckListBox) Columns

func (c *TCheckListBox) Columns() int32

func (*TCheckListBox) ComponentCount

func (c *TCheckListBox) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TCheckListBox) ComponentIndex

func (c *TCheckListBox) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TCheckListBox) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TCheckListBox) Constraints added in v1.2.7

func (c *TCheckListBox) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TCheckListBox) ContainsControl added in v1.1.21

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

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TCheckListBox) ControlCount

func (c *TCheckListBox) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TCheckListBox) ControlState added in v1.1.21

func (c *TCheckListBox) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TCheckListBox) ControlStyle added in v1.1.21

func (c *TCheckListBox) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TCheckListBox) Controls

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

CN: 获取指定索引子控件。 EN: .

func (*TCheckListBox) Count

func (c *TCheckListBox) Count() int32

func (*TCheckListBox) Cursor

func (c *TCheckListBox) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TCheckListBox) DeleteSelected

func (c *TCheckListBox) DeleteSelected()

func (*TCheckListBox) DisableAlign added in v1.1.21

func (c *TCheckListBox) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TCheckListBox) DockClientCount added in v1.1.21

func (c *TCheckListBox) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TCheckListBox) DockClients added in v1.1.21

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

CN: 获取指定索引停靠客户端。 EN: .

func (*TCheckListBox) DockSite

func (c *TCheckListBox) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TCheckListBox) DoubleBuffered

func (c *TCheckListBox) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TCheckListBox) DragCursor

func (c *TCheckListBox) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TCheckListBox) DragMode

func (c *TCheckListBox) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TCheckListBox) Dragging

func (c *TCheckListBox) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TCheckListBox) EnableAlign added in v1.1.21

func (c *TCheckListBox) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TCheckListBox) Enabled

func (c *TCheckListBox) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TCheckListBox) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TCheckListBox) FindChildControl added in v1.1.21

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

CN: 查找子控件。 EN: Find sub controls.

func (*TCheckListBox) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TCheckListBox) Font

func (c *TCheckListBox) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TCheckListBox) Free

func (c *TCheckListBox) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TCheckListBox) GetHashCode

func (c *TCheckListBox) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TCheckListBox) GetNamePath

func (c *TCheckListBox) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TCheckListBox) GetTextBuf

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TCheckListBox) GetTextLen

func (c *TCheckListBox) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TCheckListBox) Handle

func (c *TCheckListBox) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TCheckListBox) HandleAllocated

func (c *TCheckListBox) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TCheckListBox) HasParent

func (c *TCheckListBox) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TCheckListBox) Header

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

func (*TCheckListBox) Height

func (c *TCheckListBox) Height() int32

CN: 获取高度。 EN: Get height.

func (*TCheckListBox) Hide

func (c *TCheckListBox) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TCheckListBox) Hint

func (c *TCheckListBox) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TCheckListBox) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TCheckListBox) InsertControl added in v1.1.21

func (c *TCheckListBox) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TCheckListBox) Instance

func (c *TCheckListBox) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TCheckListBox) InstanceSize added in v1.1.18

func (c *TCheckListBox) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TCheckListBox) Invalidate

func (c *TCheckListBox) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TCheckListBox) Is added in v1.2.10

func (c *TCheckListBox) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TCheckListBox) IsValid

func (c *TCheckListBox) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取左边位置。 EN: Get Left position.

func (*TCheckListBox) MouseInClient added in v1.1.21

func (c *TCheckListBox) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TCheckListBox) Owner

func (c *TCheckListBox) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TCheckListBox) Parent

func (c *TCheckListBox) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TCheckListBox) ParentColor

func (c *TCheckListBox) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TCheckListBox) ParentDoubleBuffered

func (c *TCheckListBox) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TCheckListBox) ParentFont

func (c *TCheckListBox) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TCheckListBox) ParentShowHint

func (c *TCheckListBox) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TCheckListBox) ParentToClient

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

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TCheckListBox) ParentWindow

func (c *TCheckListBox) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TCheckListBox) Perform

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

CN: 发送一个消息。 EN: Send a message.

func (*TCheckListBox) PopupMenu

func (c *TCheckListBox) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TCheckListBox) Realign

func (c *TCheckListBox) Realign()

CN: 重新对齐。 EN: Realign.

func (*TCheckListBox) Refresh

func (c *TCheckListBox) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TCheckListBox) RemoveControl added in v1.1.21

func (c *TCheckListBox) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TCheckListBox) Repaint

func (c *TCheckListBox) Repaint()

CN: 重绘。 EN: Repaint.

func (*TCheckListBox) ScaleBy

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

CN: 按比例缩放。 EN: Scale by.

func (*TCheckListBox) ScreenToClient

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TCheckListBox) ScrollBy added in v1.1.21

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

CN: 滚动至指定位置。 EN: Scroll by.

func (*TCheckListBox) SelCount

func (c *TCheckListBox) SelCount() int32

func (*TCheckListBox) SelectAll

func (c *TCheckListBox) SelectAll()

CN: 全选。 EN: .

func (*TCheckListBox) Selected

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

func (*TCheckListBox) SendToBack

func (c *TCheckListBox) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TCheckListBox) SetAllowGrayed

func (c *TCheckListBox) SetAllowGrayed(value bool)

func (*TCheckListBox) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TCheckListBox) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TCheckListBox) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TCheckListBox) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TCheckListBox) SetAnchors

func (c *TCheckListBox) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TCheckListBox) SetBiDiMode

func (c *TCheckListBox) SetBiDiMode(value TBiDiMode)

func (*TCheckListBox) SetBorderSpacing

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

CN: 设置边框间距。 EN: .

func (*TCheckListBox) SetBorderStyle

func (c *TCheckListBox) SetBorderStyle(value TBorderStyle)

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

func (*TCheckListBox) SetBounds

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

CN: 设置组件边界。 EN: Set component boundaries.

func (*TCheckListBox) SetBoundsRect

func (c *TCheckListBox) SetBoundsRect(value TRect)

func (*TCheckListBox) SetChecked

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

CN: 设置是否选中。 EN: .

func (*TCheckListBox) SetChildSizing

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

func (*TCheckListBox) SetClientHeight

func (c *TCheckListBox) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TCheckListBox) SetClientWidth

func (c *TCheckListBox) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TCheckListBox) SetColor

func (c *TCheckListBox) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TCheckListBox) SetColumns

func (c *TCheckListBox) SetColumns(value int32)

func (*TCheckListBox) SetComponentIndex

func (c *TCheckListBox) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TCheckListBox) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TCheckListBox) SetControlState added in v1.1.21

func (c *TCheckListBox) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TCheckListBox) SetControlStyle added in v1.1.21

func (c *TCheckListBox) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TCheckListBox) SetCursor

func (c *TCheckListBox) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TCheckListBox) SetDockSite

func (c *TCheckListBox) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TCheckListBox) SetDoubleBuffered

func (c *TCheckListBox) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TCheckListBox) SetDragCursor

func (c *TCheckListBox) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TCheckListBox) SetDragMode

func (c *TCheckListBox) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TCheckListBox) SetEnabled

func (c *TCheckListBox) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TCheckListBox) SetFocus

func (c *TCheckListBox) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TCheckListBox) SetFont

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

CN: 设置字体。 EN: Set Font.

func (*TCheckListBox) SetHeader

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

func (*TCheckListBox) SetHeight

func (c *TCheckListBox) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TCheckListBox) SetHint

func (c *TCheckListBox) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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 IObject)

func (*TCheckListBox) SetLeft

func (c *TCheckListBox) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TCheckListBox) SetMultiSelect

func (c *TCheckListBox) SetMultiSelect(value bool)

func (*TCheckListBox) SetName

func (c *TCheckListBox) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TCheckListBox) SetOnClick

func (c *TCheckListBox) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TCheckListBox) SetOnClickCheck

func (c *TCheckListBox) SetOnClickCheck(fn TNotifyEvent)

func (*TCheckListBox) SetOnContextPopup

func (c *TCheckListBox) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TCheckListBox) SetOnDblClick

func (c *TCheckListBox) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TCheckListBox) SetOnDragDrop

func (c *TCheckListBox) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TCheckListBox) SetOnDragOver

func (c *TCheckListBox) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TCheckListBox) SetOnEndDrag

func (c *TCheckListBox) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TCheckListBox) SetOnEnter

func (c *TCheckListBox) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TCheckListBox) SetOnExit

func (c *TCheckListBox) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TCheckListBox) SetOnKeyDown

func (c *TCheckListBox) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TCheckListBox) SetOnKeyPress

func (c *TCheckListBox) SetOnKeyPress(fn TKeyPressEvent)

func (*TCheckListBox) SetOnKeyUp

func (c *TCheckListBox) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: 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)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TCheckListBox) SetOnMouseEnter

func (c *TCheckListBox) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TCheckListBox) SetOnMouseLeave

func (c *TCheckListBox) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TCheckListBox) SetOnMouseMove

func (c *TCheckListBox) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TCheckListBox) SetOnMouseUp

func (c *TCheckListBox) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TCheckListBox) SetParent

func (c *TCheckListBox) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TCheckListBox) SetParentColor

func (c *TCheckListBox) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TCheckListBox) SetParentDoubleBuffered

func (c *TCheckListBox) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TCheckListBox) SetParentFont

func (c *TCheckListBox) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TCheckListBox) SetParentShowHint

func (c *TCheckListBox) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TCheckListBox) SetParentWindow

func (c *TCheckListBox) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TCheckListBox) SetPopupMenu

func (c *TCheckListBox) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TCheckListBox) SetSelected

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

func (*TCheckListBox) SetShowHint

func (c *TCheckListBox) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: 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)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TCheckListBox) SetTabStop

func (c *TCheckListBox) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TCheckListBox) SetTag

func (c *TCheckListBox) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TCheckListBox) SetTextBuf added in v1.1.21

func (c *TCheckListBox) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TCheckListBox) SetTop

func (c *TCheckListBox) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TCheckListBox) SetTopIndex

func (c *TCheckListBox) SetTopIndex(value int32)

func (*TCheckListBox) SetUseDockManager

func (c *TCheckListBox) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TCheckListBox) SetVisible

func (c *TCheckListBox) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TCheckListBox) SetWidth

func (c *TCheckListBox) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TCheckListBox) Show

func (c *TCheckListBox) Show()

CN: 显示控件。 EN: Show control.

func (*TCheckListBox) ShowHint

func (c *TCheckListBox) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

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

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TCheckListBox) TabStop

func (c *TCheckListBox) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TCheckListBox) Tag

func (c *TCheckListBox) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TCheckListBox) ToString

func (c *TCheckListBox) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TCheckListBox) Top

func (c *TCheckListBox) Top() int32

CN: 获取顶边位置。 EN: 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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TCheckListBox) Update

func (c *TCheckListBox) Update()

CN: 控件更新。 EN: Update.

func (*TCheckListBox) UseDockManager

func (c *TCheckListBox) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TCheckListBox) Visible

func (c *TCheckListBox) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TCheckListBox) VisibleDockClientCount added in v1.1.21

func (c *TCheckListBox) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TCheckListBox) Width

func (c *TCheckListBox) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ClipboardFromInst

func ClipboardFromInst(inst uintptr) *TClipboard

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsClipboard.

func ClipboardFromObj

func ClipboardFromObj(obj IObject) *TClipboard

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsClipboard.

func ClipboardFromUnsafePointer added in v1.1.21

func ClipboardFromUnsafePointer(ptr unsafe.Pointer) *TClipboard

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsClipboard.

func NewClipboard

func NewClipboard() *TClipboard

CN: 创建一个新的对象。 EN: Create a new object.

func SetClipboard

func SetClipboard(newClipboard IObject) *TClipboard

func (*TClipboard) AsText

func (c *TClipboard) AsText() string

func (*TClipboard) Assign

func (c *TClipboard) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TClipboard) ClassName

func (c *TClipboard) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TClipboard) ClassType added in v1.1.18

func (c *TClipboard) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TClipboard) Clear

func (c *TClipboard) Clear()

CN: 清除。 EN: .

func (*TClipboard) Close

func (c *TClipboard) Close()

CN: 关闭。 EN: .

func (*TClipboard) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TClipboard) FormatCount

func (c *TClipboard) FormatCount() int32

func (*TClipboard) Formats

func (c *TClipboard) Formats(Index int32) uint16

func (*TClipboard) Free

func (c *TClipboard) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TClipboard) GetHashCode

func (c *TClipboard) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TClipboard) GetNamePath

func (c *TClipboard) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TClipboard) GetTextBuf

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TClipboard) HasFormat

func (c *TClipboard) HasFormat(Format uint16) bool

func (*TClipboard) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TClipboard) Instance

func (c *TClipboard) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TClipboard) InstanceSize added in v1.1.18

func (c *TClipboard) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TClipboard) Is added in v1.2.10

func (c *TClipboard) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TClipboard) IsValid

func (c *TClipboard) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TClipboard) Open

func (c *TClipboard) Open()

func (*TClipboard) SetAsText

func (c *TClipboard) SetAsText(value string)

func (*TClipboard) SetTextBuf added in v1.1.21

func (c *TClipboard) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TClipboard) ToString

func (c *TClipboard) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TClipboard) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TCloseEvent

type TCloseEvent func(sender IObject, action *TCloseAction) // Action *uintptr

TCloseEvent Form

type TCloseQueryEvent

type TCloseQueryEvent func(sender IObject, canClose *bool) //CanClose *uintptr

TCloseQueryEvent Form

type TCollection 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func CollectionFromInst added in v1.1.23

func CollectionFromInst(inst uintptr) *TCollection

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsCollection.

func CollectionFromObj added in v1.1.23

func CollectionFromObj(obj IObject) *TCollection

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsCollection.

func CollectionFromUnsafePointer added in v1.1.23

func CollectionFromUnsafePointer(ptr unsafe.Pointer) *TCollection

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCollection.

func NewCollection added in v1.1.23

func NewCollection(AOwner *TCollectionItem) *TCollection

CN: 创建一个新的对象。 EN: 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)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TCollection) ClassType added in v1.1.23

func (c *TCollection) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TCollection) Clear added in v1.1.23

func (c *TCollection) Clear()

CN: 清除。 EN: .

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

CN: 与一个对象进行比较。 EN: 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()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TCollection) GetHashCode added in v1.1.23

func (c *TCollection) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TCollection) GetNamePath added in v1.1.23

func (c *TCollection) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TCollection) InheritsFrom added in v1.1.23

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

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TCollection) InstanceSize added in v1.1.23

func (c *TCollection) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TCollection) Is added in v1.2.10

func (c *TCollection) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TCollection) IsValid added in v1.1.23

func (c *TCollection) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 组件所有者。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TCollection) UnsafeAddr added in v1.1.23

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

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func CollectionItemFromInst

func CollectionItemFromInst(inst uintptr) *TCollectionItem

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsCollectionItem.

func CollectionItemFromObj

func CollectionItemFromObj(obj IObject) *TCollectionItem

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsCollectionItem.

func CollectionItemFromUnsafePointer added in v1.1.21

func CollectionItemFromUnsafePointer(ptr unsafe.Pointer) *TCollectionItem

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCollectionItem.

func NewCollectionItem

func NewCollectionItem(AOwner *TCollection) *TCollectionItem

CN: 创建一个新的对象。 EN: Create a new object.

func (*TCollectionItem) Assign

func (c *TCollectionItem) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TCollectionItem) ClassName

func (c *TCollectionItem) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TCollectionItem) ClassType added in v1.1.18

func (c *TCollectionItem) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TCollectionItem) Free

func (c *TCollectionItem) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TCollectionItem) GetHashCode

func (c *TCollectionItem) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TCollectionItem) GetNamePath

func (c *TCollectionItem) GetNamePath() string

CN: 获取类名路径。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TCollectionItem) Instance

func (c *TCollectionItem) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TCollectionItem) InstanceSize added in v1.1.18

func (c *TCollectionItem) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TCollectionItem) Is added in v1.2.10

func (c *TCollectionItem) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TCollectionItem) IsValid

func (c *TCollectionItem) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TCollectionItem) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ColorBoxFromInst

func ColorBoxFromInst(inst uintptr) *TColorBox

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsColorBox.

func ColorBoxFromObj

func ColorBoxFromObj(obj IObject) *TColorBox

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsColorBox.

func ColorBoxFromUnsafePointer added in v1.1.21

func ColorBoxFromUnsafePointer(ptr unsafe.Pointer) *TColorBox

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsColorBox.

func NewColorBox

func NewColorBox(owner IComponent) *TColorBox

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TColorBox) AnchorParallel

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

func (*TColorBox) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TColorBox) AnchorSideBottom

func (c *TColorBox) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TColorBox) AnchorSideLeft

func (c *TColorBox) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TColorBox) AnchorSideRight

func (c *TColorBox) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TColorBox) AnchorSideTop

func (c *TColorBox) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TColorBox) AnchorToNeighbour

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

func (*TColorBox) AnchorVerticalCenterTo

func (c *TColorBox) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TColorBox) Anchors

func (c *TColorBox) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TColorBox) Assign

func (c *TColorBox) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

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

CN: 获取边框间距。 EN: .

func (*TColorBox) BoundsRect

func (c *TColorBox) BoundsRect() TRect

func (*TColorBox) BringToFront

func (c *TColorBox) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TColorBox) Brush

func (c *TColorBox) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TColorBox) CanFocus

func (c *TColorBox) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TColorBox) Canvas

func (c *TColorBox) Canvas() *TCanvas

CN: 获取画布。 EN: .

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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TColorBox) ClassType added in v1.1.18

func (c *TColorBox) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TColorBox) Clear

func (c *TColorBox) Clear()

CN: 清除。 EN: .

func (*TColorBox) ClearSelection

func (c *TColorBox) ClearSelection()

CN: 清除选择。 EN: .

func (*TColorBox) ClientHeight

func (c *TColorBox) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TColorBox) ClientOrigin added in v1.1.21

func (c *TColorBox) ClientOrigin() TPoint

func (*TColorBox) ClientRect

func (c *TColorBox) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TColorBox) ClientToParent

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TColorBox) ClientToScreen

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TColorBox) ClientWidth

func (c *TColorBox) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TColorBox) Color

func (c *TColorBox) Color() TColor

CN: 获取颜色。 EN: 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

CN: 获取组件总数。 EN: Get the total number of components.

func (*TColorBox) ComponentIndex

func (c *TColorBox) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TColorBox) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TColorBox) Constraints added in v1.2.7

func (c *TColorBox) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TColorBox) ContainsControl added in v1.1.21

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

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TColorBox) ControlCount

func (c *TColorBox) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TColorBox) ControlState added in v1.1.21

func (c *TColorBox) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TColorBox) ControlStyle added in v1.1.21

func (c *TColorBox) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TColorBox) Controls

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

CN: 获取指定索引子控件。 EN: .

func (*TColorBox) Cursor

func (c *TColorBox) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TColorBox) DefaultColorColor

func (c *TColorBox) DefaultColorColor() TColor

func (*TColorBox) DeleteSelected

func (c *TColorBox) DeleteSelected()

func (*TColorBox) DisableAlign added in v1.1.21

func (c *TColorBox) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TColorBox) DockClientCount added in v1.1.21

func (c *TColorBox) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TColorBox) DockClients added in v1.1.21

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

CN: 获取指定索引停靠客户端。 EN: .

func (*TColorBox) DockSite

func (c *TColorBox) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TColorBox) DoubleBuffered

func (c *TColorBox) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TColorBox) Dragging

func (c *TColorBox) Dragging() bool

CN: 是否在拖拽中。 EN: 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()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TColorBox) Enabled

func (c *TColorBox) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TColorBox) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TColorBox) FindChildControl added in v1.1.21

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

CN: 查找子控件。 EN: Find sub controls.

func (*TColorBox) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TColorBox) Font

func (c *TColorBox) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TColorBox) Free

func (c *TColorBox) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TColorBox) GetHashCode

func (c *TColorBox) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TColorBox) GetNamePath

func (c *TColorBox) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TColorBox) GetTextBuf

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TColorBox) GetTextLen

func (c *TColorBox) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TColorBox) Handle

func (c *TColorBox) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TColorBox) HandleAllocated

func (c *TColorBox) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TColorBox) HasParent

func (c *TColorBox) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TColorBox) Height

func (c *TColorBox) Height() int32

CN: 获取高度。 EN: Get height.

func (*TColorBox) Hide

func (c *TColorBox) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TColorBox) Hint

func (c *TColorBox) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TColorBox) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TColorBox) InsertControl added in v1.1.21

func (c *TColorBox) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TColorBox) Instance

func (c *TColorBox) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TColorBox) InstanceSize added in v1.1.18

func (c *TColorBox) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TColorBox) Invalidate

func (c *TColorBox) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TColorBox) Is added in v1.2.10

func (c *TColorBox) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TColorBox) IsValid

func (c *TColorBox) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取左边位置。 EN: Get Left position.

func (*TColorBox) MouseInClient added in v1.1.21

func (c *TColorBox) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TColorBox) Name

func (c *TColorBox) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TColorBox) NoneColorColor

func (c *TColorBox) NoneColorColor() TColor

func (*TColorBox) Owner

func (c *TColorBox) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TColorBox) Parent

func (c *TColorBox) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TColorBox) ParentColor

func (c *TColorBox) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TColorBox) ParentDoubleBuffered

func (c *TColorBox) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TColorBox) ParentFont

func (c *TColorBox) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TColorBox) ParentShowHint

func (c *TColorBox) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TColorBox) ParentToClient

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

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TColorBox) ParentWindow

func (c *TColorBox) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TColorBox) Perform

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

CN: 发送一个消息。 EN: Send a message.

func (*TColorBox) PopupMenu

func (c *TColorBox) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TColorBox) Realign

func (c *TColorBox) Realign()

CN: 重新对齐。 EN: Realign.

func (*TColorBox) Refresh

func (c *TColorBox) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TColorBox) RemoveControl added in v1.1.21

func (c *TColorBox) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TColorBox) Repaint

func (c *TColorBox) Repaint()

CN: 重绘。 EN: Repaint.

func (*TColorBox) ScaleBy

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

CN: 按比例缩放。 EN: Scale by.

func (*TColorBox) ScreenToClient

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TColorBox) ScrollBy added in v1.1.21

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

CN: 滚动至指定位置。 EN: Scroll by.

func (*TColorBox) SelLength

func (c *TColorBox) SelLength() int32

CN: 获取选择的长度。 EN: .

func (*TColorBox) SelStart

func (c *TColorBox) SelStart() int32

CN: 获取选择的启始位置。 EN: .

func (*TColorBox) SelText

func (c *TColorBox) SelText() string

CN: 获取选择的文本。 EN: .

func (*TColorBox) SelectAll

func (c *TColorBox) SelectAll()

CN: 全选。 EN: .

func (*TColorBox) Selected

func (c *TColorBox) Selected() TColor

func (*TColorBox) SendToBack

func (c *TColorBox) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TColorBox) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TColorBox) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TColorBox) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TColorBox) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TColorBox) SetAnchors

func (c *TColorBox) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

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)

CN: 设置边框间距。 EN: .

func (*TColorBox) SetBounds

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

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TColorBox) SetClientWidth

func (c *TColorBox) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TColorBox) SetColor

func (c *TColorBox) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TColorBox) SetComponentIndex

func (c *TColorBox) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TColorBox) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TColorBox) SetControlState added in v1.1.21

func (c *TColorBox) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TColorBox) SetControlStyle added in v1.1.21

func (c *TColorBox) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TColorBox) SetCursor

func (c *TColorBox) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TColorBox) SetDefaultColorColor

func (c *TColorBox) SetDefaultColorColor(value TColor)

func (*TColorBox) SetDockSite

func (c *TColorBox) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TColorBox) SetDoubleBuffered

func (c *TColorBox) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: 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)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TColorBox) SetFocus

func (c *TColorBox) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TColorBox) SetFont

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

CN: 设置字体。 EN: Set Font.

func (*TColorBox) SetHeight

func (c *TColorBox) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TColorBox) SetHint

func (c *TColorBox) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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 IObject)

func (*TColorBox) SetLeft

func (c *TColorBox) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TColorBox) SetName

func (c *TColorBox) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TColorBox) SetNoneColorColor

func (c *TColorBox) SetNoneColorColor(value TColor)

func (*TColorBox) SetOnChange

func (c *TColorBox) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TColorBox) SetOnClick

func (c *TColorBox) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TColorBox) SetOnContextPopup

func (c *TColorBox) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TColorBox) SetOnDragDrop

func (c *TColorBox) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TColorBox) SetOnDragOver

func (c *TColorBox) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TColorBox) SetOnEndDrag

func (c *TColorBox) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TColorBox) SetOnEnter

func (c *TColorBox) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TColorBox) SetOnExit

func (c *TColorBox) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TColorBox) SetOnKeyDown

func (c *TColorBox) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TColorBox) SetOnKeyPress

func (c *TColorBox) SetOnKeyPress(fn TKeyPressEvent)

func (*TColorBox) SetOnKeyUp

func (c *TColorBox) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TColorBox) SetOnMouseEnter

func (c *TColorBox) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TColorBox) SetOnMouseLeave

func (c *TColorBox) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: 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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TColorBox) SetParentColor

func (c *TColorBox) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TColorBox) SetParentDoubleBuffered

func (c *TColorBox) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TColorBox) SetParentFont

func (c *TColorBox) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TColorBox) SetParentShowHint

func (c *TColorBox) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TColorBox) SetParentWindow

func (c *TColorBox) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TColorBox) SetPopupMenu

func (c *TColorBox) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TColorBox) SetSelLength

func (c *TColorBox) SetSelLength(value int32)

CN: 设置选择的长度。 EN: .

func (*TColorBox) SetSelStart

func (c *TColorBox) SetSelStart(value int32)

CN: 设置选择的启始位置。 EN: .

func (*TColorBox) SetSelText

func (c *TColorBox) SetSelText(value string)

CN: 设置选择的文本。 EN: .

func (*TColorBox) SetSelected

func (c *TColorBox) SetSelected(value TColor)

func (*TColorBox) SetShowHint

func (c *TColorBox) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TColorBox) SetStyle

func (c *TColorBox) SetStyle(value TColorBoxStyle)

func (*TColorBox) SetTabOrder

func (c *TColorBox) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TColorBox) SetTabStop

func (c *TColorBox) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TColorBox) SetTag

func (c *TColorBox) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TColorBox) SetTextBuf added in v1.1.21

func (c *TColorBox) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TColorBox) SetTop

func (c *TColorBox) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TColorBox) SetUseDockManager

func (c *TColorBox) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TColorBox) SetVisible

func (c *TColorBox) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TColorBox) SetWidth

func (c *TColorBox) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TColorBox) Show

func (c *TColorBox) Show()

CN: 显示控件。 EN: Show control.

func (*TColorBox) ShowHint

func (c *TColorBox) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TColorBox) Style

func (c *TColorBox) Style() TColorBoxStyle

func (*TColorBox) TabOrder

func (c *TColorBox) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TColorBox) TabStop

func (c *TColorBox) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TColorBox) Tag

func (c *TColorBox) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TColorBox) ToString

func (c *TColorBox) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TColorBox) Top

func (c *TColorBox) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TColorBox) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TColorBox) Update

func (c *TColorBox) Update()

CN: 控件更新。 EN: Update.

func (*TColorBox) UseDockManager

func (c *TColorBox) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TColorBox) Visible

func (c *TColorBox) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TColorBox) VisibleDockClientCount added in v1.1.21

func (c *TColorBox) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TColorBox) Width

func (c *TColorBox) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ColorDialogFromInst

func ColorDialogFromInst(inst uintptr) *TColorDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsColorDialog.

func ColorDialogFromObj

func ColorDialogFromObj(obj IObject) *TColorDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsColorDialog.

func ColorDialogFromUnsafePointer added in v1.1.21

func ColorDialogFromUnsafePointer(ptr unsafe.Pointer) *TColorDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsColorDialog.

func NewColorDialog

func NewColorDialog(owner IComponent) *TColorDialog

CN: 创建一个新的对象。 EN: Create a new object.

func (*TColorDialog) Assign

func (c *TColorDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TColorDialog) ClassName

func (c *TColorDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TColorDialog) ClassType added in v1.1.18

func (c *TColorDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TColorDialog) Color

func (c *TColorDialog) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TColorDialog) ComponentCount

func (c *TColorDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TColorDialog) ComponentIndex

func (c *TColorDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TColorDialog) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TColorDialog) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TColorDialog) Execute

func (c *TColorDialog) Execute() bool

CN: 执行。 EN: .

func (*TColorDialog) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TColorDialog) Free

func (c *TColorDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TColorDialog) GetHashCode

func (c *TColorDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TColorDialog) GetNamePath

func (c *TColorDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TColorDialog) Handle

func (c *TColorDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TColorDialog) HasParent

func (c *TColorDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TColorDialog) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TColorDialog) Instance

func (c *TColorDialog) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TColorDialog) InstanceSize added in v1.1.18

func (c *TColorDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TColorDialog) Is added in v1.2.10

func (c *TColorDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TColorDialog) IsValid

func (c *TColorDialog) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TColorDialog) Name

func (c *TColorDialog) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TColorDialog) Owner

func (c *TColorDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TColorDialog) SetColor

func (c *TColorDialog) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TColorDialog) SetComponentIndex

func (c *TColorDialog) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TColorDialog) SetName

func (c *TColorDialog) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TColorDialog) SetOnClose

func (c *TColorDialog) SetOnClose(fn TNotifyEvent)

func (*TColorDialog) SetOnShow

func (c *TColorDialog) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

func (*TColorDialog) SetTag

func (c *TColorDialog) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TColorDialog) Tag

func (c *TColorDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TColorDialog) ToString

func (c *TColorDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TColorDialog) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ColorListBoxFromInst

func ColorListBoxFromInst(inst uintptr) *TColorListBox

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsColorListBox.

func ColorListBoxFromObj

func ColorListBoxFromObj(obj IObject) *TColorListBox

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsColorListBox.

func ColorListBoxFromUnsafePointer added in v1.1.21

func ColorListBoxFromUnsafePointer(ptr unsafe.Pointer) *TColorListBox

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsColorListBox.

func NewColorListBox

func NewColorListBox(owner IComponent) *TColorListBox

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TColorListBox) AnchorParallel

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

func (*TColorListBox) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TColorListBox) AnchorSideBottom

func (c *TColorListBox) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TColorListBox) AnchorSideLeft

func (c *TColorListBox) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TColorListBox) AnchorSideRight

func (c *TColorListBox) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TColorListBox) AnchorSideTop

func (c *TColorListBox) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TColorListBox) AnchorToNeighbour

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

func (*TColorListBox) AnchorVerticalCenterTo

func (c *TColorListBox) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TColorListBox) Anchors

func (c *TColorListBox) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TColorListBox) Assign

func (c *TColorListBox) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TColorListBox) BiDiMode

func (c *TColorListBox) BiDiMode() TBiDiMode

func (*TColorListBox) BorderSpacing

func (c *TColorListBox) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TColorListBox) BoundsRect

func (c *TColorListBox) BoundsRect() TRect

func (*TColorListBox) BringToFront

func (c *TColorListBox) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TColorListBox) Brush

func (c *TColorListBox) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TColorListBox) CanFocus

func (c *TColorListBox) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TColorListBox) Canvas

func (c *TColorListBox) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TColorListBox) ChildSizing

func (c *TColorListBox) ChildSizing() *TControlChildSizing

func (*TColorListBox) ClassName

func (c *TColorListBox) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TColorListBox) ClassType added in v1.1.18

func (c *TColorListBox) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TColorListBox) Clear

func (c *TColorListBox) Clear()

CN: 清除。 EN: .

func (*TColorListBox) ClearSelection

func (c *TColorListBox) ClearSelection()

CN: 清除选择。 EN: .

func (*TColorListBox) ClientHeight

func (c *TColorListBox) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TColorListBox) ClientOrigin added in v1.1.21

func (c *TColorListBox) ClientOrigin() TPoint

func (*TColorListBox) ClientRect

func (c *TColorListBox) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TColorListBox) ClientToParent

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TColorListBox) ClientToScreen

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TColorListBox) ClientWidth

func (c *TColorListBox) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TColorListBox) Color

func (c *TColorListBox) Color() TColor

CN: 获取颜色。 EN: 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

CN: 获取组件总数。 EN: Get the total number of components.

func (*TColorListBox) ComponentIndex

func (c *TColorListBox) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TColorListBox) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TColorListBox) Constraints added in v1.2.7

func (c *TColorListBox) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TColorListBox) ContainsControl added in v1.1.21

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

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TColorListBox) ControlCount

func (c *TColorListBox) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TColorListBox) ControlState added in v1.1.21

func (c *TColorListBox) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TColorListBox) ControlStyle added in v1.1.21

func (c *TColorListBox) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TColorListBox) Controls

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

CN: 获取指定索引子控件。 EN: .

func (*TColorListBox) Count

func (c *TColorListBox) Count() int32

func (*TColorListBox) Cursor

func (c *TColorListBox) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TColorListBox) DefaultColorColor

func (c *TColorListBox) DefaultColorColor() TColor

func (*TColorListBox) DeleteSelected

func (c *TColorListBox) DeleteSelected()

func (*TColorListBox) DisableAlign added in v1.1.21

func (c *TColorListBox) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TColorListBox) DockClientCount added in v1.1.21

func (c *TColorListBox) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TColorListBox) DockClients added in v1.1.21

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

CN: 获取指定索引停靠客户端。 EN: .

func (*TColorListBox) DockSite

func (c *TColorListBox) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TColorListBox) DoubleBuffered

func (c *TColorListBox) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TColorListBox) Dragging

func (c *TColorListBox) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TColorListBox) EnableAlign added in v1.1.21

func (c *TColorListBox) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TColorListBox) Enabled

func (c *TColorListBox) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TColorListBox) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TColorListBox) FindChildControl added in v1.1.21

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

CN: 查找子控件。 EN: Find sub controls.

func (*TColorListBox) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TColorListBox) Font

func (c *TColorListBox) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TColorListBox) Free

func (c *TColorListBox) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TColorListBox) GetHashCode

func (c *TColorListBox) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TColorListBox) GetNamePath

func (c *TColorListBox) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TColorListBox) GetTextBuf

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TColorListBox) GetTextLen

func (c *TColorListBox) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TColorListBox) Handle

func (c *TColorListBox) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TColorListBox) HandleAllocated

func (c *TColorListBox) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TColorListBox) HasParent

func (c *TColorListBox) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TColorListBox) Height

func (c *TColorListBox) Height() int32

CN: 获取高度。 EN: Get height.

func (*TColorListBox) Hide

func (c *TColorListBox) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TColorListBox) Hint

func (c *TColorListBox) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TColorListBox) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TColorListBox) InsertControl added in v1.1.21

func (c *TColorListBox) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TColorListBox) Instance

func (c *TColorListBox) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TColorListBox) InstanceSize added in v1.1.18

func (c *TColorListBox) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TColorListBox) Invalidate

func (c *TColorListBox) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TColorListBox) Is added in v1.2.10

func (c *TColorListBox) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TColorListBox) IsValid

func (c *TColorListBox) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取左边位置。 EN: Get Left position.

func (*TColorListBox) MouseInClient added in v1.1.21

func (c *TColorListBox) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TColorListBox) NoneColorColor

func (c *TColorListBox) NoneColorColor() TColor

func (*TColorListBox) Owner

func (c *TColorListBox) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TColorListBox) Parent

func (c *TColorListBox) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TColorListBox) ParentColor

func (c *TColorListBox) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TColorListBox) ParentDoubleBuffered

func (c *TColorListBox) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TColorListBox) ParentFont

func (c *TColorListBox) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TColorListBox) ParentShowHint

func (c *TColorListBox) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TColorListBox) ParentToClient

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

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TColorListBox) ParentWindow

func (c *TColorListBox) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TColorListBox) Perform

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

CN: 发送一个消息。 EN: Send a message.

func (*TColorListBox) PopupMenu

func (c *TColorListBox) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TColorListBox) Realign

func (c *TColorListBox) Realign()

CN: 重新对齐。 EN: Realign.

func (*TColorListBox) Refresh

func (c *TColorListBox) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TColorListBox) RemoveControl added in v1.1.21

func (c *TColorListBox) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TColorListBox) Repaint

func (c *TColorListBox) Repaint()

CN: 重绘。 EN: Repaint.

func (*TColorListBox) ScaleBy

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

CN: 按比例缩放。 EN: Scale by.

func (*TColorListBox) ScreenToClient

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TColorListBox) ScrollBy added in v1.1.21

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

CN: 滚动至指定位置。 EN: Scroll by.

func (*TColorListBox) SelCount

func (c *TColorListBox) SelCount() int32

func (*TColorListBox) SelectAll

func (c *TColorListBox) SelectAll()

CN: 全选。 EN: .

func (*TColorListBox) Selected

func (c *TColorListBox) Selected() TColor

func (*TColorListBox) SendToBack

func (c *TColorListBox) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TColorListBox) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TColorListBox) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TColorListBox) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TColorListBox) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TColorListBox) SetAnchors

func (c *TColorListBox) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TColorListBox) SetBiDiMode

func (c *TColorListBox) SetBiDiMode(value TBiDiMode)

func (*TColorListBox) SetBorderSpacing

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

CN: 设置边框间距。 EN: .

func (*TColorListBox) SetBounds

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

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TColorListBox) SetClientWidth

func (c *TColorListBox) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TColorListBox) SetColor

func (c *TColorListBox) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TColorListBox) SetComponentIndex

func (c *TColorListBox) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TColorListBox) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TColorListBox) SetControlState added in v1.1.21

func (c *TColorListBox) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TColorListBox) SetControlStyle added in v1.1.21

func (c *TColorListBox) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TColorListBox) SetCursor

func (c *TColorListBox) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TColorListBox) SetDefaultColorColor

func (c *TColorListBox) SetDefaultColorColor(value TColor)

func (*TColorListBox) SetDockSite

func (c *TColorListBox) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TColorListBox) SetDoubleBuffered

func (c *TColorListBox) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TColorListBox) SetEnabled

func (c *TColorListBox) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TColorListBox) SetFocus

func (c *TColorListBox) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TColorListBox) SetFont

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

CN: 设置字体。 EN: Set Font.

func (*TColorListBox) SetHeight

func (c *TColorListBox) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TColorListBox) SetHint

func (c *TColorListBox) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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 IObject)

func (*TColorListBox) SetLeft

func (c *TColorListBox) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TColorListBox) SetMultiSelect

func (c *TColorListBox) SetMultiSelect(value bool)

func (*TColorListBox) SetName

func (c *TColorListBox) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TColorListBox) SetNoneColorColor

func (c *TColorListBox) SetNoneColorColor(value TColor)

func (*TColorListBox) SetOnClick

func (c *TColorListBox) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TColorListBox) SetOnContextPopup

func (c *TColorListBox) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TColorListBox) SetOnDblClick

func (c *TColorListBox) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TColorListBox) SetOnDragDrop

func (c *TColorListBox) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TColorListBox) SetOnDragOver

func (c *TColorListBox) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TColorListBox) SetOnEndDrag

func (c *TColorListBox) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TColorListBox) SetOnEnter

func (c *TColorListBox) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TColorListBox) SetOnExit

func (c *TColorListBox) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TColorListBox) SetOnKeyDown

func (c *TColorListBox) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TColorListBox) SetOnKeyPress

func (c *TColorListBox) SetOnKeyPress(fn TKeyPressEvent)

func (*TColorListBox) SetOnKeyUp

func (c *TColorListBox) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TColorListBox) SetOnMouseDown

func (c *TColorListBox) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TColorListBox) SetOnMouseEnter

func (c *TColorListBox) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TColorListBox) SetOnMouseLeave

func (c *TColorListBox) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TColorListBox) SetOnMouseMove

func (c *TColorListBox) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TColorListBox) SetOnMouseUp

func (c *TColorListBox) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TColorListBox) SetParent

func (c *TColorListBox) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TColorListBox) SetParentColor

func (c *TColorListBox) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TColorListBox) SetParentDoubleBuffered

func (c *TColorListBox) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TColorListBox) SetParentFont

func (c *TColorListBox) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TColorListBox) SetParentShowHint

func (c *TColorListBox) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TColorListBox) SetParentWindow

func (c *TColorListBox) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TColorListBox) SetPopupMenu

func (c *TColorListBox) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TColorListBox) SetSelected

func (c *TColorListBox) SetSelected(value TColor)

func (*TColorListBox) SetShowHint

func (c *TColorListBox) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TColorListBox) SetStyle

func (c *TColorListBox) SetStyle(value TColorBoxStyle)

func (*TColorListBox) SetTabOrder

func (c *TColorListBox) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TColorListBox) SetTabStop

func (c *TColorListBox) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TColorListBox) SetTag

func (c *TColorListBox) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TColorListBox) SetTextBuf added in v1.1.21

func (c *TColorListBox) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TColorListBox) SetTop

func (c *TColorListBox) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TColorListBox) SetTopIndex

func (c *TColorListBox) SetTopIndex(value int32)

func (*TColorListBox) SetUseDockManager

func (c *TColorListBox) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TColorListBox) SetVisible

func (c *TColorListBox) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TColorListBox) SetWidth

func (c *TColorListBox) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TColorListBox) Show

func (c *TColorListBox) Show()

CN: 显示控件。 EN: Show control.

func (*TColorListBox) ShowHint

func (c *TColorListBox) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TColorListBox) Style

func (c *TColorListBox) Style() TColorBoxStyle

func (*TColorListBox) TabOrder

func (c *TColorListBox) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TColorListBox) TabStop

func (c *TColorListBox) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TColorListBox) Tag

func (c *TColorListBox) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TColorListBox) ToString

func (c *TColorListBox) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TColorListBox) Top

func (c *TColorListBox) Top() int32

CN: 获取顶边位置。 EN: 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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TColorListBox) Update

func (c *TColorListBox) Update()

CN: 控件更新。 EN: Update.

func (*TColorListBox) UseDockManager

func (c *TColorListBox) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TColorListBox) Visible

func (c *TColorListBox) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TColorListBox) VisibleDockClientCount added in v1.1.21

func (c *TColorListBox) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TColorListBox) Width

func (c *TColorListBox) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ComboBoxFromInst

func ComboBoxFromInst(inst uintptr) *TComboBox

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsComboBox.

func ComboBoxFromObj

func ComboBoxFromObj(obj IObject) *TComboBox

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsComboBox.

func ComboBoxFromUnsafePointer added in v1.1.21

func ComboBoxFromUnsafePointer(ptr unsafe.Pointer) *TComboBox

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsComboBox.

func NewComboBox

func NewComboBox(owner IComponent) *TComboBox

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TComboBox) AnchorParallel

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

func (*TComboBox) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TComboBox) AnchorSideBottom

func (c *TComboBox) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TComboBox) AnchorSideLeft

func (c *TComboBox) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TComboBox) AnchorSideRight

func (c *TComboBox) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TComboBox) AnchorSideTop

func (c *TComboBox) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TComboBox) AnchorToNeighbour

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

func (*TComboBox) AnchorVerticalCenterTo

func (c *TComboBox) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TComboBox) Anchors

func (c *TComboBox) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TComboBox) Assign

func (c *TComboBox) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

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

CN: 获取边框间距。 EN: .

func (*TComboBox) BoundsRect

func (c *TComboBox) BoundsRect() TRect

func (*TComboBox) BringToFront

func (c *TComboBox) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TComboBox) Brush

func (c *TComboBox) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TComboBox) CanFocus

func (c *TComboBox) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TComboBox) Canvas

func (c *TComboBox) Canvas() *TCanvas

CN: 获取画布。 EN: .

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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TComboBox) ClassType added in v1.1.18

func (c *TComboBox) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TComboBox) Clear

func (c *TComboBox) Clear()

CN: 清除。 EN: .

func (*TComboBox) ClearSelection

func (c *TComboBox) ClearSelection()

CN: 清除选择。 EN: .

func (*TComboBox) ClientHeight

func (c *TComboBox) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TComboBox) ClientOrigin added in v1.1.21

func (c *TComboBox) ClientOrigin() TPoint

func (*TComboBox) ClientRect

func (c *TComboBox) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TComboBox) ClientToParent

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TComboBox) ClientToScreen

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TComboBox) ClientWidth

func (c *TComboBox) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TComboBox) Color

func (c *TComboBox) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TComboBox) ComponentCount

func (c *TComboBox) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TComboBox) ComponentIndex

func (c *TComboBox) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TComboBox) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TComboBox) Constraints added in v1.2.7

func (c *TComboBox) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TComboBox) ContainsControl added in v1.1.21

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

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TComboBox) ControlCount

func (c *TComboBox) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TComboBox) ControlState added in v1.1.21

func (c *TComboBox) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TComboBox) ControlStyle added in v1.1.21

func (c *TComboBox) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TComboBox) Controls

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

CN: 获取指定索引子控件。 EN: .

func (*TComboBox) Cursor

func (c *TComboBox) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TComboBox) DeleteSelected

func (c *TComboBox) DeleteSelected()

func (*TComboBox) DisableAlign added in v1.1.21

func (c *TComboBox) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TComboBox) DockClientCount added in v1.1.21

func (c *TComboBox) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TComboBox) DockClients added in v1.1.21

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

CN: 获取指定索引停靠客户端。 EN: .

func (*TComboBox) DockSite

func (c *TComboBox) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TComboBox) DoubleBuffered

func (c *TComboBox) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TComboBox) DragCursor

func (c *TComboBox) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TComboBox) DragKind

func (c *TComboBox) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TComboBox) DragMode

func (c *TComboBox) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TComboBox) Dragging

func (c *TComboBox) Dragging() bool

CN: 是否在拖拽中。 EN: 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()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TComboBox) Enabled

func (c *TComboBox) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TComboBox) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TComboBox) FindChildControl added in v1.1.21

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

CN: 查找子控件。 EN: Find sub controls.

func (*TComboBox) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TComboBox) Font

func (c *TComboBox) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TComboBox) Free

func (c *TComboBox) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TComboBox) GetHashCode

func (c *TComboBox) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TComboBox) GetNamePath

func (c *TComboBox) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TComboBox) GetTextBuf

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TComboBox) GetTextLen

func (c *TComboBox) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TComboBox) Handle

func (c *TComboBox) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TComboBox) HandleAllocated

func (c *TComboBox) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TComboBox) HasParent

func (c *TComboBox) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TComboBox) Height

func (c *TComboBox) Height() int32

CN: 获取高度。 EN: Get height.

func (*TComboBox) Hide

func (c *TComboBox) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TComboBox) Hint

func (c *TComboBox) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TComboBox) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TComboBox) InsertControl added in v1.1.21

func (c *TComboBox) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TComboBox) Instance

func (c *TComboBox) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TComboBox) InstanceSize added in v1.1.18

func (c *TComboBox) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TComboBox) Invalidate

func (c *TComboBox) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TComboBox) Is added in v1.2.10

func (c *TComboBox) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TComboBox) IsValid

func (c *TComboBox) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取左边位置。 EN: Get Left position.

func (*TComboBox) MaxLength

func (c *TComboBox) MaxLength() int32

CN: 获取最大长度。 EN: .

func (*TComboBox) MouseInClient added in v1.1.21

func (c *TComboBox) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TComboBox) Name

func (c *TComboBox) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TComboBox) Owner

func (c *TComboBox) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TComboBox) Parent

func (c *TComboBox) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TComboBox) ParentColor

func (c *TComboBox) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TComboBox) ParentDoubleBuffered

func (c *TComboBox) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TComboBox) ParentFont

func (c *TComboBox) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TComboBox) ParentShowHint

func (c *TComboBox) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TComboBox) ParentToClient

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

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TComboBox) ParentWindow

func (c *TComboBox) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TComboBox) Perform

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

CN: 发送一个消息。 EN: Send a message.

func (*TComboBox) PopupMenu

func (c *TComboBox) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TComboBox) Realign

func (c *TComboBox) Realign()

CN: 重新对齐。 EN: Realign.

func (*TComboBox) Refresh

func (c *TComboBox) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TComboBox) RemoveControl added in v1.1.21

func (c *TComboBox) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TComboBox) Repaint

func (c *TComboBox) Repaint()

CN: 重绘。 EN: Repaint.

func (*TComboBox) ScaleBy

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

CN: 按比例缩放。 EN: Scale by.

func (*TComboBox) ScreenToClient

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TComboBox) ScrollBy added in v1.1.21

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

CN: 滚动至指定位置。 EN: Scroll by.

func (*TComboBox) SelLength

func (c *TComboBox) SelLength() int32

CN: 获取选择的长度。 EN: .

func (*TComboBox) SelStart

func (c *TComboBox) SelStart() int32

CN: 获取选择的启始位置。 EN: .

func (*TComboBox) SelText

func (c *TComboBox) SelText() string

CN: 获取选择的文本。 EN: .

func (*TComboBox) SelectAll

func (c *TComboBox) SelectAll()

CN: 全选。 EN: .

func (*TComboBox) SendToBack

func (c *TComboBox) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TComboBox) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TComboBox) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TComboBox) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TComboBox) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TComboBox) SetAnchors

func (c *TComboBox) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

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)

CN: 设置边框间距。 EN: .

func (*TComboBox) SetBounds

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

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TComboBox) SetClientWidth

func (c *TComboBox) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TComboBox) SetColor

func (c *TComboBox) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TComboBox) SetComponentIndex

func (c *TComboBox) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TComboBox) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TComboBox) SetControlState added in v1.1.21

func (c *TComboBox) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TComboBox) SetControlStyle added in v1.1.21

func (c *TComboBox) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TComboBox) SetCursor

func (c *TComboBox) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TComboBox) SetDockSite

func (c *TComboBox) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TComboBox) SetDoubleBuffered

func (c *TComboBox) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TComboBox) SetDragCursor

func (c *TComboBox) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TComboBox) SetDragKind

func (c *TComboBox) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TComboBox) SetDragMode

func (c *TComboBox) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: 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)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TComboBox) SetFocus

func (c *TComboBox) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TComboBox) SetFont

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

CN: 设置字体。 EN: Set Font.

func (*TComboBox) SetHeight

func (c *TComboBox) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TComboBox) SetHint

func (c *TComboBox) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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 IObject)

func (*TComboBox) SetLeft

func (c *TComboBox) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TComboBox) SetMaxLength

func (c *TComboBox) SetMaxLength(value int32)

CN: 设置最大长度。 EN: .

func (*TComboBox) SetName

func (c *TComboBox) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TComboBox) SetOnChange

func (c *TComboBox) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TComboBox) SetOnClick

func (c *TComboBox) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TComboBox) SetOnContextPopup

func (c *TComboBox) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TComboBox) SetOnDblClick

func (c *TComboBox) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TComboBox) SetOnDragDrop

func (c *TComboBox) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TComboBox) SetOnDragOver

func (c *TComboBox) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TComboBox) SetOnDrawItem

func (c *TComboBox) SetOnDrawItem(fn TDrawItemEvent)

func (*TComboBox) SetOnEndDrag

func (c *TComboBox) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TComboBox) SetOnEnter

func (c *TComboBox) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TComboBox) SetOnExit

func (c *TComboBox) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TComboBox) SetOnKeyDown

func (c *TComboBox) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TComboBox) SetOnKeyPress

func (c *TComboBox) SetOnKeyPress(fn TKeyPressEvent)

func (*TComboBox) SetOnKeyUp

func (c *TComboBox) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: 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)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TComboBox) SetOnMouseLeave

func (c *TComboBox) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: 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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TComboBox) SetParentColor

func (c *TComboBox) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TComboBox) SetParentDoubleBuffered

func (c *TComboBox) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TComboBox) SetParentFont

func (c *TComboBox) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TComboBox) SetParentShowHint

func (c *TComboBox) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TComboBox) SetParentWindow

func (c *TComboBox) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TComboBox) SetPopupMenu

func (c *TComboBox) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TComboBox) SetSelLength

func (c *TComboBox) SetSelLength(value int32)

CN: 设置选择的长度。 EN: .

func (*TComboBox) SetSelStart

func (c *TComboBox) SetSelStart(value int32)

CN: 设置选择的启始位置。 EN: .

func (*TComboBox) SetSelText

func (c *TComboBox) SetSelText(value string)

CN: 设置选择的文本。 EN: .

func (*TComboBox) SetShowHint

func (c *TComboBox) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: 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)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TComboBox) SetTabStop

func (c *TComboBox) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TComboBox) SetTag

func (c *TComboBox) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TComboBox) SetText

func (c *TComboBox) SetText(value string)

CN: 设置文本。 EN: .

func (*TComboBox) SetTextBuf added in v1.1.21

func (c *TComboBox) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TComboBox) SetTop

func (c *TComboBox) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TComboBox) SetUseDockManager

func (c *TComboBox) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TComboBox) SetVisible

func (c *TComboBox) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TComboBox) SetWidth

func (c *TComboBox) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TComboBox) Show

func (c *TComboBox) Show()

CN: 显示控件。 EN: Show control.

func (*TComboBox) ShowHint

func (c *TComboBox) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TComboBox) Sorted

func (c *TComboBox) Sorted() bool

func (*TComboBox) Style

func (c *TComboBox) Style() TComboBoxStyle

func (*TComboBox) TabOrder

func (c *TComboBox) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TComboBox) TabStop

func (c *TComboBox) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TComboBox) Tag

func (c *TComboBox) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TComboBox) Text

func (c *TComboBox) Text() string

CN: 获取文本。 EN: .

func (*TComboBox) ToString

func (c *TComboBox) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TComboBox) Top

func (c *TComboBox) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TComboBox) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TComboBox) Update

func (c *TComboBox) Update()

CN: 控件更新。 EN: Update.

func (*TComboBox) UseDockManager

func (c *TComboBox) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TComboBox) Visible

func (c *TComboBox) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TComboBox) VisibleDockClientCount added in v1.1.21

func (c *TComboBox) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TComboBox) Width

func (c *TComboBox) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ComboBoxExFromInst added in v1.2.7

func ComboBoxExFromInst(inst uintptr) *TComboBoxEx

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsComboBoxEx.

func ComboBoxExFromObj added in v1.2.7

func ComboBoxExFromObj(obj IObject) *TComboBoxEx

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsComboBoxEx.

func ComboBoxExFromUnsafePointer added in v1.2.7

func ComboBoxExFromUnsafePointer(ptr unsafe.Pointer) *TComboBoxEx

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsComboBoxEx.

func NewComboBoxEx added in v1.2.7

func NewComboBoxEx(owner IComponent) *TComboBoxEx

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TComboBoxEx) AnchorParallel

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

func (*TComboBoxEx) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TComboBoxEx) AnchorSideBottom

func (c *TComboBoxEx) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TComboBoxEx) AnchorSideLeft

func (c *TComboBoxEx) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TComboBoxEx) AnchorSideRight

func (c *TComboBoxEx) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TComboBoxEx) AnchorSideTop

func (c *TComboBoxEx) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TComboBoxEx) AnchorToNeighbour

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

func (*TComboBoxEx) AnchorVerticalCenterTo

func (c *TComboBoxEx) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TComboBoxEx) Anchors added in v1.2.7

func (c *TComboBoxEx) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TComboBoxEx) Assign added in v1.2.7

func (c *TComboBoxEx) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

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

CN: 获取边框间距。 EN: .

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TComboBoxEx) Brush added in v1.2.7

func (c *TComboBoxEx) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TComboBoxEx) CanFocus added in v1.2.7

func (c *TComboBoxEx) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TComboBoxEx) Canvas added in v1.2.7

func (c *TComboBoxEx) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TComboBoxEx) ChildSizing

func (c *TComboBoxEx) ChildSizing() *TControlChildSizing

func (*TComboBoxEx) ClassName added in v1.2.7

func (c *TComboBoxEx) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TComboBoxEx) ClassType added in v1.2.7

func (c *TComboBoxEx) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TComboBoxEx) Clear added in v1.2.7

func (c *TComboBoxEx) Clear()

CN: 清除。 EN: .

func (*TComboBoxEx) ClearSelection added in v1.2.7

func (c *TComboBoxEx) ClearSelection()

CN: 清除选择。 EN: .

func (*TComboBoxEx) ClientHeight added in v1.2.7

func (c *TComboBoxEx) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TComboBoxEx) ClientToParent added in v1.2.7

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TComboBoxEx) ClientToScreen added in v1.2.7

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TComboBoxEx) ClientWidth added in v1.2.7

func (c *TComboBoxEx) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TComboBoxEx) Color added in v1.2.7

func (c *TComboBoxEx) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TComboBoxEx) ComponentCount added in v1.2.7

func (c *TComboBoxEx) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TComboBoxEx) ComponentIndex added in v1.2.7

func (c *TComboBoxEx) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TComboBoxEx) Components added in v1.2.7

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TComboBoxEx) Constraints added in v1.2.7

func (c *TComboBoxEx) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TComboBoxEx) ContainsControl added in v1.2.7

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

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TComboBoxEx) ControlCount added in v1.2.7

func (c *TComboBoxEx) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TComboBoxEx) ControlState added in v1.2.7

func (c *TComboBoxEx) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TComboBoxEx) ControlStyle added in v1.2.7

func (c *TComboBoxEx) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TComboBoxEx) Controls added in v1.2.7

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

CN: 获取指定索引子控件。 EN: .

func (*TComboBoxEx) Cursor added in v1.2.7

func (c *TComboBoxEx) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TComboBoxEx) DeleteSelected added in v1.2.7

func (c *TComboBoxEx) DeleteSelected()

func (*TComboBoxEx) DisableAlign added in v1.2.7

func (c *TComboBoxEx) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TComboBoxEx) DockClientCount added in v1.2.7

func (c *TComboBoxEx) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TComboBoxEx) DockClients added in v1.2.7

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

CN: 获取指定索引停靠客户端。 EN: .

func (*TComboBoxEx) DockSite added in v1.2.7

func (c *TComboBoxEx) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TComboBoxEx) DoubleBuffered added in v1.2.7

func (c *TComboBoxEx) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TComboBoxEx) DragCursor added in v1.2.7

func (c *TComboBoxEx) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TComboBoxEx) DragKind added in v1.2.7

func (c *TComboBoxEx) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TComboBoxEx) DragMode added in v1.2.7

func (c *TComboBoxEx) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TComboBoxEx) Dragging added in v1.2.7

func (c *TComboBoxEx) Dragging() bool

CN: 是否在拖拽中。 EN: 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()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TComboBoxEx) Enabled added in v1.2.7

func (c *TComboBoxEx) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TComboBoxEx) Equals added in v1.2.7

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TComboBoxEx) FindChildControl added in v1.2.7

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

CN: 查找子控件。 EN: Find sub controls.

func (*TComboBoxEx) FindComponent added in v1.2.7

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TComboBoxEx) Font added in v1.2.7

func (c *TComboBoxEx) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TComboBoxEx) Free added in v1.2.7

func (c *TComboBoxEx) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TComboBoxEx) GetHashCode added in v1.2.7

func (c *TComboBoxEx) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TComboBoxEx) GetNamePath added in v1.2.7

func (c *TComboBoxEx) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TComboBoxEx) GetTextBuf added in v1.2.7

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TComboBoxEx) GetTextLen added in v1.2.7

func (c *TComboBoxEx) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TComboBoxEx) Handle added in v1.2.7

func (c *TComboBoxEx) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TComboBoxEx) HandleAllocated added in v1.2.7

func (c *TComboBoxEx) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TComboBoxEx) HasParent added in v1.2.7

func (c *TComboBoxEx) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TComboBoxEx) Height added in v1.2.7

func (c *TComboBoxEx) Height() int32

CN: 获取高度。 EN: Get height.

func (*TComboBoxEx) Hide added in v1.2.7

func (c *TComboBoxEx) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TComboBoxEx) Hint added in v1.2.7

func (c *TComboBoxEx) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TComboBoxEx) Images added in v1.2.7

func (c *TComboBoxEx) Images() *TImageList

CN: 获取图标索引列表对象。 EN: .

func (*TComboBoxEx) InheritsFrom added in v1.2.7

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TComboBoxEx) InsertControl added in v1.2.7

func (c *TComboBoxEx) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TComboBoxEx) Instance added in v1.2.7

func (c *TComboBoxEx) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TComboBoxEx) InstanceSize added in v1.2.7

func (c *TComboBoxEx) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TComboBoxEx) Invalidate added in v1.2.7

func (c *TComboBoxEx) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TComboBoxEx) Is added in v1.2.10

func (c *TComboBoxEx) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TComboBoxEx) IsValid added in v1.2.7

func (c *TComboBoxEx) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取左边位置。 EN: Get Left position.

func (*TComboBoxEx) MaxLength added in v1.2.7

func (c *TComboBoxEx) MaxLength() int32

CN: 获取最大长度。 EN: .

func (*TComboBoxEx) MouseInClient added in v1.2.7

func (c *TComboBoxEx) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TComboBoxEx) Owner added in v1.2.7

func (c *TComboBoxEx) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TComboBoxEx) Parent added in v1.2.7

func (c *TComboBoxEx) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TComboBoxEx) ParentColor added in v1.2.7

func (c *TComboBoxEx) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TComboBoxEx) ParentDoubleBuffered added in v1.2.7

func (c *TComboBoxEx) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TComboBoxEx) ParentFont added in v1.2.7

func (c *TComboBoxEx) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TComboBoxEx) ParentShowHint added in v1.2.7

func (c *TComboBoxEx) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TComboBoxEx) ParentToClient added in v1.2.7

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

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TComboBoxEx) ParentWindow added in v1.2.7

func (c *TComboBoxEx) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TComboBoxEx) Perform added in v1.2.7

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

CN: 发送一个消息。 EN: Send a message.

func (*TComboBoxEx) PopupMenu added in v1.2.7

func (c *TComboBoxEx) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TComboBoxEx) Realign added in v1.2.7

func (c *TComboBoxEx) Realign()

CN: 重新对齐。 EN: Realign.

func (*TComboBoxEx) Refresh added in v1.2.7

func (c *TComboBoxEx) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TComboBoxEx) RemoveControl added in v1.2.7

func (c *TComboBoxEx) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TComboBoxEx) Repaint added in v1.2.7

func (c *TComboBoxEx) Repaint()

CN: 重绘。 EN: Repaint.

func (*TComboBoxEx) ScaleBy added in v1.2.7

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

CN: 按比例缩放。 EN: Scale by.

func (*TComboBoxEx) ScreenToClient added in v1.2.7

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TComboBoxEx) ScrollBy added in v1.2.7

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

CN: 滚动至指定位置。 EN: Scroll by.

func (*TComboBoxEx) SelLength added in v1.2.7

func (c *TComboBoxEx) SelLength() int32

CN: 获取选择的长度。 EN: .

func (*TComboBoxEx) SelStart added in v1.2.7

func (c *TComboBoxEx) SelStart() int32

CN: 获取选择的启始位置。 EN: .

func (*TComboBoxEx) SelText added in v1.2.7

func (c *TComboBoxEx) SelText() string

CN: 获取选择的文本。 EN: .

func (*TComboBoxEx) SelectAll added in v1.2.7

func (c *TComboBoxEx) SelectAll()

CN: 全选。 EN: .

func (*TComboBoxEx) SendToBack added in v1.2.7

func (c *TComboBoxEx) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TComboBoxEx) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TComboBoxEx) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TComboBoxEx) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TComboBoxEx) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TComboBoxEx) SetAnchors added in v1.2.7

func (c *TComboBoxEx) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

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)

CN: 设置边框间距。 EN: .

func (*TComboBoxEx) SetBounds added in v1.2.7

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

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TComboBoxEx) SetClientWidth added in v1.2.7

func (c *TComboBoxEx) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TComboBoxEx) SetColor added in v1.2.7

func (c *TComboBoxEx) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TComboBoxEx) SetComponentIndex added in v1.2.7

func (c *TComboBoxEx) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TComboBoxEx) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TComboBoxEx) SetControlState added in v1.2.7

func (c *TComboBoxEx) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TComboBoxEx) SetControlStyle added in v1.2.7

func (c *TComboBoxEx) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TComboBoxEx) SetCursor added in v1.2.7

func (c *TComboBoxEx) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TComboBoxEx) SetDockSite added in v1.2.7

func (c *TComboBoxEx) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TComboBoxEx) SetDoubleBuffered added in v1.2.7

func (c *TComboBoxEx) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TComboBoxEx) SetDragCursor added in v1.2.7

func (c *TComboBoxEx) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TComboBoxEx) SetDragKind added in v1.2.7

func (c *TComboBoxEx) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TComboBoxEx) SetDragMode added in v1.2.7

func (c *TComboBoxEx) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: 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)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TComboBoxEx) SetFocus added in v1.2.7

func (c *TComboBoxEx) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TComboBoxEx) SetFont added in v1.2.7

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

CN: 设置字体。 EN: Set Font.

func (*TComboBoxEx) SetHeight added in v1.2.7

func (c *TComboBoxEx) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TComboBoxEx) SetHint added in v1.2.7

func (c *TComboBoxEx) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TComboBoxEx) SetImages added in v1.2.7

func (c *TComboBoxEx) SetImages(value IComponent)

CN: 设置图标索引列表对象。 EN: .

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

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)

CN: 设置左边位置。 EN: Set Left position.

func (*TComboBoxEx) SetMaxLength added in v1.2.7

func (c *TComboBoxEx) SetMaxLength(value int32)

CN: 设置最大长度。 EN: .

func (*TComboBoxEx) SetName added in v1.2.7

func (c *TComboBoxEx) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TComboBoxEx) SetOnChange added in v1.2.7

func (c *TComboBoxEx) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TComboBoxEx) SetOnClick added in v1.2.7

func (c *TComboBoxEx) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TComboBoxEx) SetOnContextPopup added in v1.2.7

func (c *TComboBoxEx) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TComboBoxEx) SetOnDblClick added in v1.2.7

func (c *TComboBoxEx) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TComboBoxEx) SetOnDragDrop added in v1.2.7

func (c *TComboBoxEx) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TComboBoxEx) SetOnDragOver added in v1.2.7

func (c *TComboBoxEx) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TComboBoxEx) SetOnEndDock added in v1.2.7

func (c *TComboBoxEx) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TComboBoxEx) SetOnEndDrag added in v1.2.7

func (c *TComboBoxEx) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TComboBoxEx) SetOnEnter added in v1.2.7

func (c *TComboBoxEx) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TComboBoxEx) SetOnExit added in v1.2.7

func (c *TComboBoxEx) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TComboBoxEx) SetOnKeyDown added in v1.2.7

func (c *TComboBoxEx) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TComboBoxEx) SetOnKeyPress added in v1.2.7

func (c *TComboBoxEx) SetOnKeyPress(fn TKeyPressEvent)

func (*TComboBoxEx) SetOnKeyUp added in v1.2.7

func (c *TComboBoxEx) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TComboBoxEx) SetOnMouseMove added in v1.2.7

func (c *TComboBoxEx) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

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)

CN: 设置启动停靠。 EN: .

func (*TComboBoxEx) SetParent added in v1.2.7

func (c *TComboBoxEx) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TComboBoxEx) SetParentColor added in v1.2.7

func (c *TComboBoxEx) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TComboBoxEx) SetParentDoubleBuffered added in v1.2.7

func (c *TComboBoxEx) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TComboBoxEx) SetParentFont added in v1.2.7

func (c *TComboBoxEx) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TComboBoxEx) SetParentShowHint added in v1.2.7

func (c *TComboBoxEx) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TComboBoxEx) SetParentWindow added in v1.2.7

func (c *TComboBoxEx) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TComboBoxEx) SetPopupMenu added in v1.2.7

func (c *TComboBoxEx) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TComboBoxEx) SetSelLength added in v1.2.7

func (c *TComboBoxEx) SetSelLength(value int32)

CN: 设置选择的长度。 EN: .

func (*TComboBoxEx) SetSelStart added in v1.2.7

func (c *TComboBoxEx) SetSelStart(value int32)

CN: 设置选择的启始位置。 EN: .

func (*TComboBoxEx) SetSelText added in v1.2.7

func (c *TComboBoxEx) SetSelText(value string)

CN: 设置选择的文本。 EN: .

func (*TComboBoxEx) SetShowHint added in v1.2.7

func (c *TComboBoxEx) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: 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)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TComboBoxEx) SetTabStop added in v1.2.7

func (c *TComboBoxEx) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TComboBoxEx) SetTag added in v1.2.7

func (c *TComboBoxEx) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TComboBoxEx) SetText added in v1.2.7

func (c *TComboBoxEx) SetText(value string)

CN: 设置文本。 EN: .

func (*TComboBoxEx) SetTextBuf added in v1.2.7

func (c *TComboBoxEx) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TComboBoxEx) SetTop added in v1.2.7

func (c *TComboBoxEx) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TComboBoxEx) SetUseDockManager added in v1.2.7

func (c *TComboBoxEx) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TComboBoxEx) SetVisible added in v1.2.7

func (c *TComboBoxEx) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TComboBoxEx) SetWidth added in v1.2.7

func (c *TComboBoxEx) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TComboBoxEx) Show added in v1.2.7

func (c *TComboBoxEx) Show()

CN: 显示控件。 EN: Show control.

func (*TComboBoxEx) ShowHint added in v1.2.7

func (c *TComboBoxEx) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

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

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TComboBoxEx) TabStop added in v1.2.7

func (c *TComboBoxEx) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TComboBoxEx) Tag added in v1.2.7

func (c *TComboBoxEx) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TComboBoxEx) Text added in v1.2.7

func (c *TComboBoxEx) Text() string

CN: 获取文本。 EN: .

func (*TComboBoxEx) ToString added in v1.2.7

func (c *TComboBoxEx) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TComboBoxEx) Top added in v1.2.7

func (c *TComboBoxEx) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TComboBoxEx) UnsafeAddr added in v1.2.7

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TComboBoxEx) Update added in v1.2.7

func (c *TComboBoxEx) Update()

CN: 控件更新。 EN: Update.

func (*TComboBoxEx) UseDockManager added in v1.2.7

func (c *TComboBoxEx) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TComboBoxEx) Visible added in v1.2.7

func (c *TComboBoxEx) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TComboBoxEx) VisibleDockClientCount added in v1.2.7

func (c *TComboBoxEx) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TComboBoxEx) Width added in v1.2.7

func (c *TComboBoxEx) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ComboExItemFromInst added in v1.2.7

func ComboExItemFromInst(inst uintptr) *TComboExItem

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsComboExItem.

func ComboExItemFromObj added in v1.2.7

func ComboExItemFromObj(obj IObject) *TComboExItem

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsComboExItem.

func ComboExItemFromUnsafePointer added in v1.2.7

func ComboExItemFromUnsafePointer(ptr unsafe.Pointer) *TComboExItem

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsComboExItem.

func (*TComboExItem) Assign added in v1.2.7

func (c *TComboExItem) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TComboExItem) Caption added in v1.2.7

func (c *TComboExItem) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TComboExItem) ClassName added in v1.2.7

func (c *TComboExItem) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TComboExItem) ClassType added in v1.2.7

func (c *TComboExItem) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TComboExItem) GetHashCode added in v1.2.7

func (c *TComboExItem) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TComboExItem) GetNamePath added in v1.2.7

func (c *TComboExItem) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TComboExItem) ImageIndex added in v1.2.7

func (c *TComboExItem) ImageIndex() int32

CN: 获取图像在images中的索引。 EN: .

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TComboExItem) Instance added in v1.2.7

func (c *TComboExItem) Instance() uintptr

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TComboExItem) InstanceSize added in v1.2.7

func (c *TComboExItem) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TComboExItem) Is added in v1.2.10

func (c *TComboExItem) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TComboExItem) IsValid added in v1.2.7

func (c *TComboExItem) IsValid() bool

CN: 检测地址是否为空。 EN: 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)

CN: 设置控件标题。 EN: 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)

CN: 设置图像在images中的索引。 EN: .

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

CN: 文本类信息。 EN: Text information.

func (*TComboExItem) UnsafeAddr added in v1.2.7

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

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ComboExItemsFromInst added in v1.2.7

func ComboExItemsFromInst(inst uintptr) *TComboExItems

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsComboExItems.

func ComboExItemsFromObj added in v1.2.7

func ComboExItemsFromObj(obj IObject) *TComboExItems

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsComboExItems.

func ComboExItemsFromUnsafePointer added in v1.2.7

func ComboExItemsFromUnsafePointer(ptr unsafe.Pointer) *TComboExItems

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsComboExItems.

func (*TComboExItems) Add 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)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TComboExItems) ClassType added in v1.2.7

func (c *TComboExItems) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TComboExItems) Clear added in v1.2.7

func (c *TComboExItems) Clear()

CN: 清除。 EN: .

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

CN: 与一个对象进行比较。 EN: 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

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TComboExItems) GetNamePath added in v1.2.7

func (c *TComboExItems) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TComboExItems) InheritsFrom added in v1.2.7

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

CN: 判断当前类是否继承自指定类。 EN: 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

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TComboExItems) InstanceSize added in v1.2.7

func (c *TComboExItems) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TComboExItems) Is added in v1.2.10

func (c *TComboExItems) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TComboExItems) IsValid added in v1.2.7

func (c *TComboExItems) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TComboExItems) Owner added in v1.2.7

func (c *TComboExItems) Owner() *TObject

CN: 组件所有者。 EN: component owner.

func (*TComboExItems) ToString added in v1.2.7

func (c *TComboExItems) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TComboExItems) UnsafeAddr added in v1.2.7

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

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ComponentFromInst

func ComponentFromInst(inst uintptr) *TComponent

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsComponent.

func ComponentFromObj

func ComponentFromObj(obj IObject) *TComponent

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsComponent.

func ComponentFromUnsafePointer added in v1.1.21

func ComponentFromUnsafePointer(ptr unsafe.Pointer) *TComponent

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsComponent.

func NewComponent

func NewComponent(owner IComponent) *TComponent

CN: 创建一个新的对象。 EN: Create a new object.

func (*TComponent) Assign

func (c *TComponent) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TComponent) ClassName

func (c *TComponent) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TComponent) ClassType added in v1.1.18

func (c *TComponent) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TComponent) ComponentCount

func (c *TComponent) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TComponent) ComponentIndex

func (c *TComponent) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TComponent) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TComponent) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TComponent) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TComponent) Free

func (c *TComponent) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TComponent) GetHashCode

func (c *TComponent) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TComponent) GetNamePath

func (c *TComponent) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TComponent) HasParent

func (c *TComponent) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TComponent) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TComponent) Instance

func (c *TComponent) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TComponent) InstanceSize added in v1.1.18

func (c *TComponent) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TComponent) Is added in v1.2.10

func (c *TComponent) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TComponent) IsValid

func (c *TComponent) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TComponent) Name

func (c *TComponent) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TComponent) Owner

func (c *TComponent) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TComponent) SetComponentIndex

func (c *TComponent) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TComponent) SetName

func (c *TComponent) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TComponent) SetTag

func (c *TComponent) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TComponent) Tag

func (c *TComponent) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TComponent) ToString

func (c *TComponent) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TComponent) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TConstrainedResizeEvent

type TConstrainedResizeEvent func(sender IObject, minWidth, minHeight, maxWidth, maxHeight *int32)

约束调整大小事件

type TContextPopupEvent

type TContextPopupEvent func(sender IObject, mousePos TPoint, handled *bool)

TContextPopupEvent = procedure(Sender: TObject; MousePos: TPoint; var Handled: Boolean) of object;

type TControl

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

func AsControl added in v1.2.10

func AsControl(obj interface{}) *TControl

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ControlFromInst

func ControlFromInst(inst uintptr) *TControl

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsControl.

func ControlFromObj

func ControlFromObj(obj IObject) *TControl

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsControl.

func ControlFromUnsafePointer added in v1.1.21

func ControlFromUnsafePointer(ptr unsafe.Pointer) *TControl

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsControl.

func NewControl

func NewControl(owner IComponent) *TControl

CN: 创建一个新的对象。 EN: Create a new object.

func (*TControl) Action

func (c *TControl) Action() *TAction

func (*TControl) Align

func (c *TControl) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TControl) AnchorParallel

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

func (*TControl) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TControl) AnchorSideBottom

func (c *TControl) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TControl) AnchorSideLeft

func (c *TControl) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TControl) AnchorSideRight

func (c *TControl) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TControl) AnchorSideTop

func (c *TControl) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TControl) AnchorToNeighbour

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

func (*TControl) AnchorVerticalCenterTo

func (c *TControl) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TControl) Anchors

func (c *TControl) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TControl) Assign

func (c *TControl) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TControl) BiDiMode

func (c *TControl) BiDiMode() TBiDiMode

func (*TControl) BorderSpacing

func (c *TControl) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TControl) BoundsRect

func (c *TControl) BoundsRect() TRect

func (*TControl) BringToFront

func (c *TControl) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TControl) ClassName

func (c *TControl) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TControl) ClassType added in v1.1.18

func (c *TControl) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TControl) ClientHeight

func (c *TControl) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TControl) ClientOrigin added in v1.1.21

func (c *TControl) ClientOrigin() TPoint

func (*TControl) ClientRect

func (c *TControl) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TControl) ClientToParent

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TControl) ClientToScreen

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TControl) ClientWidth

func (c *TControl) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TControl) ComponentCount

func (c *TControl) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TControl) ComponentIndex

func (c *TControl) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TControl) Components

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TControl) Constraints added in v1.2.7

func (c *TControl) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TControl) ControlState added in v1.1.21

func (c *TControl) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TControl) ControlStyle added in v1.1.21

func (c *TControl) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TControl) Cursor

func (c *TControl) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TControl) Dragging

func (c *TControl) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TControl) Enabled

func (c *TControl) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TControl) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TControl) FindComponent

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TControl) Floating

func (c *TControl) Floating() bool

func (*TControl) Free

func (c *TControl) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TControl) GetHashCode

func (c *TControl) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TControl) GetNamePath

func (c *TControl) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TControl) GetTextBuf

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TControl) GetTextLen

func (c *TControl) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TControl) HasParent

func (c *TControl) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TControl) Height

func (c *TControl) Height() int32

CN: 获取高度。 EN: Get height.

func (*TControl) Hide

func (c *TControl) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TControl) Hint

func (c *TControl) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TControl) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TControl) Instance

func (c *TControl) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TControl) InstanceSize added in v1.1.18

func (c *TControl) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TControl) Invalidate

func (c *TControl) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TControl) Is added in v1.2.10

func (c *TControl) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TControl) IsValid

func (c *TControl) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TControl) Left

func (c *TControl) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TControl) Name

func (c *TControl) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TControl) Owner

func (c *TControl) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TControl) Parent

func (c *TControl) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TControl) ParentToClient

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

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TControl) Perform

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

CN: 发送一个消息。 EN: Send a message.

func (*TControl) Refresh

func (c *TControl) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TControl) Repaint

func (c *TControl) Repaint()

CN: 重绘。 EN: Repaint.

func (*TControl) ScreenToClient

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TControl) SendToBack

func (c *TControl) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TControl) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TControl) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TControl) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TControl) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TControl) SetAnchors

func (c *TControl) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TControl) SetBiDiMode

func (c *TControl) SetBiDiMode(value TBiDiMode)

func (*TControl) SetBorderSpacing

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

CN: 设置边框间距。 EN: .

func (*TControl) SetBounds

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

CN: 设置组件边界。 EN: Set component boundaries.

func (*TControl) SetBoundsRect

func (c *TControl) SetBoundsRect(value TRect)

func (*TControl) SetClientHeight

func (c *TControl) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TControl) SetClientWidth

func (c *TControl) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TControl) SetComponentIndex

func (c *TControl) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TControl) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TControl) SetControlState added in v1.1.21

func (c *TControl) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TControl) SetControlStyle added in v1.1.21

func (c *TControl) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TControl) SetCursor

func (c *TControl) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TControl) SetEnabled

func (c *TControl) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TControl) SetHeight

func (c *TControl) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TControl) SetHint

func (c *TControl) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TControl) SetLeft

func (c *TControl) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TControl) SetName

func (c *TControl) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TControl) SetParent

func (c *TControl) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TControl) SetShowHint

func (c *TControl) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TControl) SetTag

func (c *TControl) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TControl) SetTextBuf added in v1.1.21

func (c *TControl) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TControl) SetTop

func (c *TControl) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TControl) SetVisible

func (c *TControl) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TControl) SetWidth

func (c *TControl) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TControl) Show

func (c *TControl) Show()

CN: 显示控件。 EN: Show control.

func (*TControl) ShowHint

func (c *TControl) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TControl) Tag

func (c *TControl) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TControl) ToString

func (c *TControl) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TControl) Top

func (c *TControl) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TControl) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TControl) Update

func (c *TControl) Update()

CN: 控件更新。 EN: Update.

func (*TControl) Visible

func (c *TControl) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TControl) Width

func (c *TControl) Width() int32

CN: 获取宽度。 EN: Get width.

type TControlBorderSpacing

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

func AsControlBorderSpacing

func AsControlBorderSpacing(obj interface{}) *TControlBorderSpacing

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ControlBorderSpacingFromInst

func ControlBorderSpacingFromInst(inst uintptr) *TControlBorderSpacing

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsControlBorderSpacing.

func ControlBorderSpacingFromObj

func ControlBorderSpacingFromObj(obj IObject) *TControlBorderSpacing

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsControlBorderSpacing.

func ControlBorderSpacingFromUnsafePointer

func ControlBorderSpacingFromUnsafePointer(ptr unsafe.Pointer) *TControlBorderSpacing

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsControlBorderSpacing.

func (*TControlBorderSpacing) Around

func (c *TControlBorderSpacing) Around() int32

func (*TControlBorderSpacing) AroundBottom

func (c *TControlBorderSpacing) AroundBottom() int32

func (*TControlBorderSpacing) AroundLeft

func (c *TControlBorderSpacing) AroundLeft() int32

func (*TControlBorderSpacing) AroundRight

func (c *TControlBorderSpacing) AroundRight() int32

func (*TControlBorderSpacing) AroundTop

func (c *TControlBorderSpacing) AroundTop() int32

func (*TControlBorderSpacing) Assign

func (c *TControlBorderSpacing) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TControlBorderSpacing) ClassType

func (c *TControlBorderSpacing) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TControlBorderSpacing) GetHashCode

func (c *TControlBorderSpacing) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TControlBorderSpacing) GetNamePath

func (c *TControlBorderSpacing) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TControlBorderSpacing) InheritsFrom

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TControlBorderSpacing) InnerBorder

func (c *TControlBorderSpacing) InnerBorder() int32

func (*TControlBorderSpacing) Instance

func (c *TControlBorderSpacing) Instance() uintptr

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TControlBorderSpacing) InstanceSize

func (c *TControlBorderSpacing) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TControlBorderSpacing) Is

func (c *TControlBorderSpacing) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TControlBorderSpacing) IsValid

func (c *TControlBorderSpacing) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TControlBorderSpacing) Left

func (c *TControlBorderSpacing) Left() int32

CN: 获取左边位置。 EN: 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)

CN: 设置左边位置。 EN: Set Left position.

func (*TControlBorderSpacing) SetOnChange

func (c *TControlBorderSpacing) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: 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)

CN: 设置顶边位置。 EN: Set Top position.

func (*TControlBorderSpacing) Space

func (c *TControlBorderSpacing) Space(Kind TAnchorKind) int32

func (*TControlBorderSpacing) ToString

func (c *TControlBorderSpacing) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TControlBorderSpacing) Top

func (c *TControlBorderSpacing) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TControlBorderSpacing) UnsafeAddr

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TControlChildSizing

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

func AsControlChildSizing

func AsControlChildSizing(obj interface{}) *TControlChildSizing

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ControlChildSizingFromInst

func ControlChildSizingFromInst(inst uintptr) *TControlChildSizing

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsControlChildSizing.

func ControlChildSizingFromObj

func ControlChildSizingFromObj(obj IObject) *TControlChildSizing

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsControlChildSizing.

func ControlChildSizingFromUnsafePointer

func ControlChildSizingFromUnsafePointer(ptr unsafe.Pointer) *TControlChildSizing

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsControlChildSizing.

func (*TControlChildSizing) Assign

func (c *TControlChildSizing) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TControlChildSizing) ClassName

func (c *TControlChildSizing) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TControlChildSizing) ClassType

func (c *TControlChildSizing) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TControlChildSizing) GetHashCode

func (c *TControlChildSizing) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TControlChildSizing) GetNamePath

func (c *TControlChildSizing) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TControlChildSizing) HorizontalSpacing

func (c *TControlChildSizing) HorizontalSpacing() int32

func (*TControlChildSizing) InheritsFrom

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TControlChildSizing) Instance

func (c *TControlChildSizing) Instance() uintptr

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TControlChildSizing) InstanceSize

func (c *TControlChildSizing) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TControlChildSizing) Is

func (c *TControlChildSizing) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TControlChildSizing) IsValid

func (c *TControlChildSizing) IsValid() bool

CN: 检测地址是否为空。 EN: 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)

CN: 设置改变事件。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TControlChildSizing) TopBottomSpacing

func (c *TControlChildSizing) TopBottomSpacing() int32

func (*TControlChildSizing) UnsafeAddr

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

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ControlScrollBarFromInst added in v1.2.7

func ControlScrollBarFromInst(inst uintptr) *TControlScrollBar

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsControlScrollBar.

func ControlScrollBarFromObj added in v1.2.7

func ControlScrollBarFromObj(obj IObject) *TControlScrollBar

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsControlScrollBar.

func ControlScrollBarFromUnsafePointer added in v1.2.7

func ControlScrollBarFromUnsafePointer(ptr unsafe.Pointer) *TControlScrollBar

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsControlScrollBar.

func (*TControlScrollBar) Assign added in v1.2.7

func (c *TControlScrollBar) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TControlScrollBar) ClassName added in v1.2.7

func (c *TControlScrollBar) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TControlScrollBar) ClassType added in v1.2.7

func (c *TControlScrollBar) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TControlScrollBar) Equals added in v1.2.7

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TControlScrollBar) GetHashCode added in v1.2.7

func (c *TControlScrollBar) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TControlScrollBar) GetNamePath added in v1.2.7

func (c *TControlScrollBar) GetNamePath() string

CN: 获取类名路径。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TControlScrollBar) Instance added in v1.2.7

func (c *TControlScrollBar) Instance() uintptr

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TControlScrollBar) InstanceSize added in v1.2.7

func (c *TControlScrollBar) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TControlScrollBar) Is added in v1.2.10

func (c *TControlScrollBar) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: 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

CN: 检测地址是否为空。 EN: Check if the address is empty.

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)

CN: 设置控件可视。 EN: 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

CN: 文本类信息。 EN: 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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TControlScrollBar) Visible added in v1.2.7

func (c *TControlScrollBar) Visible() bool

CN: 获取控件可视。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func CoolBandFromInst added in v1.1.19

func CoolBandFromInst(inst uintptr) *TCoolBand

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsCoolBand.

func CoolBandFromObj added in v1.1.19

func CoolBandFromObj(obj IObject) *TCoolBand

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsCoolBand.

func CoolBandFromUnsafePointer added in v1.1.21

func CoolBandFromUnsafePointer(ptr unsafe.Pointer) *TCoolBand

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCoolBand.

func NewCoolBand added in v1.1.19

func NewCoolBand(AOwner *TCollection) *TCoolBand

CN: 创建一个新的对象。 EN: Create a new object.

func (*TCoolBand) Assign added in v1.1.19

func (c *TCoolBand) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

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

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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TCoolBand) ClassType added in v1.1.19

func (c *TCoolBand) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 获取颜色。 EN: 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

CN: 与一个对象进行比较。 EN: 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()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TCoolBand) GetHashCode added in v1.1.19

func (c *TCoolBand) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TCoolBand) GetNamePath added in v1.1.19

func (c *TCoolBand) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TCoolBand) Height added in v1.1.19

func (c *TCoolBand) Height() int32

CN: 获取高度。 EN: 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

CN: 获取图像在images中的索引。 EN: .

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TCoolBand) Instance added in v1.1.19

func (c *TCoolBand) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TCoolBand) InstanceSize added in v1.1.19

func (c *TCoolBand) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TCoolBand) Is added in v1.2.10

func (c *TCoolBand) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TCoolBand) IsValid added in v1.1.19

func (c *TCoolBand) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取父容器颜色。 EN: 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)

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

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)

CN: 设置颜色。 EN: 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)

CN: 设置图像在images中的索引。 EN: .

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)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TCoolBand) SetText added in v1.1.19

func (c *TCoolBand) SetText(value string)

CN: 设置文本。 EN: .

func (*TCoolBand) SetVisible added in v1.1.19

func (c *TCoolBand) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TCoolBand) SetWidth added in v1.1.19

func (c *TCoolBand) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TCoolBand) Text added in v1.1.19

func (c *TCoolBand) Text() string

CN: 获取文本。 EN: .

func (*TCoolBand) ToString added in v1.1.19

func (c *TCoolBand) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TCoolBand) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TCoolBand) Visible added in v1.1.19

func (c *TCoolBand) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TCoolBand) Width added in v1.1.19

func (c *TCoolBand) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func CoolBandsFromInst added in v1.1.19

func CoolBandsFromInst(inst uintptr) *TCoolBands

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsCoolBands.

func CoolBandsFromObj added in v1.1.19

func CoolBandsFromObj(obj IObject) *TCoolBands

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsCoolBands.

func CoolBandsFromUnsafePointer added in v1.1.21

func CoolBandsFromUnsafePointer(ptr unsafe.Pointer) *TCoolBands

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCoolBands.

func NewCoolBands added in v1.1.19

func NewCoolBands(AOwner *TCoolBar) *TCoolBands

CN: 创建一个新的对象。 EN: 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)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TCoolBands) ClassType added in v1.1.19

func (c *TCoolBands) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TCoolBands) Clear added in v1.1.19

func (c *TCoolBands) Clear()

CN: 清除。 EN: .

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

CN: 与一个对象进行比较。 EN: 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()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TCoolBands) GetHashCode added in v1.1.19

func (c *TCoolBands) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TCoolBands) GetNamePath added in v1.1.19

func (c *TCoolBands) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TCoolBands) InheritsFrom added in v1.1.19

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

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TCoolBands) InstanceSize added in v1.1.19

func (c *TCoolBands) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TCoolBands) Is added in v1.2.10

func (c *TCoolBands) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TCoolBands) IsValid added in v1.1.19

func (c *TCoolBands) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 组件所有者。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TCoolBands) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func CoolBarFromInst added in v1.1.19

func CoolBarFromInst(inst uintptr) *TCoolBar

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsCoolBar.

func CoolBarFromObj added in v1.1.19

func CoolBarFromObj(obj IObject) *TCoolBar

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsCoolBar.

func CoolBarFromUnsafePointer added in v1.1.21

func CoolBarFromUnsafePointer(ptr unsafe.Pointer) *TCoolBar

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsCoolBar.

func NewCoolBar added in v1.1.19

func NewCoolBar(owner IComponent) *TCoolBar

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TCoolBar) AnchorParallel

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

func (*TCoolBar) AnchorSide

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

CN: 获取锚侧面。 EN: .

func (*TCoolBar) AnchorSideBottom

func (c *TCoolBar) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TCoolBar) AnchorSideLeft

func (c *TCoolBar) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TCoolBar) AnchorSideRight

func (c *TCoolBar) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TCoolBar) AnchorSideTop

func (c *TCoolBar) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TCoolBar) AnchorToNeighbour

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

func (*TCoolBar) AnchorVerticalCenterTo

func (c *TCoolBar) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TCoolBar) Anchors added in v1.1.19

func (c *TCoolBar) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TCoolBar) Assign added in v1.1.19

func (c *TCoolBar) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TCoolBar) AutoSize added in v1.1.19

func (c *TCoolBar) AutoSize() bool

CN: 获取自动调整大小。 EN: .

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

CN: 获取边框间距。 EN: .

func (*TCoolBar) BorderWidth added in v1.1.19

func (c *TCoolBar) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TCoolBar) Brush added in v1.1.19

func (c *TCoolBar) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TCoolBar) CanFocus added in v1.1.19

func (c *TCoolBar) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TCoolBar) ChildSizing

func (c *TCoolBar) ChildSizing() *TControlChildSizing

func (*TCoolBar) ClassName added in v1.1.19

func (c *TCoolBar) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TCoolBar) ClassType added in v1.1.19

func (c *TCoolBar) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TCoolBar) ClientHeight added in v1.1.19

func (c *TCoolBar) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TCoolBar) ClientToParent added in v1.1.19

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

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TCoolBar) ClientToScreen added in v1.1.19

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

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TCoolBar) ClientWidth added in v1.1.19

func (c *TCoolBar) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TCoolBar) Color added in v1.1.19

func (c *TCoolBar) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TCoolBar) ComponentCount added in v1.1.19

func (c *TCoolBar) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TCoolBar) ComponentIndex added in v1.1.19

func (c *TCoolBar) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TCoolBar) Components added in v1.1.19

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

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TCoolBar) Constraints added in v1.2.7

func (c *TCoolBar) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TCoolBar) ContainsControl added in v1.1.21

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

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TCoolBar) ControlCount added in v1.1.19

func (c *TCoolBar) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TCoolBar) ControlState added in v1.1.21

func (c *TCoolBar) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TCoolBar) ControlStyle added in v1.1.21

func (c *TCoolBar) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TCoolBar) Controls added in v1.1.19

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

CN: 获取指定索引子控件。 EN: .

func (*TCoolBar) Cursor added in v1.1.19

func (c *TCoolBar) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TCoolBar) DisableAlign added in v1.1.21

func (c *TCoolBar) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TCoolBar) DockClientCount added in v1.1.21

func (c *TCoolBar) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TCoolBar) DockClients added in v1.1.21

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

CN: 获取指定索引停靠客户端。 EN: .

func (*TCoolBar) DockSite added in v1.1.19

func (c *TCoolBar) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TCoolBar) DoubleBuffered added in v1.1.19

func (c *TCoolBar) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TCoolBar) DragCursor added in v1.1.19

func (c *TCoolBar) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TCoolBar) DragKind added in v1.1.19

func (c *TCoolBar) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TCoolBar) DragMode added in v1.1.19

func (c *TCoolBar) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TCoolBar) Dragging added in v1.1.19

func (c *TCoolBar) Dragging() bool

CN: 是否在拖拽中。 EN: 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()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TCoolBar) Enabled added in v1.1.19

func (c *TCoolBar) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TCoolBar) Equals added in v1.1.19

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TCoolBar) FindChildControl added in v1.1.21

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

CN: 查找子控件。 EN: Find sub controls.

func (*TCoolBar) FindComponent added in v1.1.19

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TCoolBar) Font added in v1.1.19

func (c *TCoolBar) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TCoolBar) Free added in v1.1.19

func (c *TCoolBar) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TCoolBar) GetHashCode added in v1.1.19

func (c *TCoolBar) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TCoolBar) GetNamePath added in v1.1.19

func (c *TCoolBar) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TCoolBar) GetTextBuf added in v1.1.19

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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TCoolBar) GetTextLen added in v1.1.19

func (c *TCoolBar) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TCoolBar) Handle added in v1.1.19

func (c *TCoolBar) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TCoolBar) HandleAllocated added in v1.1.19

func (c *TCoolBar) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TCoolBar) HasParent added in v1.1.19

func (c *TCoolBar) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TCoolBar) Height added in v1.1.19

func (c *TCoolBar) Height() int32

CN: 获取高度。 EN: Get height.

func (*TCoolBar) Hide added in v1.1.19

func (c *TCoolBar) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TCoolBar) Hint added in v1.1.19

func (c *TCoolBar) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TCoolBar) Images added in v1.1.19

func (c *TCoolBar) Images() *TImageList

CN: 获取图标索引列表对象。 EN: .

func (*TCoolBar) InheritsFrom added in v1.1.19

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TCoolBar) Instance added in v1.1.19

func (c *TCoolBar) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TCoolBar) InstanceSize added in v1.1.19

func (c *TCoolBar) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TCoolBar) Invalidate added in v1.1.19

func (c *TCoolBar) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TCoolBar) Is added in v1.2.10

func (c *TCoolBar) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TCoolBar) IsValid added in v1.1.19

func (c *TCoolBar) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TCoolBar) Left added in v1.1.19

func (c *TCoolBar) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TCoolBar) MouseInClient added in v1.1.21

func (c *TCoolBar) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TCoolBar) Owner added in v1.1.19

func (c *TCoolBar) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TCoolBar) Parent added in v1.1.19

func (c *TCoolBar) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TCoolBar) ParentColor added in v1.1.19

func (c *TCoolBar) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TCoolBar) ParentDoubleBuffered added in v1.1.19

func (c *TCoolBar) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TCoolBar) ParentFont added in v1.1.19

func (c *TCoolBar) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TCoolBar) ParentShowHint added in v1.1.19

func (c *TCoolBar) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TCoolBar) ParentToClient added in v1.1.19

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

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TCoolBar) ParentWindow added in v1.1.19

func (c *TCoolBar) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TCoolBar) Perform added in v1.1.19

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

CN: 发送一个消息。 EN: Send a message.

func (*TCoolBar) PopupMenu added in v1.1.19

func (c *TCoolBar) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TCoolBar) Realign added in v1.1.19

func (c *TCoolBar) Realign()

CN: 重新对齐。 EN: Realign.

func (*TCoolBar) Refresh added in v1.1.19

func (c *TCoolBar) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TCoolBar) RemoveControl added in v1.1.21

func (c *TCoolBar) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TCoolBar) Repaint added in v1.1.19

func (c *TCoolBar) Repaint()

CN: 重绘。 EN: Repaint.

func (*TCoolBar) ScaleBy added in v1.1.19

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

CN: 按比例缩放。 EN: Scale by.

func (*TCoolBar) ScreenToClient added in v1.1.19

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

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TCoolBar) ScrollBy added in v1.1.21

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

CN: 滚动至指定位置。 EN: Scroll by.

func (*TCoolBar) SendToBack added in v1.1.19

func (c *TCoolBar) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TCoolBar) SetAnchorSideBottom

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

CN: 设置底边锚点。 EN: .

func (*TCoolBar) SetAnchorSideLeft

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

CN: 设置左边锚点。 EN: .

func (*TCoolBar) SetAnchorSideRight

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

CN: 设置右边锚点。 EN: .

func (*TCoolBar) SetAnchorSideTop

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

CN: 设置顶边锚点。 EN: .

func (*TCoolBar) SetAnchors added in v1.1.19

func (c *TCoolBar) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TCoolBar) SetAutoSize added in v1.1.19

func (c *TCoolBar) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

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)

CN: 设置边框间距。 EN: .

func (*TCoolBar) SetBorderWidth added in v1.1.19

func (c *TCoolBar) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TCoolBar) SetBounds added in v1.1.19

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

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TCoolBar) SetClientWidth added in v1.1.19

func (c *TCoolBar) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TCoolBar) SetColor added in v1.1.19

func (c *TCoolBar) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TCoolBar) SetComponentIndex added in v1.1.19

func (c *TCoolBar) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TCoolBar) SetConstraints added in v1.2.7

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

CN: 设置约束控件大小。 EN: .

func (*TCoolBar) SetControlState added in v1.1.21

func (c *TCoolBar) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TCoolBar) SetControlStyle added in v1.1.21

func (c *TCoolBar) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TCoolBar) SetCursor added in v1.1.19

func (c *TCoolBar) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TCoolBar) SetDockSite added in v1.1.19

func (c *TCoolBar) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TCoolBar) SetDoubleBuffered added in v1.1.19

func (c *TCoolBar) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TCoolBar) SetDragCursor added in v1.1.19

func (c *TCoolBar) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TCoolBar) SetDragKind added in v1.1.19

func (c *TCoolBar) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TCoolBar) SetDragMode added in v1.1.19

func (c *TCoolBar) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: 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)

CN: 设置控件启用。 EN: 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()

CN: 设置控件焦点。 EN: Set control focus.

func (*TCoolBar) SetFont added in v1.1.19

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

CN: 设置字体。 EN: Set Font.

func (*TCoolBar) SetHeight added in v1.1.19

func (c *TCoolBar) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TCoolBar) SetHint added in v1.1.19

func (c *TCoolBar) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TCoolBar) SetImages added in v1.1.19

func (c *TCoolBar) SetImages(value IComponent)

CN: 设置图标索引列表对象。 EN: .

func (*TCoolBar) SetLeft added in v1.1.19

func (c *TCoolBar) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TCoolBar) SetName added in v1.1.19

func (c *TCoolBar) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TCoolBar) SetOnChange added in v1.1.19

func (c *TCoolBar) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TCoolBar) SetOnClick added in v1.1.19

func (c *TCoolBar) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TCoolBar) SetOnContextPopup added in v1.1.19

func (c *TCoolBar) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TCoolBar) SetOnDblClick added in v1.1.19

func (c *TCoolBar) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

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)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TCoolBar) SetOnDragOver added in v1.1.19

func (c *TCoolBar) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TCoolBar) SetOnEndDock added in v1.1.19

func (c *TCoolBar) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TCoolBar) SetOnEndDrag added in v1.1.19

func (c *TCoolBar) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: 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)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TCoolBar) SetOnMouseEnter added in v1.1.19

func (c *TCoolBar) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TCoolBar) SetOnMouseLeave added in v1.1.19

func (c *TCoolBar) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TCoolBar) SetOnMouseMove added in v1.1.19

func (c *TCoolBar) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TCoolBar) SetOnMouseUp added in v1.1.19

func (c *TCoolBar) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TCoolBar) SetOnResize added in v1.1.19

func (c *TCoolBar) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

func (*TCoolBar) SetOnStartDock added in v1.1.19

func (c *TCoolBar) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TCoolBar) SetParentColor added in v1.1.19

func (c *TCoolBar) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TCoolBar) SetParentDoubleBuffered added in v1.1.19

func (c *TCoolBar) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TCoolBar) SetParentFont added in v1.1.19

func (c *TCoolBar) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TCoolBar) SetParentShowHint added in v1.1.19

func (c *TCoolBar) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TCoolBar) SetParentWindow added in v1.1.19

func (c *TCoolBar) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TCoolBar) SetPopupMenu added in v1.1.19

func (c *TCoolBar) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TCoolBar) SetShowHint added in v1.1.19

func (c *TCoolBar) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: 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)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TCoolBar) SetTabStop added in v1.1.19

func (c *TCoolBar) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TCoolBar) SetTag added in v1.1.19

func (c *TCoolBar) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TCoolBar) SetTextBuf added in v1.1.21

func (c *TCoolBar) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TCoolBar) SetTop added in v1.1.19

func (c *TCoolBar) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TCoolBar) SetUseDockManager added in v1.1.19

func (c *TCoolBar) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

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)

CN: 设置控件可视。 EN: Set the control visible.

func (*TCoolBar) SetWidth added in v1.1.19

func (c *TCoolBar) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TCoolBar) Show added in v1.1.19

func (c *TCoolBar) Show()

CN: 显示控件。 EN: Show control.

func (*TCoolBar) ShowHint added in v1.1.19

func (c *TCoolBar) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TCoolBar) ShowText added in v1.1.19

func (c *TCoolBar) ShowText() bool

func (*TCoolBar) TabOrder added in v1.1.19

func (c *TCoolBar) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TCoolBar) TabStop added in v1.1.19

func (c *TCoolBar) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TCoolBar) Tag added in v1.1.19

func (c *TCoolBar) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TCoolBar) ToString added in v1.1.19

func (c *TCoolBar) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TCoolBar) Top added in v1.1.19

func (c *TCoolBar) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TCoolBar) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TCoolBar) Update added in v1.1.19

func (c *TCoolBar) Update()

CN: 控件更新。 EN: Update.

func (*TCoolBar) UseDockManager added in v1.1.19

func (c *TCoolBar) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

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

CN: 获取控件可视。 EN: Get the control visible.

func (*TCoolBar) VisibleDockClientCount added in v1.1.21

func (c *TCoolBar) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TCoolBar) Width added in v1.1.19

func (c *TCoolBar) Width() int32

CN: 获取宽度。 EN: Get width.

type TCreatingListErrorEvent added in v1.1.23

type TCreatingListErrorEvent func(sender IObject, winErrorCode uint32, errorDescription string, handled *bool)

TCreatingListErrorEvent = procedure (Sender: TObject; WinErrorCode: Cardinal; const ErrorDescription: string; var Handled: Boolean) of object;

type TCustomSectionNotifyEvent added in v1.1.19

type TCustomSectionNotifyEvent func(headerControl *THeaderControl, section *THeaderSection)

TCustomSectionNotifyEvent = procedure(HeaderControl: TCustomHeaderControl; Section: THeaderSection) of object;

type TDateTimePicker

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

func AsDateTimePicker added in v1.2.10

func AsDateTimePicker(obj interface{}) *TDateTimePicker

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func DateTimePickerFromInst

func DateTimePickerFromInst(inst uintptr) *TDateTimePicker

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsDateTimePicker.

func DateTimePickerFromObj

func DateTimePickerFromObj(obj IObject) *TDateTimePicker

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsDateTimePicker.

func DateTimePickerFromUnsafePointer added in v1.1.21

func DateTimePickerFromUnsafePointer(ptr unsafe.Pointer) *TDateTimePicker

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsDateTimePicker.

func NewDateTimePicker

func NewDateTimePicker(owner IComponent) *TDateTimePicker

CN: 创建一个新的对象。 EN: Create a new object.

func (*TDateTimePicker) Action

func (d *TDateTimePicker) Action() *TAction

func (*TDateTimePicker) Align

func (d *TDateTimePicker) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TDateTimePicker) AnchorParallel

func (d *TDateTimePicker) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDateTimePicker) AnchorSide

func (d *TDateTimePicker) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TDateTimePicker) AnchorSideBottom

func (d *TDateTimePicker) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TDateTimePicker) AnchorSideLeft

func (d *TDateTimePicker) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TDateTimePicker) AnchorSideRight

func (d *TDateTimePicker) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TDateTimePicker) AnchorSideTop

func (d *TDateTimePicker) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TDateTimePicker) AnchorToNeighbour

func (d *TDateTimePicker) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDateTimePicker) AnchorVerticalCenterTo

func (d *TDateTimePicker) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TDateTimePicker) Anchors

func (d *TDateTimePicker) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TDateTimePicker) Assign

func (d *TDateTimePicker) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TDateTimePicker) BiDiMode

func (d *TDateTimePicker) BiDiMode() TBiDiMode

func (*TDateTimePicker) BorderSpacing

func (d *TDateTimePicker) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TDateTimePicker) BoundsRect

func (d *TDateTimePicker) BoundsRect() TRect

func (*TDateTimePicker) BringToFront

func (d *TDateTimePicker) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TDateTimePicker) Brush

func (d *TDateTimePicker) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TDateTimePicker) CalAlignment

func (d *TDateTimePicker) CalAlignment() TDTCalAlignment

func (*TDateTimePicker) CanFocus

func (d *TDateTimePicker) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TDateTimePicker) Checked

func (d *TDateTimePicker) Checked() bool

CN: 获取是否选中。 EN: .

func (*TDateTimePicker) ChildSizing

func (d *TDateTimePicker) ChildSizing() *TControlChildSizing

func (*TDateTimePicker) ClassName

func (d *TDateTimePicker) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TDateTimePicker) ClassType added in v1.1.18

func (d *TDateTimePicker) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TDateTimePicker) ClientHeight

func (d *TDateTimePicker) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TDateTimePicker) ClientOrigin added in v1.1.21

func (d *TDateTimePicker) ClientOrigin() TPoint

func (*TDateTimePicker) ClientRect

func (d *TDateTimePicker) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TDateTimePicker) ClientToParent

func (d *TDateTimePicker) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TDateTimePicker) ClientToScreen

func (d *TDateTimePicker) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TDateTimePicker) ClientWidth

func (d *TDateTimePicker) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TDateTimePicker) Color

func (d *TDateTimePicker) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TDateTimePicker) ComponentCount

func (d *TDateTimePicker) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TDateTimePicker) ComponentIndex

func (d *TDateTimePicker) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TDateTimePicker) Components

func (d *TDateTimePicker) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TDateTimePicker) Constraints added in v1.2.7

func (d *TDateTimePicker) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TDateTimePicker) ContainsControl added in v1.1.21

func (d *TDateTimePicker) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TDateTimePicker) ControlCount

func (d *TDateTimePicker) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TDateTimePicker) ControlState added in v1.1.21

func (d *TDateTimePicker) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TDateTimePicker) ControlStyle added in v1.1.21

func (d *TDateTimePicker) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TDateTimePicker) Controls

func (d *TDateTimePicker) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TDateTimePicker) Cursor

func (d *TDateTimePicker) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TDateTimePicker) Date

func (d *TDateTimePicker) Date() time.Time

func (*TDateTimePicker) DateMode

func (d *TDateTimePicker) DateMode() TDTDateMode

func (*TDateTimePicker) DateTime

func (d *TDateTimePicker) DateTime() time.Time

func (*TDateTimePicker) DisableAlign added in v1.1.21

func (d *TDateTimePicker) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TDateTimePicker) DockClientCount added in v1.1.21

func (d *TDateTimePicker) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TDateTimePicker) DockClients added in v1.1.21

func (d *TDateTimePicker) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TDateTimePicker) DockSite

func (d *TDateTimePicker) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TDateTimePicker) DoubleBuffered

func (d *TDateTimePicker) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TDateTimePicker) Dragging

func (d *TDateTimePicker) Dragging() bool

CN: 是否在拖拽中。 EN: 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()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TDateTimePicker) Enabled

func (d *TDateTimePicker) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TDateTimePicker) Equals

func (d *TDateTimePicker) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TDateTimePicker) FindChildControl added in v1.1.21

func (d *TDateTimePicker) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TDateTimePicker) FindComponent

func (d *TDateTimePicker) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TDateTimePicker) Font

func (d *TDateTimePicker) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TDateTimePicker) Free

func (d *TDateTimePicker) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TDateTimePicker) GetHashCode

func (d *TDateTimePicker) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TDateTimePicker) GetNamePath

func (d *TDateTimePicker) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TDateTimePicker) GetTextBuf

func (d *TDateTimePicker) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TDateTimePicker) GetTextLen

func (d *TDateTimePicker) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TDateTimePicker) Handle

func (d *TDateTimePicker) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TDateTimePicker) HandleAllocated

func (d *TDateTimePicker) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TDateTimePicker) HasParent

func (d *TDateTimePicker) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TDateTimePicker) Height

func (d *TDateTimePicker) Height() int32

CN: 获取高度。 EN: Get height.

func (*TDateTimePicker) Hide

func (d *TDateTimePicker) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TDateTimePicker) Hint

func (d *TDateTimePicker) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TDateTimePicker) InheritsFrom added in v1.1.18

func (d *TDateTimePicker) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TDateTimePicker) InsertControl added in v1.1.21

func (d *TDateTimePicker) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TDateTimePicker) Instance

func (d *TDateTimePicker) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TDateTimePicker) InstanceSize added in v1.1.18

func (d *TDateTimePicker) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TDateTimePicker) Invalidate

func (d *TDateTimePicker) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TDateTimePicker) Is added in v1.2.10

func (d *TDateTimePicker) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TDateTimePicker) IsValid

func (d *TDateTimePicker) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TDateTimePicker) Left

func (d *TDateTimePicker) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TDateTimePicker) MaxDate

func (d *TDateTimePicker) MaxDate() time.Time

func (*TDateTimePicker) MinDate

func (d *TDateTimePicker) MinDate() time.Time

func (*TDateTimePicker) MouseInClient added in v1.1.21

func (d *TDateTimePicker) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TDateTimePicker) Name

func (d *TDateTimePicker) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TDateTimePicker) Owner

func (d *TDateTimePicker) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TDateTimePicker) Parent

func (d *TDateTimePicker) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TDateTimePicker) ParentColor

func (d *TDateTimePicker) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TDateTimePicker) ParentDoubleBuffered

func (d *TDateTimePicker) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TDateTimePicker) ParentFont

func (d *TDateTimePicker) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TDateTimePicker) ParentShowHint

func (d *TDateTimePicker) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TDateTimePicker) ParentToClient

func (d *TDateTimePicker) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TDateTimePicker) ParentWindow

func (d *TDateTimePicker) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TDateTimePicker) Perform

func (d *TDateTimePicker) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TDateTimePicker) PopupMenu

func (d *TDateTimePicker) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TDateTimePicker) Realign

func (d *TDateTimePicker) Realign()

CN: 重新对齐。 EN: Realign.

func (*TDateTimePicker) Refresh

func (d *TDateTimePicker) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TDateTimePicker) RemoveControl added in v1.1.21

func (d *TDateTimePicker) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TDateTimePicker) Repaint

func (d *TDateTimePicker) Repaint()

CN: 重绘。 EN: Repaint.

func (*TDateTimePicker) ScaleBy

func (d *TDateTimePicker) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TDateTimePicker) ScreenToClient

func (d *TDateTimePicker) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TDateTimePicker) ScrollBy added in v1.1.21

func (d *TDateTimePicker) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TDateTimePicker) SendToBack

func (d *TDateTimePicker) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TDateTimePicker) SetAnchorSideBottom

func (d *TDateTimePicker) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TDateTimePicker) SetAnchorSideLeft

func (d *TDateTimePicker) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TDateTimePicker) SetAnchorSideRight

func (d *TDateTimePicker) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TDateTimePicker) SetAnchorSideTop

func (d *TDateTimePicker) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TDateTimePicker) SetAnchors

func (d *TDateTimePicker) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TDateTimePicker) SetBiDiMode

func (d *TDateTimePicker) SetBiDiMode(value TBiDiMode)

func (*TDateTimePicker) SetBorderSpacing

func (d *TDateTimePicker) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TDateTimePicker) SetBounds

func (d *TDateTimePicker) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TDateTimePicker) SetBoundsRect

func (d *TDateTimePicker) SetBoundsRect(value TRect)

func (*TDateTimePicker) SetCalAlignment

func (d *TDateTimePicker) SetCalAlignment(value TDTCalAlignment)

func (*TDateTimePicker) SetChecked

func (d *TDateTimePicker) SetChecked(value bool)

CN: 设置是否选中。 EN: .

func (*TDateTimePicker) SetChildSizing

func (d *TDateTimePicker) SetChildSizing(value *TControlChildSizing)

func (*TDateTimePicker) SetClientHeight

func (d *TDateTimePicker) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TDateTimePicker) SetClientWidth

func (d *TDateTimePicker) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TDateTimePicker) SetColor

func (d *TDateTimePicker) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TDateTimePicker) SetComponentIndex

func (d *TDateTimePicker) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TDateTimePicker) SetConstraints added in v1.2.7

func (d *TDateTimePicker) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TDateTimePicker) SetControlState added in v1.1.21

func (d *TDateTimePicker) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TDateTimePicker) SetControlStyle added in v1.1.21

func (d *TDateTimePicker) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TDateTimePicker) SetCursor

func (d *TDateTimePicker) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TDateTimePicker) SetDate

func (d *TDateTimePicker) SetDate(value time.Time)

func (*TDateTimePicker) SetDateMode

func (d *TDateTimePicker) SetDateMode(value TDTDateMode)

func (*TDateTimePicker) SetDateTime

func (d *TDateTimePicker) SetDateTime(value time.Time)

func (*TDateTimePicker) SetDockSite

func (d *TDateTimePicker) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TDateTimePicker) SetDoubleBuffered

func (d *TDateTimePicker) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TDateTimePicker) SetEnabled

func (d *TDateTimePicker) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TDateTimePicker) SetFocus

func (d *TDateTimePicker) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TDateTimePicker) SetFont

func (d *TDateTimePicker) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TDateTimePicker) SetHeight

func (d *TDateTimePicker) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TDateTimePicker) SetHint

func (d *TDateTimePicker) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TDateTimePicker) SetLeft

func (d *TDateTimePicker) SetLeft(value int32)

CN: 设置左边位置。 EN: 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) SetName

func (d *TDateTimePicker) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TDateTimePicker) SetOnChange

func (d *TDateTimePicker) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TDateTimePicker) SetOnClick

func (d *TDateTimePicker) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TDateTimePicker) SetOnContextPopup

func (d *TDateTimePicker) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TDateTimePicker) SetOnEnter

func (d *TDateTimePicker) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TDateTimePicker) SetOnExit

func (d *TDateTimePicker) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TDateTimePicker) SetOnKeyDown

func (d *TDateTimePicker) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TDateTimePicker) SetOnKeyPress

func (d *TDateTimePicker) SetOnKeyPress(fn TKeyPressEvent)

func (*TDateTimePicker) SetOnKeyUp

func (d *TDateTimePicker) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TDateTimePicker) SetOnMouseEnter

func (d *TDateTimePicker) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TDateTimePicker) SetOnMouseLeave

func (d *TDateTimePicker) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TDateTimePicker) SetParent

func (d *TDateTimePicker) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TDateTimePicker) SetParentColor

func (d *TDateTimePicker) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TDateTimePicker) SetParentDoubleBuffered

func (d *TDateTimePicker) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TDateTimePicker) SetParentFont

func (d *TDateTimePicker) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TDateTimePicker) SetParentShowHint

func (d *TDateTimePicker) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TDateTimePicker) SetParentWindow

func (d *TDateTimePicker) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TDateTimePicker) SetPopupMenu

func (d *TDateTimePicker) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TDateTimePicker) SetShowHint

func (d *TDateTimePicker) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TDateTimePicker) SetTabOrder

func (d *TDateTimePicker) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TDateTimePicker) SetTabStop

func (d *TDateTimePicker) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TDateTimePicker) SetTag

func (d *TDateTimePicker) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TDateTimePicker) SetTextBuf added in v1.1.21

func (d *TDateTimePicker) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TDateTimePicker) SetTime

func (d *TDateTimePicker) SetTime(value time.Time)

func (*TDateTimePicker) SetTop

func (d *TDateTimePicker) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TDateTimePicker) SetUseDockManager

func (d *TDateTimePicker) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TDateTimePicker) SetVisible

func (d *TDateTimePicker) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TDateTimePicker) SetWidth

func (d *TDateTimePicker) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TDateTimePicker) Show

func (d *TDateTimePicker) Show()

CN: 显示控件。 EN: Show control.

func (*TDateTimePicker) ShowHint

func (d *TDateTimePicker) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TDateTimePicker) TabOrder

func (d *TDateTimePicker) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TDateTimePicker) TabStop

func (d *TDateTimePicker) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TDateTimePicker) Tag

func (d *TDateTimePicker) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TDateTimePicker) Time

func (d *TDateTimePicker) Time() time.Time

func (*TDateTimePicker) ToString

func (d *TDateTimePicker) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TDateTimePicker) Top

func (d *TDateTimePicker) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TDateTimePicker) UnsafeAddr added in v1.1.21

func (d *TDateTimePicker) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TDateTimePicker) Update

func (d *TDateTimePicker) Update()

CN: 控件更新。 EN: Update.

func (*TDateTimePicker) UseDockManager

func (d *TDateTimePicker) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TDateTimePicker) Visible

func (d *TDateTimePicker) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TDateTimePicker) VisibleDockClientCount added in v1.1.21

func (d *TDateTimePicker) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TDateTimePicker) Width

func (d *TDateTimePicker) Width() int32

CN: 获取宽度。 EN: Get width.

type TDockDropEvent

type TDockDropEvent func(sender IObject, source *TDragDockObject, x, y int32)

TDockDropEvent = procedure(Sender: TObject; Source: TDragDockObject; X, Y: Integer) of object;

type TDockOverEvent

type TDockOverEvent func(sender IObject, source *TDragDockObject, x, y int32, state TDragState, accept *bool)

TDockOverEvent = procedure(Sender: TObject; Source: TDragDockObject; X, Y: Integer; State: TDragState; var Accept: Boolean) of object;

type TDragDockObject

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

func AsDragDockObject added in v1.2.10

func AsDragDockObject(obj interface{}) *TDragDockObject

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func DragDockObjectFromInst

func DragDockObjectFromInst(inst uintptr) *TDragDockObject

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsDragDockObject.

func DragDockObjectFromObj

func DragDockObjectFromObj(obj IObject) *TDragDockObject

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsDragDockObject.

func DragDockObjectFromUnsafePointer added in v1.1.21

func DragDockObjectFromUnsafePointer(ptr unsafe.Pointer) *TDragDockObject

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsDragDockObject.

func NewDragDockObject

func NewDragDockObject(AOwner IControl) *TDragDockObject

CN: 创建一个新的对象。 EN: Create a new object.

func (*TDragDockObject) AlwaysShowDragImages

func (d *TDragDockObject) AlwaysShowDragImages() bool

func (*TDragDockObject) Assign

func (d *TDragDockObject) Assign(Source *TDragObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TDragDockObject) ClassName

func (d *TDragDockObject) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TDragDockObject) ClassType added in v1.1.18

func (d *TDragDockObject) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TDragDockObject) EraseDockRect

func (d *TDragDockObject) EraseDockRect() TRect

func (*TDragDockObject) Floating

func (d *TDragDockObject) Floating() bool

func (*TDragDockObject) Free

func (d *TDragDockObject) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TDragDockObject) GetHashCode

func (d *TDragDockObject) GetHashCode() int32

CN: 获取类的哈希值。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TDragDockObject) Instance

func (d *TDragDockObject) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TDragDockObject) InstanceSize added in v1.1.18

func (d *TDragDockObject) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TDragDockObject) Is added in v1.2.10

func (d *TDragDockObject) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TDragDockObject) IsValid

func (d *TDragDockObject) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TDragDockObject) UnsafeAddr added in v1.1.21

func (d *TDragDockObject) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TDragDropEvent

type TDragDropEvent func(sender, source IObject, x, y int32)

TDragDropEvent = procedure(Sender, Source: TObject; X, Y: Integer) of object;

type TDragObject

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

func AsDragObject added in v1.2.10

func AsDragObject(obj interface{}) *TDragObject

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func DragObjectFromInst

func DragObjectFromInst(inst uintptr) *TDragObject

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsDragObject.

func DragObjectFromObj

func DragObjectFromObj(obj IObject) *TDragObject

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsDragObject.

func DragObjectFromUnsafePointer added in v1.1.21

func DragObjectFromUnsafePointer(ptr unsafe.Pointer) *TDragObject

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsDragObject.

func NewDragObject

func NewDragObject(AOwner IControl) *TDragObject

CN: 创建一个新的对象。 EN: Create a new object.

func (*TDragObject) AlwaysShowDragImages

func (d *TDragObject) AlwaysShowDragImages() bool

func (*TDragObject) Assign

func (d *TDragObject) Assign(Source *TDragObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TDragObject) ClassName

func (d *TDragObject) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TDragObject) ClassType added in v1.1.18

func (d *TDragObject) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TDragObject) Free

func (d *TDragObject) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TDragObject) GetHashCode

func (d *TDragObject) GetHashCode() int32

CN: 获取类的哈希值。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TDragObject) Instance

func (d *TDragObject) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TDragObject) InstanceSize added in v1.1.18

func (d *TDragObject) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TDragObject) Is added in v1.2.10

func (d *TDragObject) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TDragObject) IsValid

func (d *TDragObject) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TDragObject) UnsafeAddr added in v1.1.21

func (d *TDragObject) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TDragOverEvent

type TDragOverEvent func(sender, source IObject, x, y int32, state TDragState, accept *bool)

TDragOverEvent = procedure(Sender, Source: TObject; X, Y: Integer; State: TDragState; var Accept: Boolean) of object;

type TDrawCellEvent added in v1.1.19

type TDrawCellEvent func(sender IObject, aCol, aRow int32, aRect TRect, state TGridDrawState)

TDrawCellEvent = procedure (Sender: TObject; ACol, ARow: Longint; Rect: TRect; State: TGridDrawState) of object;

type TDrawGrid 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func DrawGridFromInst added in v1.1.19

func DrawGridFromInst(inst uintptr) *TDrawGrid

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsDrawGrid.

func DrawGridFromObj added in v1.1.19

func DrawGridFromObj(obj IObject) *TDrawGrid

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsDrawGrid.

func DrawGridFromUnsafePointer added in v1.1.21

func DrawGridFromUnsafePointer(ptr unsafe.Pointer) *TDrawGrid

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsDrawGrid.

func NewDrawGrid added in v1.1.19

func NewDrawGrid(owner IComponent) *TDrawGrid

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TDrawGrid) AnchorParallel

func (d *TDrawGrid) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDrawGrid) AnchorSide

func (d *TDrawGrid) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TDrawGrid) AnchorSideBottom

func (d *TDrawGrid) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TDrawGrid) AnchorSideLeft

func (d *TDrawGrid) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TDrawGrid) AnchorSideRight

func (d *TDrawGrid) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TDrawGrid) AnchorSideTop

func (d *TDrawGrid) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TDrawGrid) AnchorToNeighbour

func (d *TDrawGrid) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TDrawGrid) AnchorVerticalCenterTo

func (d *TDrawGrid) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TDrawGrid) Anchors added in v1.1.19

func (d *TDrawGrid) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TDrawGrid) Assign added in v1.1.19

func (d *TDrawGrid) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TDrawGrid) BiDiMode added in v1.1.19

func (d *TDrawGrid) BiDiMode() TBiDiMode

func (*TDrawGrid) BorderSpacing

func (d *TDrawGrid) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TDrawGrid) BorderStyle added in v1.1.19

func (d *TDrawGrid) BorderStyle() TBorderStyle

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

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TDrawGrid) Brush added in v1.1.19

func (d *TDrawGrid) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TDrawGrid) CanFocus added in v1.1.19

func (d *TDrawGrid) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TDrawGrid) Canvas added in v1.1.19

func (d *TDrawGrid) Canvas() *TCanvas

CN: 获取画布。 EN: .

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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TDrawGrid) ClassType added in v1.1.19

func (d *TDrawGrid) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TDrawGrid) ClientHeight added in v1.1.19

func (d *TDrawGrid) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TDrawGrid) ClientToParent added in v1.1.19

func (d *TDrawGrid) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TDrawGrid) ClientToScreen added in v1.1.19

func (d *TDrawGrid) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TDrawGrid) ClientWidth added in v1.1.19

func (d *TDrawGrid) ClientWidth() int32

CN: 获取客户区宽度。 EN: 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

CN: 获取颜色。 EN: Get color.

func (*TDrawGrid) ComponentCount added in v1.1.19

func (d *TDrawGrid) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TDrawGrid) ComponentIndex added in v1.1.19

func (d *TDrawGrid) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TDrawGrid) Components added in v1.1.19

func (d *TDrawGrid) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TDrawGrid) Constraints added in v1.2.7

func (d *TDrawGrid) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TDrawGrid) ContainsControl added in v1.1.21

func (d *TDrawGrid) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TDrawGrid) ControlCount added in v1.1.19

func (d *TDrawGrid) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TDrawGrid) ControlState added in v1.1.21

func (d *TDrawGrid) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TDrawGrid) ControlStyle added in v1.1.21

func (d *TDrawGrid) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TDrawGrid) Controls added in v1.1.19

func (d *TDrawGrid) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TDrawGrid) Cursor added in v1.1.19

func (d *TDrawGrid) Cursor() TCursor

CN: 获取控件光标。 EN: 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()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TDrawGrid) DockClientCount added in v1.1.21

func (d *TDrawGrid) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TDrawGrid) DockClients added in v1.1.21

func (d *TDrawGrid) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TDrawGrid) DockSite added in v1.1.19

func (d *TDrawGrid) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TDrawGrid) DoubleBuffered added in v1.1.19

func (d *TDrawGrid) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TDrawGrid) DragCursor added in v1.1.19

func (d *TDrawGrid) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TDrawGrid) DragKind added in v1.1.19

func (d *TDrawGrid) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TDrawGrid) DragMode added in v1.1.19

func (d *TDrawGrid) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TDrawGrid) Dragging added in v1.1.19

func (d *TDrawGrid) Dragging() bool

CN: 是否在拖拽中。 EN: 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()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TDrawGrid) Enabled added in v1.1.19

func (d *TDrawGrid) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TDrawGrid) Equals added in v1.1.19

func (d *TDrawGrid) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TDrawGrid) FindChildControl added in v1.1.21

func (d *TDrawGrid) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TDrawGrid) FindComponent added in v1.1.19

func (d *TDrawGrid) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TDrawGrid) Font added in v1.1.19

func (d *TDrawGrid) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TDrawGrid) Free added in v1.1.19

func (d *TDrawGrid) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TDrawGrid) GetHashCode added in v1.1.19

func (d *TDrawGrid) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TDrawGrid) GetNamePath added in v1.1.19

func (d *TDrawGrid) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TDrawGrid) GetTextBuf added in v1.1.19

func (d *TDrawGrid) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TDrawGrid) GetTextLen added in v1.1.19

func (d *TDrawGrid) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: 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

CN: 获取控件句柄。 EN: Get Control handle.

func (*TDrawGrid) HandleAllocated added in v1.1.19

func (d *TDrawGrid) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TDrawGrid) HasParent added in v1.1.19

func (d *TDrawGrid) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TDrawGrid) Height added in v1.1.19

func (d *TDrawGrid) Height() int32

CN: 获取高度。 EN: Get height.

func (*TDrawGrid) Hide added in v1.1.19

func (d *TDrawGrid) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TDrawGrid) Hint added in v1.1.19

func (d *TDrawGrid) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TDrawGrid) InheritsFrom added in v1.1.19

func (d *TDrawGrid) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TDrawGrid) InsertControl added in v1.1.21

func (d *TDrawGrid) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TDrawGrid) Instance added in v1.1.19

func (d *TDrawGrid) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TDrawGrid) InstanceSize added in v1.1.19

func (d *TDrawGrid) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TDrawGrid) Invalidate added in v1.1.19

func (d *TDrawGrid) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TDrawGrid) Is added in v1.2.10

func (d *TDrawGrid) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TDrawGrid) IsValid added in v1.1.19

func (d *TDrawGrid) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TDrawGrid) Left added in v1.1.19

func (d *TDrawGrid) Left() int32

CN: 获取左边位置。 EN: 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

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: 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

CN: 获取组件所有者。 EN: Get component owner.

func (*TDrawGrid) Parent added in v1.1.19

func (d *TDrawGrid) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TDrawGrid) ParentColor added in v1.1.19

func (d *TDrawGrid) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TDrawGrid) ParentDoubleBuffered added in v1.1.19

func (d *TDrawGrid) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TDrawGrid) ParentFont added in v1.1.19

func (d *TDrawGrid) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TDrawGrid) ParentShowHint added in v1.1.19

func (d *TDrawGrid) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TDrawGrid) ParentToClient added in v1.1.19

func (d *TDrawGrid) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TDrawGrid) ParentWindow added in v1.1.19

func (d *TDrawGrid) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TDrawGrid) Perform added in v1.1.19

func (d *TDrawGrid) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TDrawGrid) PopupMenu added in v1.1.19

func (d *TDrawGrid) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TDrawGrid) Realign added in v1.1.19

func (d *TDrawGrid) Realign()

CN: 重新对齐。 EN: Realign.

func (*TDrawGrid) Refresh added in v1.1.19

func (d *TDrawGrid) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TDrawGrid) RemoveControl added in v1.1.21

func (d *TDrawGrid) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TDrawGrid) Repaint added in v1.1.19

func (d *TDrawGrid) Repaint()

CN: 重绘。 EN: 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) ScaleBy added in v1.1.19

func (d *TDrawGrid) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TDrawGrid) ScreenToClient added in v1.1.19

func (d *TDrawGrid) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: 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)

CN: 滚动至指定位置。 EN: 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()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TDrawGrid) SetAnchorSideBottom

func (d *TDrawGrid) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TDrawGrid) SetAnchorSideLeft

func (d *TDrawGrid) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TDrawGrid) SetAnchorSideRight

func (d *TDrawGrid) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TDrawGrid) SetAnchorSideTop

func (d *TDrawGrid) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TDrawGrid) SetAnchors added in v1.1.19

func (d *TDrawGrid) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TDrawGrid) SetBiDiMode added in v1.1.19

func (d *TDrawGrid) SetBiDiMode(value TBiDiMode)

func (*TDrawGrid) SetBorderSpacing

func (d *TDrawGrid) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TDrawGrid) SetBorderStyle added in v1.1.19

func (d *TDrawGrid) SetBorderStyle(value TBorderStyle)

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

func (*TDrawGrid) SetBounds added in v1.1.19

func (d *TDrawGrid) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TDrawGrid) SetClientWidth added in v1.1.19

func (d *TDrawGrid) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: 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)

CN: 设置颜色。 EN: Set color.

func (*TDrawGrid) SetComponentIndex added in v1.1.19

func (d *TDrawGrid) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TDrawGrid) SetConstraints added in v1.2.7

func (d *TDrawGrid) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TDrawGrid) SetControlState added in v1.1.21

func (d *TDrawGrid) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TDrawGrid) SetControlStyle added in v1.1.21

func (d *TDrawGrid) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TDrawGrid) SetCursor added in v1.1.19

func (d *TDrawGrid) SetCursor(value TCursor)

CN: 设置控件光标。 EN: 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)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TDrawGrid) SetDoubleBuffered added in v1.1.19

func (d *TDrawGrid) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TDrawGrid) SetDragCursor added in v1.1.19

func (d *TDrawGrid) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TDrawGrid) SetDragKind added in v1.1.19

func (d *TDrawGrid) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TDrawGrid) SetDragMode added in v1.1.19

func (d *TDrawGrid) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: 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)

CN: 设置控件启用。 EN: 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()

CN: 设置控件焦点。 EN: Set control focus.

func (*TDrawGrid) SetFont added in v1.1.19

func (d *TDrawGrid) SetFont(value *TFont)

CN: 设置字体。 EN: 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)

CN: 设置高度。 EN: Set height.

func (*TDrawGrid) SetHint added in v1.1.19

func (d *TDrawGrid) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TDrawGrid) SetLeft added in v1.1.19

func (d *TDrawGrid) SetLeft(value int32)

CN: 设置左边位置。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TDrawGrid) SetOnClick added in v1.1.19

func (d *TDrawGrid) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TDrawGrid) SetOnColumnMoved added in v1.1.19

func (d *TDrawGrid) SetOnColumnMoved(fn TMovedEvent)

func (*TDrawGrid) SetOnContextPopup added in v1.1.19

func (d *TDrawGrid) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TDrawGrid) SetOnDblClick added in v1.1.19

func (d *TDrawGrid) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TDrawGrid) SetOnDragDrop added in v1.1.19

func (d *TDrawGrid) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TDrawGrid) SetOnDragOver added in v1.1.19

func (d *TDrawGrid) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: 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)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TDrawGrid) SetOnEndDrag added in v1.1.19

func (d *TDrawGrid) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TDrawGrid) SetOnEnter added in v1.1.19

func (d *TDrawGrid) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TDrawGrid) SetOnExit added in v1.1.19

func (d *TDrawGrid) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: 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)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TDrawGrid) SetOnKeyPress added in v1.1.19

func (d *TDrawGrid) SetOnKeyPress(fn TKeyPressEvent)

func (*TDrawGrid) SetOnKeyUp added in v1.1.19

func (d *TDrawGrid) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TDrawGrid) SetOnMouseDown added in v1.1.19

func (d *TDrawGrid) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TDrawGrid) SetOnMouseEnter added in v1.1.19

func (d *TDrawGrid) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TDrawGrid) SetOnMouseLeave added in v1.1.19

func (d *TDrawGrid) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TDrawGrid) SetOnMouseMove added in v1.1.19

func (d *TDrawGrid) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TDrawGrid) SetOnMouseUp added in v1.1.19

func (d *TDrawGrid) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TDrawGrid) SetOnMouseWheelDown added in v1.1.19

func (d *TDrawGrid) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮按下事件。 EN: .

func (*TDrawGrid) SetOnMouseWheelUp added in v1.1.19

func (d *TDrawGrid) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮抬起事件。 EN: .

func (*TDrawGrid) SetOnRowMoved added in v1.1.19

func (d *TDrawGrid) SetOnRowMoved(fn TMovedEvent)

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)

CN: 设置启动停靠。 EN: .

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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TDrawGrid) SetParentColor added in v1.1.19

func (d *TDrawGrid) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TDrawGrid) SetParentDoubleBuffered added in v1.1.19

func (d *TDrawGrid) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TDrawGrid) SetParentFont added in v1.1.19

func (d *TDrawGrid) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TDrawGrid) SetParentShowHint added in v1.1.19

func (d *TDrawGrid) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TDrawGrid) SetParentWindow added in v1.1.19

func (d *TDrawGrid) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TDrawGrid) SetPopupMenu added in v1.1.19

func (d *TDrawGrid) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: 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)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TDrawGrid) SetTabOrder added in v1.1.19

func (d *TDrawGrid) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TDrawGrid) SetTabStop added in v1.1.19

func (d *TDrawGrid) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TDrawGrid) SetTag added in v1.1.19

func (d *TDrawGrid) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TDrawGrid) SetTextBuf added in v1.1.21

func (d *TDrawGrid) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TDrawGrid) SetTop added in v1.1.19

func (d *TDrawGrid) SetTop(value int32)

CN: 设置顶边位置。 EN: 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)

CN: 设置使用停靠管理。 EN: .

func (*TDrawGrid) SetVisible added in v1.1.19

func (d *TDrawGrid) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TDrawGrid) SetWidth added in v1.1.19

func (d *TDrawGrid) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TDrawGrid) Show added in v1.1.19

func (d *TDrawGrid) Show()

CN: 显示控件。 EN: Show control.

func (*TDrawGrid) ShowHint added in v1.1.19

func (d *TDrawGrid) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TDrawGrid) TabOrder added in v1.1.19

func (d *TDrawGrid) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TDrawGrid) TabStop added in v1.1.19

func (d *TDrawGrid) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TDrawGrid) Tag added in v1.1.19

func (d *TDrawGrid) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TDrawGrid) ToString added in v1.1.19

func (d *TDrawGrid) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TDrawGrid) Top added in v1.1.19

func (d *TDrawGrid) Top() int32

CN: 获取顶边位置。 EN: 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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TDrawGrid) Update added in v1.1.19

func (d *TDrawGrid) Update()

CN: 控件更新。 EN: Update.

func (*TDrawGrid) UseDockManager added in v1.1.19

func (d *TDrawGrid) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TDrawGrid) Visible added in v1.1.19

func (d *TDrawGrid) Visible() bool

CN: 获取控件可视。 EN: 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

CN: 获取当前停靠的可视总数。 EN: 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

CN: 获取宽度。 EN: Get width.

type TDrawItemEvent

type TDrawItemEvent func(control IWinControl, index int32, aRect TRect, state TOwnerDrawState)

TDrawItemEvent = procedure(Control: TWinControl; Index: Integer;

Rect: TRect; State: TOwnerDrawState) of object;

type TDrawSectionEvent added in v1.1.19

type TDrawSectionEvent func(headerControl *THeaderControl, section *THeaderSection, aRect TRect, pressed bool)

---- headercontrol TDrawSectionEvent = procedure(HeaderControl: THeaderControl; Section: THeaderSection; const Rect: TRect; Pressed: Boolean) of object;

type TDropFilesEvent

type TDropFilesEvent func(sender IObject, aFileNames []string)

TDropFilesEvent 注意,当在Windows上使用时如果使用了UAC,则无法收到消息 需要使用未公开的winapi ChangeWindowMessageFilter 或 ChangeWindowMessageFilterEx 根据系统版本不同使用其中的,然后添加 ChangeWindowMessageFilterEx(pnl_Drag.Handle, WM_DROPFILES, MSGFLT_ALLOW, LChangeFilterStruct);消息

type TEdit

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

func AsEdit added in v1.2.10

func AsEdit(obj interface{}) *TEdit

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func EditFromInst

func EditFromInst(inst uintptr) *TEdit

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsEdit.

func EditFromObj

func EditFromObj(obj IObject) *TEdit

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsEdit.

func EditFromUnsafePointer added in v1.1.21

func EditFromUnsafePointer(ptr unsafe.Pointer) *TEdit

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsEdit.

func NewEdit

func NewEdit(owner IComponent) *TEdit

CN: 创建一个新的对象。 EN: Create a new object.

func (*TEdit) Action

func (e *TEdit) Action() *TAction

func (*TEdit) Align

func (e *TEdit) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TEdit) Alignment

func (e *TEdit) Alignment() TAlignment

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TEdit) AnchorParallel

func (e *TEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TEdit) AnchorSide

func (e *TEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TEdit) AnchorSideBottom

func (e *TEdit) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TEdit) AnchorSideLeft

func (e *TEdit) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TEdit) AnchorSideRight

func (e *TEdit) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TEdit) AnchorSideTop

func (e *TEdit) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TEdit) AnchorToNeighbour

func (e *TEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TEdit) AnchorVerticalCenterTo

func (e *TEdit) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TEdit) Anchors

func (e *TEdit) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TEdit) Assign

func (e *TEdit) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TEdit) AutoSelect

func (e *TEdit) AutoSelect() bool

CN: 获取自动选择。 EN: .

func (*TEdit) AutoSize

func (e *TEdit) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TEdit) BiDiMode

func (e *TEdit) BiDiMode() TBiDiMode

func (*TEdit) BorderSpacing

func (e *TEdit) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TEdit) BorderStyle

func (e *TEdit) BorderStyle() TBorderStyle

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

func (*TEdit) BoundsRect

func (e *TEdit) BoundsRect() TRect

func (*TEdit) BringToFront

func (e *TEdit) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TEdit) Brush

func (e *TEdit) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TEdit) CanFocus

func (e *TEdit) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TEdit) CanUndo

func (e *TEdit) CanUndo() bool

CN: 获取能否撤销。 EN: .

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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TEdit) ClassType added in v1.1.18

func (e *TEdit) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TEdit) Clear

func (e *TEdit) Clear()

CN: 清除。 EN: .

func (*TEdit) ClearSelection

func (e *TEdit) ClearSelection()

CN: 清除选择。 EN: .

func (*TEdit) ClientHeight

func (e *TEdit) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TEdit) ClientOrigin added in v1.1.21

func (e *TEdit) ClientOrigin() TPoint

func (*TEdit) ClientRect

func (e *TEdit) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TEdit) ClientToParent

func (e *TEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TEdit) ClientToScreen

func (e *TEdit) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TEdit) ClientWidth

func (e *TEdit) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TEdit) Color

func (e *TEdit) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TEdit) ComponentCount

func (e *TEdit) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TEdit) ComponentIndex

func (e *TEdit) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TEdit) Components

func (e *TEdit) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TEdit) Constraints added in v1.2.7

func (e *TEdit) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TEdit) ContainsControl added in v1.1.21

func (e *TEdit) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TEdit) ControlCount

func (e *TEdit) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TEdit) ControlState added in v1.1.21

func (e *TEdit) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TEdit) ControlStyle added in v1.1.21

func (e *TEdit) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TEdit) Controls

func (e *TEdit) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TEdit) CopyToClipboard

func (e *TEdit) CopyToClipboard()

CN: 复制到粘贴板。 EN: .

func (*TEdit) Cursor

func (e *TEdit) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TEdit) CutToClipboard

func (e *TEdit) CutToClipboard()

CN: 剪切到粘贴板。 EN: .

func (*TEdit) DisableAlign added in v1.1.21

func (e *TEdit) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TEdit) DockClientCount added in v1.1.21

func (e *TEdit) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TEdit) DockClients added in v1.1.21

func (e *TEdit) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TEdit) DockSite

func (e *TEdit) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TEdit) DoubleBuffered

func (e *TEdit) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TEdit) DragCursor

func (e *TEdit) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TEdit) DragKind

func (e *TEdit) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TEdit) DragMode

func (e *TEdit) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TEdit) Dragging

func (e *TEdit) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TEdit) EnableAlign added in v1.1.21

func (e *TEdit) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TEdit) Enabled

func (e *TEdit) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TEdit) Equals

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TEdit) FindChildControl added in v1.1.21

func (e *TEdit) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TEdit) FindComponent

func (e *TEdit) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TEdit) Font

func (e *TEdit) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TEdit) Free

func (e *TEdit) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TEdit) GetHashCode

func (e *TEdit) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TEdit) GetNamePath

func (e *TEdit) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TEdit) GetTextBuf

func (e *TEdit) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TEdit) GetTextLen

func (e *TEdit) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TEdit) Handle

func (e *TEdit) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TEdit) HandleAllocated

func (e *TEdit) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TEdit) HasParent

func (e *TEdit) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TEdit) Height

func (e *TEdit) Height() int32

CN: 获取高度。 EN: Get height.

func (*TEdit) Hide

func (e *TEdit) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TEdit) HideSelection

func (e *TEdit) HideSelection() bool

CN: 获取隐藏选择。 EN: .

func (*TEdit) Hint

func (e *TEdit) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TEdit) InheritsFrom added in v1.1.18

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TEdit) InsertControl added in v1.1.21

func (e *TEdit) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TEdit) Instance

func (e *TEdit) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TEdit) InstanceSize added in v1.1.18

func (e *TEdit) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TEdit) Invalidate

func (e *TEdit) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TEdit) Is added in v1.2.10

func (e *TEdit) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TEdit) IsValid

func (e *TEdit) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TEdit) Left

func (e *TEdit) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TEdit) MaxLength

func (e *TEdit) MaxLength() int32

CN: 获取最大长度。 EN: .

func (*TEdit) Modified

func (e *TEdit) Modified() bool

CN: 获取修改。 EN: Get modified.

func (*TEdit) MouseInClient added in v1.1.21

func (e *TEdit) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TEdit) Name

func (e *TEdit) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TEdit) NumbersOnly

func (e *TEdit) NumbersOnly() bool

CN: 获取只能输入数字。 EN: .

func (*TEdit) Owner

func (e *TEdit) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TEdit) Parent

func (e *TEdit) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TEdit) ParentColor

func (e *TEdit) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TEdit) ParentDoubleBuffered

func (e *TEdit) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TEdit) ParentFont

func (e *TEdit) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TEdit) ParentShowHint

func (e *TEdit) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TEdit) ParentToClient

func (e *TEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TEdit) ParentWindow

func (e *TEdit) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TEdit) PasswordChar

func (e *TEdit) PasswordChar() uint16

CN: 获取密码掩码字符。 EN: .

func (*TEdit) PasteFromClipboard

func (e *TEdit) PasteFromClipboard()

CN: 从剪切板粘贴。 EN: .

func (*TEdit) Perform

func (e *TEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TEdit) PopupMenu

func (e *TEdit) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TEdit) ReadOnly

func (e *TEdit) ReadOnly() bool

CN: 获取只读。 EN: .

func (*TEdit) Realign

func (e *TEdit) Realign()

CN: 重新对齐。 EN: Realign.

func (*TEdit) Refresh

func (e *TEdit) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TEdit) RemoveControl added in v1.1.21

func (e *TEdit) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TEdit) Repaint

func (e *TEdit) Repaint()

CN: 重绘。 EN: Repaint.

func (*TEdit) ScaleBy

func (e *TEdit) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TEdit) ScreenToClient

func (e *TEdit) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TEdit) ScrollBy added in v1.1.21

func (e *TEdit) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TEdit) SelLength

func (e *TEdit) SelLength() int32

CN: 获取选择的长度。 EN: .

func (*TEdit) SelStart

func (e *TEdit) SelStart() int32

CN: 获取选择的启始位置。 EN: .

func (*TEdit) SelText

func (e *TEdit) SelText() string

CN: 获取选择的文本。 EN: .

func (*TEdit) SelectAll

func (e *TEdit) SelectAll()

CN: 全选。 EN: .

func (*TEdit) SendToBack

func (e *TEdit) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TEdit) SetAlignment

func (e *TEdit) SetAlignment(value TAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TEdit) SetAnchorSideBottom

func (e *TEdit) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TEdit) SetAnchorSideLeft

func (e *TEdit) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TEdit) SetAnchorSideRight

func (e *TEdit) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TEdit) SetAnchorSideTop

func (e *TEdit) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TEdit) SetAnchors

func (e *TEdit) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TEdit) SetAutoSelect

func (e *TEdit) SetAutoSelect(value bool)

CN: 设置自动选择。 EN: .

func (*TEdit) SetAutoSize

func (e *TEdit) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TEdit) SetBiDiMode

func (e *TEdit) SetBiDiMode(value TBiDiMode)

func (*TEdit) SetBorderSpacing

func (e *TEdit) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TEdit) SetBorderStyle

func (e *TEdit) SetBorderStyle(value TBorderStyle)

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

func (*TEdit) SetBounds

func (e *TEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TEdit) SetClientWidth

func (e *TEdit) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TEdit) SetColor

func (e *TEdit) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TEdit) SetComponentIndex

func (e *TEdit) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TEdit) SetConstraints added in v1.2.7

func (e *TEdit) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TEdit) SetControlState added in v1.1.21

func (e *TEdit) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TEdit) SetControlStyle added in v1.1.21

func (e *TEdit) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TEdit) SetCursor

func (e *TEdit) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TEdit) SetDockSite

func (e *TEdit) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TEdit) SetDoubleBuffered

func (e *TEdit) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TEdit) SetDragCursor

func (e *TEdit) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TEdit) SetDragKind

func (e *TEdit) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TEdit) SetDragMode

func (e *TEdit) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TEdit) SetEnabled

func (e *TEdit) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TEdit) SetFocus

func (e *TEdit) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TEdit) SetFont

func (e *TEdit) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TEdit) SetHeight

func (e *TEdit) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TEdit) SetHideSelection

func (e *TEdit) SetHideSelection(value bool)

CN: 设置隐藏选择。 EN: .

func (*TEdit) SetHint

func (e *TEdit) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TEdit) SetLeft

func (e *TEdit) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TEdit) SetMaxLength

func (e *TEdit) SetMaxLength(value int32)

CN: 设置最大长度。 EN: .

func (*TEdit) SetModified

func (e *TEdit) SetModified(value bool)

CN: 设置修改。 EN: Set modified.

func (*TEdit) SetName

func (e *TEdit) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TEdit) SetNumbersOnly

func (e *TEdit) SetNumbersOnly(value bool)

CN: 设置只能输入数字。 EN: .

func (*TEdit) SetOnChange

func (e *TEdit) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TEdit) SetOnClick

func (e *TEdit) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TEdit) SetOnContextPopup

func (e *TEdit) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TEdit) SetOnDblClick

func (e *TEdit) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TEdit) SetOnDragDrop

func (e *TEdit) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TEdit) SetOnDragOver

func (e *TEdit) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TEdit) SetOnEndDrag

func (e *TEdit) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TEdit) SetOnEnter

func (e *TEdit) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TEdit) SetOnExit

func (e *TEdit) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TEdit) SetOnKeyDown

func (e *TEdit) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TEdit) SetOnKeyPress

func (e *TEdit) SetOnKeyPress(fn TKeyPressEvent)

func (*TEdit) SetOnKeyUp

func (e *TEdit) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TEdit) SetOnMouseDown

func (e *TEdit) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TEdit) SetOnMouseEnter

func (e *TEdit) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TEdit) SetOnMouseLeave

func (e *TEdit) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TEdit) SetOnMouseMove

func (e *TEdit) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TEdit) SetOnMouseUp

func (e *TEdit) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TEdit) SetParent

func (e *TEdit) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TEdit) SetParentColor

func (e *TEdit) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TEdit) SetParentDoubleBuffered

func (e *TEdit) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TEdit) SetParentFont

func (e *TEdit) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TEdit) SetParentShowHint

func (e *TEdit) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TEdit) SetParentWindow

func (e *TEdit) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TEdit) SetPasswordChar

func (e *TEdit) SetPasswordChar(value uint16)

CN: 设置密码掩码字符。 EN: .

func (*TEdit) SetPopupMenu

func (e *TEdit) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TEdit) SetReadOnly

func (e *TEdit) SetReadOnly(value bool)

CN: 设置只读。 EN: .

func (*TEdit) SetSelLength

func (e *TEdit) SetSelLength(value int32)

CN: 设置选择的长度。 EN: .

func (*TEdit) SetSelStart

func (e *TEdit) SetSelStart(value int32)

CN: 设置选择的启始位置。 EN: .

func (*TEdit) SetSelText

func (e *TEdit) SetSelText(value string)

CN: 设置选择的文本。 EN: .

func (*TEdit) SetShowHint

func (e *TEdit) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TEdit) SetTabOrder

func (e *TEdit) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TEdit) SetTabStop

func (e *TEdit) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TEdit) SetTag

func (e *TEdit) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TEdit) SetText

func (e *TEdit) SetText(value string)

CN: 设置文本。 EN: .

func (*TEdit) SetTextBuf added in v1.1.21

func (e *TEdit) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TEdit) SetTextHint

func (e *TEdit) SetTextHint(value string)

CN: 设置提示文本。 EN: .

func (*TEdit) SetTop

func (e *TEdit) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TEdit) SetUseDockManager

func (e *TEdit) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TEdit) SetVisible

func (e *TEdit) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TEdit) SetWidth

func (e *TEdit) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TEdit) Show

func (e *TEdit) Show()

CN: 显示控件。 EN: Show control.

func (*TEdit) ShowHint

func (e *TEdit) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TEdit) TabOrder

func (e *TEdit) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TEdit) TabStop

func (e *TEdit) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TEdit) Tag

func (e *TEdit) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TEdit) Text

func (e *TEdit) Text() string

CN: 获取文本。 EN: .

func (*TEdit) TextHint

func (e *TEdit) TextHint() string

CN: 获取提示文本。 EN: .

func (*TEdit) ToString

func (e *TEdit) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TEdit) Top

func (e *TEdit) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TEdit) Undo

func (e *TEdit) Undo()

CN: 撤销上一次操作。 EN: .

func (*TEdit) UnsafeAddr added in v1.1.21

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TEdit) Update

func (e *TEdit) Update()

CN: 控件更新。 EN: Update.

func (*TEdit) UseDockManager

func (e *TEdit) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TEdit) Visible

func (e *TEdit) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TEdit) VisibleDockClientCount added in v1.1.21

func (e *TEdit) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TEdit) Width

func (e *TEdit) Width() int32

CN: 获取宽度。 EN: Get width.

type TEndDragEvent

type TEndDragEvent func(sender, target IObject, x, y int32)

TEndDragEvent = procedure(Sender, Target: TObject; X, Y: Integer) of object;

type TExceptionEvent

type TExceptionEvent func(sender IObject, e *Exception)

TExceptionEvent TApplication

type TExtEventCallback added in v1.2.5

type TExtEventCallback func(fn interface{}, getVal func(idx int) uintptr) bool

外部回调事件 参数一:函数地址 参数二:获取参数值的函数 返回值:如果为true则终止事件传递,如果为false则继续向后转发事件。

type TFindDialog

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

func AsFindDialog added in v1.2.10

func AsFindDialog(obj interface{}) *TFindDialog

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func FindDialogFromInst

func FindDialogFromInst(inst uintptr) *TFindDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsFindDialog.

func FindDialogFromObj

func FindDialogFromObj(obj IObject) *TFindDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsFindDialog.

func FindDialogFromUnsafePointer added in v1.1.21

func FindDialogFromUnsafePointer(ptr unsafe.Pointer) *TFindDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsFindDialog.

func NewFindDialog

func NewFindDialog(owner IComponent) *TFindDialog

CN: 创建一个新的对象。 EN: Create a new object.

func (*TFindDialog) Assign

func (f *TFindDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TFindDialog) ClassName

func (f *TFindDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TFindDialog) ClassType added in v1.1.18

func (f *TFindDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TFindDialog) CloseDialog

func (f *TFindDialog) CloseDialog()

func (*TFindDialog) ComponentCount

func (f *TFindDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TFindDialog) ComponentIndex

func (f *TFindDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TFindDialog) Components

func (f *TFindDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TFindDialog) Equals

func (f *TFindDialog) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TFindDialog) Execute

func (f *TFindDialog) Execute() bool

CN: 执行。 EN: .

func (*TFindDialog) FindComponent

func (f *TFindDialog) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TFindDialog) FindText

func (f *TFindDialog) FindText() string

func (*TFindDialog) Free

func (f *TFindDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TFindDialog) GetHashCode

func (f *TFindDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TFindDialog) GetNamePath

func (f *TFindDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TFindDialog) Handle

func (f *TFindDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TFindDialog) HasParent

func (f *TFindDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TFindDialog) InheritsFrom added in v1.1.18

func (f *TFindDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TFindDialog) Instance

func (f *TFindDialog) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TFindDialog) InstanceSize added in v1.1.18

func (f *TFindDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TFindDialog) Is added in v1.2.10

func (f *TFindDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TFindDialog) IsValid

func (f *TFindDialog) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TFindDialog) Left

func (f *TFindDialog) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TFindDialog) Name

func (f *TFindDialog) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TFindDialog) Options

func (f *TFindDialog) Options() TFindOptions

func (*TFindDialog) Owner

func (f *TFindDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TFindDialog) Position

func (f *TFindDialog) Position() TPoint

func (*TFindDialog) SetComponentIndex

func (f *TFindDialog) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TFindDialog) SetFindText

func (f *TFindDialog) SetFindText(value string)

func (*TFindDialog) SetLeft

func (f *TFindDialog) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TFindDialog) SetName

func (f *TFindDialog) SetName(value string)

CN: 设置组件名称。 EN: 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)

CN: 设置显示事件。 EN: .

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)

CN: 设置对象标记。 EN: Set the control tag.

func (*TFindDialog) SetTop

func (f *TFindDialog) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TFindDialog) Tag

func (f *TFindDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TFindDialog) ToString

func (f *TFindDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TFindDialog) Top

func (f *TFindDialog) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TFindDialog) UnsafeAddr added in v1.1.21

func (f *TFindDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TFixedCellClickEvent added in v1.1.19

type TFixedCellClickEvent func(sender IObject, aCol, aRow int32)

TFixedCellClickEvent = procedure (Sender: TObject; ACol, ARow: Longint) of object;

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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func FlowPanelFromInst added in v1.1.19

func FlowPanelFromInst(inst uintptr) *TFlowPanel

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsFlowPanel.

func FlowPanelFromObj added in v1.1.19

func FlowPanelFromObj(obj IObject) *TFlowPanel

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsFlowPanel.

func FlowPanelFromUnsafePointer added in v1.1.21

func FlowPanelFromUnsafePointer(ptr unsafe.Pointer) *TFlowPanel

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsFlowPanel.

func NewFlowPanel added in v1.1.19

func NewFlowPanel(owner IComponent) *TFlowPanel

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TFlowPanel) Alignment added in v1.1.19

func (f *TFlowPanel) Alignment() TAlignment

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TFlowPanel) AnchorParallel

func (f *TFlowPanel) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFlowPanel) AnchorSide

func (f *TFlowPanel) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TFlowPanel) AnchorSideBottom

func (f *TFlowPanel) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TFlowPanel) AnchorSideLeft

func (f *TFlowPanel) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TFlowPanel) AnchorSideRight

func (f *TFlowPanel) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TFlowPanel) AnchorSideTop

func (f *TFlowPanel) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TFlowPanel) AnchorToNeighbour

func (f *TFlowPanel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFlowPanel) AnchorVerticalCenterTo

func (f *TFlowPanel) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TFlowPanel) Anchors added in v1.1.19

func (f *TFlowPanel) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TFlowPanel) Assign added in v1.1.19

func (f *TFlowPanel) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TFlowPanel) AutoSize added in v1.1.19

func (f *TFlowPanel) AutoSize() bool

CN: 获取自动调整大小。 EN: .

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

CN: 获取边框间距。 EN: .

func (*TFlowPanel) BorderStyle added in v1.1.19

func (f *TFlowPanel) BorderStyle() TBorderStyle

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

func (*TFlowPanel) BorderWidth added in v1.1.19

func (f *TFlowPanel) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TFlowPanel) Brush added in v1.1.19

func (f *TFlowPanel) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TFlowPanel) CanFocus added in v1.1.19

func (f *TFlowPanel) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TFlowPanel) Caption added in v1.1.19

func (f *TFlowPanel) Caption() string

CN: 获取控件标题。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TFlowPanel) ClassType added in v1.1.19

func (f *TFlowPanel) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TFlowPanel) ClientHeight added in v1.1.19

func (f *TFlowPanel) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TFlowPanel) ClientToParent added in v1.1.19

func (f *TFlowPanel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TFlowPanel) ClientToScreen added in v1.1.19

func (f *TFlowPanel) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TFlowPanel) ClientWidth added in v1.1.19

func (f *TFlowPanel) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TFlowPanel) Color added in v1.1.19

func (f *TFlowPanel) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TFlowPanel) ComponentCount added in v1.1.19

func (f *TFlowPanel) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TFlowPanel) ComponentIndex added in v1.1.19

func (f *TFlowPanel) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TFlowPanel) Components added in v1.1.19

func (f *TFlowPanel) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TFlowPanel) Constraints added in v1.2.7

func (f *TFlowPanel) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TFlowPanel) ContainsControl added in v1.1.21

func (f *TFlowPanel) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TFlowPanel) ControlCount added in v1.1.19

func (f *TFlowPanel) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TFlowPanel) ControlState added in v1.1.21

func (f *TFlowPanel) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TFlowPanel) ControlStyle added in v1.1.21

func (f *TFlowPanel) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TFlowPanel) Controls added in v1.1.19

func (f *TFlowPanel) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TFlowPanel) Cursor added in v1.1.19

func (f *TFlowPanel) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TFlowPanel) DisableAlign added in v1.1.21

func (f *TFlowPanel) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TFlowPanel) DockClientCount added in v1.1.21

func (f *TFlowPanel) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TFlowPanel) DockClients added in v1.1.21

func (f *TFlowPanel) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TFlowPanel) DockSite added in v1.1.19

func (f *TFlowPanel) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TFlowPanel) DoubleBuffered added in v1.1.19

func (f *TFlowPanel) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TFlowPanel) DragCursor added in v1.1.19

func (f *TFlowPanel) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TFlowPanel) DragKind added in v1.1.19

func (f *TFlowPanel) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TFlowPanel) DragMode added in v1.1.19

func (f *TFlowPanel) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TFlowPanel) Dragging added in v1.1.19

func (f *TFlowPanel) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TFlowPanel) EnableAlign added in v1.1.21

func (f *TFlowPanel) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TFlowPanel) Enabled added in v1.1.19

func (f *TFlowPanel) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TFlowPanel) Equals added in v1.1.19

func (f *TFlowPanel) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TFlowPanel) FindChildControl added in v1.1.21

func (f *TFlowPanel) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TFlowPanel) FindComponent added in v1.1.19

func (f *TFlowPanel) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TFlowPanel) Font added in v1.1.19

func (f *TFlowPanel) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TFlowPanel) Free added in v1.1.19

func (f *TFlowPanel) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: 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

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TFlowPanel) GetNamePath added in v1.1.19

func (f *TFlowPanel) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TFlowPanel) GetTextBuf added in v1.1.19

func (f *TFlowPanel) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TFlowPanel) GetTextLen added in v1.1.19

func (f *TFlowPanel) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TFlowPanel) Handle added in v1.1.19

func (f *TFlowPanel) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TFlowPanel) HandleAllocated added in v1.1.19

func (f *TFlowPanel) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TFlowPanel) HasParent added in v1.1.19

func (f *TFlowPanel) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TFlowPanel) Height added in v1.1.19

func (f *TFlowPanel) Height() int32

CN: 获取高度。 EN: Get height.

func (*TFlowPanel) Hide added in v1.1.19

func (f *TFlowPanel) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TFlowPanel) Hint added in v1.1.19

func (f *TFlowPanel) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TFlowPanel) InheritsFrom added in v1.1.19

func (f *TFlowPanel) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TFlowPanel) InsertControl added in v1.1.21

func (f *TFlowPanel) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TFlowPanel) Instance added in v1.1.19

func (f *TFlowPanel) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TFlowPanel) InstanceSize added in v1.1.19

func (f *TFlowPanel) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TFlowPanel) Invalidate added in v1.1.19

func (f *TFlowPanel) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TFlowPanel) Is added in v1.2.10

func (f *TFlowPanel) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TFlowPanel) IsValid added in v1.1.19

func (f *TFlowPanel) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TFlowPanel) Left added in v1.1.19

func (f *TFlowPanel) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TFlowPanel) MouseInClient added in v1.1.21

func (f *TFlowPanel) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TFlowPanel) Owner added in v1.1.19

func (f *TFlowPanel) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TFlowPanel) Parent added in v1.1.19

func (f *TFlowPanel) Parent() *TWinControl

CN: 获取控件父容器。 EN: 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

CN: 获取父容器颜色。 EN: Get parent color.

func (*TFlowPanel) ParentDoubleBuffered added in v1.1.19

func (f *TFlowPanel) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TFlowPanel) ParentFont added in v1.1.19

func (f *TFlowPanel) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TFlowPanel) ParentShowHint added in v1.1.19

func (f *TFlowPanel) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TFlowPanel) ParentToClient added in v1.1.19

func (f *TFlowPanel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TFlowPanel) ParentWindow added in v1.1.19

func (f *TFlowPanel) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TFlowPanel) Perform added in v1.1.19

func (f *TFlowPanel) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TFlowPanel) PopupMenu added in v1.1.19

func (f *TFlowPanel) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TFlowPanel) Realign added in v1.1.19

func (f *TFlowPanel) Realign()

CN: 重新对齐。 EN: Realign.

func (*TFlowPanel) Refresh added in v1.1.19

func (f *TFlowPanel) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TFlowPanel) RemoveControl added in v1.1.21

func (f *TFlowPanel) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TFlowPanel) Repaint added in v1.1.19

func (f *TFlowPanel) Repaint()

CN: 重绘。 EN: Repaint.

func (*TFlowPanel) ScaleBy added in v1.1.19

func (f *TFlowPanel) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TFlowPanel) ScreenToClient added in v1.1.19

func (f *TFlowPanel) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TFlowPanel) ScrollBy added in v1.1.21

func (f *TFlowPanel) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TFlowPanel) SendToBack added in v1.1.19

func (f *TFlowPanel) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TFlowPanel) SetAlignment added in v1.1.19

func (f *TFlowPanel) SetAlignment(value TAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TFlowPanel) SetAnchorSideBottom

func (f *TFlowPanel) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TFlowPanel) SetAnchorSideLeft

func (f *TFlowPanel) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TFlowPanel) SetAnchorSideRight

func (f *TFlowPanel) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TFlowPanel) SetAnchorSideTop

func (f *TFlowPanel) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TFlowPanel) SetAnchors added in v1.1.19

func (f *TFlowPanel) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TFlowPanel) SetAutoSize added in v1.1.19

func (f *TFlowPanel) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

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)

CN: 设置边框间距。 EN: .

func (*TFlowPanel) SetBorderStyle added in v1.1.19

func (f *TFlowPanel) SetBorderStyle(value TBorderStyle)

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

func (*TFlowPanel) SetBorderWidth added in v1.1.19

func (f *TFlowPanel) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TFlowPanel) SetBounds added in v1.1.19

func (f *TFlowPanel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置控件标题。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TFlowPanel) SetClientWidth added in v1.1.19

func (f *TFlowPanel) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TFlowPanel) SetColor added in v1.1.19

func (f *TFlowPanel) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TFlowPanel) SetComponentIndex added in v1.1.19

func (f *TFlowPanel) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TFlowPanel) SetConstraints added in v1.2.7

func (f *TFlowPanel) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TFlowPanel) SetControlIndex added in v1.1.19

func (f *TFlowPanel) SetControlIndex(AControl IControl, Index int32)

func (*TFlowPanel) SetControlState added in v1.1.21

func (f *TFlowPanel) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TFlowPanel) SetControlStyle added in v1.1.21

func (f *TFlowPanel) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TFlowPanel) SetCursor added in v1.1.19

func (f *TFlowPanel) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TFlowPanel) SetDockSite added in v1.1.19

func (f *TFlowPanel) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TFlowPanel) SetDoubleBuffered added in v1.1.19

func (f *TFlowPanel) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TFlowPanel) SetDragCursor added in v1.1.19

func (f *TFlowPanel) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TFlowPanel) SetDragKind added in v1.1.19

func (f *TFlowPanel) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TFlowPanel) SetDragMode added in v1.1.19

func (f *TFlowPanel) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TFlowPanel) SetEnabled added in v1.1.19

func (f *TFlowPanel) SetEnabled(value bool)

CN: 设置控件启用。 EN: 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()

CN: 设置控件焦点。 EN: Set control focus.

func (*TFlowPanel) SetFont added in v1.1.19

func (f *TFlowPanel) SetFont(value *TFont)

CN: 设置字体。 EN: 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)

CN: 设置高度。 EN: Set height.

func (*TFlowPanel) SetHint added in v1.1.19

func (f *TFlowPanel) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TFlowPanel) SetLeft added in v1.1.19

func (f *TFlowPanel) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TFlowPanel) SetName added in v1.1.19

func (f *TFlowPanel) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TFlowPanel) SetOnAlignPosition added in v1.2.10

func (f *TFlowPanel) SetOnAlignPosition(fn TAlignPositionEvent)

func (*TFlowPanel) SetOnClick added in v1.1.19

func (f *TFlowPanel) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TFlowPanel) SetOnContextPopup added in v1.1.19

func (f *TFlowPanel) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TFlowPanel) SetOnDblClick added in v1.1.19

func (f *TFlowPanel) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

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)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TFlowPanel) SetOnDragOver added in v1.1.19

func (f *TFlowPanel) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TFlowPanel) SetOnEndDock added in v1.1.19

func (f *TFlowPanel) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TFlowPanel) SetOnEndDrag added in v1.1.19

func (f *TFlowPanel) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TFlowPanel) SetOnEnter added in v1.1.19

func (f *TFlowPanel) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TFlowPanel) SetOnExit added in v1.1.19

func (f *TFlowPanel) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: 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)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TFlowPanel) SetOnMouseEnter added in v1.1.19

func (f *TFlowPanel) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TFlowPanel) SetOnMouseLeave added in v1.1.19

func (f *TFlowPanel) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TFlowPanel) SetOnMouseMove added in v1.1.19

func (f *TFlowPanel) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TFlowPanel) SetOnMouseUp added in v1.1.19

func (f *TFlowPanel) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TFlowPanel) SetOnResize added in v1.1.19

func (f *TFlowPanel) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

func (*TFlowPanel) SetOnStartDock added in v1.1.19

func (f *TFlowPanel) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

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)

CN: 设置控件父容器。 EN: 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)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TFlowPanel) SetParentDoubleBuffered added in v1.1.19

func (f *TFlowPanel) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TFlowPanel) SetParentFont added in v1.1.19

func (f *TFlowPanel) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TFlowPanel) SetParentShowHint added in v1.1.19

func (f *TFlowPanel) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TFlowPanel) SetParentWindow added in v1.1.19

func (f *TFlowPanel) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TFlowPanel) SetPopupMenu added in v1.1.19

func (f *TFlowPanel) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TFlowPanel) SetShowHint added in v1.1.19

func (f *TFlowPanel) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TFlowPanel) SetTabOrder added in v1.1.19

func (f *TFlowPanel) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TFlowPanel) SetTabStop added in v1.1.19

func (f *TFlowPanel) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TFlowPanel) SetTag added in v1.1.19

func (f *TFlowPanel) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TFlowPanel) SetTextBuf added in v1.1.21

func (f *TFlowPanel) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TFlowPanel) SetTop added in v1.1.19

func (f *TFlowPanel) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TFlowPanel) SetUseDockManager added in v1.1.19

func (f *TFlowPanel) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TFlowPanel) SetVisible added in v1.1.19

func (f *TFlowPanel) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TFlowPanel) SetWidth added in v1.1.19

func (f *TFlowPanel) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TFlowPanel) Show added in v1.1.19

func (f *TFlowPanel) Show()

CN: 显示控件。 EN: Show control.

func (*TFlowPanel) ShowHint added in v1.1.19

func (f *TFlowPanel) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TFlowPanel) TabOrder added in v1.1.19

func (f *TFlowPanel) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TFlowPanel) TabStop added in v1.1.19

func (f *TFlowPanel) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TFlowPanel) Tag added in v1.1.19

func (f *TFlowPanel) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TFlowPanel) ToString added in v1.1.19

func (f *TFlowPanel) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TFlowPanel) Top added in v1.1.19

func (f *TFlowPanel) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TFlowPanel) UnsafeAddr added in v1.1.21

func (f *TFlowPanel) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TFlowPanel) Update added in v1.1.19

func (f *TFlowPanel) Update()

CN: 控件更新。 EN: Update.

func (*TFlowPanel) UseDockManager added in v1.1.19

func (f *TFlowPanel) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TFlowPanel) Visible added in v1.1.19

func (f *TFlowPanel) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TFlowPanel) VisibleDockClientCount added in v1.1.21

func (f *TFlowPanel) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TFlowPanel) Width added in v1.1.19

func (f *TFlowPanel) Width() int32

CN: 获取宽度。 EN: Get width.

type TFont

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

func AsFont added in v1.2.10

func AsFont(obj interface{}) *TFont

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func FontFromInst

func FontFromInst(inst uintptr) *TFont

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsFont.

func FontFromObj

func FontFromObj(obj IObject) *TFont

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsFont.

func FontFromUnsafePointer added in v1.1.21

func FontFromUnsafePointer(ptr unsafe.Pointer) *TFont

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsFont.

func NewFont

func NewFont() *TFont

CN: 创建一个新的对象。 EN: Create a new object.

func (*TFont) Assign

func (f *TFont) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TFont) ClassType added in v1.1.18

func (f *TFont) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TFont) Color

func (f *TFont) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TFont) Equals

func (f *TFont) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TFont) Free

func (f *TFont) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TFont) GetHashCode

func (f *TFont) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TFont) GetNamePath

func (f *TFont) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TFont) Handle

func (f *TFont) Handle() HFONT

CN: 获取控件句柄。 EN: Get Control handle.

func (*TFont) HandleAllocated

func (f *TFont) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TFont) Height

func (f *TFont) Height() int32

CN: 获取高度。 EN: Get height.

func (*TFont) InheritsFrom added in v1.1.18

func (f *TFont) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TFont) Instance

func (f *TFont) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TFont) InstanceSize added in v1.1.18

func (f *TFont) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TFont) Is added in v1.2.10

func (f *TFont) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TFont) IsValid

func (f *TFont) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TFont) Name

func (f *TFont) Name() string

CN: 获取组件名称。 EN: 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)

CN: 设置颜色。 EN: Set color.

func (*TFont) SetHandle

func (f *TFont) SetHandle(value HFONT)

CN: 设置控件句柄。 EN: Set Control handle.

func (*TFont) SetHeight

func (f *TFont) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TFont) SetName

func (f *TFont) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TFont) SetOnChange

func (f *TFont) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TFont) UnsafeAddr added in v1.1.21

func (f *TFont) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func FontDialogFromInst

func FontDialogFromInst(inst uintptr) *TFontDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsFontDialog.

func FontDialogFromObj

func FontDialogFromObj(obj IObject) *TFontDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsFontDialog.

func FontDialogFromUnsafePointer added in v1.1.21

func FontDialogFromUnsafePointer(ptr unsafe.Pointer) *TFontDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsFontDialog.

func NewFontDialog

func NewFontDialog(owner IComponent) *TFontDialog

CN: 创建一个新的对象。 EN: Create a new object.

func (*TFontDialog) Assign

func (f *TFontDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TFontDialog) ClassName

func (f *TFontDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TFontDialog) ClassType added in v1.1.18

func (f *TFontDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TFontDialog) ComponentCount

func (f *TFontDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TFontDialog) ComponentIndex

func (f *TFontDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TFontDialog) Components

func (f *TFontDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TFontDialog) Equals

func (f *TFontDialog) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TFontDialog) Execute

func (f *TFontDialog) Execute() bool

CN: 执行。 EN: .

func (*TFontDialog) FindComponent

func (f *TFontDialog) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TFontDialog) Font

func (f *TFontDialog) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TFontDialog) Free

func (f *TFontDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TFontDialog) GetHashCode

func (f *TFontDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TFontDialog) GetNamePath

func (f *TFontDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TFontDialog) Handle

func (f *TFontDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TFontDialog) HasParent

func (f *TFontDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TFontDialog) InheritsFrom added in v1.1.18

func (f *TFontDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TFontDialog) Instance

func (f *TFontDialog) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TFontDialog) InstanceSize added in v1.1.18

func (f *TFontDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TFontDialog) Is added in v1.2.10

func (f *TFontDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TFontDialog) IsValid

func (f *TFontDialog) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TFontDialog) Name

func (f *TFontDialog) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TFontDialog) Options

func (f *TFontDialog) Options() TFontDialogOptions

func (*TFontDialog) Owner

func (f *TFontDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TFontDialog) SetComponentIndex

func (f *TFontDialog) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TFontDialog) SetFont

func (f *TFontDialog) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TFontDialog) SetName

func (f *TFontDialog) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TFontDialog) SetOnClose

func (f *TFontDialog) SetOnClose(fn TNotifyEvent)

func (*TFontDialog) SetOnShow

func (f *TFontDialog) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

func (*TFontDialog) SetOptions

func (f *TFontDialog) SetOptions(value TFontDialogOptions)

func (*TFontDialog) SetTag

func (f *TFontDialog) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TFontDialog) Tag

func (f *TFontDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TFontDialog) ToString

func (f *TFontDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TFontDialog) UnsafeAddr added in v1.1.21

func (f *TFontDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func FormFromInst

func FormFromInst(inst uintptr) *TForm

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsForm.

func FormFromObj

func FormFromObj(obj IObject) *TForm

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsForm.

func FormFromUnsafePointer added in v1.1.21

func FormFromUnsafePointer(ptr unsafe.Pointer) *TForm

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsForm.

func NewForm

func NewForm(owner IComponent) *TForm

CN: 创建一个新的对象。 EN: Create a new object.

func (*TForm) Action

func (f *TForm) Action() *TAction

func (*TForm) Align

func (f *TForm) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TForm) AllowDropFiles

func (f *TForm) AllowDropFiles() bool

AllowDropFiles 获取允许拖放文件

func (*TForm) AlphaBlend

func (f *TForm) AlphaBlend() bool

CN: 获取半透明。 EN: .

func (*TForm) AlphaBlendValue

func (f *TForm) AlphaBlendValue() uint8

CN: 获取半透明值-0-255。 EN: .

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)

CN: 置于指定控件的横向中心。 EN: .

func (*TForm) AnchorParallel

func (f *TForm) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TForm) AnchorSide

func (f *TForm) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TForm) AnchorSideBottom

func (f *TForm) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TForm) AnchorSideLeft

func (f *TForm) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TForm) AnchorSideRight

func (f *TForm) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TForm) AnchorSideTop

func (f *TForm) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TForm) AnchorToNeighbour

func (f *TForm) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TForm) AnchorVerticalCenterTo

func (f *TForm) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TForm) Anchors

func (f *TForm) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TForm) Assign

func (f *TForm) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TForm) AutoScroll added in v1.2.7

func (f *TForm) AutoScroll() bool

func (*TForm) AutoSize

func (f *TForm) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TForm) BiDiMode

func (f *TForm) BiDiMode() TBiDiMode

func (*TForm) BorderIcons

func (f *TForm) BorderIcons() TBorderIcons

CN: 获取窗口标题栏图标设置。比如:关闭,最大化,最小化等。 EN: .

func (*TForm) BorderSpacing

func (f *TForm) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TForm) BorderStyle

func (f *TForm) BorderStyle() TFormBorderStyle

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

func (*TForm) BorderWidth

func (f *TForm) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

func (*TForm) BoundsRect

func (f *TForm) BoundsRect() TRect

func (*TForm) BringToFront

func (f *TForm) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TForm) Brush

func (f *TForm) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TForm) CanFocus

func (f *TForm) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TForm) Canvas

func (f *TForm) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TForm) Caption

func (f *TForm) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TForm) ChildSizing

func (f *TForm) ChildSizing() *TControlChildSizing

func (*TForm) ClassName

func (f *TForm) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TForm) ClassType added in v1.1.18

func (f *TForm) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TForm) ClientHeight

func (f *TForm) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TForm) ClientOrigin added in v1.1.21

func (f *TForm) ClientOrigin() TPoint

func (*TForm) ClientRect

func (f *TForm) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TForm) ClientToParent

func (f *TForm) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TForm) ClientToScreen

func (f *TForm) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TForm) ClientWidth

func (f *TForm) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TForm) Close

func (f *TForm) Close()

CN: 关闭。 EN: .

func (*TForm) Color

func (f *TForm) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TForm) ComponentCount

func (f *TForm) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TForm) ComponentIndex

func (f *TForm) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TForm) Components

func (f *TForm) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TForm) Constraints added in v1.2.7

func (f *TForm) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TForm) ContainsControl added in v1.1.21

func (f *TForm) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TForm) ControlCount

func (f *TForm) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TForm) ControlState added in v1.1.21

func (f *TForm) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TForm) ControlStyle added in v1.1.21

func (f *TForm) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TForm) Controls

func (f *TForm) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TForm) Cursor

func (f *TForm) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TForm) DefaultMonitor added in v1.2.9

func (f *TForm) DefaultMonitor() TDefaultMonitor

func (*TForm) DisableAlign added in v1.1.21

func (f *TForm) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TForm) DockClientCount added in v1.1.21

func (f *TForm) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TForm) DockClients added in v1.1.21

func (f *TForm) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TForm) DockSite

func (f *TForm) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TForm) DoubleBuffered

func (f *TForm) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TForm) DragKind

func (f *TForm) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TForm) DragMode

func (f *TForm) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TForm) Dragging

func (f *TForm) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TForm) EnableAlign added in v1.1.21

func (f *TForm) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TForm) Enabled

func (f *TForm) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TForm) EnabledMaximize

func (f *TForm) EnabledMaximize(val bool)

启用/禁用 标题栏最大化按钮

func (*TForm) EnabledMinimize

func (f *TForm) EnabledMinimize(val bool)

启用/禁用 标题栏最小化按钮

func (*TForm) EnabledSystemMenu

func (f *TForm) EnabledSystemMenu(val bool)

启用/禁用 标题栏系统菜单

func (*TForm) Equals

func (f *TForm) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TForm) FindChildControl added in v1.1.21

func (f *TForm) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TForm) FindComponent

func (f *TForm) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TForm) FlipChildren

func (f *TForm) FlipChildren(AllLevels bool)

func (*TForm) Floating

func (f *TForm) Floating() bool

func (*TForm) Focused

func (f *TForm) Focused() bool

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TForm) Font

func (f *TForm) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TForm) FormStyle

func (f *TForm) FormStyle() TFormStyle

CN: 获取窗口样式。比如:置顶,MID窗口。 EN: .

func (*TForm) Free

func (f *TForm) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TForm) GetHashCode

func (f *TForm) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TForm) GetNamePath

func (f *TForm) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TForm) GetTextBuf

func (f *TForm) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TForm) GetTextLen

func (f *TForm) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TForm) Handle

func (f *TForm) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TForm) HandleAllocated

func (f *TForm) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TForm) HasParent

func (f *TForm) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TForm) Height

func (f *TForm) Height() int32

CN: 获取高度。 EN: Get height.

func (*TForm) Hide

func (f *TForm) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TForm) Hint

func (f *TForm) Hint() string

CN: 获取组件鼠标悬停提示。 EN: 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

CN: 获取图标。 EN: Get icon.

func (*TForm) InheritedWndProc added in v1.2.10

func (f *TForm) InheritedWndProc(msg *types.TMessage)

OnWndProc必须要调用的, 内部为 inherited WndProc(msg)

func (*TForm) InheritsFrom added in v1.1.18

func (f *TForm) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TForm) InsertControl added in v1.1.21

func (f *TForm) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TForm) Instance

func (f *TForm) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TForm) InstanceSize added in v1.1.18

func (f *TForm) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TForm) Invalidate

func (f *TForm) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TForm) Is added in v1.2.10

func (f *TForm) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TForm) IsValid

func (f *TForm) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TForm) KeyPreview

func (f *TForm) KeyPreview() bool

CN: 获取窗口优先接收键盘按盘消息。 EN: .

func (*TForm) Left

func (f *TForm) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TForm) Menu

func (f *TForm) Menu() *TMainMenu

CN: 获取窗口主菜单。 EN: .

func (*TForm) ModalResult

func (f *TForm) ModalResult() TModalResult

CN: 获取模态对话框显示结果。 EN: .

func (*TForm) Monitor added in v1.2.9

func (f *TForm) Monitor() *TMonitor

func (*TForm) MouseInClient added in v1.1.21

func (f *TForm) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TForm) Name

func (f *TForm) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TForm) Owner

func (f *TForm) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TForm) Parent

func (f *TForm) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TForm) ParentDoubleBuffered

func (f *TForm) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TForm) ParentFont

func (f *TForm) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TForm) ParentToClient

func (f *TForm) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TForm) ParentWindow

func (f *TForm) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TForm) Perform

func (f *TForm) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TForm) PixelsPerInch

func (f *TForm) PixelsPerInch() int32

CN: 获取每英寸像素数。 EN: .

func (*TForm) PlatformWindow added in v1.2.10

func (f *TForm) PlatformWindow() GdkWindow

func (*TForm) PopupMenu

func (f *TForm) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TForm) Position

func (f *TForm) Position() TPosition

CN: 获取窗口的位置。比如:居中等。。 EN: .

func (*TForm) Realign

func (f *TForm) Realign()

CN: 重新对齐。 EN: Realign.

func (*TForm) Refresh

func (f *TForm) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TForm) RemoveControl added in v1.1.21

func (f *TForm) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TForm) Repaint

func (f *TForm) Repaint()

CN: 重绘。 EN: Repaint.

func (*TForm) ScaleBy

func (f *TForm) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TForm) ScaleControlsForDpi

func (f *TForm) ScaleControlsForDpi(val int32)

func (*TForm) ScaleForCurrentDpi added in v1.2.8

func (f *TForm) ScaleForCurrentDpi()

Delphi Loaded方法中的 / <summary> / Checks if there is a change in dpi and perform the necessary changes to scale all / the controls for the new dpi / </summary>

func (*TForm) ScaleForPPI

func (f *TForm) ScaleForPPI(val int32)

窗口PPI缩放

func (*TForm) ScaleSelf added in v1.1.19

func (f *TForm) ScaleSelf()

这个方法主要是用于当不使用资源窗口创建时用,这个方法要用于设置了Width, Height或者ClientWidth、ClientHeight之后

func (*TForm) Scaled

func (f *TForm) Scaled() bool

CN: 获取自动缩放。 EN: .

func (*TForm) ScreenCenter

func (f *TForm) ScreenCenter()

居于当前屏幕中心

func (*TForm) ScreenToClient

func (f *TForm) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TForm) ScrollBy added in v1.1.21

func (f *TForm) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TForm) ScrollInView added in v1.2.7

func (f *TForm) ScrollInView(AControl IControl)

func (*TForm) SendToBack

func (f *TForm) SendToBack()

CN: 控件至于最后面。 EN: The control is placed at the end.

func (*TForm) SetAction

func (f *TForm) SetAction(value IComponent)

func (*TForm) SetAlign

func (f *TForm) SetAlign(value TAlign)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TForm) SetAllowDropFiles

func (f *TForm) SetAllowDropFiles(val bool)

设置允许拖放文件

func (*TForm) SetAlphaBlend

func (f *TForm) SetAlphaBlend(value bool)

CN: 设置半透明。 EN: .

func (*TForm) SetAlphaBlendValue

func (f *TForm) SetAlphaBlendValue(value uint8)

CN: 设置半透明值-0-255。 EN: .

func (*TForm) SetAnchorSideBottom

func (f *TForm) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TForm) SetAnchorSideLeft

func (f *TForm) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TForm) SetAnchorSideRight

func (f *TForm) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TForm) SetAnchorSideTop

func (f *TForm) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TForm) SetAnchors

func (f *TForm) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TForm) SetAutoScroll added in v1.2.7

func (f *TForm) SetAutoScroll(value bool)

func (*TForm) SetAutoSize

func (f *TForm) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TForm) SetBiDiMode

func (f *TForm) SetBiDiMode(value TBiDiMode)

func (*TForm) SetBorderIcons

func (f *TForm) SetBorderIcons(value TBorderIcons)

CN: 设置窗口标题栏图标设置。比如:关闭,最大化,最小化等。 EN: .

func (*TForm) SetBorderSpacing

func (f *TForm) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TForm) SetBorderStyle

func (f *TForm) SetBorderStyle(value TFormBorderStyle)

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

func (*TForm) SetBorderWidth

func (f *TForm) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TForm) SetBounds

func (f *TForm) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TForm) SetBoundsRect

func (f *TForm) SetBoundsRect(value TRect)

func (*TForm) SetCaption

func (f *TForm) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TForm) SetChildSizing

func (f *TForm) SetChildSizing(value *TControlChildSizing)

func (*TForm) SetClientHeight

func (f *TForm) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TForm) SetClientWidth

func (f *TForm) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TForm) SetColor

func (f *TForm) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TForm) SetComponentIndex

func (f *TForm) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TForm) SetConstraints added in v1.2.7

func (f *TForm) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TForm) SetControlState added in v1.1.21

func (f *TForm) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TForm) SetControlStyle added in v1.1.21

func (f *TForm) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TForm) SetCursor

func (f *TForm) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TForm) SetDefaultMonitor added in v1.2.9

func (f *TForm) SetDefaultMonitor(value TDefaultMonitor)

func (*TForm) SetDockSite

func (f *TForm) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TForm) SetDoubleBuffered

func (f *TForm) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TForm) SetDragKind

func (f *TForm) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TForm) SetDragMode

func (f *TForm) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TForm) SetEnabled

func (f *TForm) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TForm) SetFocus

func (f *TForm) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TForm) SetFont

func (f *TForm) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TForm) SetFormStyle

func (f *TForm) SetFormStyle(value TFormStyle)

CN: 设置窗口样式。比如:置顶,MID窗口。 EN: .

func (*TForm) SetHeight

func (f *TForm) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TForm) SetHint

func (f *TForm) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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)

CN: 设置图标。 EN: Set icon.

func (*TForm) SetKeyPreview

func (f *TForm) SetKeyPreview(value bool)

CN: 设置窗口优先接收键盘按盘消息。 EN: .

func (*TForm) SetLeft

func (f *TForm) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TForm) SetMenu

func (f *TForm) SetMenu(value IComponent)

CN: 设置窗口主菜单。 EN: .

func (*TForm) SetModalResult

func (f *TForm) SetModalResult(value TModalResult)

CN: 设置模态对话框显示结果。 EN: .

func (*TForm) SetName

func (f *TForm) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TForm) SetOnActivate

func (f *TForm) SetOnActivate(fn TNotifyEvent)

窗口激活事件(获取焦点)

func (*TForm) SetOnAlignPosition added in v1.2.10

func (f *TForm) SetOnAlignPosition(fn TAlignPositionEvent)

func (*TForm) SetOnClick

func (f *TForm) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TForm) SetOnClose

func (f *TForm) SetOnClose(fn TCloseEvent)

CN: 设置窗口关闭事件。 EN: .

func (*TForm) SetOnCloseQuery

func (f *TForm) SetOnCloseQuery(fn TCloseQueryEvent)

CN: 设置窗口关闭询问事件。 EN: .

func (*TForm) SetOnConstrainedResize

func (f *TForm) SetOnConstrainedResize(fn TConstrainedResizeEvent)

约束窗口大小事件

func (*TForm) SetOnContextPopup

func (f *TForm) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TForm) SetOnDblClick

func (f *TForm) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TForm) SetOnDeactivate

func (f *TForm) SetOnDeactivate(fn TNotifyEvent)

窗口被取消激活事件(失去焦点)

func (*TForm) SetOnDestroy

func (f *TForm) SetOnDestroy(fn TNotifyEvent)

窗口销毁事件

func (*TForm) SetOnDockDrop

func (f *TForm) SetOnDockDrop(fn TDockDropEvent)

func (*TForm) SetOnDragDrop

func (f *TForm) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TForm) SetOnDragOver

func (f *TForm) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TForm) SetOnDropFiles

func (f *TForm) SetOnDropFiles(fn TDropFilesEvent)

窗口文件拖放事件

func (*TForm) SetOnEndDock

func (f *TForm) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: 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)

CN: 设置隐藏事件。 EN: .

func (*TForm) SetOnKeyDown

func (f *TForm) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TForm) SetOnKeyPress

func (f *TForm) SetOnKeyPress(fn TKeyPressEvent)

func (*TForm) SetOnKeyUp

func (f *TForm) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TForm) SetOnMouseDown

func (f *TForm) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TForm) SetOnMouseEnter

func (f *TForm) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TForm) SetOnMouseLeave

func (f *TForm) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TForm) SetOnMouseMove

func (f *TForm) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TForm) SetOnMouseUp

func (f *TForm) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TForm) SetOnMouseWheel

func (f *TForm) SetOnMouseWheel(fn TMouseWheelEvent)

CN: 设置鼠标滚轮事件。 EN: .

func (*TForm) SetOnMouseWheelDown

func (f *TForm) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮按下事件。 EN: .

func (*TForm) SetOnMouseWheelUp

func (f *TForm) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮抬起事件。 EN: .

func (*TForm) SetOnPaint

func (f *TForm) SetOnPaint(fn TNotifyEvent)

CN: 设置绘画事件。 EN: .

func (*TForm) SetOnResize

func (f *TForm) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

func (*TForm) SetOnShortCut

func (f *TForm) SetOnShortCut(fn TShortCutEvent)

func (*TForm) SetOnShow

func (f *TForm) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

func (*TForm) SetOnStartDock

func (f *TForm) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

func (*TForm) SetOnStyleChanged added in v1.1.23

func (f *TForm) SetOnStyleChanged(fn TNotifyEvent)

样式已改变事件,为解决样式切换后的问题特意加上的

func (*TForm) SetOnUnDock

func (f *TForm) SetOnUnDock(fn TUnDockEvent)

func (*TForm) SetOnWndProc added in v1.2.0

func (f *TForm) SetOnWndProc(fn TWndProcEvent)

窗口消息过程

func (*TForm) SetParent

func (f *TForm) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TForm) SetParentDoubleBuffered

func (f *TForm) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TForm) SetParentFont

func (f *TForm) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TForm) SetParentWindow

func (f *TForm) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TForm) SetPixelsPerInch

func (f *TForm) SetPixelsPerInch(value int32)

CN: 设置每英寸像素数。 EN: .

func (*TForm) SetPopupMenu

func (f *TForm) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TForm) SetPosition

func (f *TForm) SetPosition(value TPosition)

CN: 设置窗口的位置。比如:居中等。。 EN: .

func (*TForm) SetScaled

func (f *TForm) SetScaled(value bool)

CN: 设置自动缩放。 EN: .

func (*TForm) SetShowHint

func (f *TForm) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TForm) SetShowInTaskBar added in v1.2.4

func (f *TForm) SetShowInTaskBar(val types.TShowInTaskbar)

设置窗口显示在任务栏上

func (*TForm) SetTabOrder

func (f *TForm) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TForm) SetTabStop

func (f *TForm) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TForm) SetTag

func (f *TForm) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TForm) SetTextBuf added in v1.1.21

func (f *TForm) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TForm) SetTop

func (f *TForm) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TForm) SetUseDockManager

func (f *TForm) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TForm) SetVertScrollBar added in v1.2.7

func (f *TForm) SetVertScrollBar(value *TControlScrollBar)

func (*TForm) SetVisible

func (f *TForm) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TForm) SetWidth

func (f *TForm) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TForm) SetWindowState

func (f *TForm) SetWindowState(value TWindowState)

CN: 设置窗口样式。比如:最大化,最小化等。 EN: .

func (*TForm) Show

func (f *TForm) Show()

CN: 显示控件。 EN: Show control.

func (*TForm) ShowHint

func (f *TForm) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TForm) ShowInTaskBar added in v1.2.4

func (f *TForm) ShowInTaskBar() types.TShowInTaskbar

获取当前窗口是否显示在任务栏上

func (*TForm) ShowModal

func (f *TForm) ShowModal() int32

CN: 以模态模式显示对话框。 EN: .

func (*TForm) TabOrder

func (f *TForm) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TForm) TabStop

func (f *TForm) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TForm) Tag

func (f *TForm) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TForm) ToString

func (f *TForm) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TForm) Top

func (f *TForm) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TForm) UnsafeAddr added in v1.1.21

func (f *TForm) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TForm) Update

func (f *TForm) Update()

CN: 控件更新。 EN: Update.

func (*TForm) UseDockManager

func (f *TForm) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TForm) VertScrollBar added in v1.2.7

func (f *TForm) VertScrollBar() *TControlScrollBar

func (*TForm) Visible

func (f *TForm) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TForm) VisibleDockClientCount added in v1.1.21

func (f *TForm) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TForm) Width

func (f *TForm) Width() int32

CN: 获取宽度。 EN: Get width.

func (*TForm) WindowState

func (f *TForm) WindowState() TWindowState

CN: 获取窗口样式。比如:最大化,最小化等。 EN: .

func (*TForm) WorkAreaCenter

func (f *TForm) 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func FrameFromInst added in v1.2.7

func FrameFromInst(inst uintptr) *TFrame

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsFrame.

func FrameFromObj added in v1.2.7

func FrameFromObj(obj IObject) *TFrame

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsFrame.

func FrameFromUnsafePointer added in v1.2.7

func FrameFromUnsafePointer(ptr unsafe.Pointer) *TFrame

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsFrame.

func NewFrame added in v1.2.7

func NewFrame(owner IComponent) *TFrame

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TFrame) AnchorParallel

func (f *TFrame) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFrame) AnchorSide

func (f *TFrame) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TFrame) AnchorSideBottom

func (f *TFrame) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TFrame) AnchorSideLeft

func (f *TFrame) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TFrame) AnchorSideRight

func (f *TFrame) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TFrame) AnchorSideTop

func (f *TFrame) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TFrame) AnchorToNeighbour

func (f *TFrame) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TFrame) AnchorVerticalCenterTo

func (f *TFrame) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TFrame) Anchors added in v1.2.7

func (f *TFrame) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TFrame) Assign added in v1.2.7

func (f *TFrame) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

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

CN: 获取自动调整大小。 EN: .

func (*TFrame) BiDiMode added in v1.2.7

func (f *TFrame) BiDiMode() TBiDiMode

func (*TFrame) BorderSpacing

func (f *TFrame) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TFrame) Brush added in v1.2.7

func (f *TFrame) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TFrame) CanFocus added in v1.2.7

func (f *TFrame) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TFrame) ChildSizing

func (f *TFrame) ChildSizing() *TControlChildSizing

func (*TFrame) ClassName added in v1.2.7

func (f *TFrame) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TFrame) ClassType added in v1.2.7

func (f *TFrame) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TFrame) ClientHeight added in v1.2.7

func (f *TFrame) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TFrame) ClientToParent added in v1.2.7

func (f *TFrame) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TFrame) ClientToScreen added in v1.2.7

func (f *TFrame) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TFrame) ClientWidth added in v1.2.7

func (f *TFrame) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TFrame) Color added in v1.2.7

func (f *TFrame) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TFrame) ComponentCount added in v1.2.7

func (f *TFrame) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TFrame) ComponentIndex added in v1.2.7

func (f *TFrame) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TFrame) Components added in v1.2.7

func (f *TFrame) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TFrame) Constraints added in v1.2.7

func (f *TFrame) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TFrame) ContainsControl added in v1.2.7

func (f *TFrame) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TFrame) ControlCount added in v1.2.7

func (f *TFrame) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TFrame) ControlState added in v1.2.7

func (f *TFrame) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TFrame) ControlStyle added in v1.2.7

func (f *TFrame) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TFrame) Controls added in v1.2.7

func (f *TFrame) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TFrame) Cursor added in v1.2.7

func (f *TFrame) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TFrame) DisableAlign added in v1.2.7

func (f *TFrame) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TFrame) DockClientCount added in v1.2.7

func (f *TFrame) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TFrame) DockClients added in v1.2.7

func (f *TFrame) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TFrame) DockSite added in v1.2.7

func (f *TFrame) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TFrame) DoubleBuffered added in v1.2.7

func (f *TFrame) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TFrame) DragCursor added in v1.2.7

func (f *TFrame) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TFrame) DragKind added in v1.2.7

func (f *TFrame) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TFrame) DragMode added in v1.2.7

func (f *TFrame) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TFrame) Dragging added in v1.2.7

func (f *TFrame) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TFrame) EnableAlign added in v1.2.7

func (f *TFrame) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TFrame) Enabled added in v1.2.7

func (f *TFrame) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TFrame) Equals added in v1.2.7

func (f *TFrame) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TFrame) FindChildControl added in v1.2.7

func (f *TFrame) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TFrame) FindComponent added in v1.2.7

func (f *TFrame) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TFrame) Font added in v1.2.7

func (f *TFrame) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TFrame) Free added in v1.2.7

func (f *TFrame) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TFrame) GetHashCode added in v1.2.7

func (f *TFrame) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TFrame) GetNamePath added in v1.2.7

func (f *TFrame) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TFrame) GetTextBuf added in v1.2.7

func (f *TFrame) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TFrame) GetTextLen added in v1.2.7

func (f *TFrame) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TFrame) Handle added in v1.2.7

func (f *TFrame) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TFrame) HandleAllocated added in v1.2.7

func (f *TFrame) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TFrame) HasParent added in v1.2.7

func (f *TFrame) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TFrame) Height added in v1.2.7

func (f *TFrame) Height() int32

CN: 获取高度。 EN: Get height.

func (*TFrame) Hide added in v1.2.7

func (f *TFrame) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TFrame) Hint added in v1.2.7

func (f *TFrame) Hint() string

CN: 获取组件鼠标悬停提示。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TFrame) InsertControl added in v1.2.7

func (f *TFrame) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TFrame) Instance added in v1.2.7

func (f *TFrame) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TFrame) InstanceSize added in v1.2.7

func (f *TFrame) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TFrame) Invalidate added in v1.2.7

func (f *TFrame) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TFrame) Is added in v1.2.10

func (f *TFrame) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TFrame) IsValid added in v1.2.7

func (f *TFrame) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TFrame) Left added in v1.2.7

func (f *TFrame) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TFrame) MouseInClient added in v1.2.7

func (f *TFrame) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TFrame) Owner added in v1.2.7

func (f *TFrame) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TFrame) Parent added in v1.2.7

func (f *TFrame) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TFrame) ParentColor added in v1.2.7

func (f *TFrame) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TFrame) ParentDoubleBuffered added in v1.2.7

func (f *TFrame) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TFrame) ParentFont added in v1.2.7

func (f *TFrame) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TFrame) ParentShowHint added in v1.2.7

func (f *TFrame) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TFrame) ParentToClient added in v1.2.7

func (f *TFrame) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TFrame) ParentWindow added in v1.2.7

func (f *TFrame) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TFrame) Perform added in v1.2.7

func (f *TFrame) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TFrame) PopupMenu added in v1.2.7

func (f *TFrame) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TFrame) Realign added in v1.2.7

func (f *TFrame) Realign()

CN: 重新对齐。 EN: Realign.

func (*TFrame) Refresh added in v1.2.7

func (f *TFrame) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TFrame) RemoveControl added in v1.2.7

func (f *TFrame) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TFrame) Repaint added in v1.2.7

func (f *TFrame) Repaint()

CN: 重绘。 EN: Repaint.

func (*TFrame) ScaleBy added in v1.2.7

func (f *TFrame) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TFrame) ScreenToClient added in v1.2.7

func (f *TFrame) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TFrame) ScrollBy added in v1.2.7

func (f *TFrame) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: 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()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TFrame) SetAnchorSideBottom

func (f *TFrame) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TFrame) SetAnchorSideLeft

func (f *TFrame) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TFrame) SetAnchorSideRight

func (f *TFrame) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TFrame) SetAnchorSideTop

func (f *TFrame) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TFrame) SetAnchors added in v1.2.7

func (f *TFrame) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

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)

CN: 设置自动调整大小。 EN: .

func (*TFrame) SetBiDiMode added in v1.2.7

func (f *TFrame) SetBiDiMode(value TBiDiMode)

func (*TFrame) SetBorderSpacing

func (f *TFrame) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TFrame) SetBounds added in v1.2.7

func (f *TFrame) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TFrame) SetClientWidth added in v1.2.7

func (f *TFrame) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TFrame) SetColor added in v1.2.7

func (f *TFrame) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TFrame) SetComponentIndex added in v1.2.7

func (f *TFrame) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TFrame) SetConstraints added in v1.2.7

func (f *TFrame) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TFrame) SetControlState added in v1.2.7

func (f *TFrame) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TFrame) SetControlStyle added in v1.2.7

func (f *TFrame) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TFrame) SetCursor added in v1.2.7

func (f *TFrame) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TFrame) SetDockSite added in v1.2.7

func (f *TFrame) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TFrame) SetDoubleBuffered added in v1.2.7

func (f *TFrame) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TFrame) SetDragCursor added in v1.2.7

func (f *TFrame) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TFrame) SetDragKind added in v1.2.7

func (f *TFrame) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TFrame) SetDragMode added in v1.2.7

func (f *TFrame) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TFrame) SetEnabled added in v1.2.7

func (f *TFrame) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TFrame) SetFocus added in v1.2.7

func (f *TFrame) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TFrame) SetFont added in v1.2.7

func (f *TFrame) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TFrame) SetHeight added in v1.2.7

func (f *TFrame) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TFrame) SetHint added in v1.2.7

func (f *TFrame) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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)

CN: 设置左边位置。 EN: Set Left position.

func (*TFrame) SetName added in v1.2.7

func (f *TFrame) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TFrame) SetOnAlignPosition added in v1.2.10

func (f *TFrame) SetOnAlignPosition(fn TAlignPositionEvent)

func (*TFrame) SetOnClick added in v1.2.7

func (f *TFrame) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TFrame) SetOnContextPopup added in v1.2.7

func (f *TFrame) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TFrame) SetOnDblClick added in v1.2.7

func (f *TFrame) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

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)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TFrame) SetOnDragOver added in v1.2.7

func (f *TFrame) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TFrame) SetOnEndDock added in v1.2.7

func (f *TFrame) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TFrame) SetOnEndDrag added in v1.2.7

func (f *TFrame) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TFrame) SetOnEnter added in v1.2.7

func (f *TFrame) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TFrame) SetOnExit added in v1.2.7

func (f *TFrame) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: 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)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TFrame) SetOnMouseEnter added in v1.2.7

func (f *TFrame) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TFrame) SetOnMouseLeave added in v1.2.7

func (f *TFrame) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TFrame) SetOnMouseMove added in v1.2.7

func (f *TFrame) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TFrame) SetOnMouseUp added in v1.2.7

func (f *TFrame) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TFrame) SetOnMouseWheel added in v1.2.7

func (f *TFrame) SetOnMouseWheel(fn TMouseWheelEvent)

CN: 设置鼠标滚轮事件。 EN: .

func (*TFrame) SetOnMouseWheelDown added in v1.2.7

func (f *TFrame) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮按下事件。 EN: .

func (*TFrame) SetOnMouseWheelUp added in v1.2.7

func (f *TFrame) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮抬起事件。 EN: .

func (*TFrame) SetOnResize added in v1.2.7

func (f *TFrame) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

func (*TFrame) SetOnStartDock added in v1.2.7

func (f *TFrame) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TFrame) SetParentColor added in v1.2.7

func (f *TFrame) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TFrame) SetParentDoubleBuffered added in v1.2.7

func (f *TFrame) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TFrame) SetParentFont added in v1.2.7

func (f *TFrame) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TFrame) SetParentShowHint added in v1.2.7

func (f *TFrame) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TFrame) SetParentWindow added in v1.2.7

func (f *TFrame) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TFrame) SetPopupMenu added in v1.2.7

func (f *TFrame) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TFrame) SetShowHint added in v1.2.7

func (f *TFrame) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TFrame) SetTabOrder added in v1.2.7

func (f *TFrame) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TFrame) SetTabStop added in v1.2.7

func (f *TFrame) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TFrame) SetTag added in v1.2.7

func (f *TFrame) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TFrame) SetTextBuf added in v1.2.7

func (f *TFrame) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TFrame) SetTop added in v1.2.7

func (f *TFrame) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TFrame) SetUseDockManager added in v1.2.7

func (f *TFrame) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

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)

CN: 设置控件可视。 EN: Set the control visible.

func (*TFrame) SetWidth added in v1.2.7

func (f *TFrame) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TFrame) Show added in v1.2.7

func (f *TFrame) Show()

CN: 显示控件。 EN: Show control.

func (*TFrame) ShowHint added in v1.2.7

func (f *TFrame) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TFrame) TabOrder added in v1.2.7

func (f *TFrame) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TFrame) TabStop added in v1.2.7

func (f *TFrame) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TFrame) Tag added in v1.2.7

func (f *TFrame) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TFrame) ToString added in v1.2.7

func (f *TFrame) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TFrame) Top added in v1.2.7

func (f *TFrame) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TFrame) UnsafeAddr added in v1.2.7

func (f *TFrame) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TFrame) Update added in v1.2.7

func (f *TFrame) Update()

CN: 控件更新。 EN: Update.

func (*TFrame) UseDockManager added in v1.2.7

func (f *TFrame) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

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

CN: 获取控件可视。 EN: Get the control visible.

func (*TFrame) VisibleDockClientCount added in v1.2.7

func (f *TFrame) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TFrame) Width added in v1.2.7

func (f *TFrame) Width() int32

CN: 获取宽度。 EN: Get width.

type TGIFImage

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

func AsGIFImage added in v1.2.10

func AsGIFImage(obj interface{}) *TGIFImage

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func GIFImageFromInst

func GIFImageFromInst(inst uintptr) *TGIFImage

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsGIFImage.

func GIFImageFromObj

func GIFImageFromObj(obj IObject) *TGIFImage

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsGIFImage.

func GIFImageFromUnsafePointer added in v1.1.21

func GIFImageFromUnsafePointer(ptr unsafe.Pointer) *TGIFImage

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsGIFImage.

func NewGIFImage

func NewGIFImage() *TGIFImage

CN: 创建一个新的对象。 EN: Create a new object.

func (*TGIFImage) Assign

func (g *TGIFImage) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TGIFImage) ClassType added in v1.1.18

func (g *TGIFImage) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TGIFImage) Clear

func (g *TGIFImage) Clear()

CN: 清除。 EN: .

func (*TGIFImage) Empty

func (g *TGIFImage) Empty() bool

func (*TGIFImage) Equals

func (g *TGIFImage) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TGIFImage) Free

func (g *TGIFImage) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TGIFImage) GetHashCode

func (g *TGIFImage) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TGIFImage) GetNamePath

func (g *TGIFImage) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TGIFImage) Height

func (g *TGIFImage) Height() int32

CN: 获取高度。 EN: Get height.

func (*TGIFImage) InheritsFrom added in v1.1.18

func (g *TGIFImage) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TGIFImage) Instance

func (g *TGIFImage) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TGIFImage) InstanceSize added in v1.1.18

func (g *TGIFImage) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TGIFImage) Is added in v1.2.10

func (g *TGIFImage) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TGIFImage) IsValid

func (g *TGIFImage) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TGIFImage) LoadFromFile

func (g *TGIFImage) LoadFromFile(Filename string)

CN: 从文件加载。 EN: .

func (*TGIFImage) LoadFromStream

func (g *TGIFImage) LoadFromStream(Stream IObject)

CN: 文件流加载。 EN: .

func (*TGIFImage) Modified

func (g *TGIFImage) Modified() bool

CN: 获取修改。 EN: 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)

CN: 保存至文件。 EN: .

func (*TGIFImage) SaveToStream

func (g *TGIFImage) SaveToStream(Stream IObject)

CN: 保存至流。 EN: .

func (*TGIFImage) SetHeight

func (g *TGIFImage) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TGIFImage) SetModified

func (g *TGIFImage) SetModified(value bool)

CN: 设置修改。 EN: Set modified.

func (*TGIFImage) SetOnChange

func (g *TGIFImage) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: 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)

CN: 设置宽度。 EN: Set width.

func (*TGIFImage) ToString

func (g *TGIFImage) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TGIFImage) Transparent

func (g *TGIFImage) Transparent() bool

CN: 获取透明。 EN: Get transparent.

func (*TGIFImage) UnsafeAddr added in v1.1.21

func (g *TGIFImage) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TGIFImage) Width

func (g *TGIFImage) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func GaugeFromInst

func GaugeFromInst(inst uintptr) *TGauge

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsGauge.

func GaugeFromObj

func GaugeFromObj(obj IObject) *TGauge

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsGauge.

func GaugeFromUnsafePointer added in v1.1.21

func GaugeFromUnsafePointer(ptr unsafe.Pointer) *TGauge

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsGauge.

func NewGauge

func NewGauge(owner IComponent) *TGauge

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TGauge) AnchorParallel

func (g *TGauge) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TGauge) AnchorSide

func (g *TGauge) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TGauge) AnchorSideBottom

func (g *TGauge) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TGauge) AnchorSideLeft

func (g *TGauge) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TGauge) AnchorSideRight

func (g *TGauge) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TGauge) AnchorSideTop

func (g *TGauge) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TGauge) AnchorToNeighbour

func (g *TGauge) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TGauge) AnchorVerticalCenterTo

func (g *TGauge) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TGauge) Anchors

func (g *TGauge) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TGauge) Assign

func (g *TGauge) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TGauge) BackColor

func (g *TGauge) BackColor() TColor

func (*TGauge) BiDiMode

func (g *TGauge) BiDiMode() TBiDiMode

func (*TGauge) BorderSpacing

func (g *TGauge) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TGauge) BorderStyle

func (g *TGauge) BorderStyle() TBorderStyle

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

func (*TGauge) BoundsRect

func (g *TGauge) BoundsRect() TRect

func (*TGauge) BringToFront

func (g *TGauge) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TGauge) ClassName

func (g *TGauge) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TGauge) ClassType added in v1.1.18

func (g *TGauge) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TGauge) ClientHeight

func (g *TGauge) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TGauge) ClientOrigin added in v1.1.21

func (g *TGauge) ClientOrigin() TPoint

func (*TGauge) ClientRect

func (g *TGauge) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TGauge) ClientToParent

func (g *TGauge) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TGauge) ClientToScreen

func (g *TGauge) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TGauge) ClientWidth

func (g *TGauge) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TGauge) Color

func (g *TGauge) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TGauge) ComponentCount

func (g *TGauge) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TGauge) ComponentIndex

func (g *TGauge) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TGauge) Components

func (g *TGauge) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TGauge) Constraints added in v1.2.7

func (g *TGauge) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TGauge) ControlState added in v1.1.21

func (g *TGauge) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TGauge) ControlStyle added in v1.1.21

func (g *TGauge) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TGauge) Cursor

func (g *TGauge) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TGauge) Dragging

func (g *TGauge) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TGauge) Enabled

func (g *TGauge) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TGauge) Equals

func (g *TGauge) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TGauge) FindComponent

func (g *TGauge) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TGauge) Floating

func (g *TGauge) Floating() bool

func (*TGauge) Font

func (g *TGauge) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TGauge) ForeColor

func (g *TGauge) ForeColor() TColor

func (*TGauge) Free

func (g *TGauge) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TGauge) GetHashCode

func (g *TGauge) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TGauge) GetNamePath

func (g *TGauge) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TGauge) GetTextBuf

func (g *TGauge) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TGauge) GetTextLen

func (g *TGauge) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TGauge) HasParent

func (g *TGauge) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TGauge) Height

func (g *TGauge) Height() int32

CN: 获取高度。 EN: Get height.

func (*TGauge) Hide

func (g *TGauge) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TGauge) Hint

func (g *TGauge) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TGauge) InheritsFrom added in v1.1.18

func (g *TGauge) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TGauge) Instance

func (g *TGauge) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TGauge) InstanceSize added in v1.1.18

func (g *TGauge) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TGauge) Invalidate

func (g *TGauge) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TGauge) Is added in v1.2.10

func (g *TGauge) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TGauge) IsValid

func (g *TGauge) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TGauge) Left

func (g *TGauge) Left() int32

CN: 获取左边位置。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TGauge) Owner

func (g *TGauge) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TGauge) Parent

func (g *TGauge) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TGauge) ParentColor

func (g *TGauge) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TGauge) ParentFont

func (g *TGauge) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TGauge) ParentShowHint

func (g *TGauge) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TGauge) ParentToClient

func (g *TGauge) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: 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

CN: 发送一个消息。 EN: Send a message.

func (*TGauge) PopupMenu

func (g *TGauge) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TGauge) Progress

func (g *TGauge) Progress() int32

func (*TGauge) Refresh

func (g *TGauge) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TGauge) Repaint

func (g *TGauge) Repaint()

CN: 重绘。 EN: Repaint.

func (*TGauge) ScreenToClient

func (g *TGauge) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TGauge) SendToBack

func (g *TGauge) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TGauge) SetAnchorSideBottom

func (g *TGauge) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TGauge) SetAnchorSideLeft

func (g *TGauge) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TGauge) SetAnchorSideRight

func (g *TGauge) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TGauge) SetAnchorSideTop

func (g *TGauge) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TGauge) SetAnchors

func (g *TGauge) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

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)

CN: 设置边框间距。 EN: .

func (*TGauge) SetBorderStyle

func (g *TGauge) SetBorderStyle(value TBorderStyle)

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

func (*TGauge) SetBounds

func (g *TGauge) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TGauge) SetBoundsRect

func (g *TGauge) SetBoundsRect(value TRect)

func (*TGauge) SetClientHeight

func (g *TGauge) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TGauge) SetClientWidth

func (g *TGauge) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TGauge) SetColor

func (g *TGauge) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TGauge) SetComponentIndex

func (g *TGauge) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TGauge) SetConstraints added in v1.2.7

func (g *TGauge) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TGauge) SetControlState added in v1.1.21

func (g *TGauge) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TGauge) SetControlStyle added in v1.1.21

func (g *TGauge) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TGauge) SetCursor

func (g *TGauge) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TGauge) SetEnabled

func (g *TGauge) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TGauge) SetFont

func (g *TGauge) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TGauge) SetForeColor

func (g *TGauge) SetForeColor(value TColor)

func (*TGauge) SetHeight

func (g *TGauge) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TGauge) SetHint

func (g *TGauge) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TGauge) SetLeft

func (g *TGauge) SetLeft(value int32)

CN: 设置左边位置。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TGauge) SetParent

func (g *TGauge) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TGauge) SetParentColor

func (g *TGauge) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TGauge) SetParentFont

func (g *TGauge) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TGauge) SetParentShowHint

func (g *TGauge) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TGauge) SetPopupMenu

func (g *TGauge) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TGauge) SetProgress

func (g *TGauge) SetProgress(value int32)

func (*TGauge) SetShowHint

func (g *TGauge) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TGauge) SetShowText

func (g *TGauge) SetShowText(value bool)

func (*TGauge) SetTag

func (g *TGauge) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TGauge) SetTextBuf added in v1.1.21

func (g *TGauge) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TGauge) SetTop

func (g *TGauge) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TGauge) SetVisible

func (g *TGauge) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TGauge) SetWidth

func (g *TGauge) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TGauge) Show

func (g *TGauge) Show()

CN: 显示控件。 EN: Show control.

func (*TGauge) ShowHint

func (g *TGauge) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TGauge) ShowText

func (g *TGauge) ShowText() bool

func (*TGauge) Tag

func (g *TGauge) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TGauge) ToString

func (g *TGauge) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TGauge) Top

func (g *TGauge) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TGauge) UnsafeAddr added in v1.1.21

func (g *TGauge) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TGauge) Update

func (g *TGauge) Update()

CN: 控件更新。 EN: Update.

func (*TGauge) Visible

func (g *TGauge) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TGauge) Width

func (g *TGauge) Width() int32

CN: 获取宽度。 EN: Get width.

type TGetEditEvent added in v1.1.19

type TGetEditEvent func(sender IObject, aCol, aRow int32, value *string)

TGetEditEvent = procedure (Sender: TObject; ACol, ARow: Longint; var Value: string) of object;

type TGetSiteInfoEvent

type TGetSiteInfoEvent func(sender IObject, dockClient *TControl, influenceRect *TRect, mousePos TPoint, canDock *bool)

TGetSiteInfoEvent = procedure(Sender: TObject; DockClient: TControl; var InfluenceRect: TRect; MousePos: TPoint; var CanDock: Boolean) of object;

type TGraphic

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

func AsGraphic added in v1.2.10

func AsGraphic(obj interface{}) *TGraphic

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func GraphicFromInst

func GraphicFromInst(inst uintptr) *TGraphic

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsGraphic.

func GraphicFromObj

func GraphicFromObj(obj IObject) *TGraphic

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsGraphic.

func GraphicFromUnsafePointer added in v1.1.21

func GraphicFromUnsafePointer(ptr unsafe.Pointer) *TGraphic

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsGraphic.

func NewGraphic

func NewGraphic() *TGraphic

CN: 创建一个新的对象。 EN: Create a new object.

func (*TGraphic) Assign

func (g *TGraphic) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TGraphic) ClassName

func (g *TGraphic) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TGraphic) ClassType added in v1.1.18

func (g *TGraphic) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TGraphic) Empty

func (g *TGraphic) Empty() bool

CN: 获取对象是否为空。 EN: Get object is empty.

func (*TGraphic) Equals

func (g *TGraphic) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TGraphic) Free

func (g *TGraphic) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TGraphic) GetHashCode

func (g *TGraphic) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TGraphic) GetNamePath

func (g *TGraphic) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TGraphic) Height

func (g *TGraphic) Height() int32

CN: 获取高度。 EN: Get height.

func (*TGraphic) InheritsFrom added in v1.1.18

func (g *TGraphic) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TGraphic) Instance

func (g *TGraphic) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TGraphic) InstanceSize added in v1.1.18

func (g *TGraphic) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TGraphic) Is added in v1.2.10

func (g *TGraphic) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TGraphic) IsValid

func (g *TGraphic) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TGraphic) LoadFromFile

func (g *TGraphic) LoadFromFile(Filename string)

CN: 从文件加载。 EN: .

func (*TGraphic) LoadFromStream

func (g *TGraphic) LoadFromStream(Stream IObject)

CN: 文件流加载。 EN: .

func (*TGraphic) Modified

func (g *TGraphic) Modified() bool

CN: 获取修改。 EN: 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)

CN: 保存至文件。 EN: .

func (*TGraphic) SaveToStream

func (g *TGraphic) SaveToStream(Stream IObject)

CN: 保存至流。 EN: .

func (*TGraphic) SetHeight

func (g *TGraphic) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TGraphic) SetModified

func (g *TGraphic) SetModified(value bool)

CN: 设置修改。 EN: Set modified.

func (*TGraphic) SetOnChange

func (g *TGraphic) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: 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)

CN: 设置透明。 EN: Set transparent.

func (*TGraphic) SetWidth

func (g *TGraphic) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TGraphic) ToString

func (g *TGraphic) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TGraphic) Transparent

func (g *TGraphic) Transparent() bool

CN: 获取透明。 EN: Get transparent.

func (*TGraphic) UnsafeAddr added in v1.1.21

func (g *TGraphic) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TGraphic) Width

func (g *TGraphic) Width() int32

CN: 获取宽度。 EN: Get width.

type TGroupBox

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

func AsGroupBox added in v1.2.10

func AsGroupBox(obj interface{}) *TGroupBox

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func GroupBoxFromInst

func GroupBoxFromInst(inst uintptr) *TGroupBox

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsGroupBox.

func GroupBoxFromObj

func GroupBoxFromObj(obj IObject) *TGroupBox

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsGroupBox.

func GroupBoxFromUnsafePointer added in v1.1.21

func GroupBoxFromUnsafePointer(ptr unsafe.Pointer) *TGroupBox

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsGroupBox.

func NewGroupBox

func NewGroupBox(owner IComponent) *TGroupBox

CN: 创建一个新的对象。 EN: Create a new object.

func (*TGroupBox) Action

func (g *TGroupBox) Action() *TAction

func (*TGroupBox) Align

func (g *TGroupBox) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TGroupBox) AnchorParallel

func (g *TGroupBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TGroupBox) AnchorSide

func (g *TGroupBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TGroupBox) AnchorSideBottom

func (g *TGroupBox) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TGroupBox) AnchorSideLeft

func (g *TGroupBox) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TGroupBox) AnchorSideRight

func (g *TGroupBox) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TGroupBox) AnchorSideTop

func (g *TGroupBox) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TGroupBox) AnchorToNeighbour

func (g *TGroupBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TGroupBox) AnchorVerticalCenterTo

func (g *TGroupBox) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TGroupBox) Anchors

func (g *TGroupBox) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TGroupBox) Assign

func (g *TGroupBox) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TGroupBox) BiDiMode

func (g *TGroupBox) BiDiMode() TBiDiMode

func (*TGroupBox) BorderSpacing

func (g *TGroupBox) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TGroupBox) BoundsRect

func (g *TGroupBox) BoundsRect() TRect

func (*TGroupBox) BringToFront

func (g *TGroupBox) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TGroupBox) Brush

func (g *TGroupBox) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TGroupBox) CanFocus

func (g *TGroupBox) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TGroupBox) Caption

func (g *TGroupBox) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TGroupBox) ChildSizing

func (g *TGroupBox) ChildSizing() *TControlChildSizing

func (*TGroupBox) ClassName

func (g *TGroupBox) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TGroupBox) ClassType added in v1.1.18

func (g *TGroupBox) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TGroupBox) ClientHeight

func (g *TGroupBox) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TGroupBox) ClientOrigin added in v1.1.21

func (g *TGroupBox) ClientOrigin() TPoint

func (*TGroupBox) ClientRect

func (g *TGroupBox) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TGroupBox) ClientToParent

func (g *TGroupBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TGroupBox) ClientToScreen

func (g *TGroupBox) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TGroupBox) ClientWidth

func (g *TGroupBox) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TGroupBox) Color

func (g *TGroupBox) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TGroupBox) ComponentCount

func (g *TGroupBox) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TGroupBox) ComponentIndex

func (g *TGroupBox) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TGroupBox) Components

func (g *TGroupBox) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TGroupBox) Constraints added in v1.2.7

func (g *TGroupBox) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TGroupBox) ContainsControl added in v1.1.21

func (g *TGroupBox) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TGroupBox) ControlCount

func (g *TGroupBox) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TGroupBox) ControlState added in v1.1.21

func (g *TGroupBox) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TGroupBox) ControlStyle added in v1.1.21

func (g *TGroupBox) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TGroupBox) Controls

func (g *TGroupBox) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TGroupBox) Cursor

func (g *TGroupBox) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TGroupBox) DisableAlign added in v1.1.21

func (g *TGroupBox) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TGroupBox) DockClientCount added in v1.1.21

func (g *TGroupBox) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TGroupBox) DockClients added in v1.1.21

func (g *TGroupBox) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TGroupBox) DockSite

func (g *TGroupBox) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TGroupBox) DoubleBuffered

func (g *TGroupBox) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TGroupBox) DragCursor

func (g *TGroupBox) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TGroupBox) DragKind

func (g *TGroupBox) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TGroupBox) DragMode

func (g *TGroupBox) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TGroupBox) Dragging

func (g *TGroupBox) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TGroupBox) EnableAlign added in v1.1.21

func (g *TGroupBox) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TGroupBox) Enabled

func (g *TGroupBox) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TGroupBox) Equals

func (g *TGroupBox) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TGroupBox) FindChildControl added in v1.1.21

func (g *TGroupBox) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TGroupBox) FindComponent

func (g *TGroupBox) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TGroupBox) Font

func (g *TGroupBox) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TGroupBox) Free

func (g *TGroupBox) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TGroupBox) GetHashCode

func (g *TGroupBox) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TGroupBox) GetNamePath

func (g *TGroupBox) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TGroupBox) GetTextBuf

func (g *TGroupBox) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TGroupBox) GetTextLen

func (g *TGroupBox) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TGroupBox) Handle

func (g *TGroupBox) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TGroupBox) HandleAllocated

func (g *TGroupBox) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TGroupBox) HasParent

func (g *TGroupBox) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TGroupBox) Height

func (g *TGroupBox) Height() int32

CN: 获取高度。 EN: Get height.

func (*TGroupBox) Hide

func (g *TGroupBox) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TGroupBox) Hint

func (g *TGroupBox) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TGroupBox) InheritsFrom added in v1.1.18

func (g *TGroupBox) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TGroupBox) InsertControl added in v1.1.21

func (g *TGroupBox) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TGroupBox) Instance

func (g *TGroupBox) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TGroupBox) InstanceSize added in v1.1.18

func (g *TGroupBox) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TGroupBox) Invalidate

func (g *TGroupBox) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TGroupBox) Is added in v1.2.10

func (g *TGroupBox) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TGroupBox) IsValid

func (g *TGroupBox) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TGroupBox) Left

func (g *TGroupBox) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TGroupBox) MouseInClient added in v1.1.21

func (g *TGroupBox) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TGroupBox) Name

func (g *TGroupBox) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TGroupBox) Owner

func (g *TGroupBox) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TGroupBox) Parent

func (g *TGroupBox) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TGroupBox) ParentColor

func (g *TGroupBox) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TGroupBox) ParentDoubleBuffered

func (g *TGroupBox) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TGroupBox) ParentFont

func (g *TGroupBox) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TGroupBox) ParentShowHint

func (g *TGroupBox) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TGroupBox) ParentToClient

func (g *TGroupBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TGroupBox) ParentWindow

func (g *TGroupBox) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TGroupBox) Perform

func (g *TGroupBox) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TGroupBox) PopupMenu

func (g *TGroupBox) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TGroupBox) Realign

func (g *TGroupBox) Realign()

CN: 重新对齐。 EN: Realign.

func (*TGroupBox) Refresh

func (g *TGroupBox) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TGroupBox) RemoveControl added in v1.1.21

func (g *TGroupBox) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TGroupBox) Repaint

func (g *TGroupBox) Repaint()

CN: 重绘。 EN: Repaint.

func (*TGroupBox) ScaleBy

func (g *TGroupBox) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TGroupBox) ScreenToClient

func (g *TGroupBox) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TGroupBox) ScrollBy added in v1.1.21

func (g *TGroupBox) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TGroupBox) SendToBack

func (g *TGroupBox) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TGroupBox) SetAnchorSideBottom

func (g *TGroupBox) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TGroupBox) SetAnchorSideLeft

func (g *TGroupBox) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TGroupBox) SetAnchorSideRight

func (g *TGroupBox) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TGroupBox) SetAnchorSideTop

func (g *TGroupBox) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TGroupBox) SetAnchors

func (g *TGroupBox) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TGroupBox) SetBiDiMode

func (g *TGroupBox) SetBiDiMode(value TBiDiMode)

func (*TGroupBox) SetBorderSpacing

func (g *TGroupBox) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TGroupBox) SetBounds

func (g *TGroupBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TGroupBox) SetBoundsRect

func (g *TGroupBox) SetBoundsRect(value TRect)

func (*TGroupBox) SetCaption

func (g *TGroupBox) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TGroupBox) SetChildSizing

func (g *TGroupBox) SetChildSizing(value *TControlChildSizing)

func (*TGroupBox) SetClientHeight

func (g *TGroupBox) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TGroupBox) SetClientWidth

func (g *TGroupBox) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TGroupBox) SetColor

func (g *TGroupBox) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TGroupBox) SetComponentIndex

func (g *TGroupBox) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TGroupBox) SetConstraints added in v1.2.7

func (g *TGroupBox) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TGroupBox) SetControlState added in v1.1.21

func (g *TGroupBox) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TGroupBox) SetControlStyle added in v1.1.21

func (g *TGroupBox) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TGroupBox) SetCursor

func (g *TGroupBox) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TGroupBox) SetDockSite

func (g *TGroupBox) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TGroupBox) SetDoubleBuffered

func (g *TGroupBox) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TGroupBox) SetDragCursor

func (g *TGroupBox) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TGroupBox) SetDragKind

func (g *TGroupBox) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TGroupBox) SetDragMode

func (g *TGroupBox) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TGroupBox) SetEnabled

func (g *TGroupBox) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TGroupBox) SetFocus

func (g *TGroupBox) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TGroupBox) SetFont

func (g *TGroupBox) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TGroupBox) SetHeight

func (g *TGroupBox) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TGroupBox) SetHint

func (g *TGroupBox) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TGroupBox) SetLeft

func (g *TGroupBox) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TGroupBox) SetName

func (g *TGroupBox) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TGroupBox) SetOnAlignPosition added in v1.2.10

func (g *TGroupBox) SetOnAlignPosition(fn TAlignPositionEvent)

func (*TGroupBox) SetOnClick

func (g *TGroupBox) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TGroupBox) SetOnContextPopup

func (g *TGroupBox) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TGroupBox) SetOnDblClick

func (g *TGroupBox) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TGroupBox) SetOnDockDrop

func (g *TGroupBox) SetOnDockDrop(fn TDockDropEvent)

func (*TGroupBox) SetOnDragDrop

func (g *TGroupBox) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TGroupBox) SetOnDragOver

func (g *TGroupBox) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TGroupBox) SetOnEndDock

func (g *TGroupBox) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TGroupBox) SetOnEndDrag

func (g *TGroupBox) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TGroupBox) SetOnEnter

func (g *TGroupBox) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TGroupBox) SetOnExit

func (g *TGroupBox) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TGroupBox) SetOnGetSiteInfo

func (g *TGroupBox) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TGroupBox) SetOnMouseDown

func (g *TGroupBox) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TGroupBox) SetOnMouseEnter

func (g *TGroupBox) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TGroupBox) SetOnMouseLeave

func (g *TGroupBox) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TGroupBox) SetOnMouseMove

func (g *TGroupBox) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TGroupBox) SetOnMouseUp

func (g *TGroupBox) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TGroupBox) SetOnStartDock

func (g *TGroupBox) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

func (*TGroupBox) SetOnUnDock

func (g *TGroupBox) SetOnUnDock(fn TUnDockEvent)

func (*TGroupBox) SetParent

func (g *TGroupBox) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TGroupBox) SetParentColor

func (g *TGroupBox) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TGroupBox) SetParentDoubleBuffered

func (g *TGroupBox) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TGroupBox) SetParentFont

func (g *TGroupBox) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TGroupBox) SetParentShowHint

func (g *TGroupBox) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TGroupBox) SetParentWindow

func (g *TGroupBox) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TGroupBox) SetPopupMenu

func (g *TGroupBox) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TGroupBox) SetShowHint

func (g *TGroupBox) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TGroupBox) SetTabOrder

func (g *TGroupBox) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TGroupBox) SetTabStop

func (g *TGroupBox) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TGroupBox) SetTag

func (g *TGroupBox) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TGroupBox) SetTextBuf added in v1.1.21

func (g *TGroupBox) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TGroupBox) SetTop

func (g *TGroupBox) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TGroupBox) SetUseDockManager

func (g *TGroupBox) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TGroupBox) SetVisible

func (g *TGroupBox) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TGroupBox) SetWidth

func (g *TGroupBox) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TGroupBox) Show

func (g *TGroupBox) Show()

CN: 显示控件。 EN: Show control.

func (*TGroupBox) ShowHint

func (g *TGroupBox) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TGroupBox) TabOrder

func (g *TGroupBox) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TGroupBox) TabStop

func (g *TGroupBox) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TGroupBox) Tag

func (g *TGroupBox) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TGroupBox) ToString

func (g *TGroupBox) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TGroupBox) Top

func (g *TGroupBox) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TGroupBox) UnsafeAddr added in v1.1.21

func (g *TGroupBox) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TGroupBox) Update

func (g *TGroupBox) Update()

CN: 控件更新。 EN: Update.

func (*TGroupBox) UseDockManager

func (g *TGroupBox) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TGroupBox) Visible

func (g *TGroupBox) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TGroupBox) VisibleDockClientCount added in v1.1.21

func (g *TGroupBox) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TGroupBox) Width

func (g *TGroupBox) Width() int32

CN: 获取宽度。 EN: Get width.

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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func HeaderControlFromInst added in v1.1.19

func HeaderControlFromInst(inst uintptr) *THeaderControl

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsHeaderControl.

func HeaderControlFromObj added in v1.1.19

func HeaderControlFromObj(obj IObject) *THeaderControl

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsHeaderControl.

func HeaderControlFromUnsafePointer added in v1.1.21

func HeaderControlFromUnsafePointer(ptr unsafe.Pointer) *THeaderControl

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsHeaderControl.

func NewHeaderControl added in v1.1.19

func NewHeaderControl(owner IComponent) *THeaderControl

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*THeaderControl) AnchorParallel

func (h *THeaderControl) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*THeaderControl) AnchorSide

func (h *THeaderControl) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*THeaderControl) AnchorSideBottom

func (h *THeaderControl) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*THeaderControl) AnchorSideLeft

func (h *THeaderControl) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*THeaderControl) AnchorSideRight

func (h *THeaderControl) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*THeaderControl) AnchorSideTop

func (h *THeaderControl) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*THeaderControl) AnchorToNeighbour

func (h *THeaderControl) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*THeaderControl) AnchorVerticalCenterTo

func (h *THeaderControl) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*THeaderControl) Anchors added in v1.1.19

func (h *THeaderControl) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*THeaderControl) Assign added in v1.1.19

func (h *THeaderControl) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*THeaderControl) BorderSpacing

func (h *THeaderControl) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*THeaderControl) BorderWidth added in v1.1.19

func (h *THeaderControl) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*THeaderControl) Brush added in v1.1.19

func (h *THeaderControl) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*THeaderControl) CanFocus added in v1.1.19

func (h *THeaderControl) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*THeaderControl) Canvas added in v1.1.19

func (h *THeaderControl) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*THeaderControl) ChildSizing

func (h *THeaderControl) ChildSizing() *TControlChildSizing

func (*THeaderControl) ClassName added in v1.1.19

func (h *THeaderControl) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*THeaderControl) ClassType added in v1.1.19

func (h *THeaderControl) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*THeaderControl) ClientHeight added in v1.1.19

func (h *THeaderControl) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*THeaderControl) ClientToParent added in v1.1.19

func (h *THeaderControl) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*THeaderControl) ClientToScreen added in v1.1.19

func (h *THeaderControl) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*THeaderControl) ClientWidth added in v1.1.19

func (h *THeaderControl) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*THeaderControl) ComponentCount added in v1.1.19

func (h *THeaderControl) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*THeaderControl) ComponentIndex added in v1.1.19

func (h *THeaderControl) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*THeaderControl) Components added in v1.1.19

func (h *THeaderControl) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*THeaderControl) Constraints added in v1.2.7

func (h *THeaderControl) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*THeaderControl) ContainsControl added in v1.1.21

func (h *THeaderControl) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*THeaderControl) ControlCount added in v1.1.19

func (h *THeaderControl) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*THeaderControl) ControlState added in v1.1.21

func (h *THeaderControl) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*THeaderControl) ControlStyle added in v1.1.21

func (h *THeaderControl) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*THeaderControl) Controls added in v1.1.19

func (h *THeaderControl) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*THeaderControl) Cursor added in v1.1.19

func (h *THeaderControl) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*THeaderControl) DisableAlign added in v1.1.21

func (h *THeaderControl) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*THeaderControl) DockClientCount added in v1.1.21

func (h *THeaderControl) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*THeaderControl) DockClients added in v1.1.21

func (h *THeaderControl) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*THeaderControl) DockSite added in v1.1.19

func (h *THeaderControl) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*THeaderControl) DoubleBuffered added in v1.1.19

func (h *THeaderControl) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*THeaderControl) DragCursor added in v1.1.19

func (h *THeaderControl) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*THeaderControl) DragKind added in v1.1.19

func (h *THeaderControl) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*THeaderControl) DragMode added in v1.1.19

func (h *THeaderControl) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*THeaderControl) Dragging added in v1.1.19

func (h *THeaderControl) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*THeaderControl) EnableAlign added in v1.1.21

func (h *THeaderControl) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*THeaderControl) Enabled added in v1.1.19

func (h *THeaderControl) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*THeaderControl) Equals added in v1.1.19

func (h *THeaderControl) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*THeaderControl) FindChildControl added in v1.1.21

func (h *THeaderControl) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*THeaderControl) FindComponent added in v1.1.19

func (h *THeaderControl) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*THeaderControl) Font added in v1.1.19

func (h *THeaderControl) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*THeaderControl) Free added in v1.1.19

func (h *THeaderControl) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*THeaderControl) GetHashCode added in v1.1.19

func (h *THeaderControl) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*THeaderControl) GetNamePath added in v1.1.19

func (h *THeaderControl) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*THeaderControl) GetTextBuf added in v1.1.19

func (h *THeaderControl) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*THeaderControl) GetTextLen added in v1.1.19

func (h *THeaderControl) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*THeaderControl) Handle added in v1.1.19

func (h *THeaderControl) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*THeaderControl) HandleAllocated added in v1.1.19

func (h *THeaderControl) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*THeaderControl) HasParent added in v1.1.19

func (h *THeaderControl) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*THeaderControl) Height added in v1.1.19

func (h *THeaderControl) Height() int32

CN: 获取高度。 EN: Get height.

func (*THeaderControl) Hide added in v1.1.19

func (h *THeaderControl) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*THeaderControl) Hint added in v1.1.19

func (h *THeaderControl) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*THeaderControl) Images added in v1.1.19

func (h *THeaderControl) Images() *TImageList

CN: 获取图标索引列表对象。 EN: .

func (*THeaderControl) InheritsFrom added in v1.1.19

func (h *THeaderControl) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*THeaderControl) InsertControl added in v1.1.21

func (h *THeaderControl) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*THeaderControl) Instance added in v1.1.19

func (h *THeaderControl) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*THeaderControl) InstanceSize added in v1.1.19

func (h *THeaderControl) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*THeaderControl) Invalidate added in v1.1.19

func (h *THeaderControl) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*THeaderControl) Is added in v1.2.10

func (h *THeaderControl) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*THeaderControl) IsValid added in v1.1.19

func (h *THeaderControl) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*THeaderControl) Left added in v1.1.19

func (h *THeaderControl) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*THeaderControl) MouseInClient added in v1.1.21

func (h *THeaderControl) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*THeaderControl) Owner added in v1.1.19

func (h *THeaderControl) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*THeaderControl) Parent added in v1.1.19

func (h *THeaderControl) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*THeaderControl) ParentDoubleBuffered added in v1.1.19

func (h *THeaderControl) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*THeaderControl) ParentFont added in v1.1.19

func (h *THeaderControl) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*THeaderControl) ParentShowHint added in v1.1.19

func (h *THeaderControl) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*THeaderControl) ParentToClient added in v1.1.19

func (h *THeaderControl) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*THeaderControl) ParentWindow added in v1.1.19

func (h *THeaderControl) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*THeaderControl) Perform added in v1.1.19

func (h *THeaderControl) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*THeaderControl) PopupMenu added in v1.1.19

func (h *THeaderControl) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*THeaderControl) Realign added in v1.1.19

func (h *THeaderControl) Realign()

CN: 重新对齐。 EN: Realign.

func (*THeaderControl) Refresh added in v1.1.19

func (h *THeaderControl) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*THeaderControl) RemoveControl added in v1.1.21

func (h *THeaderControl) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*THeaderControl) Repaint added in v1.1.19

func (h *THeaderControl) Repaint()

CN: 重绘。 EN: Repaint.

func (*THeaderControl) ScaleBy added in v1.1.19

func (h *THeaderControl) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*THeaderControl) ScreenToClient added in v1.1.19

func (h *THeaderControl) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*THeaderControl) ScrollBy added in v1.1.21

func (h *THeaderControl) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: 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()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*THeaderControl) SetAnchorSideBottom

func (h *THeaderControl) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*THeaderControl) SetAnchorSideLeft

func (h *THeaderControl) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*THeaderControl) SetAnchorSideRight

func (h *THeaderControl) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*THeaderControl) SetAnchorSideTop

func (h *THeaderControl) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*THeaderControl) SetAnchors added in v1.1.19

func (h *THeaderControl) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*THeaderControl) SetBorderSpacing

func (h *THeaderControl) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*THeaderControl) SetBorderWidth added in v1.1.19

func (h *THeaderControl) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*THeaderControl) SetBounds added in v1.1.19

func (h *THeaderControl) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*THeaderControl) SetClientWidth added in v1.1.19

func (h *THeaderControl) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*THeaderControl) SetComponentIndex added in v1.1.19

func (h *THeaderControl) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*THeaderControl) SetConstraints added in v1.2.7

func (h *THeaderControl) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*THeaderControl) SetControlState added in v1.1.21

func (h *THeaderControl) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*THeaderControl) SetControlStyle added in v1.1.21

func (h *THeaderControl) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*THeaderControl) SetCursor added in v1.1.19

func (h *THeaderControl) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*THeaderControl) SetDockSite added in v1.1.19

func (h *THeaderControl) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*THeaderControl) SetDoubleBuffered added in v1.1.19

func (h *THeaderControl) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*THeaderControl) SetDragCursor added in v1.1.19

func (h *THeaderControl) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*THeaderControl) SetDragKind added in v1.1.19

func (h *THeaderControl) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*THeaderControl) SetDragMode added in v1.1.19

func (h *THeaderControl) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*THeaderControl) SetEnabled added in v1.1.19

func (h *THeaderControl) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*THeaderControl) SetFocus added in v1.1.19

func (h *THeaderControl) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*THeaderControl) SetFont added in v1.1.19

func (h *THeaderControl) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*THeaderControl) SetHeight added in v1.1.19

func (h *THeaderControl) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*THeaderControl) SetHint added in v1.1.19

func (h *THeaderControl) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*THeaderControl) SetImages added in v1.1.19

func (h *THeaderControl) SetImages(value IComponent)

CN: 设置图标索引列表对象。 EN: .

func (*THeaderControl) SetLeft added in v1.1.19

func (h *THeaderControl) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*THeaderControl) SetName added in v1.1.19

func (h *THeaderControl) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*THeaderControl) SetOnContextPopup added in v1.1.19

func (h *THeaderControl) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*THeaderControl) SetOnDragDrop added in v1.1.19

func (h *THeaderControl) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*THeaderControl) SetOnDragOver added in v1.1.19

func (h *THeaderControl) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*THeaderControl) SetOnEndDock added in v1.1.19

func (h *THeaderControl) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*THeaderControl) SetOnEndDrag added in v1.1.19

func (h *THeaderControl) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*THeaderControl) SetOnMouseDown added in v1.1.19

func (h *THeaderControl) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*THeaderControl) SetOnMouseEnter added in v1.1.19

func (h *THeaderControl) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*THeaderControl) SetOnMouseLeave added in v1.1.19

func (h *THeaderControl) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*THeaderControl) SetOnMouseMove added in v1.1.19

func (h *THeaderControl) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*THeaderControl) SetOnMouseUp added in v1.1.19

func (h *THeaderControl) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*THeaderControl) SetOnResize added in v1.1.19

func (h *THeaderControl) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*THeaderControl) SetParentDoubleBuffered added in v1.1.19

func (h *THeaderControl) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*THeaderControl) SetParentFont added in v1.1.19

func (h *THeaderControl) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*THeaderControl) SetParentShowHint added in v1.1.19

func (h *THeaderControl) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*THeaderControl) SetParentWindow added in v1.1.19

func (h *THeaderControl) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*THeaderControl) SetPopupMenu added in v1.1.19

func (h *THeaderControl) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: 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)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*THeaderControl) SetTabOrder added in v1.1.19

func (h *THeaderControl) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*THeaderControl) SetTabStop added in v1.1.19

func (h *THeaderControl) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*THeaderControl) SetTag added in v1.1.19

func (h *THeaderControl) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*THeaderControl) SetTextBuf added in v1.1.21

func (h *THeaderControl) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*THeaderControl) SetTop added in v1.1.19

func (h *THeaderControl) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*THeaderControl) SetUseDockManager added in v1.1.19

func (h *THeaderControl) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*THeaderControl) SetVisible added in v1.1.19

func (h *THeaderControl) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*THeaderControl) SetWidth added in v1.1.19

func (h *THeaderControl) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*THeaderControl) Show added in v1.1.19

func (h *THeaderControl) Show()

CN: 显示控件。 EN: Show control.

func (*THeaderControl) ShowHint added in v1.1.19

func (h *THeaderControl) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*THeaderControl) TabOrder added in v1.1.19

func (h *THeaderControl) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*THeaderControl) TabStop added in v1.1.19

func (h *THeaderControl) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*THeaderControl) Tag added in v1.1.19

func (h *THeaderControl) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*THeaderControl) ToString added in v1.1.19

func (h *THeaderControl) ToString() string

CN: 文本类信息。 EN: Text information.

func (*THeaderControl) Top added in v1.1.19

func (h *THeaderControl) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*THeaderControl) UnsafeAddr added in v1.1.21

func (h *THeaderControl) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*THeaderControl) Update added in v1.1.19

func (h *THeaderControl) Update()

CN: 控件更新。 EN: Update.

func (*THeaderControl) UseDockManager added in v1.1.19

func (h *THeaderControl) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*THeaderControl) Visible added in v1.1.19

func (h *THeaderControl) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*THeaderControl) VisibleDockClientCount added in v1.1.21

func (h *THeaderControl) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*THeaderControl) Width added in v1.1.19

func (h *THeaderControl) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func HeaderSectionFromInst added in v1.1.19

func HeaderSectionFromInst(inst uintptr) *THeaderSection

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsHeaderSection.

func HeaderSectionFromObj added in v1.1.19

func HeaderSectionFromObj(obj IObject) *THeaderSection

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsHeaderSection.

func HeaderSectionFromUnsafePointer added in v1.1.21

func HeaderSectionFromUnsafePointer(ptr unsafe.Pointer) *THeaderSection

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsHeaderSection.

func NewHeaderSection added in v1.1.19

func NewHeaderSection(AOwner *TCollection) *THeaderSection

CN: 创建一个新的对象。 EN: Create a new object.

func (*THeaderSection) Alignment added in v1.1.19

func (h *THeaderSection) Alignment() TAlignment

CN: 获取文字对齐。 EN: Get Text alignment.

func (*THeaderSection) Assign added in v1.1.19

func (h *THeaderSection) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*THeaderSection) ClassName added in v1.1.19

func (h *THeaderSection) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*THeaderSection) ClassType added in v1.1.19

func (h *THeaderSection) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*THeaderSection) Free added in v1.1.19

func (h *THeaderSection) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*THeaderSection) GetHashCode added in v1.1.19

func (h *THeaderSection) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*THeaderSection) GetNamePath added in v1.1.19

func (h *THeaderSection) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*THeaderSection) ImageIndex added in v1.1.19

func (h *THeaderSection) ImageIndex() int32

CN: 获取图像在images中的索引。 EN: .

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*THeaderSection) Instance added in v1.1.19

func (h *THeaderSection) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*THeaderSection) InstanceSize added in v1.1.19

func (h *THeaderSection) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*THeaderSection) Is added in v1.2.10

func (h *THeaderSection) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*THeaderSection) IsValid added in v1.1.19

func (h *THeaderSection) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*THeaderSection) Left added in v1.1.19

func (h *THeaderSection) Left() int32

CN: 获取左边位置。 EN: 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)

CN: 设置文字对齐。 EN: 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)

CN: 设置图像在images中的索引。 EN: .

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)

CN: 设置文本。 EN: .

func (*THeaderSection) SetWidth added in v1.1.19

func (h *THeaderSection) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*THeaderSection) Text added in v1.1.19

func (h *THeaderSection) Text() string

CN: 获取文本。 EN: .

func (*THeaderSection) ToString added in v1.1.19

func (h *THeaderSection) ToString() string

CN: 文本类信息。 EN: Text information.

func (*THeaderSection) UnsafeAddr added in v1.1.21

func (h *THeaderSection) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*THeaderSection) Width added in v1.1.19

func (h *THeaderSection) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func HeaderSectionsFromInst added in v1.1.19

func HeaderSectionsFromInst(inst uintptr) *THeaderSections

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsHeaderSections.

func HeaderSectionsFromObj added in v1.1.19

func HeaderSectionsFromObj(obj IObject) *THeaderSections

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsHeaderSections.

func HeaderSectionsFromUnsafePointer added in v1.1.21

func HeaderSectionsFromUnsafePointer(ptr unsafe.Pointer) *THeaderSections

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsHeaderSections.

func NewHeaderSections added in v1.1.19

func NewHeaderSections(AOwner *THeaderControl) *THeaderSections

CN: 创建一个新的对象。 EN: 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)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*THeaderSections) ClassType added in v1.1.19

func (h *THeaderSections) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*THeaderSections) Clear added in v1.1.19

func (h *THeaderSections) Clear()

CN: 清除。 EN: .

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

CN: 与一个对象进行比较。 EN: 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()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*THeaderSections) GetHashCode added in v1.1.19

func (h *THeaderSections) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*THeaderSections) GetNamePath added in v1.1.19

func (h *THeaderSections) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*THeaderSections) InheritsFrom added in v1.1.19

func (h *THeaderSections) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*THeaderSections) InstanceSize added in v1.1.19

func (h *THeaderSections) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*THeaderSections) Is added in v1.2.10

func (h *THeaderSections) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*THeaderSections) IsValid added in v1.1.19

func (h *THeaderSections) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 组件所有者。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*THeaderSections) UnsafeAddr added in v1.1.21

func (h *THeaderSections) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type THelpEvent

type THelpEvent func(command uint16, data THelpEventData, callhelp, result *bool)

THelpEvent = function(Command: Word; Data: THelpEventData; var CallHelp: Boolean): Boolean of object;

type TIcon

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

func AsIcon added in v1.2.10

func AsIcon(obj interface{}) *TIcon

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func IconFromInst

func IconFromInst(inst uintptr) *TIcon

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsIcon.

func IconFromObj

func IconFromObj(obj IObject) *TIcon

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsIcon.

func IconFromUnsafePointer added in v1.1.21

func IconFromUnsafePointer(ptr unsafe.Pointer) *TIcon

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsIcon.

func NewIcon

func NewIcon() *TIcon

CN: 创建一个新的对象。 EN: Create a new object.

func (*TIcon) Assign

func (i *TIcon) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TIcon) ClassName

func (i *TIcon) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TIcon) ClassType added in v1.1.18

func (i *TIcon) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TIcon) Empty

func (i *TIcon) Empty() bool

func (*TIcon) Equals

func (i *TIcon) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TIcon) Free

func (i *TIcon) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TIcon) GetHashCode

func (i *TIcon) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TIcon) GetNamePath

func (i *TIcon) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TIcon) Handle

func (i *TIcon) Handle() HICON

CN: 获取控件句柄。 EN: Get Control handle.

func (*TIcon) HandleAllocated

func (i *TIcon) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TIcon) Height

func (i *TIcon) Height() int32

CN: 获取高度。 EN: Get height.

func (*TIcon) InheritsFrom added in v1.1.18

func (i *TIcon) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TIcon) Instance

func (i *TIcon) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TIcon) InstanceSize added in v1.1.18

func (i *TIcon) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TIcon) Is added in v1.2.10

func (i *TIcon) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TIcon) IsValid

func (i *TIcon) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TIcon) LoadFromFile

func (i *TIcon) LoadFromFile(Filename string)

CN: 从文件加载。 EN: .

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

CN: 文件流加载。 EN: .

func (*TIcon) Modified

func (i *TIcon) Modified() bool

CN: 获取修改。 EN: 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)

CN: 保存至文件。 EN: .

func (*TIcon) SaveToStream

func (i *TIcon) SaveToStream(Stream IObject)

CN: 保存至流。 EN: .

func (*TIcon) SetHandle

func (i *TIcon) SetHandle(value HICON)

CN: 设置控件句柄。 EN: Set Control handle.

func (*TIcon) SetHeight

func (i *TIcon) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TIcon) SetModified

func (i *TIcon) SetModified(value bool)

CN: 设置修改。 EN: Set modified.

func (*TIcon) SetOnChange

func (i *TIcon) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: 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)

CN: 设置透明。 EN: Set transparent.

func (*TIcon) SetWidth

func (i *TIcon) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TIcon) ToString

func (i *TIcon) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TIcon) Transparent

func (i *TIcon) Transparent() bool

CN: 获取透明。 EN: Get transparent.

func (*TIcon) UnsafeAddr added in v1.1.21

func (i *TIcon) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TIcon) Width

func (i *TIcon) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func IconOptionsFromInst

func IconOptionsFromInst(inst uintptr) *TIconOptions

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsIconOptions.

func IconOptionsFromObj

func IconOptionsFromObj(obj IObject) *TIconOptions

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsIconOptions.

func IconOptionsFromUnsafePointer added in v1.1.21

func IconOptionsFromUnsafePointer(ptr unsafe.Pointer) *TIconOptions

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsIconOptions.

func (*TIconOptions) Arrangement

func (i *TIconOptions) Arrangement() TIconArrangement

func (*TIconOptions) Assign

func (i *TIconOptions) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TIconOptions) ClassType added in v1.1.18

func (i *TIconOptions) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TIconOptions) Equals

func (i *TIconOptions) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TIconOptions) GetHashCode

func (i *TIconOptions) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TIconOptions) GetNamePath

func (i *TIconOptions) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TIconOptions) InheritsFrom added in v1.1.18

func (i *TIconOptions) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TIconOptions) Instance

func (i *TIconOptions) Instance() uintptr

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TIconOptions) InstanceSize added in v1.1.18

func (i *TIconOptions) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TIconOptions) Is added in v1.2.10

func (i *TIconOptions) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TIconOptions) IsValid

func (i *TIconOptions) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TIconOptions) UnsafeAddr added in v1.1.21

func (i *TIconOptions) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ImageFromInst

func ImageFromInst(inst uintptr) *TImage

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsImage.

func ImageFromObj

func ImageFromObj(obj IObject) *TImage

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsImage.

func ImageFromUnsafePointer added in v1.1.21

func ImageFromUnsafePointer(ptr unsafe.Pointer) *TImage

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsImage.

func NewImage

func NewImage(owner IComponent) *TImage

CN: 创建一个新的对象。 EN: Create a new object.

func (*TImage) Action

func (i *TImage) Action() *TAction

func (*TImage) Align

func (i *TImage) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TImage) AnchorParallel

func (i *TImage) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TImage) AnchorSide

func (i *TImage) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TImage) AnchorSideBottom

func (i *TImage) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TImage) AnchorSideLeft

func (i *TImage) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TImage) AnchorSideRight

func (i *TImage) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TImage) AnchorSideTop

func (i *TImage) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TImage) AnchorToNeighbour

func (i *TImage) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TImage) AnchorVerticalCenterTo

func (i *TImage) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TImage) Anchors

func (i *TImage) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TImage) AntialiasingMode

func (i *TImage) AntialiasingMode() TAntialiasingMode

func (*TImage) Assign

func (i *TImage) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TImage) AutoSize

func (i *TImage) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TImage) BiDiMode

func (i *TImage) BiDiMode() TBiDiMode

func (*TImage) BorderSpacing

func (i *TImage) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TImage) BoundsRect

func (i *TImage) BoundsRect() TRect

func (*TImage) BringToFront

func (i *TImage) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TImage) Canvas

func (i *TImage) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TImage) Center

func (i *TImage) Center() bool

func (*TImage) ClassName

func (i *TImage) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TImage) ClassType added in v1.1.18

func (i *TImage) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TImage) ClientHeight

func (i *TImage) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TImage) ClientOrigin added in v1.1.21

func (i *TImage) ClientOrigin() TPoint

func (*TImage) ClientRect

func (i *TImage) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TImage) ClientToParent

func (i *TImage) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TImage) ClientToScreen

func (i *TImage) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TImage) ClientWidth

func (i *TImage) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TImage) ComponentCount

func (i *TImage) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TImage) ComponentIndex

func (i *TImage) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TImage) Components

func (i *TImage) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TImage) Constraints added in v1.2.7

func (i *TImage) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TImage) ControlState added in v1.1.21

func (i *TImage) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TImage) ControlStyle added in v1.1.21

func (i *TImage) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TImage) Cursor

func (i *TImage) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TImage) DragCursor

func (i *TImage) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TImage) DragMode

func (i *TImage) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TImage) Dragging

func (i *TImage) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TImage) Enabled

func (i *TImage) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TImage) Equals

func (i *TImage) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TImage) FindComponent

func (i *TImage) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TImage) Floating

func (i *TImage) Floating() bool

func (*TImage) Free

func (i *TImage) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TImage) GetHashCode

func (i *TImage) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TImage) GetNamePath

func (i *TImage) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TImage) GetTextBuf

func (i *TImage) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TImage) GetTextLen

func (i *TImage) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TImage) HasParent

func (i *TImage) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TImage) Height

func (i *TImage) Height() int32

CN: 获取高度。 EN: Get height.

func (*TImage) Hide

func (i *TImage) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TImage) Hint

func (i *TImage) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TImage) InheritsFrom added in v1.1.18

func (i *TImage) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TImage) Instance

func (i *TImage) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TImage) InstanceSize added in v1.1.18

func (i *TImage) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TImage) Invalidate

func (i *TImage) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TImage) Is added in v1.2.10

func (i *TImage) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TImage) IsValid

func (i *TImage) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取左边位置。 EN: Get Left position.

func (*TImage) Name

func (i *TImage) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TImage) Owner

func (i *TImage) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TImage) Parent

func (i *TImage) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TImage) ParentShowHint

func (i *TImage) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TImage) ParentToClient

func (i *TImage) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TImage) Perform

func (i *TImage) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TImage) Picture

func (i *TImage) Picture() *TPicture

CN: 获取图片。 EN: .

func (*TImage) PopupMenu

func (i *TImage) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TImage) Proportional

func (i *TImage) Proportional() bool

CN: 获取等比缩放。 EN: .

func (*TImage) Refresh

func (i *TImage) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TImage) Repaint

func (i *TImage) Repaint()

CN: 重绘。 EN: Repaint.

func (*TImage) ScreenToClient

func (i *TImage) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TImage) SendToBack

func (i *TImage) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TImage) SetAnchorSideBottom

func (i *TImage) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TImage) SetAnchorSideLeft

func (i *TImage) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TImage) SetAnchorSideRight

func (i *TImage) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TImage) SetAnchorSideTop

func (i *TImage) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TImage) SetAnchors

func (i *TImage) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TImage) SetAntialiasingMode

func (i *TImage) SetAntialiasingMode(value TAntialiasingMode)

func (*TImage) SetAutoSize

func (i *TImage) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TImage) SetBiDiMode

func (i *TImage) SetBiDiMode(value TBiDiMode)

func (*TImage) SetBorderSpacing

func (i *TImage) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TImage) SetBounds

func (i *TImage) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TImage) SetClientWidth

func (i *TImage) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TImage) SetComponentIndex

func (i *TImage) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TImage) SetConstraints added in v1.2.7

func (i *TImage) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TImage) SetControlState added in v1.1.21

func (i *TImage) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TImage) SetControlStyle added in v1.1.21

func (i *TImage) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TImage) SetCursor

func (i *TImage) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TImage) SetDragCursor

func (i *TImage) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TImage) SetDragMode

func (i *TImage) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TImage) SetEnabled

func (i *TImage) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TImage) SetHeight

func (i *TImage) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TImage) SetHint

func (i *TImage) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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)

CN: 设置左边位置。 EN: Set Left position.

func (*TImage) SetName

func (i *TImage) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TImage) SetOnClick

func (i *TImage) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TImage) SetOnDblClick

func (i *TImage) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TImage) SetOnDragDrop

func (i *TImage) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TImage) SetOnDragOver

func (i *TImage) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TImage) SetOnEndDrag

func (i *TImage) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TImage) SetOnMouseDown

func (i *TImage) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TImage) SetOnMouseEnter

func (i *TImage) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TImage) SetOnMouseLeave

func (i *TImage) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TImage) SetOnMouseMove

func (i *TImage) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TImage) SetOnMouseUp

func (i *TImage) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TImage) SetParent

func (i *TImage) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TImage) SetParentShowHint

func (i *TImage) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TImage) SetPicture

func (i *TImage) SetPicture(value *TPicture)

CN: 设置图片。 EN: .

func (*TImage) SetPopupMenu

func (i *TImage) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TImage) SetProportional

func (i *TImage) SetProportional(value bool)

CN: 设置等比缩放。 EN: .

func (*TImage) SetShowHint

func (i *TImage) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TImage) SetStretch

func (i *TImage) SetStretch(value bool)

CN: 设置拉伸缩放。 EN: .

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)

CN: 设置对象标记。 EN: Set the control tag.

func (*TImage) SetTextBuf added in v1.1.21

func (i *TImage) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TImage) SetTop

func (i *TImage) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TImage) SetTransparent

func (i *TImage) SetTransparent(value bool)

CN: 设置透明。 EN: Set transparent.

func (*TImage) SetVisible

func (i *TImage) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TImage) SetWidth

func (i *TImage) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TImage) Show

func (i *TImage) Show()

CN: 显示控件。 EN: Show control.

func (*TImage) ShowHint

func (i *TImage) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TImage) Stretch

func (i *TImage) Stretch() bool

CN: 获取拉伸缩放。 EN: .

func (*TImage) StretchInEnabled

func (i *TImage) StretchInEnabled() bool

func (*TImage) StretchOutEnabled

func (i *TImage) StretchOutEnabled() bool

func (*TImage) Tag

func (i *TImage) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TImage) ToString

func (i *TImage) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TImage) Top

func (i *TImage) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TImage) Transparent

func (i *TImage) Transparent() bool

CN: 获取透明。 EN: Get transparent.

func (*TImage) UnsafeAddr added in v1.1.21

func (i *TImage) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TImage) Update

func (i *TImage) Update()

CN: 控件更新。 EN: Update.

func (*TImage) Visible

func (i *TImage) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TImage) Width

func (i *TImage) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ImageButtonFromInst

func ImageButtonFromInst(inst uintptr) *TImageButton

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsImageButton.

func ImageButtonFromObj

func ImageButtonFromObj(obj IObject) *TImageButton

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsImageButton.

func ImageButtonFromUnsafePointer added in v1.1.21

func ImageButtonFromUnsafePointer(ptr unsafe.Pointer) *TImageButton

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsImageButton.

func NewImageButton

func NewImageButton(owner IComponent) *TImageButton

CN: 创建一个新的对象。 EN: Create a new object.

func (*TImageButton) Action

func (i *TImageButton) Action() *TAction

func (*TImageButton) Align

func (i *TImageButton) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TImageButton) AnchorParallel

func (i *TImageButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TImageButton) AnchorSide

func (i *TImageButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TImageButton) AnchorSideBottom

func (i *TImageButton) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TImageButton) AnchorSideLeft

func (i *TImageButton) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TImageButton) AnchorSideRight

func (i *TImageButton) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TImageButton) AnchorSideTop

func (i *TImageButton) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TImageButton) AnchorToNeighbour

func (i *TImageButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TImageButton) AnchorVerticalCenterTo

func (i *TImageButton) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TImageButton) Anchors

func (i *TImageButton) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TImageButton) Assign

func (i *TImageButton) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TImageButton) AutoSize

func (i *TImageButton) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TImageButton) BiDiMode

func (i *TImageButton) BiDiMode() TBiDiMode

func (*TImageButton) BorderSpacing

func (i *TImageButton) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TImageButton) BoundsRect

func (i *TImageButton) BoundsRect() TRect

func (*TImageButton) BringToFront

func (i *TImageButton) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TImageButton) Caption

func (i *TImageButton) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TImageButton) ClassName

func (i *TImageButton) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TImageButton) ClassType added in v1.1.18

func (i *TImageButton) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TImageButton) Click

func (i *TImageButton) Click()

CN: 单击。 EN: .

func (*TImageButton) ClientHeight

func (i *TImageButton) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TImageButton) ClientOrigin added in v1.1.21

func (i *TImageButton) ClientOrigin() TPoint

func (*TImageButton) ClientRect

func (i *TImageButton) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TImageButton) ClientToParent

func (i *TImageButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TImageButton) ClientToScreen

func (i *TImageButton) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TImageButton) ClientWidth

func (i *TImageButton) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TImageButton) ComponentCount

func (i *TImageButton) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TImageButton) ComponentIndex

func (i *TImageButton) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TImageButton) Components

func (i *TImageButton) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TImageButton) Constraints added in v1.2.7

func (i *TImageButton) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TImageButton) ControlState added in v1.1.21

func (i *TImageButton) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TImageButton) ControlStyle added in v1.1.21

func (i *TImageButton) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TImageButton) Cursor

func (i *TImageButton) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TImageButton) DragCursor

func (i *TImageButton) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TImageButton) DragKind

func (i *TImageButton) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TImageButton) DragMode

func (i *TImageButton) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TImageButton) Dragging

func (i *TImageButton) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TImageButton) Enabled

func (i *TImageButton) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TImageButton) Equals

func (i *TImageButton) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TImageButton) FindComponent

func (i *TImageButton) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TImageButton) Floating

func (i *TImageButton) Floating() bool

func (*TImageButton) Font

func (i *TImageButton) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TImageButton) Free

func (i *TImageButton) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TImageButton) GetHashCode

func (i *TImageButton) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TImageButton) GetNamePath

func (i *TImageButton) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TImageButton) GetTextBuf

func (i *TImageButton) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TImageButton) GetTextLen

func (i *TImageButton) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TImageButton) HasParent

func (i *TImageButton) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TImageButton) Height

func (i *TImageButton) Height() int32

CN: 获取高度。 EN: Get height.

func (*TImageButton) Hide

func (i *TImageButton) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TImageButton) Hint

func (i *TImageButton) Hint() string

CN: 获取组件鼠标悬停提示。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TImageButton) Instance

func (i *TImageButton) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TImageButton) InstanceSize added in v1.1.18

func (i *TImageButton) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TImageButton) Invalidate

func (i *TImageButton) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TImageButton) Is added in v1.2.10

func (i *TImageButton) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TImageButton) IsValid

func (i *TImageButton) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TImageButton) Left

func (i *TImageButton) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TImageButton) ModalResult

func (i *TImageButton) ModalResult() TModalResult

CN: 获取模态对话框显示结果。 EN: .

func (*TImageButton) Name

func (i *TImageButton) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TImageButton) Owner

func (i *TImageButton) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TImageButton) Parent

func (i *TImageButton) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TImageButton) ParentFont

func (i *TImageButton) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TImageButton) ParentShowHint

func (i *TImageButton) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TImageButton) ParentToClient

func (i *TImageButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TImageButton) Perform

func (i *TImageButton) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TImageButton) Picture

func (i *TImageButton) Picture() *TPicture

CN: 获取图片。 EN: .

func (*TImageButton) PopupMenu

func (i *TImageButton) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TImageButton) Refresh

func (i *TImageButton) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TImageButton) Repaint

func (i *TImageButton) Repaint()

CN: 重绘。 EN: Repaint.

func (*TImageButton) ScreenToClient

func (i *TImageButton) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TImageButton) SendToBack

func (i *TImageButton) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TImageButton) SetAnchorSideBottom

func (i *TImageButton) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TImageButton) SetAnchorSideLeft

func (i *TImageButton) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TImageButton) SetAnchorSideRight

func (i *TImageButton) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TImageButton) SetAnchorSideTop

func (i *TImageButton) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TImageButton) SetAnchors

func (i *TImageButton) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TImageButton) SetAutoSize

func (i *TImageButton) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TImageButton) SetBiDiMode

func (i *TImageButton) SetBiDiMode(value TBiDiMode)

func (*TImageButton) SetBorderSpacing

func (i *TImageButton) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TImageButton) SetBounds

func (i *TImageButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TImageButton) SetBoundsRect

func (i *TImageButton) SetBoundsRect(value TRect)

func (*TImageButton) SetCaption

func (i *TImageButton) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TImageButton) SetClientHeight

func (i *TImageButton) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TImageButton) SetClientWidth

func (i *TImageButton) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TImageButton) SetComponentIndex

func (i *TImageButton) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TImageButton) SetConstraints added in v1.2.7

func (i *TImageButton) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TImageButton) SetControlState added in v1.1.21

func (i *TImageButton) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TImageButton) SetControlStyle added in v1.1.21

func (i *TImageButton) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TImageButton) SetCursor

func (i *TImageButton) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TImageButton) SetDragCursor

func (i *TImageButton) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TImageButton) SetDragKind

func (i *TImageButton) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TImageButton) SetDragMode

func (i *TImageButton) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TImageButton) SetEnabled

func (i *TImageButton) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TImageButton) SetFont

func (i *TImageButton) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TImageButton) SetHeight

func (i *TImageButton) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TImageButton) SetHint

func (i *TImageButton) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TImageButton) SetImageCount

func (i *TImageButton) SetImageCount(value int32)

func (*TImageButton) SetLeft

func (i *TImageButton) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TImageButton) SetModalResult

func (i *TImageButton) SetModalResult(value TModalResult)

CN: 设置模态对话框显示结果。 EN: .

func (*TImageButton) SetName

func (i *TImageButton) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TImageButton) SetOnClick

func (i *TImageButton) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TImageButton) SetOnContextPopup

func (i *TImageButton) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TImageButton) SetOnDblClick

func (i *TImageButton) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TImageButton) SetOnDragDrop

func (i *TImageButton) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TImageButton) SetOnDragOver

func (i *TImageButton) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TImageButton) SetOnEndDock

func (i *TImageButton) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TImageButton) SetOnEndDrag

func (i *TImageButton) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TImageButton) SetOnMouseDown

func (i *TImageButton) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TImageButton) SetOnMouseEnter

func (i *TImageButton) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TImageButton) SetOnMouseLeave

func (i *TImageButton) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TImageButton) SetOnMouseMove

func (i *TImageButton) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TImageButton) SetOnMouseUp

func (i *TImageButton) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TImageButton) SetParent

func (i *TImageButton) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TImageButton) SetParentFont

func (i *TImageButton) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TImageButton) SetParentShowHint

func (i *TImageButton) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TImageButton) SetPicture

func (i *TImageButton) SetPicture(value *TPicture)

CN: 设置图片。 EN: .

func (*TImageButton) SetPopupMenu

func (i *TImageButton) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TImageButton) SetShowCaption

func (i *TImageButton) SetShowCaption(value bool)

func (*TImageButton) SetShowHint

func (i *TImageButton) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TImageButton) SetTag

func (i *TImageButton) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TImageButton) SetTextBuf added in v1.1.21

func (i *TImageButton) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TImageButton) SetTop

func (i *TImageButton) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TImageButton) SetVisible

func (i *TImageButton) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TImageButton) SetWidth

func (i *TImageButton) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TImageButton) Show

func (i *TImageButton) Show()

CN: 显示控件。 EN: Show control.

func (*TImageButton) ShowCaption

func (i *TImageButton) ShowCaption() bool

func (*TImageButton) ShowHint

func (i *TImageButton) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TImageButton) Tag

func (i *TImageButton) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TImageButton) ToString

func (i *TImageButton) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TImageButton) Top

func (i *TImageButton) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TImageButton) UnsafeAddr added in v1.1.21

func (i *TImageButton) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TImageButton) Update

func (i *TImageButton) Update()

CN: 控件更新。 EN: Update.

func (*TImageButton) Visible

func (i *TImageButton) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TImageButton) Width

func (i *TImageButton) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ImageListFromInst

func ImageListFromInst(inst uintptr) *TImageList

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsImageList.

func ImageListFromObj

func ImageListFromObj(obj IObject) *TImageList

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsImageList.

func ImageListFromUnsafePointer added in v1.1.21

func ImageListFromUnsafePointer(ptr unsafe.Pointer) *TImageList

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsImageList.

func NewImageList

func NewImageList(owner IComponent) *TImageList

CN: 创建一个新的对象。 EN: Create a new object.

func (*TImageList) Add

func (i *TImageList) Add(Image *TBitmap, Mask *TBitmap) int32

func (*TImageList) AddIcon

func (i *TImageList) AddIcon(Image *TIcon) int32

func (*TImageList) AddImages

func (i *TImageList) AddImages(Value IComponent)

func (*TImageList) AddMasked

func (i *TImageList) AddMasked(Image *TBitmap, MaskColor TColor) int32

func (*TImageList) AllocBy

func (i *TImageList) AllocBy() int32

func (*TImageList) Assign

func (i *TImageList) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TImageList) ClassType added in v1.1.18

func (i *TImageList) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TImageList) Clear

func (i *TImageList) Clear()

CN: 清除。 EN: .

func (*TImageList) ComponentCount

func (i *TImageList) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TImageList) ComponentIndex

func (i *TImageList) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TImageList) Components

func (i *TImageList) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: 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

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TImageList) Dragging

func (i *TImageList) Dragging() bool

CN: 获取是否在拖拽中。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TImageList) FindComponent

func (i *TImageList) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TImageList) Free

func (i *TImageList) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TImageList) GetHashCode

func (i *TImageList) GetHashCode() int32

CN: 获取类的哈希值。 EN: 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

CN: 获取类名路径。 EN: Get the class name path.

func (*TImageList) HasParent

func (i *TImageList) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TImageList) Height

func (i *TImageList) Height() int32

CN: 获取高度。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TImageList) Insert

func (i *TImageList) Insert(Index int32, Image *TBitmap, Mask *TBitmap)

func (*TImageList) InsertIcon

func (i *TImageList) InsertIcon(Index int32, Image *TIcon)

func (*TImageList) InsertMasked

func (i *TImageList) InsertMasked(Index int32, Image *TBitmap, MaskColor TColor)

func (*TImageList) Instance

func (i *TImageList) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TImageList) InstanceSize added in v1.1.18

func (i *TImageList) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TImageList) Is added in v1.2.10

func (i *TImageList) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TImageList) IsValid

func (i *TImageList) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TImageList) Owner

func (i *TImageList) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TImageList) Replace

func (i *TImageList) Replace(Index int32, Image *TBitmap, Mask *TBitmap)

func (*TImageList) ReplaceMasked

func (i *TImageList) ReplaceMasked(Index int32, NewImage *TBitmap, MaskColor TColor)

func (*TImageList) 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)

CN: 设置组件索引。 EN: Set component index.

func (*TImageList) SetDragCursor

func (i *TImageList) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: 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)

CN: 设置高度。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TImageList) SetOnChange

func (i *TImageList) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TImageList) SetShareImages

func (i *TImageList) SetShareImages(value bool)

func (*TImageList) SetTag

func (i *TImageList) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TImageList) SetWidth

func (i *TImageList) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TImageList) ShareImages

func (i *TImageList) ShareImages() bool

func (*TImageList) ShowDragImage

func (i *TImageList) ShowDragImage()

func (*TImageList) Tag

func (i *TImageList) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TImageList) ToString

func (i *TImageList) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TImageList) UnsafeAddr added in v1.1.21

func (i *TImageList) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TImageList) Width

func (i *TImageList) Width() int32

CN: 获取宽度。 EN: Get width.

type TIniFile

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

func AsIniFile added in v1.2.10

func AsIniFile(obj interface{}) *TIniFile

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func IniFileFromInst

func IniFileFromInst(inst uintptr) *TIniFile

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsIniFile.

func IniFileFromObj

func IniFileFromObj(obj IObject) *TIniFile

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsIniFile.

func IniFileFromUnsafePointer added in v1.1.21

func IniFileFromUnsafePointer(ptr unsafe.Pointer) *TIniFile

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsIniFile.

func NewIniFile

func NewIniFile(filename string) *TIniFile

CN: 创建一个新的对象。 EN: Create a new object.

func (*TIniFile) ClassName

func (i *TIniFile) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TIniFile) ClassType added in v1.1.18

func (i *TIniFile) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TIniFile) EraseSection

func (i *TIniFile) EraseSection(Section string)

func (*TIniFile) FileName

func (i *TIniFile) FileName() string

func (*TIniFile) Free

func (i *TIniFile) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TIniFile) GetHashCode

func (i *TIniFile) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TIniFile) InheritsFrom added in v1.1.18

func (i *TIniFile) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TIniFile) Instance

func (i *TIniFile) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TIniFile) InstanceSize added in v1.1.18

func (i *TIniFile) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TIniFile) Is added in v1.2.10

func (i *TIniFile) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TIniFile) IsValid

func (i *TIniFile) IsValid() bool

CN: 检测地址是否为空。 EN: 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 IObject)

func (*TIniFile) ReadSections

func (i *TIniFile) ReadSections(Strings IObject)

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

CN: 文本类信息。 EN: Text information.

func (*TIniFile) UnsafeAddr added in v1.1.21

func (i *TIniFile) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

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

func (i TIs) FlowPanel() 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) 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) 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 {
	IObject
	// contains filtered or unexported fields
}

func AsJPEGImage added in v1.2.10

func AsJPEGImage(obj interface{}) *TJPEGImage

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func JPEGImageFromInst

func JPEGImageFromInst(inst uintptr) *TJPEGImage

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsJPEGImage.

func JPEGImageFromObj

func JPEGImageFromObj(obj IObject) *TJPEGImage

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsJPEGImage.

func JPEGImageFromUnsafePointer added in v1.1.21

func JPEGImageFromUnsafePointer(ptr unsafe.Pointer) *TJPEGImage

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsJPEGImage.

func NewJPEGImage

func NewJPEGImage() *TJPEGImage

CN: 创建一个新的对象。 EN: Create a new object.

func (*TJPEGImage) Assign

func (j *TJPEGImage) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TJPEGImage) Canvas

func (j *TJPEGImage) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TJPEGImage) ClassName

func (j *TJPEGImage) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TJPEGImage) ClassType added in v1.1.18

func (j *TJPEGImage) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TJPEGImage) Empty

func (j *TJPEGImage) Empty() bool

func (*TJPEGImage) Equals

func (j *TJPEGImage) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TJPEGImage) Free

func (j *TJPEGImage) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TJPEGImage) GetHashCode

func (j *TJPEGImage) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TJPEGImage) GetNamePath

func (j *TJPEGImage) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TJPEGImage) Height

func (j *TJPEGImage) Height() int32

CN: 获取高度。 EN: Get height.

func (*TJPEGImage) InheritsFrom added in v1.1.18

func (j *TJPEGImage) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TJPEGImage) Instance

func (j *TJPEGImage) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TJPEGImage) InstanceSize added in v1.1.18

func (j *TJPEGImage) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TJPEGImage) Is added in v1.2.10

func (j *TJPEGImage) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TJPEGImage) IsValid

func (j *TJPEGImage) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TJPEGImage) LoadFromFile

func (j *TJPEGImage) LoadFromFile(Filename string)

CN: 从文件加载。 EN: .

func (*TJPEGImage) LoadFromStream

func (j *TJPEGImage) LoadFromStream(Stream IObject)

CN: 文件流加载。 EN: .

func (*TJPEGImage) Modified

func (j *TJPEGImage) Modified() bool

CN: 获取修改。 EN: 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)

CN: 保存至文件。 EN: .

func (*TJPEGImage) SaveToStream

func (j *TJPEGImage) SaveToStream(Stream IObject)

CN: 保存至流。 EN: .

func (*TJPEGImage) SetHeight

func (j *TJPEGImage) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TJPEGImage) SetModified

func (j *TJPEGImage) SetModified(value bool)

CN: 设置修改。 EN: Set modified.

func (*TJPEGImage) SetOnChange

func (j *TJPEGImage) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: 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)

CN: 设置透明。 EN: Set transparent.

func (*TJPEGImage) SetWidth

func (j *TJPEGImage) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TJPEGImage) ToString

func (j *TJPEGImage) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TJPEGImage) Transparent

func (j *TJPEGImage) Transparent() bool

CN: 获取透明。 EN: Get transparent.

func (*TJPEGImage) UnsafeAddr added in v1.1.21

func (j *TJPEGImage) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TJPEGImage) Width

func (j *TJPEGImage) Width() int32

CN: 获取宽度。 EN: Get width.

type TKeyEvent

type TKeyEvent func(sender IObject, key *Char, shift TShiftState)

TKeyEvent = procedure(Sender: TObject; var Key: Word; Shift: TShiftState)

type TKeyPressEvent

type TKeyPressEvent func(sender IObject, key *Char)

TKeyPressEvent = procedure(Sender: TObject; var Key: Char) of object;

type TLBFindDataEvent added in v1.1.21

type TLBFindDataEvent func(control *TWinControl, findString string) int32

TLBFindDataEvent = function(Control: TWinControl; FindString: string): Integer of object;

type TLBGetDataEvent added in v1.1.21

type TLBGetDataEvent func(control *TWinControl, index int32, data *string)

TLBGetDataEvent = procedure(Control: TWinControl; Index: Integer; var Data: string) of object;

type TLBGetDataObjectEvent added in v1.1.21

type TLBGetDataObjectEvent func(control *TWinControl, index int32, dataObject IObject)

TLBGetDataObjectEvent = procedure(Control: TWinControl; Index: Integer; var DataObject: TObject) of object;

type TLVAdvancedCustomDrawEvent

type TLVAdvancedCustomDrawEvent func(sender *TListView, aRect TRect, stage TCustomDrawStage, defaultDraw *bool)

TLVAdvancedCustomDrawEvent = procedure(Sender: TCustomListView; const ARect: TRect; Stage: TCustomDrawStage; var DefaultDraw: Boolean) of object;

type TLVAdvancedCustomDrawItemEvent

type TLVAdvancedCustomDrawItemEvent func(sender *TListView, item *TListItem, state TCustomDrawState, Stage TCustomDrawStage, defaultDraw *bool)

TLVAdvancedCustomDrawItemEvent = procedure(Sender: TCustomListView; Item: TListItem; State: TCustomDrawState; Stage: TCustomDrawStage; var DefaultDraw: Boolean) of object;

type TLVAdvancedCustomDrawSubItemEvent

type TLVAdvancedCustomDrawSubItemEvent func(sender *TListView, item *TListItem, subItem int32, state TCustomDrawState, stage TCustomDrawStage, defaultDraw *bool)

TLVAdvancedCustomDrawSubItemEvent = procedure(Sender: TCustomListView; Item: TListItem; SubItem: Integer; State: TCustomDrawState; Stage: TCustomDrawStage; var DefaultDraw: Boolean) of object;

type TLVChangeEvent

type TLVChangeEvent func(sender IObject, item *TListItem, change TItemChange)

TLVChangeEvent TListView TTItemChange

type TLVChangingEvent added in v1.1.21

type TLVChangingEvent func(sender IObject, item *TListItem, change TItemChange, allowChange *bool)

TLVChangingEvent = procedure(Sender: TObject; Item: TListItem; Change: TItemChange; var AllowChange: Boolean) of object;

type TLVCheckedItemEvent

type TLVCheckedItemEvent func(sender IObject, item *TListItem)

TLVCheckedItemEvent = procedure(Sender: TObject; Item: TListItem) of object;

type TLVColumnClickEvent

type TLVColumnClickEvent func(sender IObject, column *TListColumn)

---------------TListView TLVColumnClickEvent = procedure(Sender: TObject; Column: TListColumn) of object;

type TLVColumnRClickEvent

type TLVColumnRClickEvent func(sender IObject, column *TListColumn, point TPoint)

TLVColumnRClickEvent = procedure(Sender: TObject; Column: TListColumn; Point: TPoint) of object;

type TLVCompareEvent

type TLVCompareEvent func(sender IObject, item1, item2 *TListItem, data int32, compare *int32)

TLVCompareEvent = procedure(Sender: TObject; Item1, Item2: TListItem;

Data: Integer; var Compare: Integer) of object;

type TLVCustomDrawEvent added in v1.1.23

type TLVCustomDrawEvent func(sender *TListView, aRect TRect, defaultDraw *bool)

-- TLVCustomDrawEvent = procedure(Sender: TCustomListView; const ARect: TRect; var DefaultDraw: Boolean) of object;

type TLVCustomDrawItemEvent added in v1.1.23

type TLVCustomDrawItemEvent func(sender *TListView, item *TListItem, state TCustomDrawStage, defaultDraw *bool)

TLVCustomDrawItemEvent = procedure(Sender: TCustomListView; Item: TListItem; State: TCustomDrawState; var DefaultDraw: Boolean) of object;

type TLVCustomDrawSubItemEvent added in v1.1.23

type TLVCustomDrawSubItemEvent func(sender *TListView, item *TListItem, subItem int32, state TCustomDrawStage, defaultDraw *bool)

TLVCustomDrawSubItemEvent = procedure(Sender: TCustomListView; Item: TListItem; SubItem: Integer; State: TCustomDrawState; var DefaultDraw: Boolean) of object;

type TLVDataHintEvent

type TLVDataHintEvent = func(sender IObject, startIndex, endIndex int32)

TLVDataHintEvent = procedure(Sender: TObject; StartIndex, EndIndex: Integer) of object;

type TLVDeletedEvent added in v1.1.21

type TLVDeletedEvent func(sender IObject, item *TListItem)

TLVDeletedEvent = procedure(Sender: TObject; Item: TListItem) of object;

type TLVDrawItemEvent added in v1.1.23

type TLVDrawItemEvent func(sender *TListView, item *TListItem, rect TRect, state TOwnerDrawState)

TLVDrawItemEvent = procedure(Sender: TCustomListView; Item: TListItem; Rect: TRect; State: TOwnerDrawState) of object;

type TLVEditedEvent added in v1.1.21

type TLVEditedEvent func(sender IObject, item *TListItem, s *string)

TLVEditedEvent = procedure(Sender: TObject; Item: TListItem; var S: string) of object;

type TLVEditingEvent added in v1.1.21

type TLVEditingEvent func(sender IObject, item *TListItem, allowEdit *bool)

TLVEditingEvent = procedure(Sender: TObject; Item: TListItem; var AllowEdit: Boolean) of object;

type TLVNotifyEvent

type TLVNotifyEvent func(sender IObject, item *TListItem)

TLVNotifyEvent = procedure(Sender: TObject; Item: TListItem) of object;

type TLVOwnerDataEvent added in v1.1.21

type TLVOwnerDataEvent func(sender IObject, item *TListItem)

TLVOwnerDataEvent = procedure(Sender: TObject; Item: TListItem) of object;

type TLVOwnerDataFindEvent added in v1.1.21

type TLVOwnerDataFindEvent func(sender IObject, find TItemFind, findString string, findPosition TPoint, findData TCustomData, startIndex int32,
	direction TSearchDirection, warp bool, index *int32)

TLVOwnerDataFindEvent = procedure(Sender: TObject; Find: TItemFind; const FindString: string;

const FindPosition: TPoint; FindData: TCustomData; StartIndex: Integer; Direction: TSearchDirection; Wrap: Boolean; var Index: Integer) of object;

type TLVOwnerDataHintEvent

type TLVOwnerDataHintEvent = TLVDataHintEvent

type TLVSelectItemEvent

type TLVSelectItemEvent func(sender IObject, item *TListItem, selected bool)

TLVSelectItemEvent = procedure(Sender: TObject; Item: TListItem; Selected: Boolean) of object;

type TLabel

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

func AsLabel added in v1.2.10

func AsLabel(obj interface{}) *TLabel

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func LabelFromInst

func LabelFromInst(inst uintptr) *TLabel

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsLabel.

func LabelFromObj

func LabelFromObj(obj IObject) *TLabel

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsLabel.

func LabelFromUnsafePointer added in v1.1.21

func LabelFromUnsafePointer(ptr unsafe.Pointer) *TLabel

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsLabel.

func NewLabel

func NewLabel(owner IComponent) *TLabel

CN: 创建一个新的对象。 EN: Create a new object.

func (*TLabel) Action

func (l *TLabel) Action() *TAction

func (*TLabel) Align

func (l *TLabel) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TLabel) Alignment

func (l *TLabel) Alignment() TAlignment

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TLabel) AnchorParallel

func (l *TLabel) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLabel) AnchorSide

func (l *TLabel) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TLabel) AnchorSideBottom

func (l *TLabel) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TLabel) AnchorSideLeft

func (l *TLabel) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TLabel) AnchorSideRight

func (l *TLabel) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TLabel) AnchorSideTop

func (l *TLabel) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TLabel) AnchorToNeighbour

func (l *TLabel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLabel) AnchorVerticalCenterTo

func (l *TLabel) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TLabel) Anchors

func (l *TLabel) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TLabel) Assign

func (l *TLabel) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TLabel) AutoSize

func (l *TLabel) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TLabel) BiDiMode

func (l *TLabel) BiDiMode() TBiDiMode

func (*TLabel) BorderSpacing

func (l *TLabel) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TLabel) BoundsRect

func (l *TLabel) BoundsRect() TRect

func (*TLabel) BringToFront

func (l *TLabel) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TLabel) Canvas

func (l *TLabel) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TLabel) Caption

func (l *TLabel) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TLabel) ClassName

func (l *TLabel) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TLabel) ClassType added in v1.1.18

func (l *TLabel) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TLabel) ClientHeight

func (l *TLabel) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TLabel) ClientOrigin added in v1.1.21

func (l *TLabel) ClientOrigin() TPoint

func (*TLabel) ClientRect

func (l *TLabel) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TLabel) ClientToParent

func (l *TLabel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TLabel) ClientToScreen

func (l *TLabel) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TLabel) ClientWidth

func (l *TLabel) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TLabel) Color

func (l *TLabel) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TLabel) ComponentCount

func (l *TLabel) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TLabel) ComponentIndex

func (l *TLabel) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TLabel) Components

func (l *TLabel) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TLabel) Constraints added in v1.2.7

func (l *TLabel) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TLabel) ControlState added in v1.1.21

func (l *TLabel) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TLabel) ControlStyle added in v1.1.21

func (l *TLabel) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TLabel) Cursor

func (l *TLabel) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TLabel) DragCursor

func (l *TLabel) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TLabel) DragKind

func (l *TLabel) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TLabel) DragMode

func (l *TLabel) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TLabel) Dragging

func (l *TLabel) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TLabel) Enabled

func (l *TLabel) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TLabel) Equals

func (l *TLabel) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TLabel) FindComponent

func (l *TLabel) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TLabel) Floating

func (l *TLabel) Floating() bool

func (*TLabel) Font

func (l *TLabel) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TLabel) Free

func (l *TLabel) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TLabel) GetHashCode

func (l *TLabel) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TLabel) GetNamePath

func (l *TLabel) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TLabel) GetTextBuf

func (l *TLabel) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TLabel) GetTextLen

func (l *TLabel) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TLabel) HasParent

func (l *TLabel) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TLabel) Height

func (l *TLabel) Height() int32

CN: 获取高度。 EN: Get height.

func (*TLabel) Hide

func (l *TLabel) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TLabel) Hint

func (l *TLabel) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TLabel) InheritsFrom added in v1.1.18

func (l *TLabel) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TLabel) Instance

func (l *TLabel) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TLabel) InstanceSize added in v1.1.18

func (l *TLabel) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TLabel) Invalidate

func (l *TLabel) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TLabel) Is added in v1.2.10

func (l *TLabel) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TLabel) IsValid

func (l *TLabel) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TLabel) Layout

func (l *TLabel) Layout() TTextLayout

func (*TLabel) Left

func (l *TLabel) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TLabel) Name

func (l *TLabel) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TLabel) OptimalFill

func (l *TLabel) OptimalFill() bool

func (*TLabel) Owner

func (l *TLabel) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TLabel) Parent

func (l *TLabel) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TLabel) ParentColor

func (l *TLabel) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TLabel) ParentFont

func (l *TLabel) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TLabel) ParentShowHint

func (l *TLabel) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TLabel) ParentToClient

func (l *TLabel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TLabel) Perform

func (l *TLabel) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TLabel) PopupMenu

func (l *TLabel) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TLabel) Refresh

func (l *TLabel) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TLabel) Repaint

func (l *TLabel) Repaint()

CN: 重绘。 EN: Repaint.

func (*TLabel) ScreenToClient

func (l *TLabel) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TLabel) SendToBack

func (l *TLabel) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TLabel) SetAlignment

func (l *TLabel) SetAlignment(value TAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TLabel) SetAnchorSideBottom

func (l *TLabel) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TLabel) SetAnchorSideLeft

func (l *TLabel) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TLabel) SetAnchorSideRight

func (l *TLabel) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TLabel) SetAnchorSideTop

func (l *TLabel) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TLabel) SetAnchors

func (l *TLabel) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TLabel) SetAutoSize

func (l *TLabel) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TLabel) SetBiDiMode

func (l *TLabel) SetBiDiMode(value TBiDiMode)

func (*TLabel) SetBorderSpacing

func (l *TLabel) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TLabel) SetBounds

func (l *TLabel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TLabel) SetBoundsRect

func (l *TLabel) SetBoundsRect(value TRect)

func (*TLabel) SetCaption

func (l *TLabel) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TLabel) SetClientHeight

func (l *TLabel) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TLabel) SetClientWidth

func (l *TLabel) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TLabel) SetColor

func (l *TLabel) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TLabel) SetComponentIndex

func (l *TLabel) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TLabel) SetConstraints added in v1.2.7

func (l *TLabel) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TLabel) SetControlState added in v1.1.21

func (l *TLabel) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TLabel) SetControlStyle added in v1.1.21

func (l *TLabel) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TLabel) SetCursor

func (l *TLabel) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TLabel) SetDragCursor

func (l *TLabel) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TLabel) SetDragKind

func (l *TLabel) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TLabel) SetDragMode

func (l *TLabel) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TLabel) SetEnabled

func (l *TLabel) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TLabel) SetFont

func (l *TLabel) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TLabel) SetHeight

func (l *TLabel) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TLabel) SetHint

func (l *TLabel) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TLabel) SetLayout

func (l *TLabel) SetLayout(value TTextLayout)

func (*TLabel) SetLeft

func (l *TLabel) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TLabel) SetName

func (l *TLabel) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TLabel) SetOnClick

func (l *TLabel) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TLabel) SetOnContextPopup

func (l *TLabel) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TLabel) SetOnDblClick

func (l *TLabel) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TLabel) SetOnDragDrop

func (l *TLabel) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TLabel) SetOnDragOver

func (l *TLabel) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TLabel) SetOnEndDrag

func (l *TLabel) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TLabel) SetOnMouseDown

func (l *TLabel) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TLabel) SetOnMouseEnter

func (l *TLabel) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TLabel) SetOnMouseLeave

func (l *TLabel) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TLabel) SetOnMouseMove

func (l *TLabel) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TLabel) SetOnMouseUp

func (l *TLabel) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TLabel) SetOptimalFill

func (l *TLabel) SetOptimalFill(value bool)

func (*TLabel) SetParent

func (l *TLabel) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TLabel) SetParentColor

func (l *TLabel) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TLabel) SetParentFont

func (l *TLabel) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TLabel) SetParentShowHint

func (l *TLabel) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TLabel) SetPopupMenu

func (l *TLabel) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TLabel) SetShowAccelChar

func (l *TLabel) SetShowAccelChar(value bool)

func (*TLabel) SetShowHint

func (l *TLabel) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TLabel) SetTag

func (l *TLabel) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TLabel) SetTextBuf added in v1.1.21

func (l *TLabel) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TLabel) SetTop

func (l *TLabel) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TLabel) SetTransparent

func (l *TLabel) SetTransparent(value bool)

CN: 设置透明。 EN: Set transparent.

func (*TLabel) SetVisible

func (l *TLabel) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TLabel) SetWidth

func (l *TLabel) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TLabel) SetWordWrap

func (l *TLabel) SetWordWrap(value bool)

CN: 设置自动换行。 EN: Set Automatic line break.

func (*TLabel) Show

func (l *TLabel) Show()

CN: 显示控件。 EN: Show control.

func (*TLabel) ShowAccelChar

func (l *TLabel) ShowAccelChar() bool

func (*TLabel) ShowHint

func (l *TLabel) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TLabel) Tag

func (l *TLabel) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TLabel) ToString

func (l *TLabel) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TLabel) Top

func (l *TLabel) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TLabel) Transparent

func (l *TLabel) Transparent() bool

CN: 获取透明。 EN: Get transparent.

func (*TLabel) UnsafeAddr added in v1.1.21

func (l *TLabel) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TLabel) Update

func (l *TLabel) Update()

CN: 控件更新。 EN: Update.

func (*TLabel) Visible

func (l *TLabel) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TLabel) Width

func (l *TLabel) Width() int32

CN: 获取宽度。 EN: Get width.

func (*TLabel) WordWrap

func (l *TLabel) WordWrap() bool

CN: 获取自动换行。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func LabeledEditFromInst added in v1.1.19

func LabeledEditFromInst(inst uintptr) *TLabeledEdit

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsLabeledEdit.

func LabeledEditFromObj added in v1.1.19

func LabeledEditFromObj(obj IObject) *TLabeledEdit

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsLabeledEdit.

func LabeledEditFromUnsafePointer added in v1.1.21

func LabeledEditFromUnsafePointer(ptr unsafe.Pointer) *TLabeledEdit

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsLabeledEdit.

func NewLabeledEdit added in v1.1.19

func NewLabeledEdit(owner IComponent) *TLabeledEdit

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TLabeledEdit) Alignment added in v1.1.19

func (l *TLabeledEdit) Alignment() TAlignment

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TLabeledEdit) AnchorParallel

func (l *TLabeledEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLabeledEdit) AnchorSide

func (l *TLabeledEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TLabeledEdit) AnchorSideBottom

func (l *TLabeledEdit) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TLabeledEdit) AnchorSideLeft

func (l *TLabeledEdit) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TLabeledEdit) AnchorSideRight

func (l *TLabeledEdit) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TLabeledEdit) AnchorSideTop

func (l *TLabeledEdit) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TLabeledEdit) AnchorToNeighbour

func (l *TLabeledEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLabeledEdit) AnchorVerticalCenterTo

func (l *TLabeledEdit) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TLabeledEdit) Anchors added in v1.1.19

func (l *TLabeledEdit) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TLabeledEdit) Assign added in v1.1.19

func (l *TLabeledEdit) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TLabeledEdit) AutoSelect added in v1.1.19

func (l *TLabeledEdit) AutoSelect() bool

CN: 获取自动选择。 EN: .

func (*TLabeledEdit) AutoSize added in v1.1.19

func (l *TLabeledEdit) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TLabeledEdit) BiDiMode added in v1.1.19

func (l *TLabeledEdit) BiDiMode() TBiDiMode

func (*TLabeledEdit) BorderSpacing

func (l *TLabeledEdit) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TLabeledEdit) BorderStyle added in v1.1.19

func (l *TLabeledEdit) BorderStyle() TBorderStyle

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

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TLabeledEdit) Brush added in v1.1.19

func (l *TLabeledEdit) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TLabeledEdit) CanFocus added in v1.1.19

func (l *TLabeledEdit) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TLabeledEdit) CanUndo added in v1.1.19

func (l *TLabeledEdit) CanUndo() bool

CN: 获取能否撤销。 EN: .

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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TLabeledEdit) ClassType added in v1.1.19

func (l *TLabeledEdit) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TLabeledEdit) Clear added in v1.1.19

func (l *TLabeledEdit) Clear()

CN: 清除。 EN: .

func (*TLabeledEdit) ClearSelection added in v1.1.19

func (l *TLabeledEdit) ClearSelection()

CN: 清除选择。 EN: .

func (*TLabeledEdit) ClientHeight added in v1.1.19

func (l *TLabeledEdit) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TLabeledEdit) ClientToParent added in v1.1.19

func (l *TLabeledEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TLabeledEdit) ClientToScreen added in v1.1.19

func (l *TLabeledEdit) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TLabeledEdit) ClientWidth added in v1.1.19

func (l *TLabeledEdit) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TLabeledEdit) Color added in v1.1.19

func (l *TLabeledEdit) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TLabeledEdit) ComponentCount added in v1.1.19

func (l *TLabeledEdit) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TLabeledEdit) ComponentIndex added in v1.1.19

func (l *TLabeledEdit) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TLabeledEdit) Components added in v1.1.19

func (l *TLabeledEdit) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TLabeledEdit) Constraints added in v1.2.7

func (l *TLabeledEdit) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TLabeledEdit) ContainsControl added in v1.1.21

func (l *TLabeledEdit) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TLabeledEdit) ControlCount added in v1.1.19

func (l *TLabeledEdit) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TLabeledEdit) ControlState added in v1.1.21

func (l *TLabeledEdit) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TLabeledEdit) ControlStyle added in v1.1.21

func (l *TLabeledEdit) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TLabeledEdit) Controls added in v1.1.19

func (l *TLabeledEdit) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TLabeledEdit) CopyToClipboard added in v1.1.19

func (l *TLabeledEdit) CopyToClipboard()

CN: 复制到粘贴板。 EN: .

func (*TLabeledEdit) Cursor added in v1.1.19

func (l *TLabeledEdit) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TLabeledEdit) CutToClipboard added in v1.1.19

func (l *TLabeledEdit) CutToClipboard()

CN: 剪切到粘贴板。 EN: .

func (*TLabeledEdit) DisableAlign added in v1.1.21

func (l *TLabeledEdit) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TLabeledEdit) DockClientCount added in v1.1.21

func (l *TLabeledEdit) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TLabeledEdit) DockClients added in v1.1.21

func (l *TLabeledEdit) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TLabeledEdit) DockSite added in v1.1.19

func (l *TLabeledEdit) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TLabeledEdit) DoubleBuffered added in v1.1.19

func (l *TLabeledEdit) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TLabeledEdit) DragCursor added in v1.1.19

func (l *TLabeledEdit) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TLabeledEdit) DragMode added in v1.1.19

func (l *TLabeledEdit) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TLabeledEdit) Dragging added in v1.1.19

func (l *TLabeledEdit) Dragging() bool

CN: 是否在拖拽中。 EN: 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()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TLabeledEdit) Enabled added in v1.1.19

func (l *TLabeledEdit) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TLabeledEdit) Equals added in v1.1.19

func (l *TLabeledEdit) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TLabeledEdit) FindChildControl added in v1.1.21

func (l *TLabeledEdit) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TLabeledEdit) FindComponent added in v1.1.19

func (l *TLabeledEdit) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TLabeledEdit) Font added in v1.1.19

func (l *TLabeledEdit) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TLabeledEdit) Free added in v1.1.19

func (l *TLabeledEdit) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TLabeledEdit) GetHashCode added in v1.1.19

func (l *TLabeledEdit) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TLabeledEdit) GetNamePath added in v1.1.19

func (l *TLabeledEdit) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TLabeledEdit) GetTextBuf added in v1.1.19

func (l *TLabeledEdit) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TLabeledEdit) GetTextLen added in v1.1.19

func (l *TLabeledEdit) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TLabeledEdit) Handle added in v1.1.19

func (l *TLabeledEdit) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TLabeledEdit) HandleAllocated added in v1.1.19

func (l *TLabeledEdit) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TLabeledEdit) HasParent added in v1.1.19

func (l *TLabeledEdit) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TLabeledEdit) Height added in v1.1.19

func (l *TLabeledEdit) Height() int32

CN: 获取高度。 EN: Get height.

func (*TLabeledEdit) Hide added in v1.1.19

func (l *TLabeledEdit) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TLabeledEdit) HideSelection added in v1.1.19

func (l *TLabeledEdit) HideSelection() bool

CN: 获取隐藏选择。 EN: .

func (*TLabeledEdit) Hint added in v1.1.19

func (l *TLabeledEdit) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TLabeledEdit) InheritsFrom added in v1.1.19

func (l *TLabeledEdit) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TLabeledEdit) InsertControl added in v1.1.21

func (l *TLabeledEdit) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TLabeledEdit) Instance added in v1.1.19

func (l *TLabeledEdit) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TLabeledEdit) InstanceSize added in v1.1.19

func (l *TLabeledEdit) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TLabeledEdit) Invalidate added in v1.1.19

func (l *TLabeledEdit) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TLabeledEdit) Is added in v1.2.10

func (l *TLabeledEdit) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TLabeledEdit) IsValid added in v1.1.19

func (l *TLabeledEdit) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取左边位置。 EN: Get Left position.

func (*TLabeledEdit) MaxLength added in v1.1.19

func (l *TLabeledEdit) MaxLength() int32

CN: 获取最大长度。 EN: .

func (*TLabeledEdit) Modified added in v1.1.19

func (l *TLabeledEdit) Modified() bool

CN: 获取修改。 EN: Get modified.

func (*TLabeledEdit) MouseInClient added in v1.1.21

func (l *TLabeledEdit) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TLabeledEdit) NumbersOnly added in v1.1.19

func (l *TLabeledEdit) NumbersOnly() bool

CN: 获取只能输入数字。 EN: .

func (*TLabeledEdit) Owner added in v1.1.19

func (l *TLabeledEdit) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TLabeledEdit) Parent added in v1.1.19

func (l *TLabeledEdit) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TLabeledEdit) ParentColor added in v1.1.19

func (l *TLabeledEdit) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TLabeledEdit) ParentDoubleBuffered added in v1.1.19

func (l *TLabeledEdit) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TLabeledEdit) ParentFont added in v1.1.19

func (l *TLabeledEdit) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TLabeledEdit) ParentShowHint added in v1.1.19

func (l *TLabeledEdit) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TLabeledEdit) ParentToClient added in v1.1.19

func (l *TLabeledEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TLabeledEdit) ParentWindow added in v1.1.19

func (l *TLabeledEdit) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TLabeledEdit) PasswordChar added in v1.1.19

func (l *TLabeledEdit) PasswordChar() uint16

CN: 获取密码掩码字符。 EN: .

func (*TLabeledEdit) PasteFromClipboard added in v1.1.19

func (l *TLabeledEdit) PasteFromClipboard()

CN: 从剪切板粘贴。 EN: .

func (*TLabeledEdit) Perform added in v1.1.19

func (l *TLabeledEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TLabeledEdit) PopupMenu added in v1.1.19

func (l *TLabeledEdit) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TLabeledEdit) ReadOnly added in v1.1.19

func (l *TLabeledEdit) ReadOnly() bool

CN: 获取只读。 EN: .

func (*TLabeledEdit) Realign added in v1.1.19

func (l *TLabeledEdit) Realign()

CN: 重新对齐。 EN: Realign.

func (*TLabeledEdit) Refresh added in v1.1.19

func (l *TLabeledEdit) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TLabeledEdit) RemoveControl added in v1.1.21

func (l *TLabeledEdit) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TLabeledEdit) Repaint added in v1.1.19

func (l *TLabeledEdit) Repaint()

CN: 重绘。 EN: Repaint.

func (*TLabeledEdit) ScaleBy added in v1.1.19

func (l *TLabeledEdit) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TLabeledEdit) ScreenToClient added in v1.1.19

func (l *TLabeledEdit) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TLabeledEdit) ScrollBy added in v1.1.21

func (l *TLabeledEdit) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TLabeledEdit) SelLength added in v1.1.19

func (l *TLabeledEdit) SelLength() int32

CN: 获取选择的长度。 EN: .

func (*TLabeledEdit) SelStart added in v1.1.19

func (l *TLabeledEdit) SelStart() int32

CN: 获取选择的启始位置。 EN: .

func (*TLabeledEdit) SelText added in v1.1.19

func (l *TLabeledEdit) SelText() string

CN: 获取选择的文本。 EN: .

func (*TLabeledEdit) SelectAll added in v1.1.19

func (l *TLabeledEdit) SelectAll()

CN: 全选。 EN: .

func (*TLabeledEdit) SendToBack added in v1.1.19

func (l *TLabeledEdit) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TLabeledEdit) SetAlignment added in v1.1.19

func (l *TLabeledEdit) SetAlignment(value TAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TLabeledEdit) SetAnchorSideBottom

func (l *TLabeledEdit) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TLabeledEdit) SetAnchorSideLeft

func (l *TLabeledEdit) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TLabeledEdit) SetAnchorSideRight

func (l *TLabeledEdit) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TLabeledEdit) SetAnchorSideTop

func (l *TLabeledEdit) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TLabeledEdit) SetAnchors added in v1.1.19

func (l *TLabeledEdit) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TLabeledEdit) SetAutoSelect added in v1.1.19

func (l *TLabeledEdit) SetAutoSelect(value bool)

CN: 设置自动选择。 EN: .

func (*TLabeledEdit) SetAutoSize added in v1.1.19

func (l *TLabeledEdit) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TLabeledEdit) SetBiDiMode added in v1.1.19

func (l *TLabeledEdit) SetBiDiMode(value TBiDiMode)

func (*TLabeledEdit) SetBorderSpacing

func (l *TLabeledEdit) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TLabeledEdit) SetBorderStyle added in v1.1.19

func (l *TLabeledEdit) SetBorderStyle(value TBorderStyle)

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

func (*TLabeledEdit) SetBounds added in v1.1.19

func (l *TLabeledEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TLabeledEdit) SetClientWidth added in v1.1.19

func (l *TLabeledEdit) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TLabeledEdit) SetColor added in v1.1.19

func (l *TLabeledEdit) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TLabeledEdit) SetComponentIndex added in v1.1.19

func (l *TLabeledEdit) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TLabeledEdit) SetConstraints added in v1.2.7

func (l *TLabeledEdit) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TLabeledEdit) SetControlState added in v1.1.21

func (l *TLabeledEdit) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TLabeledEdit) SetControlStyle added in v1.1.21

func (l *TLabeledEdit) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TLabeledEdit) SetCursor added in v1.1.19

func (l *TLabeledEdit) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TLabeledEdit) SetDockSite added in v1.1.19

func (l *TLabeledEdit) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TLabeledEdit) SetDoubleBuffered added in v1.1.19

func (l *TLabeledEdit) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TLabeledEdit) SetDragCursor added in v1.1.19

func (l *TLabeledEdit) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TLabeledEdit) SetDragMode added in v1.1.19

func (l *TLabeledEdit) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TLabeledEdit) SetEnabled added in v1.1.19

func (l *TLabeledEdit) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TLabeledEdit) SetFocus added in v1.1.19

func (l *TLabeledEdit) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TLabeledEdit) SetFont added in v1.1.19

func (l *TLabeledEdit) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TLabeledEdit) SetHeight added in v1.1.19

func (l *TLabeledEdit) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TLabeledEdit) SetHideSelection added in v1.1.19

func (l *TLabeledEdit) SetHideSelection(value bool)

CN: 设置隐藏选择。 EN: .

func (*TLabeledEdit) SetHint added in v1.1.19

func (l *TLabeledEdit) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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)

CN: 设置左边位置。 EN: Set Left position.

func (*TLabeledEdit) SetMaxLength added in v1.1.19

func (l *TLabeledEdit) SetMaxLength(value int32)

CN: 设置最大长度。 EN: .

func (*TLabeledEdit) SetModified added in v1.1.19

func (l *TLabeledEdit) SetModified(value bool)

CN: 设置修改。 EN: Set modified.

func (*TLabeledEdit) SetName added in v1.1.19

func (l *TLabeledEdit) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TLabeledEdit) SetNumbersOnly added in v1.1.19

func (l *TLabeledEdit) SetNumbersOnly(value bool)

CN: 设置只能输入数字。 EN: .

func (*TLabeledEdit) SetOnChange added in v1.1.19

func (l *TLabeledEdit) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TLabeledEdit) SetOnClick added in v1.1.19

func (l *TLabeledEdit) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TLabeledEdit) SetOnDblClick added in v1.1.19

func (l *TLabeledEdit) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TLabeledEdit) SetOnDragDrop added in v1.1.19

func (l *TLabeledEdit) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TLabeledEdit) SetOnDragOver added in v1.1.19

func (l *TLabeledEdit) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TLabeledEdit) SetOnEndDrag added in v1.1.19

func (l *TLabeledEdit) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TLabeledEdit) SetOnEnter added in v1.1.19

func (l *TLabeledEdit) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TLabeledEdit) SetOnExit added in v1.1.19

func (l *TLabeledEdit) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TLabeledEdit) SetOnKeyDown added in v1.1.19

func (l *TLabeledEdit) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TLabeledEdit) SetOnKeyPress added in v1.1.19

func (l *TLabeledEdit) SetOnKeyPress(fn TKeyPressEvent)

func (*TLabeledEdit) SetOnKeyUp added in v1.1.19

func (l *TLabeledEdit) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TLabeledEdit) SetOnMouseDown added in v1.1.19

func (l *TLabeledEdit) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TLabeledEdit) SetOnMouseEnter added in v1.1.19

func (l *TLabeledEdit) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TLabeledEdit) SetOnMouseLeave added in v1.1.19

func (l *TLabeledEdit) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TLabeledEdit) SetOnMouseMove added in v1.1.19

func (l *TLabeledEdit) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TLabeledEdit) SetOnMouseUp added in v1.1.19

func (l *TLabeledEdit) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TLabeledEdit) SetParent added in v1.1.19

func (l *TLabeledEdit) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TLabeledEdit) SetParentColor added in v1.1.19

func (l *TLabeledEdit) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TLabeledEdit) SetParentDoubleBuffered added in v1.1.19

func (l *TLabeledEdit) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TLabeledEdit) SetParentFont added in v1.1.19

func (l *TLabeledEdit) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TLabeledEdit) SetParentShowHint added in v1.1.19

func (l *TLabeledEdit) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TLabeledEdit) SetParentWindow added in v1.1.19

func (l *TLabeledEdit) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TLabeledEdit) SetPasswordChar added in v1.1.19

func (l *TLabeledEdit) SetPasswordChar(value uint16)

CN: 设置密码掩码字符。 EN: .

func (*TLabeledEdit) SetPopupMenu added in v1.1.19

func (l *TLabeledEdit) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TLabeledEdit) SetReadOnly added in v1.1.19

func (l *TLabeledEdit) SetReadOnly(value bool)

CN: 设置只读。 EN: .

func (*TLabeledEdit) SetSelLength added in v1.1.19

func (l *TLabeledEdit) SetSelLength(value int32)

CN: 设置选择的长度。 EN: .

func (*TLabeledEdit) SetSelStart added in v1.1.19

func (l *TLabeledEdit) SetSelStart(value int32)

CN: 设置选择的启始位置。 EN: .

func (*TLabeledEdit) SetSelText added in v1.1.19

func (l *TLabeledEdit) SetSelText(value string)

CN: 设置选择的文本。 EN: .

func (*TLabeledEdit) SetShowHint added in v1.1.19

func (l *TLabeledEdit) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TLabeledEdit) SetTabOrder added in v1.1.19

func (l *TLabeledEdit) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TLabeledEdit) SetTabStop added in v1.1.19

func (l *TLabeledEdit) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TLabeledEdit) SetTag added in v1.1.19

func (l *TLabeledEdit) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TLabeledEdit) SetText added in v1.1.19

func (l *TLabeledEdit) SetText(value string)

CN: 设置文本。 EN: .

func (*TLabeledEdit) SetTextBuf added in v1.1.21

func (l *TLabeledEdit) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TLabeledEdit) SetTextHint added in v1.1.19

func (l *TLabeledEdit) SetTextHint(value string)

CN: 设置提示文本。 EN: .

func (*TLabeledEdit) SetTop added in v1.1.19

func (l *TLabeledEdit) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TLabeledEdit) SetUseDockManager added in v1.1.19

func (l *TLabeledEdit) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TLabeledEdit) SetVisible added in v1.1.19

func (l *TLabeledEdit) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TLabeledEdit) SetWidth added in v1.1.19

func (l *TLabeledEdit) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TLabeledEdit) Show added in v1.1.19

func (l *TLabeledEdit) Show()

CN: 显示控件。 EN: Show control.

func (*TLabeledEdit) ShowHint added in v1.1.19

func (l *TLabeledEdit) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TLabeledEdit) TabOrder added in v1.1.19

func (l *TLabeledEdit) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TLabeledEdit) TabStop added in v1.1.19

func (l *TLabeledEdit) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TLabeledEdit) Tag added in v1.1.19

func (l *TLabeledEdit) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TLabeledEdit) Text added in v1.1.19

func (l *TLabeledEdit) Text() string

CN: 获取文本。 EN: .

func (*TLabeledEdit) TextHint added in v1.1.19

func (l *TLabeledEdit) TextHint() string

CN: 获取提示文本。 EN: .

func (*TLabeledEdit) ToString added in v1.1.19

func (l *TLabeledEdit) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TLabeledEdit) Top added in v1.1.19

func (l *TLabeledEdit) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TLabeledEdit) Undo added in v1.1.19

func (l *TLabeledEdit) Undo()

CN: 撤销上一次操作。 EN: .

func (*TLabeledEdit) UnsafeAddr added in v1.1.21

func (l *TLabeledEdit) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TLabeledEdit) Update added in v1.1.19

func (l *TLabeledEdit) Update()

CN: 控件更新。 EN: Update.

func (*TLabeledEdit) UseDockManager added in v1.1.19

func (l *TLabeledEdit) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TLabeledEdit) Visible added in v1.1.19

func (l *TLabeledEdit) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TLabeledEdit) VisibleDockClientCount added in v1.1.21

func (l *TLabeledEdit) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TLabeledEdit) Width added in v1.1.19

func (l *TLabeledEdit) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func LinkLabelFromInst

func LinkLabelFromInst(inst uintptr) *TLinkLabel

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsLinkLabel.

func LinkLabelFromObj

func LinkLabelFromObj(obj IObject) *TLinkLabel

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsLinkLabel.

func LinkLabelFromUnsafePointer added in v1.1.21

func LinkLabelFromUnsafePointer(ptr unsafe.Pointer) *TLinkLabel

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsLinkLabel.

func NewLinkLabel

func NewLinkLabel(owner IComponent) *TLinkLabel

CN: 创建一个新的对象。 EN: Create a new object.

func (*TLinkLabel) Action

func (l *TLinkLabel) Action() *TAction

func (*TLinkLabel) Align

func (l *TLinkLabel) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TLinkLabel) Alignment

func (l *TLinkLabel) Alignment() TLinkAlignment

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TLinkLabel) AnchorParallel

func (l *TLinkLabel) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLinkLabel) AnchorSide

func (l *TLinkLabel) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TLinkLabel) AnchorSideBottom

func (l *TLinkLabel) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TLinkLabel) AnchorSideLeft

func (l *TLinkLabel) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TLinkLabel) AnchorSideRight

func (l *TLinkLabel) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TLinkLabel) AnchorSideTop

func (l *TLinkLabel) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TLinkLabel) AnchorToNeighbour

func (l *TLinkLabel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TLinkLabel) AnchorVerticalCenterTo

func (l *TLinkLabel) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TLinkLabel) Anchors

func (l *TLinkLabel) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TLinkLabel) Assign

func (l *TLinkLabel) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TLinkLabel) AutoSize

func (l *TLinkLabel) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TLinkLabel) BiDiMode

func (l *TLinkLabel) BiDiMode() TBiDiMode

func (*TLinkLabel) BorderSpacing

func (l *TLinkLabel) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TLinkLabel) BoundsRect

func (l *TLinkLabel) BoundsRect() TRect

func (*TLinkLabel) BringToFront

func (l *TLinkLabel) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TLinkLabel) Caption

func (l *TLinkLabel) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TLinkLabel) ClassName

func (l *TLinkLabel) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TLinkLabel) ClassType added in v1.1.18

func (l *TLinkLabel) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TLinkLabel) ClientHeight

func (l *TLinkLabel) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TLinkLabel) ClientOrigin added in v1.1.21

func (l *TLinkLabel) ClientOrigin() TPoint

func (*TLinkLabel) ClientRect

func (l *TLinkLabel) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TLinkLabel) ClientToParent

func (l *TLinkLabel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TLinkLabel) ClientToScreen

func (l *TLinkLabel) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TLinkLabel) ClientWidth

func (l *TLinkLabel) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TLinkLabel) Color

func (l *TLinkLabel) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TLinkLabel) ComponentCount

func (l *TLinkLabel) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TLinkLabel) ComponentIndex

func (l *TLinkLabel) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TLinkLabel) Components

func (l *TLinkLabel) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TLinkLabel) Constraints added in v1.2.7

func (l *TLinkLabel) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TLinkLabel) ControlState added in v1.1.21

func (l *TLinkLabel) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TLinkLabel) ControlStyle added in v1.1.21

func (l *TLinkLabel) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TLinkLabel) DragCursor

func (l *TLinkLabel) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TLinkLabel) DragKind

func (l *TLinkLabel) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TLinkLabel) DragMode

func (l *TLinkLabel) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TLinkLabel) Dragging

func (l *TLinkLabel) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TLinkLabel) Enabled

func (l *TLinkLabel) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TLinkLabel) Equals

func (l *TLinkLabel) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TLinkLabel) FindComponent

func (l *TLinkLabel) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TLinkLabel) Floating

func (l *TLinkLabel) Floating() bool

func (*TLinkLabel) Font

func (l *TLinkLabel) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TLinkLabel) Free

func (l *TLinkLabel) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TLinkLabel) GetHashCode

func (l *TLinkLabel) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TLinkLabel) GetNamePath

func (l *TLinkLabel) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TLinkLabel) GetTextBuf

func (l *TLinkLabel) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TLinkLabel) GetTextLen

func (l *TLinkLabel) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TLinkLabel) HasParent

func (l *TLinkLabel) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TLinkLabel) Height

func (l *TLinkLabel) Height() int32

CN: 获取高度。 EN: Get height.

func (*TLinkLabel) Hide

func (l *TLinkLabel) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TLinkLabel) Hint

func (l *TLinkLabel) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TLinkLabel) InheritsFrom added in v1.1.18

func (l *TLinkLabel) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TLinkLabel) Instance

func (l *TLinkLabel) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TLinkLabel) InstanceSize added in v1.1.18

func (l *TLinkLabel) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TLinkLabel) Invalidate

func (l *TLinkLabel) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TLinkLabel) Is added in v1.2.10

func (l *TLinkLabel) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TLinkLabel) IsValid

func (l *TLinkLabel) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TLinkLabel) Left

func (l *TLinkLabel) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TLinkLabel) MouseInClient added in v1.1.21

func (l *TLinkLabel) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TLinkLabel) Name

func (l *TLinkLabel) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TLinkLabel) Owner

func (l *TLinkLabel) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TLinkLabel) Parent

func (l *TLinkLabel) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TLinkLabel) ParentColor

func (l *TLinkLabel) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TLinkLabel) ParentFont

func (l *TLinkLabel) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TLinkLabel) ParentShowHint

func (l *TLinkLabel) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TLinkLabel) ParentToClient

func (l *TLinkLabel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TLinkLabel) Perform

func (l *TLinkLabel) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TLinkLabel) PopupMenu

func (l *TLinkLabel) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TLinkLabel) Refresh

func (l *TLinkLabel) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TLinkLabel) Repaint

func (l *TLinkLabel) Repaint()

CN: 重绘。 EN: Repaint.

func (*TLinkLabel) ScreenToClient

func (l *TLinkLabel) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TLinkLabel) SendToBack

func (l *TLinkLabel) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TLinkLabel) SetAlignment

func (l *TLinkLabel) SetAlignment(value TLinkAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TLinkLabel) SetAnchorSideBottom

func (l *TLinkLabel) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TLinkLabel) SetAnchorSideLeft

func (l *TLinkLabel) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TLinkLabel) SetAnchorSideRight

func (l *TLinkLabel) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TLinkLabel) SetAnchorSideTop

func (l *TLinkLabel) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TLinkLabel) SetAnchors

func (l *TLinkLabel) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TLinkLabel) SetAutoSize

func (l *TLinkLabel) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TLinkLabel) SetBiDiMode

func (l *TLinkLabel) SetBiDiMode(value TBiDiMode)

func (*TLinkLabel) SetBorderSpacing

func (l *TLinkLabel) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TLinkLabel) SetBounds

func (l *TLinkLabel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TLinkLabel) SetBoundsRect

func (l *TLinkLabel) SetBoundsRect(value TRect)

func (*TLinkLabel) SetCaption

func (l *TLinkLabel) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TLinkLabel) SetClientHeight

func (l *TLinkLabel) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TLinkLabel) SetClientWidth

func (l *TLinkLabel) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TLinkLabel) SetColor

func (l *TLinkLabel) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TLinkLabel) SetComponentIndex

func (l *TLinkLabel) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TLinkLabel) SetConstraints added in v1.2.7

func (l *TLinkLabel) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TLinkLabel) SetControlState added in v1.1.21

func (l *TLinkLabel) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TLinkLabel) SetControlStyle added in v1.1.21

func (l *TLinkLabel) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TLinkLabel) SetDragCursor

func (l *TLinkLabel) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TLinkLabel) SetDragKind

func (l *TLinkLabel) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TLinkLabel) SetDragMode

func (l *TLinkLabel) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TLinkLabel) SetEnabled

func (l *TLinkLabel) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TLinkLabel) SetFont

func (l *TLinkLabel) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TLinkLabel) SetHeight

func (l *TLinkLabel) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TLinkLabel) SetHint

func (l *TLinkLabel) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TLinkLabel) SetLeft

func (l *TLinkLabel) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TLinkLabel) SetName

func (l *TLinkLabel) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TLinkLabel) SetOnClick

func (l *TLinkLabel) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TLinkLabel) SetOnContextPopup

func (l *TLinkLabel) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TLinkLabel) SetOnDblClick

func (l *TLinkLabel) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TLinkLabel) SetOnDragDrop

func (l *TLinkLabel) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TLinkLabel) SetOnDragOver

func (l *TLinkLabel) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TLinkLabel) SetOnEndDrag

func (l *TLinkLabel) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TLinkLabel) SetOnLinkClick

func (l *TLinkLabel) SetOnLinkClick(fn TSysLinkEvent)

func (*TLinkLabel) SetOnMouseDown

func (l *TLinkLabel) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TLinkLabel) SetOnMouseEnter

func (l *TLinkLabel) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TLinkLabel) SetOnMouseLeave

func (l *TLinkLabel) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TLinkLabel) SetOnMouseMove

func (l *TLinkLabel) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TLinkLabel) SetOnMouseUp

func (l *TLinkLabel) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TLinkLabel) SetParent

func (l *TLinkLabel) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TLinkLabel) SetParentColor

func (l *TLinkLabel) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TLinkLabel) SetParentFont

func (l *TLinkLabel) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TLinkLabel) SetParentShowHint

func (l *TLinkLabel) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TLinkLabel) SetPopupMenu

func (l *TLinkLabel) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TLinkLabel) SetShowHint

func (l *TLinkLabel) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TLinkLabel) SetTag

func (l *TLinkLabel) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TLinkLabel) SetTextBuf added in v1.1.21

func (l *TLinkLabel) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TLinkLabel) SetTop

func (l *TLinkLabel) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TLinkLabel) SetVisible

func (l *TLinkLabel) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TLinkLabel) SetWidth

func (l *TLinkLabel) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TLinkLabel) Show

func (l *TLinkLabel) Show()

CN: 显示控件。 EN: Show control.

func (*TLinkLabel) ShowHint

func (l *TLinkLabel) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TLinkLabel) Tag

func (l *TLinkLabel) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TLinkLabel) ToString

func (l *TLinkLabel) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TLinkLabel) Top

func (l *TLinkLabel) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TLinkLabel) UnsafeAddr added in v1.1.21

func (l *TLinkLabel) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TLinkLabel) Update

func (l *TLinkLabel) Update()

CN: 控件更新。 EN: Update.

func (*TLinkLabel) Visible

func (l *TLinkLabel) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TLinkLabel) Width

func (l *TLinkLabel) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ListFromInst

func ListFromInst(inst uintptr) *TList

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsList.

func ListFromObj

func ListFromObj(obj IObject) *TList

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsList.

func ListFromUnsafePointer added in v1.1.21

func ListFromUnsafePointer(ptr unsafe.Pointer) *TList

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsList.

func NewList

func NewList() *TList

CN: 创建一个新的对象。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TList) ClassType added in v1.1.18

func (l *TList) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TList) Clear

func (l *TList) Clear()

CN: 清除。 EN: .

func (*TList) Count

func (l *TList) Count() int32

CN: 获取项目总数。 EN: Get Total number of projects.

func (*TList) Delete

func (l *TList) Delete(Index int32)

func (*TList) Equals

func (l *TList) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TList) Expand

func (l *TList) Expand() *TList

func (*TList) Free

func (l *TList) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TList) GetHashCode

func (l *TList) GetHashCode() int32

CN: 获取类的哈希值。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TList) InstanceSize added in v1.1.18

func (l *TList) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TList) Is added in v1.2.10

func (l *TList) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TList) IsValid

func (l *TList) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TList) Items

func (l *TList) Items(Index int32) uintptr

CN: 获取获取指定索引项目。 EN: Get Get the specified index item.

func (*TList) List

func (l *TList) List() uintptr

CN: 获取获取列表指针。 EN: 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)

CN: 设置项目总数。 EN: Set Total number of projects.

func (*TList) SetItems

func (l *TList) SetItems(Index int32, value uintptr)

CN: 设置获取指定索引项目。 EN: Set Get the specified index item.

func (*TList) ToString

func (l *TList) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TList) UnsafeAddr added in v1.1.21

func (l *TList) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ListBoxFromInst

func ListBoxFromInst(inst uintptr) *TListBox

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsListBox.

func ListBoxFromObj

func ListBoxFromObj(obj IObject) *TListBox

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsListBox.

func ListBoxFromUnsafePointer added in v1.1.21

func ListBoxFromUnsafePointer(ptr unsafe.Pointer) *TListBox

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListBox.

func NewListBox

func NewListBox(owner IComponent) *TListBox

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TListBox) AnchorParallel

func (l *TListBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TListBox) AnchorSide

func (l *TListBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TListBox) AnchorSideBottom

func (l *TListBox) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TListBox) AnchorSideLeft

func (l *TListBox) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TListBox) AnchorSideRight

func (l *TListBox) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TListBox) AnchorSideTop

func (l *TListBox) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TListBox) AnchorToNeighbour

func (l *TListBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TListBox) AnchorVerticalCenterTo

func (l *TListBox) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TListBox) Anchors

func (l *TListBox) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TListBox) Assign

func (l *TListBox) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TListBox) BiDiMode

func (l *TListBox) BiDiMode() TBiDiMode

func (*TListBox) BorderSpacing

func (l *TListBox) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TListBox) BorderStyle

func (l *TListBox) BorderStyle() TBorderStyle

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

func (*TListBox) BoundsRect

func (l *TListBox) BoundsRect() TRect

func (*TListBox) BringToFront

func (l *TListBox) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TListBox) Brush

func (l *TListBox) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TListBox) CanFocus

func (l *TListBox) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TListBox) Canvas

func (l *TListBox) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TListBox) ChildSizing

func (l *TListBox) ChildSizing() *TControlChildSizing

func (*TListBox) ClassName

func (l *TListBox) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TListBox) ClassType added in v1.1.18

func (l *TListBox) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TListBox) Clear

func (l *TListBox) Clear()

CN: 清除。 EN: .

func (*TListBox) ClearSelection

func (l *TListBox) ClearSelection()

CN: 清除选择。 EN: .

func (*TListBox) ClickOnSelChange

func (l *TListBox) ClickOnSelChange() bool

func (*TListBox) ClientHeight

func (l *TListBox) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TListBox) ClientOrigin added in v1.1.21

func (l *TListBox) ClientOrigin() TPoint

func (*TListBox) ClientRect

func (l *TListBox) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TListBox) ClientToParent

func (l *TListBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TListBox) ClientToScreen

func (l *TListBox) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TListBox) ClientWidth

func (l *TListBox) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TListBox) Color

func (l *TListBox) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TListBox) Columns

func (l *TListBox) Columns() int32

func (*TListBox) ComponentCount

func (l *TListBox) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TListBox) ComponentIndex

func (l *TListBox) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TListBox) Components

func (l *TListBox) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TListBox) Constraints added in v1.2.7

func (l *TListBox) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TListBox) ContainsControl added in v1.1.21

func (l *TListBox) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TListBox) ControlCount

func (l *TListBox) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TListBox) ControlState added in v1.1.21

func (l *TListBox) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TListBox) ControlStyle added in v1.1.21

func (l *TListBox) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TListBox) Controls

func (l *TListBox) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TListBox) Count

func (l *TListBox) Count() int32

func (*TListBox) Cursor

func (l *TListBox) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TListBox) DeleteSelected

func (l *TListBox) DeleteSelected()

func (*TListBox) DisableAlign added in v1.1.21

func (l *TListBox) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TListBox) DockClientCount added in v1.1.21

func (l *TListBox) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TListBox) DockClients added in v1.1.21

func (l *TListBox) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TListBox) DockSite

func (l *TListBox) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TListBox) DoubleBuffered

func (l *TListBox) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TListBox) DragCursor

func (l *TListBox) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TListBox) DragKind

func (l *TListBox) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TListBox) DragMode

func (l *TListBox) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TListBox) Dragging

func (l *TListBox) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TListBox) EnableAlign added in v1.1.21

func (l *TListBox) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TListBox) Enabled

func (l *TListBox) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TListBox) Equals

func (l *TListBox) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TListBox) FindChildControl added in v1.1.21

func (l *TListBox) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TListBox) FindComponent

func (l *TListBox) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TListBox) Font

func (l *TListBox) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TListBox) Free

func (l *TListBox) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TListBox) GetHashCode

func (l *TListBox) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TListBox) GetNamePath

func (l *TListBox) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TListBox) GetTextBuf

func (l *TListBox) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TListBox) GetTextLen

func (l *TListBox) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TListBox) Handle

func (l *TListBox) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TListBox) HandleAllocated

func (l *TListBox) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TListBox) HasParent

func (l *TListBox) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TListBox) Height

func (l *TListBox) Height() int32

CN: 获取高度。 EN: Get height.

func (*TListBox) Hide

func (l *TListBox) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TListBox) Hint

func (l *TListBox) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TListBox) InheritsFrom added in v1.1.18

func (l *TListBox) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TListBox) InsertControl added in v1.1.21

func (l *TListBox) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TListBox) Instance

func (l *TListBox) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TListBox) InstanceSize added in v1.1.18

func (l *TListBox) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TListBox) Invalidate

func (l *TListBox) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TListBox) Is added in v1.2.10

func (l *TListBox) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TListBox) IsValid

func (l *TListBox) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取左边位置。 EN: Get Left position.

func (*TListBox) MouseInClient added in v1.1.21

func (l *TListBox) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TListBox) Options

func (l *TListBox) Options() TListBoxOptions

func (*TListBox) Owner

func (l *TListBox) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TListBox) Parent

func (l *TListBox) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TListBox) ParentColor

func (l *TListBox) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TListBox) ParentDoubleBuffered

func (l *TListBox) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TListBox) ParentFont

func (l *TListBox) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TListBox) ParentShowHint

func (l *TListBox) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TListBox) ParentToClient

func (l *TListBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TListBox) ParentWindow

func (l *TListBox) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TListBox) Perform

func (l *TListBox) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TListBox) PopupMenu

func (l *TListBox) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TListBox) Realign

func (l *TListBox) Realign()

CN: 重新对齐。 EN: Realign.

func (*TListBox) Refresh

func (l *TListBox) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TListBox) RemoveControl added in v1.1.21

func (l *TListBox) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TListBox) Repaint

func (l *TListBox) Repaint()

CN: 重绘。 EN: Repaint.

func (*TListBox) ScaleBy

func (l *TListBox) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TListBox) ScreenToClient

func (l *TListBox) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TListBox) ScrollBy added in v1.1.21

func (l *TListBox) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TListBox) SelCount

func (l *TListBox) SelCount() int32

func (*TListBox) SelectAll

func (l *TListBox) SelectAll()

CN: 全选。 EN: .

func (*TListBox) Selected

func (l *TListBox) Selected(Index int32) bool

func (*TListBox) SendToBack

func (l *TListBox) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TListBox) SetAnchorSideBottom

func (l *TListBox) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TListBox) SetAnchorSideLeft

func (l *TListBox) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TListBox) SetAnchorSideRight

func (l *TListBox) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TListBox) SetAnchorSideTop

func (l *TListBox) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TListBox) SetAnchors

func (l *TListBox) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TListBox) SetBiDiMode

func (l *TListBox) SetBiDiMode(value TBiDiMode)

func (*TListBox) SetBorderSpacing

func (l *TListBox) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TListBox) SetBorderStyle

func (l *TListBox) SetBorderStyle(value TBorderStyle)

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

func (*TListBox) SetBounds

func (l *TListBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TListBox) SetClientWidth

func (l *TListBox) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TListBox) SetColor

func (l *TListBox) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TListBox) SetColumns

func (l *TListBox) SetColumns(value int32)

func (*TListBox) SetComponentIndex

func (l *TListBox) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TListBox) SetConstraints added in v1.2.7

func (l *TListBox) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TListBox) SetControlState added in v1.1.21

func (l *TListBox) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TListBox) SetControlStyle added in v1.1.21

func (l *TListBox) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TListBox) SetCursor

func (l *TListBox) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TListBox) SetDockSite

func (l *TListBox) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TListBox) SetDoubleBuffered

func (l *TListBox) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TListBox) SetDragCursor

func (l *TListBox) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TListBox) SetDragKind

func (l *TListBox) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TListBox) SetDragMode

func (l *TListBox) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TListBox) SetEnabled

func (l *TListBox) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TListBox) SetFocus

func (l *TListBox) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TListBox) SetFont

func (l *TListBox) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TListBox) SetHeight

func (l *TListBox) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TListBox) SetHint

func (l *TListBox) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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 IObject)

func (*TListBox) SetLeft

func (l *TListBox) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TListBox) SetMultiSelect

func (l *TListBox) SetMultiSelect(value bool)

func (*TListBox) SetName

func (l *TListBox) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TListBox) SetOnClick

func (l *TListBox) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TListBox) SetOnContextPopup

func (l *TListBox) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TListBox) SetOnDblClick

func (l *TListBox) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TListBox) SetOnDragDrop

func (l *TListBox) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TListBox) SetOnDragOver

func (l *TListBox) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TListBox) SetOnDrawItem

func (l *TListBox) SetOnDrawItem(fn TDrawItemEvent)

func (*TListBox) SetOnEndDrag

func (l *TListBox) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TListBox) SetOnEnter

func (l *TListBox) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TListBox) SetOnExit

func (l *TListBox) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TListBox) SetOnKeyDown

func (l *TListBox) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TListBox) SetOnKeyPress

func (l *TListBox) SetOnKeyPress(fn TKeyPressEvent)

func (*TListBox) SetOnKeyUp

func (l *TListBox) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: 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)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TListBox) SetOnMouseEnter

func (l *TListBox) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TListBox) SetOnMouseLeave

func (l *TListBox) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TListBox) SetOnMouseMove

func (l *TListBox) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TListBox) SetOnMouseUp

func (l *TListBox) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TListBox) SetOptions

func (l *TListBox) SetOptions(value TListBoxOptions)

func (*TListBox) SetParent

func (l *TListBox) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TListBox) SetParentColor

func (l *TListBox) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TListBox) SetParentDoubleBuffered

func (l *TListBox) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TListBox) SetParentFont

func (l *TListBox) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TListBox) SetParentShowHint

func (l *TListBox) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TListBox) SetParentWindow

func (l *TListBox) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TListBox) SetPopupMenu

func (l *TListBox) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TListBox) SetSelected

func (l *TListBox) SetSelected(Index int32, value bool)

func (*TListBox) SetShowHint

func (l *TListBox) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: 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)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TListBox) SetTabStop

func (l *TListBox) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TListBox) SetTag

func (l *TListBox) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TListBox) SetTextBuf added in v1.1.21

func (l *TListBox) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TListBox) SetTop

func (l *TListBox) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TListBox) SetTopIndex

func (l *TListBox) SetTopIndex(value int32)

func (*TListBox) SetUseDockManager

func (l *TListBox) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TListBox) SetVisible

func (l *TListBox) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TListBox) SetWidth

func (l *TListBox) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TListBox) Show

func (l *TListBox) Show()

CN: 显示控件。 EN: Show control.

func (*TListBox) ShowHint

func (l *TListBox) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TListBox) Sorted

func (l *TListBox) Sorted() bool

func (*TListBox) Style

func (l *TListBox) Style() TListBoxStyle

func (*TListBox) TabOrder

func (l *TListBox) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TListBox) TabStop

func (l *TListBox) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TListBox) Tag

func (l *TListBox) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TListBox) ToString

func (l *TListBox) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TListBox) Top

func (l *TListBox) Top() int32

CN: 获取顶边位置。 EN: 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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TListBox) Update

func (l *TListBox) Update()

CN: 控件更新。 EN: Update.

func (*TListBox) UseDockManager

func (l *TListBox) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TListBox) Visible

func (l *TListBox) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TListBox) VisibleDockClientCount added in v1.1.21

func (l *TListBox) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TListBox) Width

func (l *TListBox) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ListColumnFromInst

func ListColumnFromInst(inst uintptr) *TListColumn

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsListColumn.

func ListColumnFromObj

func ListColumnFromObj(obj IObject) *TListColumn

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsListColumn.

func ListColumnFromUnsafePointer added in v1.1.21

func ListColumnFromUnsafePointer(ptr unsafe.Pointer) *TListColumn

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListColumn.

func NewListColumn

func NewListColumn(AOwner *TCollection) *TListColumn

CN: 创建一个新的对象。 EN: Create a new object.

func (*TListColumn) Alignment

func (l *TListColumn) Alignment() TAlignment

CN: 获取文字对齐。 EN: Get Text alignment.

func (*TListColumn) Assign

func (l *TListColumn) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TListColumn) AutoSize

func (l *TListColumn) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TListColumn) Caption

func (l *TListColumn) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TListColumn) ClassName

func (l *TListColumn) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TListColumn) ClassType added in v1.1.18

func (l *TListColumn) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TListColumn) Free

func (l *TListColumn) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TListColumn) GetHashCode

func (l *TListColumn) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TListColumn) GetNamePath

func (l *TListColumn) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TListColumn) ImageIndex

func (l *TListColumn) ImageIndex() int32

CN: 获取图像在images中的索引。 EN: .

func (*TListColumn) Index

func (l *TListColumn) Index() int32

func (*TListColumn) InheritsFrom added in v1.1.18

func (l *TListColumn) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TListColumn) Instance

func (l *TListColumn) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TListColumn) InstanceSize added in v1.1.18

func (l *TListColumn) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TListColumn) Is added in v1.2.10

func (l *TListColumn) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TListColumn) IsValid

func (l *TListColumn) IsValid() bool

CN: 检测地址是否为空。 EN: 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)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TListColumn) SetAutoSize

func (l *TListColumn) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TListColumn) SetCaption

func (l *TListColumn) SetCaption(value string)

CN: 设置控件标题。 EN: 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)

CN: 设置图像在images中的索引。 EN: .

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

func (l *TListColumn) SetTag(value int32)

CN: 设置对象标记。 EN: Set the control tag.

func (*TListColumn) SetWidth

func (l *TListColumn) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TListColumn) Tag

func (l *TListColumn) Tag() int32

CN: 获取对象标记。 EN: Get the control tag.

func (*TListColumn) ToString

func (l *TListColumn) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TListColumn) UnsafeAddr added in v1.1.21

func (l *TListColumn) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TListColumn) Width

func (l *TListColumn) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ListColumnsFromInst

func ListColumnsFromInst(inst uintptr) *TListColumns

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsListColumns.

func ListColumnsFromObj

func ListColumnsFromObj(obj IObject) *TListColumns

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsListColumns.

func ListColumnsFromUnsafePointer added in v1.1.21

func ListColumnsFromUnsafePointer(ptr unsafe.Pointer) *TListColumns

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListColumns.

func NewListColumns

func NewListColumns(AOwner *TListView) *TListColumns

CN: 创建一个新的对象。 EN: Create a new object.

func (*TListColumns) Add

func (l *TListColumns) Add() *TListColumn

func (*TListColumns) Assign

func (l *TListColumns) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TListColumns) BeginUpdate

func (l *TListColumns) BeginUpdate()

func (*TListColumns) ClassName

func (l *TListColumns) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TListColumns) ClassType added in v1.1.18

func (l *TListColumns) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TListColumns) Clear

func (l *TListColumns) Clear()

CN: 清除。 EN: .

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

CN: 与一个对象进行比较。 EN: 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()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TListColumns) GetHashCode

func (l *TListColumns) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TListColumns) GetNamePath

func (l *TListColumns) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TListColumns) InheritsFrom added in v1.1.18

func (l *TListColumns) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TListColumns) InstanceSize added in v1.1.18

func (l *TListColumns) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TListColumns) Is added in v1.2.10

func (l *TListColumns) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TListColumns) IsValid

func (l *TListColumns) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TListColumns) Items

func (l *TListColumns) Items(Index int32) *TListColumn

func (*TListColumns) Owner

func (l *TListColumns) Owner() *TWinControl

CN: 组件所有者。 EN: component owner.

func (*TListColumns) SetItems

func (l *TListColumns) SetItems(Index int32, value *TListColumn)

func (*TListColumns) ToString

func (l *TListColumns) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TListColumns) UnsafeAddr added in v1.1.21

func (l *TListColumns) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ListItemFromInst

func ListItemFromInst(inst uintptr) *TListItem

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsListItem.

func ListItemFromObj

func ListItemFromObj(obj IObject) *TListItem

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsListItem.

func ListItemFromUnsafePointer added in v1.1.21

func ListItemFromUnsafePointer(ptr unsafe.Pointer) *TListItem

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListItem.

func NewListItem

func NewListItem(AOwner *TListItems) *TListItem

CN: 创建一个新的对象。 EN: Create a new object.

func (*TListItem) Assign

func (l *TListItem) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TListItem) Caption

func (l *TListItem) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TListItem) Checked

func (l *TListItem) Checked() bool

CN: 获取是否选中。 EN: .

func (*TListItem) ClassName

func (l *TListItem) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TListItem) ClassType added in v1.1.18

func (l *TListItem) ClassType() TClass

CN: 获取类的类型信息。 EN: 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) EditCaption

func (l *TListItem) EditCaption() bool

func (*TListItem) Equals

func (l *TListItem) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TListItem) Focused

func (l *TListItem) Focused() bool

CN: 获取返回是否获取焦点。 EN: Get Return to get focus.

func (*TListItem) Free

func (l *TListItem) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TListItem) GetHashCode

func (l *TListItem) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TListItem) GetNamePath

func (l *TListItem) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TListItem) ImageIndex

func (l *TListItem) ImageIndex() int32

CN: 获取图像在images中的索引。 EN: .

func (*TListItem) Index

func (l *TListItem) Index() int32

func (*TListItem) InheritsFrom added in v1.1.18

func (l *TListItem) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TListItem) Instance

func (l *TListItem) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TListItem) InstanceSize added in v1.1.18

func (l *TListItem) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TListItem) Is added in v1.2.10

func (l *TListItem) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TListItem) IsValid

func (l *TListItem) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TListItem) Left

func (l *TListItem) Left() int32

CN: 获取左边位置。 EN: 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

CN: 获取组件所有者。 EN: 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)

CN: 设置控件标题。 EN: Set the control title.

func (*TListItem) SetChecked

func (l *TListItem) SetChecked(value bool)

CN: 设置是否选中。 EN: .

func (*TListItem) SetCut

func (l *TListItem) SetCut(value bool)

func (*TListItem) SetData

func (l *TListItem) SetData(value unsafe.Pointer)

func (*TListItem) SetFocused

func (l *TListItem) SetFocused(value bool)

CN: 设置返回是否获取焦点。 EN: Set Return to get focus.

func (*TListItem) SetImageIndex

func (l *TListItem) SetImageIndex(value int32)

CN: 设置图像在images中的索引。 EN: .

func (*TListItem) SetLeft

func (l *TListItem) SetLeft(value int32)

CN: 设置左边位置。 EN: 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 IObject)

func (*TListItem) SetTop

func (l *TListItem) SetTop(value int32)

CN: 设置顶边位置。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TListItem) Top

func (l *TListItem) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TListItem) UnsafeAddr added in v1.1.21

func (l *TListItem) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ListItemsFromInst

func ListItemsFromInst(inst uintptr) *TListItems

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsListItems.

func ListItemsFromObj

func ListItemsFromObj(obj IObject) *TListItems

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsListItems.

func ListItemsFromUnsafePointer added in v1.1.21

func ListItemsFromUnsafePointer(ptr unsafe.Pointer) *TListItems

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListItems.

func NewListItems

func NewListItems(AOwner *TListView) *TListItems

CN: 创建一个新的对象。 EN: Create a new object.

func (*TListItems) Add

func (l *TListItems) Add() *TListItem

func (*TListItems) Assign

func (l *TListItems) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TListItems) BeginUpdate

func (l *TListItems) BeginUpdate()

func (*TListItems) ClassName

func (l *TListItems) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TListItems) ClassType added in v1.1.18

func (l *TListItems) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TListItems) Clear

func (l *TListItems) Clear()

CN: 清除。 EN: .

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TListItems) Free

func (l *TListItems) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TListItems) GetHashCode

func (l *TListItems) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TListItems) GetNamePath

func (l *TListItems) GetNamePath() string

CN: 获取类名路径。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TListItems) InstanceSize added in v1.1.18

func (l *TListItems) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TListItems) Is added in v1.2.10

func (l *TListItems) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TListItems) IsValid

func (l *TListItems) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TListItems) Item

func (l *TListItems) Item(Index int32) *TListItem

func (*TListItems) Owner

func (l *TListItems) Owner() *TWinControl

CN: 获取组件所有者。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TListItems) UnsafeAddr added in v1.1.21

func (l *TListItems) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ListViewFromInst

func ListViewFromInst(inst uintptr) *TListView

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsListView.

func ListViewFromObj

func ListViewFromObj(obj IObject) *TListView

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsListView.

func ListViewFromUnsafePointer added in v1.1.21

func ListViewFromUnsafePointer(ptr unsafe.Pointer) *TListView

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsListView.

func NewListView

func NewListView(owner IComponent) *TListView

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TListView) AnchorParallel

func (l *TListView) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TListView) AnchorSide

func (l *TListView) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TListView) AnchorSideBottom

func (l *TListView) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TListView) AnchorSideLeft

func (l *TListView) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TListView) AnchorSideRight

func (l *TListView) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TListView) AnchorSideTop

func (l *TListView) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TListView) AnchorToNeighbour

func (l *TListView) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TListView) AnchorVerticalCenterTo

func (l *TListView) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TListView) Anchors

func (l *TListView) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TListView) Assign

func (l *TListView) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

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

CN: 获取边框间距。 EN: .

func (*TListView) BorderStyle

func (l *TListView) BorderStyle() TBorderStyle

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

func (*TListView) BorderWidth

func (l *TListView) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

func (*TListView) BoundsRect

func (l *TListView) BoundsRect() TRect

func (*TListView) BringToFront

func (l *TListView) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TListView) Brush

func (l *TListView) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TListView) CanFocus

func (l *TListView) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TListView) Canvas

func (l *TListView) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TListView) Checkboxes

func (l *TListView) Checkboxes() bool

func (*TListView) ChildSizing

func (l *TListView) ChildSizing() *TControlChildSizing

func (*TListView) ClassName

func (l *TListView) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TListView) ClassType added in v1.1.18

func (l *TListView) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TListView) Clear

func (l *TListView) Clear()

CN: 清除。 EN: .

func (*TListView) ClearSelection

func (l *TListView) ClearSelection()

CN: 清除选择。 EN: .

func (*TListView) ClientHeight

func (l *TListView) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TListView) ClientOrigin added in v1.1.21

func (l *TListView) ClientOrigin() TPoint

func (*TListView) ClientRect

func (l *TListView) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TListView) ClientToParent

func (l *TListView) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TListView) ClientToScreen

func (l *TListView) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TListView) ClientWidth

func (l *TListView) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TListView) Color

func (l *TListView) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TListView) Column

func (l *TListView) Column(Index int32) *TListColumn

func (*TListView) ColumnClick

func (l *TListView) ColumnClick() bool

func (*TListView) Columns

func (l *TListView) Columns() *TListColumns

func (*TListView) ComponentCount

func (l *TListView) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TListView) ComponentIndex

func (l *TListView) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TListView) Components

func (l *TListView) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TListView) Constraints added in v1.2.7

func (l *TListView) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TListView) ContainsControl added in v1.1.21

func (l *TListView) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TListView) ControlCount

func (l *TListView) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TListView) ControlState added in v1.1.21

func (l *TListView) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TListView) ControlStyle added in v1.1.21

func (l *TListView) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TListView) Controls

func (l *TListView) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TListView) Cursor

func (l *TListView) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TListView) CustomSort

func (l *TListView) CustomSort(SortProc PFNLVCOMPARE, lParam int) bool

func (*TListView) DeleteSelected

func (l *TListView) DeleteSelected()

func (*TListView) DisableAlign added in v1.1.21

func (l *TListView) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TListView) DockClientCount added in v1.1.21

func (l *TListView) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TListView) DockClients added in v1.1.21

func (l *TListView) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TListView) DockSite

func (l *TListView) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TListView) DoubleBuffered

func (l *TListView) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TListView) DragCursor

func (l *TListView) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TListView) DragKind

func (l *TListView) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TListView) DragMode

func (l *TListView) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TListView) Dragging

func (l *TListView) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TListView) EnableAlign added in v1.1.21

func (l *TListView) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TListView) Enabled

func (l *TListView) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TListView) Equals

func (l *TListView) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TListView) FindChildControl added in v1.1.21

func (l *TListView) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TListView) FindComponent

func (l *TListView) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TListView) Font

func (l *TListView) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TListView) Free

func (l *TListView) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TListView) FullDrag

func (l *TListView) FullDrag() bool

func (*TListView) GetHashCode

func (l *TListView) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TListView) GetNamePath

func (l *TListView) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TListView) GetTextBuf

func (l *TListView) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TListView) GetTextLen

func (l *TListView) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: 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

CN: 获取控件句柄。 EN: Get Control handle.

func (*TListView) HandleAllocated

func (l *TListView) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TListView) HasParent

func (l *TListView) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TListView) Height

func (l *TListView) Height() int32

CN: 获取高度。 EN: Get height.

func (*TListView) Hide

func (l *TListView) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TListView) HideSelection

func (l *TListView) HideSelection() bool

CN: 获取隐藏选择。 EN: .

func (*TListView) Hint

func (l *TListView) Hint() string

CN: 获取组件鼠标悬停提示。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TListView) InsertControl added in v1.1.21

func (l *TListView) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TListView) Instance

func (l *TListView) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TListView) InstanceSize added in v1.1.18

func (l *TListView) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TListView) Invalidate

func (l *TListView) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TListView) Is added in v1.2.10

func (l *TListView) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: 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

CN: 检测地址是否为空。 EN: 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

CN: 获取左边位置。 EN: Get Left position.

func (*TListView) MouseInClient added in v1.1.21

func (l *TListView) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TListView) Owner

func (l *TListView) Owner() *TComponent

CN: 获取组件所有者。 EN: 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) Parent

func (l *TListView) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TListView) ParentColor

func (l *TListView) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TListView) ParentDoubleBuffered

func (l *TListView) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TListView) ParentFont

func (l *TListView) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TListView) ParentShowHint

func (l *TListView) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TListView) ParentToClient

func (l *TListView) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TListView) ParentWindow

func (l *TListView) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TListView) Perform

func (l *TListView) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TListView) PopupMenu

func (l *TListView) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TListView) ReadOnly

func (l *TListView) ReadOnly() bool

CN: 获取只读。 EN: .

func (*TListView) Realign

func (l *TListView) Realign()

CN: 重新对齐。 EN: Realign.

func (*TListView) Refresh

func (l *TListView) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TListView) RemoveControl added in v1.1.21

func (l *TListView) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TListView) Repaint

func (l *TListView) Repaint()

CN: 重绘。 EN: Repaint.

func (*TListView) RowSelect

func (l *TListView) RowSelect() bool

func (*TListView) ScaleBy

func (l *TListView) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TListView) ScreenToClient

func (l *TListView) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: 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)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TListView) SelCount

func (l *TListView) SelCount() int32

func (*TListView) SelectAll

func (l *TListView) SelectAll()

CN: 全选。 EN: .

func (*TListView) Selected

func (l *TListView) Selected() *TListItem

func (*TListView) SendToBack

func (l *TListView) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TListView) SetAllocBy

func (l *TListView) SetAllocBy(value int32)

func (*TListView) SetAnchorSideBottom

func (l *TListView) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TListView) SetAnchorSideLeft

func (l *TListView) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TListView) SetAnchorSideRight

func (l *TListView) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TListView) SetAnchorSideTop

func (l *TListView) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TListView) SetAnchors

func (l *TListView) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

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)

CN: 设置边框间距。 EN: .

func (*TListView) SetBorderStyle

func (l *TListView) SetBorderStyle(value TBorderStyle)

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

func (*TListView) SetBorderWidth

func (l *TListView) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TListView) SetBounds

func (l *TListView) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TListView) SetClientWidth

func (l *TListView) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TListView) SetColor

func (l *TListView) SetColor(value TColor)

CN: 设置颜色。 EN: 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)

CN: 设置组件索引。 EN: Set component index.

func (*TListView) SetConstraints added in v1.2.7

func (l *TListView) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TListView) SetControlState added in v1.1.21

func (l *TListView) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TListView) SetControlStyle added in v1.1.21

func (l *TListView) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TListView) SetCursor

func (l *TListView) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TListView) SetDockSite

func (l *TListView) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TListView) SetDoubleBuffered

func (l *TListView) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TListView) SetDragCursor

func (l *TListView) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TListView) SetDragKind

func (l *TListView) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TListView) SetDragMode

func (l *TListView) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TListView) SetEnabled

func (l *TListView) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TListView) SetFlatScrollBars

func (l *TListView) SetFlatScrollBars(value bool)

func (*TListView) SetFocus

func (l *TListView) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TListView) SetFont

func (l *TListView) SetFont(value *TFont)

CN: 设置字体。 EN: 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)

CN: 设置高度。 EN: Set height.

func (*TListView) SetHideSelection

func (l *TListView) SetHideSelection(value bool)

CN: 设置隐藏选择。 EN: .

func (*TListView) SetHint

func (l *TListView) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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)

CN: 设置左边位置。 EN: Set Left position.

func (*TListView) SetMultiSelect

func (l *TListView) SetMultiSelect(value bool)

func (*TListView) SetName

func (l *TListView) SetName(value string)

CN: 设置组件名称。 EN: 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)

CN: 设置改变事件。 EN: Set changed event.

func (*TListView) SetOnClick

func (l *TListView) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: 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)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: 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 TLVOwnerDataEvent)

func (*TListView) SetOnDataFind added in v1.1.21

func (l *TListView) SetOnDataFind(fn TLVOwnerDataFindEvent)

func (*TListView) SetOnDataHint

func (l *TListView) SetOnDataHint(fn TLVOwnerDataHintEvent)

func (*TListView) SetOnDblClick

func (l *TListView) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TListView) SetOnDeletion added in v1.1.21

func (l *TListView) SetOnDeletion(fn TLVDeletedEvent)

func (*TListView) SetOnDragDrop

func (l *TListView) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TListView) SetOnDragOver

func (l *TListView) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

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)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TListView) SetOnEndDrag

func (l *TListView) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TListView) SetOnEnter

func (l *TListView) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TListView) SetOnExit

func (l *TListView) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: 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)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TListView) SetOnKeyPress

func (l *TListView) SetOnKeyPress(fn TKeyPressEvent)

func (*TListView) SetOnKeyUp

func (l *TListView) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TListView) SetOnMouseDown

func (l *TListView) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TListView) SetOnMouseEnter

func (l *TListView) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TListView) SetOnMouseLeave

func (l *TListView) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TListView) SetOnMouseMove

func (l *TListView) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TListView) SetOnMouseUp

func (l *TListView) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TListView) SetOnResize

func (l *TListView) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

func (*TListView) SetOnSelectItem

func (l *TListView) SetOnSelectItem(fn TLVSelectItemEvent)

func (*TListView) SetOnStartDock

func (l *TListView) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TListView) SetParentColor

func (l *TListView) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TListView) SetParentDoubleBuffered

func (l *TListView) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TListView) SetParentFont

func (l *TListView) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TListView) SetParentShowHint

func (l *TListView) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TListView) SetParentWindow

func (l *TListView) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TListView) SetPopupMenu

func (l *TListView) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TListView) SetReadOnly

func (l *TListView) SetReadOnly(value bool)

CN: 设置只读。 EN: .

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)

CN: 设置显示鼠标悬停提示。 EN: 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)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TListView) SetTabStop

func (l *TListView) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TListView) SetTag

func (l *TListView) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TListView) SetTextBuf added in v1.1.21

func (l *TListView) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TListView) SetToolTips

func (l *TListView) SetToolTips(value bool)

func (*TListView) SetTop

func (l *TListView) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TListView) SetUseDockManager

func (l *TListView) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TListView) SetViewStyle

func (l *TListView) SetViewStyle(value TViewStyle)

func (*TListView) SetVisible

func (l *TListView) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TListView) SetWidth

func (l *TListView) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TListView) Show

func (l *TListView) Show()

CN: 显示控件。 EN: Show control.

func (*TListView) ShowColumnHeaders

func (l *TListView) ShowColumnHeaders() bool

func (*TListView) ShowHint

func (l *TListView) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

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

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TListView) TabStop

func (l *TListView) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TListView) Tag

func (l *TListView) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TListView) ToString

func (l *TListView) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TListView) ToolTips

func (l *TListView) ToolTips() bool

func (*TListView) Top

func (l *TListView) Top() int32

CN: 获取顶边位置。 EN: 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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TListView) Update

func (l *TListView) Update()

CN: 控件更新。 EN: Update.

func (*TListView) UseDockManager

func (l *TListView) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TListView) ViewStyle

func (l *TListView) ViewStyle() TViewStyle

func (*TListView) Visible

func (l *TListView) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TListView) VisibleDockClientCount added in v1.1.21

func (l *TListView) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: 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

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func MainMenuFromInst(inst uintptr) *TMainMenu

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsMainMenu.

func MainMenuFromObj(obj IObject) *TMainMenu

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsMainMenu.

func MainMenuFromUnsafePointer(ptr unsafe.Pointer) *TMainMenu

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMainMenu.

func NewMainMenu

func NewMainMenu(owner IComponent) *TMainMenu

CN: 创建一个新的对象。 EN: Create a new object.

func (*TMainMenu) Assign

func (m *TMainMenu) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TMainMenu) ClassType added in v1.1.18

func (m *TMainMenu) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TMainMenu) ComponentCount

func (m *TMainMenu) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TMainMenu) ComponentIndex

func (m *TMainMenu) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TMainMenu) Components

func (m *TMainMenu) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TMainMenu) Equals

func (m *TMainMenu) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TMainMenu) FindComponent

func (m *TMainMenu) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TMainMenu) Free

func (m *TMainMenu) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TMainMenu) GetHashCode

func (m *TMainMenu) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TMainMenu) GetNamePath

func (m *TMainMenu) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TMainMenu) Handle

func (m *TMainMenu) Handle() HMENU

CN: 获取控件句柄。 EN: Get Control handle.

func (*TMainMenu) HasParent

func (m *TMainMenu) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TMainMenu) Images

func (m *TMainMenu) Images() *TImageList

CN: 获取图标索引列表对象。 EN: .

func (*TMainMenu) ImagesWidth

func (m *TMainMenu) ImagesWidth() int32

func (*TMainMenu) InheritsFrom added in v1.1.18

func (m *TMainMenu) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TMainMenu) Instance

func (m *TMainMenu) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TMainMenu) InstanceSize added in v1.1.18

func (m *TMainMenu) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TMainMenu) Is added in v1.2.10

func (m *TMainMenu) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TMainMenu) IsValid

func (m *TMainMenu) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TMainMenu) Items

func (m *TMainMenu) Items() *TMenuItem

func (*TMainMenu) Name

func (m *TMainMenu) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TMainMenu) Owner

func (m *TMainMenu) Owner() *TComponent

CN: 获取组件所有者。 EN: 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)

CN: 设置组件索引。 EN: Set component index.

func (*TMainMenu) SetImages

func (m *TMainMenu) SetImages(value IComponent)

CN: 设置图标索引列表对象。 EN: .

func (*TMainMenu) SetImagesWidth

func (m *TMainMenu) SetImagesWidth(value int32)

func (*TMainMenu) SetName

func (m *TMainMenu) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TMainMenu) SetOnChange

func (m *TMainMenu) SetOnChange(fn TMenuChangeEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TMainMenu) SetOwnerDraw added in v1.1.23

func (m *TMainMenu) SetOwnerDraw(value bool)

func (*TMainMenu) SetTag

func (m *TMainMenu) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TMainMenu) Tag

func (m *TMainMenu) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TMainMenu) ToString

func (m *TMainMenu) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TMainMenu) UnsafeAddr added in v1.1.21

func (m *TMainMenu) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func MaskEditFromInst

func MaskEditFromInst(inst uintptr) *TMaskEdit

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsMaskEdit.

func MaskEditFromObj

func MaskEditFromObj(obj IObject) *TMaskEdit

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsMaskEdit.

func MaskEditFromUnsafePointer added in v1.1.21

func MaskEditFromUnsafePointer(ptr unsafe.Pointer) *TMaskEdit

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMaskEdit.

func NewMaskEdit

func NewMaskEdit(owner IComponent) *TMaskEdit

CN: 创建一个新的对象。 EN: Create a new object.

func (*TMaskEdit) Action

func (m *TMaskEdit) Action() *TAction

func (*TMaskEdit) Align

func (m *TMaskEdit) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TMaskEdit) Alignment

func (m *TMaskEdit) Alignment() TAlignment

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TMaskEdit) AnchorParallel

func (m *TMaskEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMaskEdit) AnchorSide

func (m *TMaskEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TMaskEdit) AnchorSideBottom

func (m *TMaskEdit) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TMaskEdit) AnchorSideLeft

func (m *TMaskEdit) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TMaskEdit) AnchorSideRight

func (m *TMaskEdit) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TMaskEdit) AnchorSideTop

func (m *TMaskEdit) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TMaskEdit) AnchorToNeighbour

func (m *TMaskEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMaskEdit) AnchorVerticalCenterTo

func (m *TMaskEdit) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TMaskEdit) Anchors

func (m *TMaskEdit) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TMaskEdit) Assign

func (m *TMaskEdit) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TMaskEdit) AutoSelect

func (m *TMaskEdit) AutoSelect() bool

CN: 获取自动选择。 EN: .

func (*TMaskEdit) AutoSize

func (m *TMaskEdit) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TMaskEdit) BiDiMode

func (m *TMaskEdit) BiDiMode() TBiDiMode

func (*TMaskEdit) BorderSpacing

func (m *TMaskEdit) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TMaskEdit) BorderStyle

func (m *TMaskEdit) BorderStyle() TBorderStyle

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

func (*TMaskEdit) BoundsRect

func (m *TMaskEdit) BoundsRect() TRect

func (*TMaskEdit) BringToFront

func (m *TMaskEdit) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TMaskEdit) Brush

func (m *TMaskEdit) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TMaskEdit) CanFocus

func (m *TMaskEdit) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TMaskEdit) CanUndo

func (m *TMaskEdit) CanUndo() bool

CN: 获取能否撤销。 EN: .

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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TMaskEdit) ClassType added in v1.1.18

func (m *TMaskEdit) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TMaskEdit) Clear

func (m *TMaskEdit) Clear()

CN: 清除。 EN: .

func (*TMaskEdit) ClearSelection

func (m *TMaskEdit) ClearSelection()

CN: 清除选择。 EN: .

func (*TMaskEdit) ClientHeight

func (m *TMaskEdit) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TMaskEdit) ClientOrigin added in v1.1.21

func (m *TMaskEdit) ClientOrigin() TPoint

func (*TMaskEdit) ClientRect

func (m *TMaskEdit) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TMaskEdit) ClientToParent

func (m *TMaskEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TMaskEdit) ClientToScreen

func (m *TMaskEdit) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TMaskEdit) ClientWidth

func (m *TMaskEdit) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TMaskEdit) Color

func (m *TMaskEdit) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TMaskEdit) ComponentCount

func (m *TMaskEdit) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TMaskEdit) ComponentIndex

func (m *TMaskEdit) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TMaskEdit) Components

func (m *TMaskEdit) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TMaskEdit) Constraints added in v1.2.7

func (m *TMaskEdit) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TMaskEdit) ContainsControl added in v1.1.21

func (m *TMaskEdit) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TMaskEdit) ControlCount

func (m *TMaskEdit) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TMaskEdit) ControlState added in v1.1.21

func (m *TMaskEdit) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TMaskEdit) ControlStyle added in v1.1.21

func (m *TMaskEdit) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TMaskEdit) Controls

func (m *TMaskEdit) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TMaskEdit) CopyToClipboard

func (m *TMaskEdit) CopyToClipboard()

CN: 复制到粘贴板。 EN: .

func (*TMaskEdit) Cursor

func (m *TMaskEdit) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TMaskEdit) CutToClipboard

func (m *TMaskEdit) CutToClipboard()

CN: 剪切到粘贴板。 EN: .

func (*TMaskEdit) DisableAlign added in v1.1.21

func (m *TMaskEdit) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TMaskEdit) DockClientCount added in v1.1.21

func (m *TMaskEdit) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TMaskEdit) DockClients added in v1.1.21

func (m *TMaskEdit) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TMaskEdit) DockSite

func (m *TMaskEdit) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TMaskEdit) DoubleBuffered

func (m *TMaskEdit) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TMaskEdit) DragCursor

func (m *TMaskEdit) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TMaskEdit) DragKind

func (m *TMaskEdit) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TMaskEdit) DragMode

func (m *TMaskEdit) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TMaskEdit) Dragging

func (m *TMaskEdit) Dragging() bool

CN: 是否在拖拽中。 EN: 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()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TMaskEdit) Enabled

func (m *TMaskEdit) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TMaskEdit) Equals

func (m *TMaskEdit) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TMaskEdit) FindChildControl added in v1.1.21

func (m *TMaskEdit) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TMaskEdit) FindComponent

func (m *TMaskEdit) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TMaskEdit) Font

func (m *TMaskEdit) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TMaskEdit) Free

func (m *TMaskEdit) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TMaskEdit) GetHashCode

func (m *TMaskEdit) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TMaskEdit) GetNamePath

func (m *TMaskEdit) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TMaskEdit) GetTextBuf

func (m *TMaskEdit) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TMaskEdit) GetTextLen

func (m *TMaskEdit) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TMaskEdit) Handle

func (m *TMaskEdit) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TMaskEdit) HandleAllocated

func (m *TMaskEdit) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TMaskEdit) HasParent

func (m *TMaskEdit) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TMaskEdit) Height

func (m *TMaskEdit) Height() int32

CN: 获取高度。 EN: Get height.

func (*TMaskEdit) Hide

func (m *TMaskEdit) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TMaskEdit) Hint

func (m *TMaskEdit) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TMaskEdit) InheritsFrom added in v1.1.18

func (m *TMaskEdit) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TMaskEdit) InsertControl added in v1.1.21

func (m *TMaskEdit) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TMaskEdit) Instance

func (m *TMaskEdit) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TMaskEdit) InstanceSize added in v1.1.18

func (m *TMaskEdit) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TMaskEdit) Invalidate

func (m *TMaskEdit) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TMaskEdit) Is added in v1.2.10

func (m *TMaskEdit) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: 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

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TMaskEdit) Left

func (m *TMaskEdit) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TMaskEdit) MaxLength

func (m *TMaskEdit) MaxLength() int32

CN: 获取最大长度。 EN: .

func (*TMaskEdit) Modified

func (m *TMaskEdit) Modified() bool

CN: 获取修改。 EN: Get modified.

func (*TMaskEdit) MouseInClient added in v1.1.21

func (m *TMaskEdit) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TMaskEdit) Name

func (m *TMaskEdit) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TMaskEdit) Owner

func (m *TMaskEdit) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TMaskEdit) Parent

func (m *TMaskEdit) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TMaskEdit) ParentColor

func (m *TMaskEdit) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TMaskEdit) ParentDoubleBuffered

func (m *TMaskEdit) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TMaskEdit) ParentFont

func (m *TMaskEdit) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TMaskEdit) ParentShowHint

func (m *TMaskEdit) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TMaskEdit) ParentToClient

func (m *TMaskEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TMaskEdit) ParentWindow

func (m *TMaskEdit) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TMaskEdit) PasswordChar

func (m *TMaskEdit) PasswordChar() uint16

CN: 获取密码掩码字符。 EN: .

func (*TMaskEdit) PasteFromClipboard

func (m *TMaskEdit) PasteFromClipboard()

CN: 从剪切板粘贴。 EN: .

func (*TMaskEdit) Perform

func (m *TMaskEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TMaskEdit) PopupMenu

func (m *TMaskEdit) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TMaskEdit) ReadOnly

func (m *TMaskEdit) ReadOnly() bool

CN: 获取只读。 EN: .

func (*TMaskEdit) Realign

func (m *TMaskEdit) Realign()

CN: 重新对齐。 EN: Realign.

func (*TMaskEdit) Refresh

func (m *TMaskEdit) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TMaskEdit) RemoveControl added in v1.1.21

func (m *TMaskEdit) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TMaskEdit) Repaint

func (m *TMaskEdit) Repaint()

CN: 重绘。 EN: Repaint.

func (*TMaskEdit) ScaleBy

func (m *TMaskEdit) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TMaskEdit) ScreenToClient

func (m *TMaskEdit) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TMaskEdit) ScrollBy added in v1.1.21

func (m *TMaskEdit) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TMaskEdit) SelLength

func (m *TMaskEdit) SelLength() int32

CN: 获取选择的长度。 EN: .

func (*TMaskEdit) SelStart

func (m *TMaskEdit) SelStart() int32

CN: 获取选择的启始位置。 EN: .

func (*TMaskEdit) SelText

func (m *TMaskEdit) SelText() string

CN: 获取选择的文本。 EN: .

func (*TMaskEdit) SelectAll

func (m *TMaskEdit) SelectAll()

CN: 全选。 EN: .

func (*TMaskEdit) SendToBack

func (m *TMaskEdit) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TMaskEdit) SetAlignment

func (m *TMaskEdit) SetAlignment(value TAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TMaskEdit) SetAnchorSideBottom

func (m *TMaskEdit) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TMaskEdit) SetAnchorSideLeft

func (m *TMaskEdit) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TMaskEdit) SetAnchorSideRight

func (m *TMaskEdit) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TMaskEdit) SetAnchorSideTop

func (m *TMaskEdit) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TMaskEdit) SetAnchors

func (m *TMaskEdit) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TMaskEdit) SetAutoSelect

func (m *TMaskEdit) SetAutoSelect(value bool)

CN: 设置自动选择。 EN: .

func (*TMaskEdit) SetAutoSize

func (m *TMaskEdit) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TMaskEdit) SetBiDiMode

func (m *TMaskEdit) SetBiDiMode(value TBiDiMode)

func (*TMaskEdit) SetBorderSpacing

func (m *TMaskEdit) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TMaskEdit) SetBorderStyle

func (m *TMaskEdit) SetBorderStyle(value TBorderStyle)

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

func (*TMaskEdit) SetBounds

func (m *TMaskEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TMaskEdit) SetClientWidth

func (m *TMaskEdit) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TMaskEdit) SetColor

func (m *TMaskEdit) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TMaskEdit) SetComponentIndex

func (m *TMaskEdit) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TMaskEdit) SetConstraints added in v1.2.7

func (m *TMaskEdit) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TMaskEdit) SetControlState added in v1.1.21

func (m *TMaskEdit) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TMaskEdit) SetControlStyle added in v1.1.21

func (m *TMaskEdit) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TMaskEdit) SetCursor

func (m *TMaskEdit) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TMaskEdit) SetDockSite

func (m *TMaskEdit) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TMaskEdit) SetDoubleBuffered

func (m *TMaskEdit) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TMaskEdit) SetDragCursor

func (m *TMaskEdit) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TMaskEdit) SetDragKind

func (m *TMaskEdit) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TMaskEdit) SetDragMode

func (m *TMaskEdit) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TMaskEdit) SetEditText

func (m *TMaskEdit) SetEditText(value string)

func (*TMaskEdit) SetEnabled

func (m *TMaskEdit) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TMaskEdit) SetFocus

func (m *TMaskEdit) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TMaskEdit) SetFont

func (m *TMaskEdit) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TMaskEdit) SetHeight

func (m *TMaskEdit) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TMaskEdit) SetHint

func (m *TMaskEdit) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TMaskEdit) SetLeft

func (m *TMaskEdit) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TMaskEdit) SetMaxLength

func (m *TMaskEdit) SetMaxLength(value int32)

CN: 设置最大长度。 EN: .

func (*TMaskEdit) SetModified

func (m *TMaskEdit) SetModified(value bool)

CN: 设置修改。 EN: Set modified.

func (*TMaskEdit) SetName

func (m *TMaskEdit) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TMaskEdit) SetOnChange

func (m *TMaskEdit) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TMaskEdit) SetOnClick

func (m *TMaskEdit) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TMaskEdit) SetOnDblClick

func (m *TMaskEdit) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TMaskEdit) SetOnDragDrop

func (m *TMaskEdit) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TMaskEdit) SetOnDragOver

func (m *TMaskEdit) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TMaskEdit) SetOnEndDock

func (m *TMaskEdit) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TMaskEdit) SetOnEndDrag

func (m *TMaskEdit) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TMaskEdit) SetOnEnter

func (m *TMaskEdit) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TMaskEdit) SetOnExit

func (m *TMaskEdit) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TMaskEdit) SetOnKeyDown

func (m *TMaskEdit) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TMaskEdit) SetOnKeyPress

func (m *TMaskEdit) SetOnKeyPress(fn TKeyPressEvent)

func (*TMaskEdit) SetOnKeyUp

func (m *TMaskEdit) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TMaskEdit) SetOnMouseDown

func (m *TMaskEdit) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TMaskEdit) SetOnMouseEnter

func (m *TMaskEdit) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TMaskEdit) SetOnMouseLeave

func (m *TMaskEdit) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TMaskEdit) SetOnMouseMove

func (m *TMaskEdit) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TMaskEdit) SetOnMouseUp

func (m *TMaskEdit) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TMaskEdit) SetOnStartDock

func (m *TMaskEdit) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

func (*TMaskEdit) SetParent

func (m *TMaskEdit) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TMaskEdit) SetParentColor

func (m *TMaskEdit) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TMaskEdit) SetParentDoubleBuffered

func (m *TMaskEdit) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TMaskEdit) SetParentFont

func (m *TMaskEdit) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TMaskEdit) SetParentShowHint

func (m *TMaskEdit) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TMaskEdit) SetParentWindow

func (m *TMaskEdit) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TMaskEdit) SetPasswordChar

func (m *TMaskEdit) SetPasswordChar(value uint16)

CN: 设置密码掩码字符。 EN: .

func (*TMaskEdit) SetPopupMenu

func (m *TMaskEdit) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TMaskEdit) SetReadOnly

func (m *TMaskEdit) SetReadOnly(value bool)

CN: 设置只读。 EN: .

func (*TMaskEdit) SetSelLength

func (m *TMaskEdit) SetSelLength(value int32)

CN: 设置选择的长度。 EN: .

func (*TMaskEdit) SetSelStart

func (m *TMaskEdit) SetSelStart(value int32)

CN: 设置选择的启始位置。 EN: .

func (*TMaskEdit) SetSelText

func (m *TMaskEdit) SetSelText(value string)

CN: 设置选择的文本。 EN: .

func (*TMaskEdit) SetShowHint

func (m *TMaskEdit) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TMaskEdit) SetTabOrder

func (m *TMaskEdit) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TMaskEdit) SetTabStop

func (m *TMaskEdit) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TMaskEdit) SetTag

func (m *TMaskEdit) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TMaskEdit) SetText

func (m *TMaskEdit) SetText(value string)

CN: 设置文本。 EN: .

func (*TMaskEdit) SetTextBuf added in v1.1.21

func (m *TMaskEdit) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TMaskEdit) SetTextHint

func (m *TMaskEdit) SetTextHint(value string)

CN: 设置提示文本。 EN: .

func (*TMaskEdit) SetTop

func (m *TMaskEdit) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TMaskEdit) SetUseDockManager

func (m *TMaskEdit) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TMaskEdit) SetVisible

func (m *TMaskEdit) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TMaskEdit) SetWidth

func (m *TMaskEdit) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TMaskEdit) Show

func (m *TMaskEdit) Show()

CN: 显示控件。 EN: Show control.

func (*TMaskEdit) ShowHint

func (m *TMaskEdit) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TMaskEdit) TabOrder

func (m *TMaskEdit) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TMaskEdit) TabStop

func (m *TMaskEdit) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TMaskEdit) Tag

func (m *TMaskEdit) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TMaskEdit) Text

func (m *TMaskEdit) Text() string

CN: 获取文本。 EN: .

func (*TMaskEdit) TextHint

func (m *TMaskEdit) TextHint() string

CN: 获取提示文本。 EN: .

func (*TMaskEdit) ToString

func (m *TMaskEdit) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TMaskEdit) Top

func (m *TMaskEdit) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TMaskEdit) Undo

func (m *TMaskEdit) Undo()

CN: 撤销上一次操作。 EN: .

func (*TMaskEdit) UnsafeAddr added in v1.1.21

func (m *TMaskEdit) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TMaskEdit) Update

func (m *TMaskEdit) Update()

CN: 控件更新。 EN: Update.

func (*TMaskEdit) UseDockManager

func (m *TMaskEdit) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TMaskEdit) ValidateEdit

func (m *TMaskEdit) ValidateEdit()

func (*TMaskEdit) Visible

func (m *TMaskEdit) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TMaskEdit) VisibleDockClientCount added in v1.1.21

func (m *TMaskEdit) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TMaskEdit) Width

func (m *TMaskEdit) Width() int32

CN: 获取宽度。 EN: Get width.

type TMeasureItemEvent added in v1.1.21

type TMeasureItemEvent func(control *TWinControl, index int32, height *int32)

TMeasureItemEvent = procedure(Control: TWinControl; Index: Integer; var Height: Integer) of object;

type TMemo

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

func AsMemo added in v1.2.10

func AsMemo(obj interface{}) *TMemo

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func MemoFromInst

func MemoFromInst(inst uintptr) *TMemo

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsMemo.

func MemoFromObj

func MemoFromObj(obj IObject) *TMemo

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsMemo.

func MemoFromUnsafePointer added in v1.1.21

func MemoFromUnsafePointer(ptr unsafe.Pointer) *TMemo

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMemo.

func NewMemo

func NewMemo(owner IComponent) *TMemo

CN: 创建一个新的对象。 EN: Create a new object.

func (*TMemo) Action

func (m *TMemo) Action() *TAction

func (*TMemo) Align

func (m *TMemo) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TMemo) Alignment

func (m *TMemo) Alignment() TAlignment

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TMemo) AnchorParallel

func (m *TMemo) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMemo) AnchorSide

func (m *TMemo) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TMemo) AnchorSideBottom

func (m *TMemo) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TMemo) AnchorSideLeft

func (m *TMemo) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TMemo) AnchorSideRight

func (m *TMemo) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TMemo) AnchorSideTop

func (m *TMemo) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TMemo) AnchorToNeighbour

func (m *TMemo) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMemo) AnchorVerticalCenterTo

func (m *TMemo) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TMemo) Anchors

func (m *TMemo) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TMemo) Assign

func (m *TMemo) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TMemo) BiDiMode

func (m *TMemo) BiDiMode() TBiDiMode

func (*TMemo) BorderSpacing

func (m *TMemo) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TMemo) BorderStyle

func (m *TMemo) BorderStyle() TBorderStyle

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

func (*TMemo) BoundsRect

func (m *TMemo) BoundsRect() TRect

func (*TMemo) BringToFront

func (m *TMemo) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TMemo) Brush

func (m *TMemo) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TMemo) CanFocus

func (m *TMemo) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TMemo) CanUndo

func (m *TMemo) CanUndo() bool

CN: 获取能否撤销。 EN: .

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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TMemo) ClassType added in v1.1.18

func (m *TMemo) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TMemo) Clear

func (m *TMemo) Clear()

CN: 清除。 EN: .

func (*TMemo) ClearSelection

func (m *TMemo) ClearSelection()

CN: 清除选择。 EN: .

func (*TMemo) ClientHeight

func (m *TMemo) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TMemo) ClientOrigin added in v1.1.21

func (m *TMemo) ClientOrigin() TPoint

func (*TMemo) ClientRect

func (m *TMemo) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TMemo) ClientToParent

func (m *TMemo) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TMemo) ClientToScreen

func (m *TMemo) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TMemo) ClientWidth

func (m *TMemo) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TMemo) Color

func (m *TMemo) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TMemo) ComponentCount

func (m *TMemo) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TMemo) ComponentIndex

func (m *TMemo) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TMemo) Components

func (m *TMemo) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TMemo) Constraints added in v1.2.7

func (m *TMemo) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TMemo) ContainsControl added in v1.1.21

func (m *TMemo) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TMemo) ControlCount

func (m *TMemo) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TMemo) ControlState added in v1.1.21

func (m *TMemo) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TMemo) ControlStyle added in v1.1.21

func (m *TMemo) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TMemo) Controls

func (m *TMemo) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TMemo) CopyToClipboard

func (m *TMemo) CopyToClipboard()

CN: 复制到粘贴板。 EN: .

func (*TMemo) Cursor

func (m *TMemo) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TMemo) CutToClipboard

func (m *TMemo) CutToClipboard()

CN: 剪切到粘贴板。 EN: .

func (*TMemo) DisableAlign added in v1.1.21

func (m *TMemo) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TMemo) DockClientCount added in v1.1.21

func (m *TMemo) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TMemo) DockClients added in v1.1.21

func (m *TMemo) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TMemo) DockSite

func (m *TMemo) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TMemo) DoubleBuffered

func (m *TMemo) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TMemo) DragCursor

func (m *TMemo) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TMemo) DragKind

func (m *TMemo) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TMemo) DragMode

func (m *TMemo) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TMemo) Dragging

func (m *TMemo) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TMemo) EnableAlign added in v1.1.21

func (m *TMemo) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TMemo) Enabled

func (m *TMemo) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TMemo) Equals

func (m *TMemo) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TMemo) FindChildControl added in v1.1.21

func (m *TMemo) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TMemo) FindComponent

func (m *TMemo) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TMemo) Font

func (m *TMemo) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TMemo) Free

func (m *TMemo) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TMemo) GetHashCode

func (m *TMemo) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TMemo) GetNamePath

func (m *TMemo) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TMemo) GetTextBuf

func (m *TMemo) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TMemo) GetTextLen

func (m *TMemo) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TMemo) Handle

func (m *TMemo) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TMemo) HandleAllocated

func (m *TMemo) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TMemo) HasParent

func (m *TMemo) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TMemo) Height

func (m *TMemo) Height() int32

CN: 获取高度。 EN: Get height.

func (*TMemo) Hide

func (m *TMemo) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TMemo) HideSelection

func (m *TMemo) HideSelection() bool

CN: 获取隐藏选择。 EN: .

func (*TMemo) Hint

func (m *TMemo) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TMemo) InheritsFrom added in v1.1.18

func (m *TMemo) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TMemo) InsertControl added in v1.1.21

func (m *TMemo) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TMemo) Instance

func (m *TMemo) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TMemo) InstanceSize added in v1.1.18

func (m *TMemo) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TMemo) Invalidate

func (m *TMemo) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TMemo) Is added in v1.2.10

func (m *TMemo) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TMemo) IsValid

func (m *TMemo) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TMemo) Left

func (m *TMemo) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TMemo) Lines

func (m *TMemo) Lines() *TStrings

func (*TMemo) MaxLength

func (m *TMemo) MaxLength() int32

CN: 获取最大长度。 EN: .

func (*TMemo) Modified

func (m *TMemo) Modified() bool

CN: 获取修改。 EN: Get modified.

func (*TMemo) MouseInClient added in v1.1.21

func (m *TMemo) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TMemo) Name

func (m *TMemo) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TMemo) Owner

func (m *TMemo) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TMemo) Parent

func (m *TMemo) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TMemo) ParentColor

func (m *TMemo) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TMemo) ParentDoubleBuffered

func (m *TMemo) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TMemo) ParentFont

func (m *TMemo) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TMemo) ParentShowHint

func (m *TMemo) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TMemo) ParentToClient

func (m *TMemo) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TMemo) ParentWindow

func (m *TMemo) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TMemo) PasteFromClipboard

func (m *TMemo) PasteFromClipboard()

CN: 从剪切板粘贴。 EN: .

func (*TMemo) Perform

func (m *TMemo) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TMemo) PopupMenu

func (m *TMemo) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TMemo) ReadOnly

func (m *TMemo) ReadOnly() bool

CN: 获取只读。 EN: .

func (*TMemo) Realign

func (m *TMemo) Realign()

CN: 重新对齐。 EN: Realign.

func (*TMemo) Refresh

func (m *TMemo) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TMemo) RemoveControl added in v1.1.21

func (m *TMemo) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TMemo) Repaint

func (m *TMemo) Repaint()

CN: 重绘。 EN: Repaint.

func (*TMemo) ScaleBy

func (m *TMemo) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TMemo) ScreenToClient

func (m *TMemo) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: 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)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TMemo) SelLength

func (m *TMemo) SelLength() int32

CN: 获取选择的长度。 EN: .

func (*TMemo) SelStart

func (m *TMemo) SelStart() int32

CN: 获取选择的启始位置。 EN: .

func (*TMemo) SelText

func (m *TMemo) SelText() string

CN: 获取选择的文本。 EN: .

func (*TMemo) SelectAll

func (m *TMemo) SelectAll()

CN: 全选。 EN: .

func (*TMemo) SendToBack

func (m *TMemo) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TMemo) SetAlignment

func (m *TMemo) SetAlignment(value TAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TMemo) SetAnchorSideBottom

func (m *TMemo) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TMemo) SetAnchorSideLeft

func (m *TMemo) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TMemo) SetAnchorSideRight

func (m *TMemo) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TMemo) SetAnchorSideTop

func (m *TMemo) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TMemo) SetAnchors

func (m *TMemo) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TMemo) SetBiDiMode

func (m *TMemo) SetBiDiMode(value TBiDiMode)

func (*TMemo) SetBorderSpacing

func (m *TMemo) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TMemo) SetBorderStyle

func (m *TMemo) SetBorderStyle(value TBorderStyle)

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

func (*TMemo) SetBounds

func (m *TMemo) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TMemo) SetClientWidth

func (m *TMemo) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TMemo) SetColor

func (m *TMemo) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TMemo) SetComponentIndex

func (m *TMemo) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TMemo) SetConstraints added in v1.2.7

func (m *TMemo) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TMemo) SetControlState added in v1.1.21

func (m *TMemo) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TMemo) SetControlStyle added in v1.1.21

func (m *TMemo) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TMemo) SetCursor

func (m *TMemo) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TMemo) SetDockSite

func (m *TMemo) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TMemo) SetDoubleBuffered

func (m *TMemo) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TMemo) SetDragCursor

func (m *TMemo) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TMemo) SetDragKind

func (m *TMemo) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TMemo) SetDragMode

func (m *TMemo) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TMemo) SetEnabled

func (m *TMemo) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TMemo) SetFocus

func (m *TMemo) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TMemo) SetFont

func (m *TMemo) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TMemo) SetHeight

func (m *TMemo) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TMemo) SetHideSelection

func (m *TMemo) SetHideSelection(value bool)

CN: 设置隐藏选择。 EN: .

func (*TMemo) SetHint

func (m *TMemo) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TMemo) SetLeft

func (m *TMemo) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TMemo) SetLines

func (m *TMemo) SetLines(value IObject)

func (*TMemo) SetMaxLength

func (m *TMemo) SetMaxLength(value int32)

CN: 设置最大长度。 EN: .

func (*TMemo) SetModified

func (m *TMemo) SetModified(value bool)

CN: 设置修改。 EN: Set modified.

func (*TMemo) SetName

func (m *TMemo) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TMemo) SetOnChange

func (m *TMemo) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TMemo) SetOnClick

func (m *TMemo) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TMemo) SetOnContextPopup

func (m *TMemo) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TMemo) SetOnDblClick

func (m *TMemo) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TMemo) SetOnDragDrop

func (m *TMemo) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TMemo) SetOnDragOver

func (m *TMemo) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TMemo) SetOnEndDrag

func (m *TMemo) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TMemo) SetOnEnter

func (m *TMemo) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TMemo) SetOnExit

func (m *TMemo) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TMemo) SetOnKeyDown

func (m *TMemo) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TMemo) SetOnKeyPress

func (m *TMemo) SetOnKeyPress(fn TKeyPressEvent)

func (*TMemo) SetOnKeyUp

func (m *TMemo) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TMemo) SetOnMouseDown

func (m *TMemo) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TMemo) SetOnMouseEnter

func (m *TMemo) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TMemo) SetOnMouseLeave

func (m *TMemo) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TMemo) SetOnMouseMove

func (m *TMemo) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TMemo) SetOnMouseUp

func (m *TMemo) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TMemo) SetParent

func (m *TMemo) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TMemo) SetParentColor

func (m *TMemo) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TMemo) SetParentDoubleBuffered

func (m *TMemo) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TMemo) SetParentFont

func (m *TMemo) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TMemo) SetParentShowHint

func (m *TMemo) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TMemo) SetParentWindow

func (m *TMemo) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TMemo) SetPopupMenu

func (m *TMemo) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TMemo) SetReadOnly

func (m *TMemo) SetReadOnly(value bool)

CN: 设置只读。 EN: .

func (*TMemo) SetScrollBars

func (m *TMemo) SetScrollBars(value TScrollStyle)

func (*TMemo) SetSelLength

func (m *TMemo) SetSelLength(value int32)

CN: 设置选择的长度。 EN: .

func (*TMemo) SetSelStart

func (m *TMemo) SetSelStart(value int32)

CN: 设置选择的启始位置。 EN: .

func (*TMemo) SetSelText

func (m *TMemo) SetSelText(value string)

CN: 设置选择的文本。 EN: .

func (*TMemo) SetShowHint

func (m *TMemo) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TMemo) SetTabOrder

func (m *TMemo) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TMemo) SetTabStop

func (m *TMemo) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TMemo) SetTag

func (m *TMemo) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TMemo) SetText

func (m *TMemo) SetText(value string)

CN: 设置文本。 EN: .

func (*TMemo) SetTextBuf added in v1.1.21

func (m *TMemo) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TMemo) SetTextHint

func (m *TMemo) SetTextHint(value string)

CN: 设置提示文本。 EN: .

func (*TMemo) SetTop

func (m *TMemo) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TMemo) SetUseDockManager

func (m *TMemo) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TMemo) SetVisible

func (m *TMemo) SetVisible(value bool)

CN: 设置控件可视。 EN: 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)

CN: 设置宽度。 EN: Set width.

func (*TMemo) SetWordWrap

func (m *TMemo) SetWordWrap(value bool)

CN: 设置自动换行。 EN: Set Automatic line break.

func (*TMemo) Show

func (m *TMemo) Show()

CN: 显示控件。 EN: Show control.

func (*TMemo) ShowHint

func (m *TMemo) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TMemo) TabOrder

func (m *TMemo) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TMemo) TabStop

func (m *TMemo) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TMemo) Tag

func (m *TMemo) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TMemo) Text

func (m *TMemo) Text() string

CN: 获取文本。 EN: .

func (*TMemo) TextHint

func (m *TMemo) TextHint() string

CN: 获取提示文本。 EN: .

func (*TMemo) ToString

func (m *TMemo) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TMemo) Top

func (m *TMemo) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TMemo) Undo

func (m *TMemo) Undo()

CN: 撤销上一次操作。 EN: .

func (*TMemo) UnsafeAddr added in v1.1.21

func (m *TMemo) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TMemo) Update

func (m *TMemo) Update()

CN: 控件更新。 EN: Update.

func (*TMemo) UseDockManager

func (m *TMemo) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TMemo) Visible

func (m *TMemo) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TMemo) VisibleDockClientCount added in v1.1.21

func (m *TMemo) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: 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

CN: 获取宽度。 EN: Get width.

func (*TMemo) WordWrap

func (m *TMemo) WordWrap() bool

CN: 获取自动换行。 EN: Get Automatic line break.

type TMemoryStream

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

func AsMemoryStream added in v1.2.10

func AsMemoryStream(obj interface{}) *TMemoryStream

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func MemoryStreamFromInst

func MemoryStreamFromInst(inst uintptr) *TMemoryStream

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsMemoryStream.

func MemoryStreamFromObj

func MemoryStreamFromObj(obj IObject) *TMemoryStream

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsMemoryStream.

func MemoryStreamFromUnsafePointer added in v1.1.21

func MemoryStreamFromUnsafePointer(ptr unsafe.Pointer) *TMemoryStream

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMemoryStream.

func NewMemoryStream

func NewMemoryStream() *TMemoryStream

CN: 创建一个新的对象。 EN: Create a new object.

func NewMemoryStreamFromBytes

func NewMemoryStreamFromBytes(data []byte) *TMemoryStream

CN: 新建Delphi/Lazarus内存流来自Go字节数组。 EN: New Delphi/Lazarus memory stream from Go byte array.

func (*TMemoryStream) ClassName

func (m *TMemoryStream) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TMemoryStream) ClassType added in v1.1.18

func (m *TMemoryStream) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TMemoryStream) Clear

func (m *TMemoryStream) Clear()

CN: 清除。 EN: .

func (*TMemoryStream) CopyFrom

func (m *TMemoryStream) CopyFrom(Source IObject, Count int64) int64

CN: 从指定流中复制。 EN: .

func (*TMemoryStream) Equals

func (m *TMemoryStream) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TMemoryStream) Free

func (m *TMemoryStream) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TMemoryStream) GetHashCode

func (m *TMemoryStream) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TMemoryStream) InheritsFrom added in v1.1.18

func (m *TMemoryStream) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TMemoryStream) Instance

func (m *TMemoryStream) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TMemoryStream) InstanceSize added in v1.1.18

func (m *TMemoryStream) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TMemoryStream) Is added in v1.2.10

func (m *TMemoryStream) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TMemoryStream) IsValid

func (m *TMemoryStream) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TMemoryStream) LoadFromFile

func (m *TMemoryStream) LoadFromFile(FileName string)

CN: 从文件加载。 EN: .

func (*TMemoryStream) LoadFromStream

func (m *TMemoryStream) LoadFromStream(Stream IObject)

CN: 文件流加载。 EN: .

func (*TMemoryStream) Memory

func (m *TMemoryStream) Memory() uintptr

CN: 获取内存指针。 EN: .

func (*TMemoryStream) Position

func (m *TMemoryStream) Position() int64

CN: 获取流指针位置。 EN: .

func (*TMemoryStream) Read

func (m *TMemoryStream) Read(count int32) (int32, []byte)

CN: 读数据 EN: Read Data.

func (*TMemoryStream) SaveToFile

func (m *TMemoryStream) SaveToFile(FileName string)

CN: 保存至文件。 EN: .

func (*TMemoryStream) SaveToStream

func (m *TMemoryStream) SaveToStream(Stream IObject)

CN: 保存至流。 EN: .

func (*TMemoryStream) Seek

func (m *TMemoryStream) Seek(Offset int64, Origin TSeekOrigin) int64

CN: 移动流指针位置。 EN: .

func (*TMemoryStream) SetPosition

func (m *TMemoryStream) SetPosition(value int64)

CN: 设置流指针位置。 EN: .

func (*TMemoryStream) SetSize

func (m *TMemoryStream) SetSize(value int64)

CN: 设置流的大小。 EN: .

func (*TMemoryStream) Size

func (m *TMemoryStream) Size() int64

CN: 获取流的大小。 EN: .

func (*TMemoryStream) ToString

func (m *TMemoryStream) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TMemoryStream) UnsafeAddr added in v1.1.21

func (m *TMemoryStream) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TMemoryStream) Write

func (m *TMemoryStream) Write(buffer []byte) int32

CN: 写数据 EN: Write Data.

type TMenuChangeEvent

type TMenuChangeEvent func(sender IObject, source *TMenuItem, rebuild bool)

TMenuChangeEvent Menu

type TMenuDrawItemEvent

type TMenuDrawItemEvent func(sender IObject, aCanvas *TCanvas, aRect TRect, selected bool)

TMenuDrawItemEvent = procedure (Sender: TObject; ACanvas: TCanvas;

ARect: TRect; Selected: Boolean) of object;

type TMenuItem

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

func AsMenuItem added in v1.2.10

func AsMenuItem(obj interface{}) *TMenuItem

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func MenuItemFromInst(inst uintptr) *TMenuItem

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsMenuItem.

func MenuItemFromObj(obj IObject) *TMenuItem

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsMenuItem.

func MenuItemFromUnsafePointer(ptr unsafe.Pointer) *TMenuItem

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMenuItem.

func NewMenuItem

func NewMenuItem(owner IComponent) *TMenuItem

CN: 创建一个新的对象。 EN: 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)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取控件标题。 EN: Get the control title.

func (*TMenuItem) Checked

func (m *TMenuItem) Checked() bool

CN: 获取是否选中。 EN: .

func (*TMenuItem) ClassName

func (m *TMenuItem) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TMenuItem) ClassType added in v1.1.18

func (m *TMenuItem) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TMenuItem) Clear

func (m *TMenuItem) Clear()

CN: 清除。 EN: .

func (*TMenuItem) Click

func (m *TMenuItem) Click()

CN: 单击。 EN: .

func (*TMenuItem) ComponentCount

func (m *TMenuItem) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TMenuItem) ComponentIndex

func (m *TMenuItem) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TMenuItem) Components

func (m *TMenuItem) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: 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

CN: 获取控件启用。 EN: Get the control enabled.

func (*TMenuItem) Equals

func (m *TMenuItem) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TMenuItem) FindComponent

func (m *TMenuItem) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TMenuItem) Free

func (m *TMenuItem) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TMenuItem) GetHashCode

func (m *TMenuItem) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TMenuItem) GetNamePath

func (m *TMenuItem) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TMenuItem) GroupIndex

func (m *TMenuItem) GroupIndex() uint8

CN: 获取团组索引。 EN: .

func (*TMenuItem) Handle

func (m *TMenuItem) Handle() HMENU

CN: 获取控件句柄。 EN: Get Control handle.

func (*TMenuItem) HasParent

func (m *TMenuItem) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TMenuItem) Hint

func (m *TMenuItem) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TMenuItem) ImageIndex

func (m *TMenuItem) ImageIndex() int32

CN: 获取图像在images中的索引。 EN: .

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

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TMenuItem) InstanceSize added in v1.1.18

func (m *TMenuItem) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TMenuItem) Is added in v1.2.10

func (m *TMenuItem) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TMenuItem) IsValid

func (m *TMenuItem) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TMenuItem) Items

func (m *TMenuItem) Items(Index int32) *TMenuItem

func (*TMenuItem) Name

func (m *TMenuItem) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TMenuItem) Owner

func (m *TMenuItem) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TMenuItem) Parent

func (m *TMenuItem) Parent() *TMenuItem

CN: 获取控件父容器。 EN: 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)

CN: 设置控件标题。 EN: Set the control title.

func (*TMenuItem) SetChecked

func (m *TMenuItem) SetChecked(value bool)

CN: 设置是否选中。 EN: .

func (*TMenuItem) SetComponentIndex

func (m *TMenuItem) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TMenuItem) SetDefault

func (m *TMenuItem) SetDefault(value bool)

func (*TMenuItem) SetEnabled

func (m *TMenuItem) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TMenuItem) SetGroupIndex

func (m *TMenuItem) SetGroupIndex(value uint8)

CN: 设置团组索引。 EN: .

func (*TMenuItem) SetHint

func (m *TMenuItem) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TMenuItem) SetImageIndex

func (m *TMenuItem) SetImageIndex(value int32)

CN: 设置图像在images中的索引。 EN: .

func (*TMenuItem) SetName

func (m *TMenuItem) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TMenuItem) SetOnClick

func (m *TMenuItem) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: 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)

CN: 设置快捷键。 EN: .

func (*TMenuItem) SetShortCutFromString

func (m *TMenuItem) SetShortCutFromString(s string)

CN: 设置快捷键字符 EN: Set shortcut key characters.

func (*TMenuItem) SetTag

func (m *TMenuItem) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TMenuItem) SetVisible

func (m *TMenuItem) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TMenuItem) ShortCut

func (m *TMenuItem) ShortCut() TShortCut

CN: 获取快捷键。 EN: .

func (*TMenuItem) ShortCutFromString

func (m *TMenuItem) ShortCutFromString() string

CN: 获取快捷键字符 EN: Get shortcut key characters.

func (*TMenuItem) Tag

func (m *TMenuItem) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TMenuItem) ToString

func (m *TMenuItem) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TMenuItem) UnsafeAddr added in v1.1.21

func (m *TMenuItem) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TMenuItem) Visible

func (m *TMenuItem) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

type TMenuMeasureItemEvent added in v1.1.21

type TMenuMeasureItemEvent func(sender IObject, aCanvas *TCanvas, width, height *int32)

TMenuMeasureItemEvent = procedure (Sender: TObject; ACanvas: TCanvas; var Width, Height: Integer) of object;

type TMessageEvent

type TMessageEvent func(msg *TMsg, handled *bool)

TMessageEvent = procedure (var Msg: TMsg; var Handled: Boolean) of object;

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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func MiniWebviewFromInst added in v1.2.1

func MiniWebviewFromInst(inst uintptr) *TMiniWebview

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsMiniWebview.

func MiniWebviewFromObj added in v1.2.1

func MiniWebviewFromObj(obj IObject) *TMiniWebview

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsMiniWebview.

func MiniWebviewFromUnsafePointer added in v1.2.1

func MiniWebviewFromUnsafePointer(ptr unsafe.Pointer) *TMiniWebview

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMiniWebview.

func NewMiniWebview added in v1.2.1

func NewMiniWebview(owner IComponent) *TMiniWebview

CN: 创建一个新的对象。 EN: 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

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TMiniWebview) AnchorParallel

func (m *TMiniWebview) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMiniWebview) AnchorSide

func (m *TMiniWebview) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TMiniWebview) AnchorSideBottom

func (m *TMiniWebview) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TMiniWebview) AnchorSideLeft

func (m *TMiniWebview) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TMiniWebview) AnchorSideRight

func (m *TMiniWebview) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TMiniWebview) AnchorSideTop

func (m *TMiniWebview) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TMiniWebview) AnchorToNeighbour

func (m *TMiniWebview) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMiniWebview) AnchorVerticalCenterTo

func (m *TMiniWebview) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TMiniWebview) Anchors added in v1.2.1

func (m *TMiniWebview) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TMiniWebview) Assign added in v1.2.1

func (m *TMiniWebview) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TMiniWebview) BiDiMode added in v1.2.1

func (m *TMiniWebview) BiDiMode() TBiDiMode

func (*TMiniWebview) BorderSpacing

func (m *TMiniWebview) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TMiniWebview) Brush added in v1.2.1

func (m *TMiniWebview) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TMiniWebview) CanFocus added in v1.2.1

func (m *TMiniWebview) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TMiniWebview) ChildSizing

func (m *TMiniWebview) ChildSizing() *TControlChildSizing

func (*TMiniWebview) ClassName added in v1.2.1

func (m *TMiniWebview) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TMiniWebview) ClassType added in v1.2.1

func (m *TMiniWebview) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TMiniWebview) ClientHeight added in v1.2.1

func (m *TMiniWebview) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TMiniWebview) ClientToParent added in v1.2.1

func (m *TMiniWebview) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TMiniWebview) ClientToScreen added in v1.2.1

func (m *TMiniWebview) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TMiniWebview) ClientWidth added in v1.2.1

func (m *TMiniWebview) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TMiniWebview) ComponentCount added in v1.2.1

func (m *TMiniWebview) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TMiniWebview) ComponentIndex added in v1.2.1

func (m *TMiniWebview) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TMiniWebview) Components added in v1.2.1

func (m *TMiniWebview) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TMiniWebview) Constraints added in v1.2.7

func (m *TMiniWebview) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TMiniWebview) ContainsControl added in v1.2.1

func (m *TMiniWebview) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TMiniWebview) ControlCount added in v1.2.1

func (m *TMiniWebview) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TMiniWebview) ControlState added in v1.2.1

func (m *TMiniWebview) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TMiniWebview) ControlStyle added in v1.2.1

func (m *TMiniWebview) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TMiniWebview) Controls added in v1.2.1

func (m *TMiniWebview) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TMiniWebview) Cursor added in v1.2.1

func (m *TMiniWebview) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TMiniWebview) DisableAlign added in v1.2.1

func (m *TMiniWebview) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TMiniWebview) DockClientCount added in v1.2.1

func (m *TMiniWebview) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TMiniWebview) DockClients added in v1.2.1

func (m *TMiniWebview) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TMiniWebview) DockSite added in v1.2.1

func (m *TMiniWebview) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TMiniWebview) DoubleBuffered added in v1.2.1

func (m *TMiniWebview) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TMiniWebview) Dragging added in v1.2.1

func (m *TMiniWebview) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TMiniWebview) EnableAlign added in v1.2.1

func (m *TMiniWebview) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TMiniWebview) Enabled added in v1.2.1

func (m *TMiniWebview) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TMiniWebview) Equals added in v1.2.1

func (m *TMiniWebview) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TMiniWebview) ExecuteJS added in v1.2.4

func (m *TMiniWebview) ExecuteJS(AScriptText string)

func (*TMiniWebview) ExecuteScript added in v1.2.4

func (m *TMiniWebview) ExecuteScript(AScriptText string, AScriptType string)

func (*TMiniWebview) FindChildControl added in v1.2.1

func (m *TMiniWebview) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TMiniWebview) FindComponent added in v1.2.1

func (m *TMiniWebview) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TMiniWebview) Free added in v1.2.1

func (m *TMiniWebview) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TMiniWebview) GetHashCode added in v1.2.1

func (m *TMiniWebview) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TMiniWebview) GetNamePath added in v1.2.1

func (m *TMiniWebview) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TMiniWebview) GetTextBuf added in v1.2.1

func (m *TMiniWebview) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TMiniWebview) GetTextLen added in v1.2.1

func (m *TMiniWebview) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: 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

CN: 获取控件句柄。 EN: Get Control handle.

func (*TMiniWebview) HandleAllocated added in v1.2.1

func (m *TMiniWebview) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TMiniWebview) HasParent added in v1.2.1

func (m *TMiniWebview) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TMiniWebview) Height added in v1.2.1

func (m *TMiniWebview) Height() int32

CN: 获取高度。 EN: Get height.

func (*TMiniWebview) Hide added in v1.2.1

func (m *TMiniWebview) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TMiniWebview) Hint added in v1.2.1

func (m *TMiniWebview) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TMiniWebview) InheritsFrom added in v1.2.1

func (m *TMiniWebview) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TMiniWebview) InsertControl added in v1.2.1

func (m *TMiniWebview) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TMiniWebview) Instance added in v1.2.1

func (m *TMiniWebview) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TMiniWebview) InstanceSize added in v1.2.1

func (m *TMiniWebview) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TMiniWebview) Invalidate added in v1.2.1

func (m *TMiniWebview) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TMiniWebview) Is added in v1.2.10

func (m *TMiniWebview) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TMiniWebview) IsValid added in v1.2.1

func (m *TMiniWebview) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TMiniWebview) Left added in v1.2.1

func (m *TMiniWebview) Left() int32

CN: 获取左边位置。 EN: 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

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: 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

CN: 获取组件所有者。 EN: Get component owner.

func (*TMiniWebview) Parent added in v1.2.1

func (m *TMiniWebview) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TMiniWebview) ParentDoubleBuffered added in v1.2.1

func (m *TMiniWebview) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TMiniWebview) ParentToClient added in v1.2.1

func (m *TMiniWebview) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TMiniWebview) ParentWindow added in v1.2.1

func (m *TMiniWebview) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TMiniWebview) Perform added in v1.2.1

func (m *TMiniWebview) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: 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()

CN: 重新对齐。 EN: Realign.

func (*TMiniWebview) Refresh added in v1.2.1

func (m *TMiniWebview) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TMiniWebview) RemoveControl added in v1.2.1

func (m *TMiniWebview) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TMiniWebview) Repaint added in v1.2.1

func (m *TMiniWebview) Repaint()

CN: 重绘。 EN: Repaint.

func (*TMiniWebview) ScaleBy added in v1.2.1

func (m *TMiniWebview) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TMiniWebview) ScreenToClient added in v1.2.1

func (m *TMiniWebview) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TMiniWebview) ScrollBy added in v1.2.1

func (m *TMiniWebview) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TMiniWebview) SendToBack added in v1.2.1

func (m *TMiniWebview) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TMiniWebview) SetAnchorSideBottom

func (m *TMiniWebview) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TMiniWebview) SetAnchorSideLeft

func (m *TMiniWebview) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TMiniWebview) SetAnchorSideRight

func (m *TMiniWebview) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TMiniWebview) SetAnchorSideTop

func (m *TMiniWebview) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TMiniWebview) SetAnchors added in v1.2.1

func (m *TMiniWebview) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TMiniWebview) SetBiDiMode added in v1.2.1

func (m *TMiniWebview) SetBiDiMode(value TBiDiMode)

func (*TMiniWebview) SetBorderSpacing

func (m *TMiniWebview) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TMiniWebview) SetBounds added in v1.2.1

func (m *TMiniWebview) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TMiniWebview) SetClientWidth added in v1.2.1

func (m *TMiniWebview) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TMiniWebview) SetComponentIndex added in v1.2.1

func (m *TMiniWebview) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TMiniWebview) SetConstraints added in v1.2.7

func (m *TMiniWebview) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TMiniWebview) SetControlState added in v1.2.1

func (m *TMiniWebview) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TMiniWebview) SetControlStyle added in v1.2.1

func (m *TMiniWebview) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TMiniWebview) SetCursor added in v1.2.1

func (m *TMiniWebview) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TMiniWebview) SetDockSite added in v1.2.1

func (m *TMiniWebview) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TMiniWebview) SetDoubleBuffered added in v1.2.1

func (m *TMiniWebview) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TMiniWebview) SetEnabled added in v1.2.1

func (m *TMiniWebview) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TMiniWebview) SetFocus added in v1.2.1

func (m *TMiniWebview) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TMiniWebview) SetHeight added in v1.2.1

func (m *TMiniWebview) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TMiniWebview) SetHint added in v1.2.1

func (m *TMiniWebview) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TMiniWebview) SetLeft added in v1.2.1

func (m *TMiniWebview) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TMiniWebview) SetName added in v1.2.1

func (m *TMiniWebview) SetName(value string)

CN: 设置组件名称。 EN: 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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TMiniWebview) SetParentDoubleBuffered added in v1.2.1

func (m *TMiniWebview) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TMiniWebview) SetParentWindow added in v1.2.1

func (m *TMiniWebview) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TMiniWebview) SetShowHint added in v1.2.1

func (m *TMiniWebview) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TMiniWebview) SetTabOrder added in v1.2.1

func (m *TMiniWebview) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TMiniWebview) SetTabStop added in v1.2.1

func (m *TMiniWebview) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TMiniWebview) SetTag added in v1.2.1

func (m *TMiniWebview) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TMiniWebview) SetTextBuf added in v1.2.1

func (m *TMiniWebview) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TMiniWebview) SetTop added in v1.2.1

func (m *TMiniWebview) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TMiniWebview) SetUseDockManager added in v1.2.1

func (m *TMiniWebview) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TMiniWebview) SetVisible added in v1.2.1

func (m *TMiniWebview) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TMiniWebview) SetWidth added in v1.2.1

func (m *TMiniWebview) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TMiniWebview) Show added in v1.2.1

func (m *TMiniWebview) Show()

CN: 显示控件。 EN: Show control.

func (*TMiniWebview) ShowHint added in v1.2.1

func (m *TMiniWebview) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

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

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TMiniWebview) TabStop added in v1.2.1

func (m *TMiniWebview) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TMiniWebview) Tag added in v1.2.1

func (m *TMiniWebview) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TMiniWebview) ToString added in v1.2.1

func (m *TMiniWebview) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TMiniWebview) Top added in v1.2.1

func (m *TMiniWebview) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TMiniWebview) UnsafeAddr added in v1.2.1

func (m *TMiniWebview) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TMiniWebview) Update added in v1.2.1

func (m *TMiniWebview) Update()

CN: 控件更新。 EN: Update.

func (*TMiniWebview) UseDockManager added in v1.2.1

func (m *TMiniWebview) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TMiniWebview) Visible added in v1.2.1

func (m *TMiniWebview) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TMiniWebview) VisibleDockClientCount added in v1.2.1

func (m *TMiniWebview) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TMiniWebview) Width added in v1.2.1

func (m *TMiniWebview) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func MonitorFromInst

func MonitorFromInst(inst uintptr) *TMonitor

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsMonitor.

func MonitorFromObj

func MonitorFromObj(obj IObject) *TMonitor

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsMonitor.

func MonitorFromUnsafePointer added in v1.1.21

func MonitorFromUnsafePointer(ptr unsafe.Pointer) *TMonitor

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMonitor.

func NewMonitor

func NewMonitor() *TMonitor

CN: 创建一个新的对象。 EN: Create a new object.

func (*TMonitor) BoundsRect

func (m *TMonitor) BoundsRect() TRect

func (*TMonitor) ClassName

func (m *TMonitor) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TMonitor) ClassType added in v1.1.18

func (m *TMonitor) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TMonitor) Equals

func (m *TMonitor) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TMonitor) Free

func (m *TMonitor) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TMonitor) GetHashCode

func (m *TMonitor) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TMonitor) Handle

func (m *TMonitor) Handle() HMONITOR

CN: 获取控件句柄。 EN: Get Control handle.

func (*TMonitor) Height

func (m *TMonitor) Height() int32

CN: 获取高度。 EN: Get height.

func (*TMonitor) InheritsFrom added in v1.1.18

func (m *TMonitor) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TMonitor) Instance

func (m *TMonitor) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TMonitor) InstanceSize added in v1.1.18

func (m *TMonitor) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TMonitor) Is added in v1.2.10

func (m *TMonitor) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TMonitor) IsValid

func (m *TMonitor) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TMonitor) Left

func (m *TMonitor) Left() int32

CN: 获取左边位置。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TMonitor) Top

func (m *TMonitor) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TMonitor) UnsafeAddr added in v1.1.21

func (m *TMonitor) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TMonitor) Width

func (m *TMonitor) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func MonthCalendarFromInst

func MonthCalendarFromInst(inst uintptr) *TMonthCalendar

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsMonthCalendar.

func MonthCalendarFromObj

func MonthCalendarFromObj(obj IObject) *TMonthCalendar

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsMonthCalendar.

func MonthCalendarFromUnsafePointer added in v1.1.21

func MonthCalendarFromUnsafePointer(ptr unsafe.Pointer) *TMonthCalendar

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMonthCalendar.

func NewMonthCalendar

func NewMonthCalendar(owner IComponent) *TMonthCalendar

CN: 创建一个新的对象。 EN: Create a new object.

func (*TMonthCalendar) Action

func (m *TMonthCalendar) Action() *TAction

func (*TMonthCalendar) Align

func (m *TMonthCalendar) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TMonthCalendar) AnchorParallel

func (m *TMonthCalendar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMonthCalendar) AnchorSide

func (m *TMonthCalendar) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TMonthCalendar) AnchorSideBottom

func (m *TMonthCalendar) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TMonthCalendar) AnchorSideLeft

func (m *TMonthCalendar) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TMonthCalendar) AnchorSideRight

func (m *TMonthCalendar) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TMonthCalendar) AnchorSideTop

func (m *TMonthCalendar) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TMonthCalendar) AnchorToNeighbour

func (m *TMonthCalendar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TMonthCalendar) AnchorVerticalCenterTo

func (m *TMonthCalendar) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TMonthCalendar) Anchors

func (m *TMonthCalendar) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TMonthCalendar) Assign

func (m *TMonthCalendar) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TMonthCalendar) AutoSize

func (m *TMonthCalendar) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TMonthCalendar) BiDiMode

func (m *TMonthCalendar) BiDiMode() TBiDiMode

func (*TMonthCalendar) BorderSpacing

func (m *TMonthCalendar) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TMonthCalendar) BorderWidth

func (m *TMonthCalendar) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

func (*TMonthCalendar) BoundsRect

func (m *TMonthCalendar) BoundsRect() TRect

func (*TMonthCalendar) BringToFront

func (m *TMonthCalendar) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TMonthCalendar) Brush

func (m *TMonthCalendar) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TMonthCalendar) CanFocus

func (m *TMonthCalendar) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TMonthCalendar) ChildSizing

func (m *TMonthCalendar) ChildSizing() *TControlChildSizing

func (*TMonthCalendar) ClassName

func (m *TMonthCalendar) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TMonthCalendar) ClassType added in v1.1.18

func (m *TMonthCalendar) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TMonthCalendar) ClientHeight

func (m *TMonthCalendar) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TMonthCalendar) ClientOrigin added in v1.1.21

func (m *TMonthCalendar) ClientOrigin() TPoint

func (*TMonthCalendar) ClientRect

func (m *TMonthCalendar) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TMonthCalendar) ClientToParent

func (m *TMonthCalendar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TMonthCalendar) ClientToScreen

func (m *TMonthCalendar) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TMonthCalendar) ClientWidth

func (m *TMonthCalendar) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TMonthCalendar) ComponentCount

func (m *TMonthCalendar) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TMonthCalendar) ComponentIndex

func (m *TMonthCalendar) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TMonthCalendar) Components

func (m *TMonthCalendar) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TMonthCalendar) Constraints added in v1.2.7

func (m *TMonthCalendar) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TMonthCalendar) ContainsControl added in v1.1.21

func (m *TMonthCalendar) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TMonthCalendar) ControlCount

func (m *TMonthCalendar) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TMonthCalendar) ControlState added in v1.1.21

func (m *TMonthCalendar) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TMonthCalendar) ControlStyle added in v1.1.21

func (m *TMonthCalendar) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TMonthCalendar) Controls

func (m *TMonthCalendar) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TMonthCalendar) Cursor

func (m *TMonthCalendar) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TMonthCalendar) Date

func (m *TMonthCalendar) Date() time.Time

func (*TMonthCalendar) DisableAlign added in v1.1.21

func (m *TMonthCalendar) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TMonthCalendar) DockClientCount added in v1.1.21

func (m *TMonthCalendar) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TMonthCalendar) DockClients added in v1.1.21

func (m *TMonthCalendar) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TMonthCalendar) DockSite

func (m *TMonthCalendar) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TMonthCalendar) DoubleBuffered

func (m *TMonthCalendar) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TMonthCalendar) DragCursor

func (m *TMonthCalendar) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TMonthCalendar) DragKind

func (m *TMonthCalendar) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TMonthCalendar) DragMode

func (m *TMonthCalendar) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TMonthCalendar) Dragging

func (m *TMonthCalendar) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TMonthCalendar) EnableAlign added in v1.1.21

func (m *TMonthCalendar) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TMonthCalendar) Enabled

func (m *TMonthCalendar) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TMonthCalendar) Equals

func (m *TMonthCalendar) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TMonthCalendar) FindChildControl added in v1.1.21

func (m *TMonthCalendar) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TMonthCalendar) FindComponent

func (m *TMonthCalendar) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TMonthCalendar) Font

func (m *TMonthCalendar) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TMonthCalendar) Free

func (m *TMonthCalendar) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TMonthCalendar) GetHashCode

func (m *TMonthCalendar) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TMonthCalendar) GetNamePath

func (m *TMonthCalendar) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TMonthCalendar) GetTextBuf

func (m *TMonthCalendar) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TMonthCalendar) GetTextLen

func (m *TMonthCalendar) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TMonthCalendar) Handle

func (m *TMonthCalendar) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TMonthCalendar) HandleAllocated

func (m *TMonthCalendar) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TMonthCalendar) HasParent

func (m *TMonthCalendar) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TMonthCalendar) Height

func (m *TMonthCalendar) Height() int32

CN: 获取高度。 EN: Get height.

func (*TMonthCalendar) Hide

func (m *TMonthCalendar) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TMonthCalendar) Hint

func (m *TMonthCalendar) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TMonthCalendar) InheritsFrom added in v1.1.18

func (m *TMonthCalendar) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TMonthCalendar) InsertControl added in v1.1.21

func (m *TMonthCalendar) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TMonthCalendar) Instance

func (m *TMonthCalendar) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TMonthCalendar) InstanceSize added in v1.1.18

func (m *TMonthCalendar) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TMonthCalendar) Invalidate

func (m *TMonthCalendar) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TMonthCalendar) Is added in v1.2.10

func (m *TMonthCalendar) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TMonthCalendar) IsValid

func (m *TMonthCalendar) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TMonthCalendar) Left

func (m *TMonthCalendar) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TMonthCalendar) MouseInClient added in v1.1.21

func (m *TMonthCalendar) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TMonthCalendar) Name

func (m *TMonthCalendar) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TMonthCalendar) Owner

func (m *TMonthCalendar) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TMonthCalendar) Parent

func (m *TMonthCalendar) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TMonthCalendar) ParentDoubleBuffered

func (m *TMonthCalendar) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TMonthCalendar) ParentToClient

func (m *TMonthCalendar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TMonthCalendar) ParentWindow

func (m *TMonthCalendar) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TMonthCalendar) Perform

func (m *TMonthCalendar) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TMonthCalendar) PopupMenu

func (m *TMonthCalendar) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TMonthCalendar) Realign

func (m *TMonthCalendar) Realign()

CN: 重新对齐。 EN: Realign.

func (*TMonthCalendar) Refresh

func (m *TMonthCalendar) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TMonthCalendar) RemoveControl added in v1.1.21

func (m *TMonthCalendar) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TMonthCalendar) Repaint

func (m *TMonthCalendar) Repaint()

CN: 重绘。 EN: Repaint.

func (*TMonthCalendar) ScaleBy

func (m *TMonthCalendar) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TMonthCalendar) ScreenToClient

func (m *TMonthCalendar) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TMonthCalendar) ScrollBy added in v1.1.21

func (m *TMonthCalendar) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TMonthCalendar) SendToBack

func (m *TMonthCalendar) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TMonthCalendar) SetAnchorSideBottom

func (m *TMonthCalendar) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TMonthCalendar) SetAnchorSideLeft

func (m *TMonthCalendar) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TMonthCalendar) SetAnchorSideRight

func (m *TMonthCalendar) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TMonthCalendar) SetAnchorSideTop

func (m *TMonthCalendar) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TMonthCalendar) SetAnchors

func (m *TMonthCalendar) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TMonthCalendar) SetAutoSize

func (m *TMonthCalendar) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TMonthCalendar) SetBiDiMode

func (m *TMonthCalendar) SetBiDiMode(value TBiDiMode)

func (*TMonthCalendar) SetBorderSpacing

func (m *TMonthCalendar) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TMonthCalendar) SetBorderWidth

func (m *TMonthCalendar) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TMonthCalendar) SetBounds

func (m *TMonthCalendar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TMonthCalendar) SetClientWidth

func (m *TMonthCalendar) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TMonthCalendar) SetComponentIndex

func (m *TMonthCalendar) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TMonthCalendar) SetConstraints added in v1.2.7

func (m *TMonthCalendar) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TMonthCalendar) SetControlState added in v1.1.21

func (m *TMonthCalendar) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TMonthCalendar) SetControlStyle added in v1.1.21

func (m *TMonthCalendar) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TMonthCalendar) SetCursor

func (m *TMonthCalendar) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TMonthCalendar) SetDate

func (m *TMonthCalendar) SetDate(value time.Time)

func (*TMonthCalendar) SetDockSite

func (m *TMonthCalendar) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TMonthCalendar) SetDoubleBuffered

func (m *TMonthCalendar) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TMonthCalendar) SetDragCursor

func (m *TMonthCalendar) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TMonthCalendar) SetDragKind

func (m *TMonthCalendar) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TMonthCalendar) SetDragMode

func (m *TMonthCalendar) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TMonthCalendar) SetEnabled

func (m *TMonthCalendar) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TMonthCalendar) SetFocus

func (m *TMonthCalendar) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TMonthCalendar) SetFont

func (m *TMonthCalendar) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TMonthCalendar) SetHeight

func (m *TMonthCalendar) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TMonthCalendar) SetHint

func (m *TMonthCalendar) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TMonthCalendar) SetLeft

func (m *TMonthCalendar) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TMonthCalendar) SetName

func (m *TMonthCalendar) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TMonthCalendar) SetOnClick

func (m *TMonthCalendar) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TMonthCalendar) SetOnContextPopup

func (m *TMonthCalendar) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TMonthCalendar) SetOnDblClick

func (m *TMonthCalendar) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TMonthCalendar) SetOnDragDrop

func (m *TMonthCalendar) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TMonthCalendar) SetOnDragOver

func (m *TMonthCalendar) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TMonthCalendar) SetOnEndDock

func (m *TMonthCalendar) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TMonthCalendar) SetOnEndDrag

func (m *TMonthCalendar) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TMonthCalendar) SetOnEnter

func (m *TMonthCalendar) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TMonthCalendar) SetOnExit

func (m *TMonthCalendar) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TMonthCalendar) SetOnKeyDown

func (m *TMonthCalendar) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TMonthCalendar) SetOnKeyPress

func (m *TMonthCalendar) SetOnKeyPress(fn TKeyPressEvent)

func (*TMonthCalendar) SetOnKeyUp

func (m *TMonthCalendar) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TMonthCalendar) SetOnMouseEnter

func (m *TMonthCalendar) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TMonthCalendar) SetOnMouseLeave

func (m *TMonthCalendar) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TMonthCalendar) SetOnStartDock

func (m *TMonthCalendar) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

func (*TMonthCalendar) SetParent

func (m *TMonthCalendar) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TMonthCalendar) SetParentDoubleBuffered

func (m *TMonthCalendar) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TMonthCalendar) SetParentWindow

func (m *TMonthCalendar) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TMonthCalendar) SetPopupMenu

func (m *TMonthCalendar) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TMonthCalendar) SetShowHint

func (m *TMonthCalendar) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TMonthCalendar) SetTabOrder

func (m *TMonthCalendar) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TMonthCalendar) SetTabStop

func (m *TMonthCalendar) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TMonthCalendar) SetTag

func (m *TMonthCalendar) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TMonthCalendar) SetTextBuf added in v1.1.21

func (m *TMonthCalendar) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TMonthCalendar) SetTop

func (m *TMonthCalendar) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TMonthCalendar) SetUseDockManager

func (m *TMonthCalendar) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TMonthCalendar) SetVisible

func (m *TMonthCalendar) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TMonthCalendar) SetWidth

func (m *TMonthCalendar) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TMonthCalendar) Show

func (m *TMonthCalendar) Show()

CN: 显示控件。 EN: Show control.

func (*TMonthCalendar) ShowHint

func (m *TMonthCalendar) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TMonthCalendar) TabOrder

func (m *TMonthCalendar) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TMonthCalendar) TabStop

func (m *TMonthCalendar) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TMonthCalendar) Tag

func (m *TMonthCalendar) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TMonthCalendar) ToString

func (m *TMonthCalendar) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TMonthCalendar) Top

func (m *TMonthCalendar) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TMonthCalendar) UnsafeAddr added in v1.1.21

func (m *TMonthCalendar) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TMonthCalendar) Update

func (m *TMonthCalendar) Update()

CN: 控件更新。 EN: Update.

func (*TMonthCalendar) UseDockManager

func (m *TMonthCalendar) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TMonthCalendar) Visible

func (m *TMonthCalendar) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TMonthCalendar) VisibleDockClientCount added in v1.1.21

func (m *TMonthCalendar) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TMonthCalendar) Width

func (m *TMonthCalendar) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func MouseFromInst

func MouseFromInst(inst uintptr) *TMouse

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsMouse.

func MouseFromObj

func MouseFromObj(obj IObject) *TMouse

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsMouse.

func MouseFromUnsafePointer added in v1.1.21

func MouseFromUnsafePointer(ptr unsafe.Pointer) *TMouse

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsMouse.

func NewMouse

func NewMouse() *TMouse

CN: 创建一个新的对象。 EN: Create a new object.

func (*TMouse) Capture

func (m *TMouse) Capture() HWND

func (*TMouse) ClassName

func (m *TMouse) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TMouse) ClassType added in v1.1.18

func (m *TMouse) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TMouse) CursorPos

func (m *TMouse) CursorPos() TPoint

func (*TMouse) Equals

func (m *TMouse) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TMouse) Free

func (m *TMouse) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TMouse) GetHashCode

func (m *TMouse) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TMouse) InheritsFrom added in v1.1.18

func (m *TMouse) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TMouse) Instance

func (m *TMouse) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TMouse) InstanceSize added in v1.1.18

func (m *TMouse) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TMouse) Is added in v1.2.10

func (m *TMouse) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: 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

CN: 检测地址是否为空。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TMouse) UnsafeAddr added in v1.1.21

func (m *TMouse) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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)

TMouseActivateEvent = procedure(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer; HitTest: Integer; var MouseActivate: TMouseActivate) of object;

type TMouseEvent

type TMouseEvent func(sender IObject, button TMouseButton, shift TShiftState, x, y int32)

TMouseEvent = procedure(Sender: TObject; Button: TMouseButton;

Shift: TShiftState; X, Y: Integer) of object;

type TMouseMoveEvent

type TMouseMoveEvent func(sender IObject, shift TShiftState, x, y int32)

TMouseMoveEvent = procedure(Sender: TObject; Shift: TShiftState;

X, Y: Integer) of object;

type TMouseWheelEvent

type TMouseWheelEvent func(sender IObject, shift TShiftState, wheelDelta, x, y int32, handled *bool)

TMouseWheelEvent = procedure(Sender: TObject; Shift: TShiftState;

WheelDelta: Integer; MousePos: TPoint; var Handled: Boolean) of object;

type TMouseWheelUpDownEvent

type TMouseWheelUpDownEvent func(sender IObject, shift TShiftState, mousePos TPoint, handled *bool)

TMouseWheelUpDownEvent = procedure(Sender: TObject; Shift: TShiftState; MousePos: TPoint; var Handled: Boolean) of object;

type TMovedEvent added in v1.1.19

type TMovedEvent func(sender IObject, fromIndex, toIndex int32)

---- grid

TMovedEvent = procedure (Sender: TObject; FromIndex, ToIndex: Longint) of object;

type TNotifyEvent

type TNotifyEvent func(sender IObject)

TNotifyEvent

type TObject

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

func AsObject added in v1.2.10

func AsObject(obj interface{}) *TObject

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewObject

func NewObject() *TObject

CN: 创建一个新的对象。 EN: Create a new object.

func ObjectFromInst

func ObjectFromInst(inst uintptr) *TObject

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsObject.

func ObjectFromObj

func ObjectFromObj(obj IObject) *TObject

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsObject.

func ObjectFromUnsafePointer added in v1.1.21

func ObjectFromUnsafePointer(ptr unsafe.Pointer) *TObject

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsObject.

func (*TObject) ClassName

func (o *TObject) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TObject) ClassType added in v1.1.18

func (o *TObject) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TObject) Equals

func (o *TObject) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TObject) Free

func (o *TObject) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TObject) GetHashCode

func (o *TObject) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TObject) InheritsFrom added in v1.1.18

func (o *TObject) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TObject) Instance

func (o *TObject) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TObject) InstanceSize added in v1.1.18

func (o *TObject) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TObject) Is added in v1.2.10

func (o *TObject) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TObject) IsValid

func (o *TObject) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TObject) ToString

func (o *TObject) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TObject) UnsafeAddr added in v1.1.21

func (o *TObject) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TOpenDialog

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

func AsOpenDialog added in v1.2.10

func AsOpenDialog(obj interface{}) *TOpenDialog

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewOpenDialog

func NewOpenDialog(owner IComponent) *TOpenDialog

CN: 创建一个新的对象。 EN: Create a new object.

func OpenDialogFromInst

func OpenDialogFromInst(inst uintptr) *TOpenDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsOpenDialog.

func OpenDialogFromObj

func OpenDialogFromObj(obj IObject) *TOpenDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsOpenDialog.

func OpenDialogFromUnsafePointer added in v1.1.21

func OpenDialogFromUnsafePointer(ptr unsafe.Pointer) *TOpenDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsOpenDialog.

func (*TOpenDialog) Assign

func (o *TOpenDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TOpenDialog) ClassName

func (o *TOpenDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TOpenDialog) ClassType added in v1.1.18

func (o *TOpenDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TOpenDialog) ComponentCount

func (o *TOpenDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TOpenDialog) ComponentIndex

func (o *TOpenDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TOpenDialog) Components

func (o *TOpenDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TOpenDialog) DefaultExt

func (o *TOpenDialog) DefaultExt() string

func (*TOpenDialog) Equals

func (o *TOpenDialog) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TOpenDialog) Execute

func (o *TOpenDialog) Execute() bool

CN: 执行。 EN: .

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TOpenDialog) Free

func (o *TOpenDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TOpenDialog) GetHashCode

func (o *TOpenDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TOpenDialog) GetNamePath

func (o *TOpenDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TOpenDialog) Handle

func (o *TOpenDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TOpenDialog) HasParent

func (o *TOpenDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TOpenDialog) InheritsFrom added in v1.1.18

func (o *TOpenDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TOpenDialog) InstanceSize added in v1.1.18

func (o *TOpenDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TOpenDialog) Is added in v1.2.10

func (o *TOpenDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TOpenDialog) IsValid

func (o *TOpenDialog) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TOpenDialog) Name

func (o *TOpenDialog) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TOpenDialog) Options

func (o *TOpenDialog) Options() TOpenOptions

func (*TOpenDialog) Owner

func (o *TOpenDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TOpenDialog) SetComponentIndex

func (o *TOpenDialog) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TOpenDialog) SetOnClose

func (o *TOpenDialog) SetOnClose(fn TNotifyEvent)

func (*TOpenDialog) SetOnShow

func (o *TOpenDialog) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

func (*TOpenDialog) SetOptions

func (o *TOpenDialog) SetOptions(value TOpenOptions)

func (*TOpenDialog) SetTag

func (o *TOpenDialog) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TOpenDialog) SetTitle

func (o *TOpenDialog) SetTitle(value string)

func (*TOpenDialog) Tag

func (o *TOpenDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TOpenDialog) Title

func (o *TOpenDialog) Title() string

func (*TOpenDialog) ToString

func (o *TOpenDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TOpenDialog) UnsafeAddr added in v1.1.21

func (o *TOpenDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewOpenPictureDialog

func NewOpenPictureDialog(owner IComponent) *TOpenPictureDialog

CN: 创建一个新的对象。 EN: Create a new object.

func OpenPictureDialogFromInst

func OpenPictureDialogFromInst(inst uintptr) *TOpenPictureDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsOpenPictureDialog.

func OpenPictureDialogFromObj

func OpenPictureDialogFromObj(obj IObject) *TOpenPictureDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsOpenPictureDialog.

func OpenPictureDialogFromUnsafePointer added in v1.1.21

func OpenPictureDialogFromUnsafePointer(ptr unsafe.Pointer) *TOpenPictureDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsOpenPictureDialog.

func (*TOpenPictureDialog) Assign

func (o *TOpenPictureDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TOpenPictureDialog) ClassName

func (o *TOpenPictureDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TOpenPictureDialog) ClassType added in v1.1.18

func (o *TOpenPictureDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TOpenPictureDialog) ComponentCount

func (o *TOpenPictureDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TOpenPictureDialog) ComponentIndex

func (o *TOpenPictureDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TOpenPictureDialog) Components

func (o *TOpenPictureDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TOpenPictureDialog) DefaultExt

func (o *TOpenPictureDialog) DefaultExt() string

func (*TOpenPictureDialog) Equals

func (o *TOpenPictureDialog) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TOpenPictureDialog) Execute

func (o *TOpenPictureDialog) Execute() bool

CN: 执行。 EN: .

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TOpenPictureDialog) Free

func (o *TOpenPictureDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TOpenPictureDialog) GetHashCode

func (o *TOpenPictureDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TOpenPictureDialog) GetNamePath

func (o *TOpenPictureDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TOpenPictureDialog) Handle

func (o *TOpenPictureDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TOpenPictureDialog) HasParent

func (o *TOpenPictureDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TOpenPictureDialog) InheritsFrom added in v1.1.18

func (o *TOpenPictureDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TOpenPictureDialog) InstanceSize added in v1.1.18

func (o *TOpenPictureDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TOpenPictureDialog) Is added in v1.2.10

func (o *TOpenPictureDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TOpenPictureDialog) IsValid

func (o *TOpenPictureDialog) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TOpenPictureDialog) Name

func (o *TOpenPictureDialog) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TOpenPictureDialog) Options

func (o *TOpenPictureDialog) Options() TOpenOptions

func (*TOpenPictureDialog) Owner

func (o *TOpenPictureDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TOpenPictureDialog) SetComponentIndex

func (o *TOpenPictureDialog) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TOpenPictureDialog) SetOnClose

func (o *TOpenPictureDialog) SetOnClose(fn TNotifyEvent)

func (*TOpenPictureDialog) SetOnShow

func (o *TOpenPictureDialog) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

func (*TOpenPictureDialog) SetOptions

func (o *TOpenPictureDialog) SetOptions(value TOpenOptions)

func (*TOpenPictureDialog) SetTag

func (o *TOpenPictureDialog) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TOpenPictureDialog) SetTitle

func (o *TOpenPictureDialog) SetTitle(value string)

func (*TOpenPictureDialog) Tag

func (o *TOpenPictureDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TOpenPictureDialog) Title

func (o *TOpenPictureDialog) Title() string

func (*TOpenPictureDialog) ToString

func (o *TOpenPictureDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TOpenPictureDialog) UnsafeAddr added in v1.1.21

func (o *TOpenPictureDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewPageControl

func NewPageControl(owner IComponent) *TPageControl

CN: 创建一个新的对象。 EN: Create a new object.

func PageControlFromInst

func PageControlFromInst(inst uintptr) *TPageControl

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsPageControl.

func PageControlFromObj

func PageControlFromObj(obj IObject) *TPageControl

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsPageControl.

func PageControlFromUnsafePointer added in v1.1.21

func PageControlFromUnsafePointer(ptr unsafe.Pointer) *TPageControl

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPageControl.

func (*TPageControl) Action

func (p *TPageControl) Action() *TAction

func (*TPageControl) ActivePageIndex

func (p *TPageControl) ActivePageIndex() int32

func (*TPageControl) Align

func (p *TPageControl) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TPageControl) AnchorParallel

func (p *TPageControl) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPageControl) AnchorSide

func (p *TPageControl) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TPageControl) AnchorSideBottom

func (p *TPageControl) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TPageControl) AnchorSideLeft

func (p *TPageControl) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TPageControl) AnchorSideRight

func (p *TPageControl) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TPageControl) AnchorSideTop

func (p *TPageControl) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TPageControl) AnchorToNeighbour

func (p *TPageControl) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPageControl) AnchorVerticalCenterTo

func (p *TPageControl) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TPageControl) Anchors

func (p *TPageControl) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TPageControl) Assign

func (p *TPageControl) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TPageControl) BiDiMode

func (p *TPageControl) BiDiMode() TBiDiMode

func (*TPageControl) BorderSpacing

func (p *TPageControl) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TPageControl) BoundsRect

func (p *TPageControl) BoundsRect() TRect

func (*TPageControl) BringToFront

func (p *TPageControl) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TPageControl) Brush

func (p *TPageControl) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TPageControl) CanFocus

func (p *TPageControl) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TPageControl) ChildSizing

func (p *TPageControl) ChildSizing() *TControlChildSizing

func (*TPageControl) ClassName

func (p *TPageControl) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TPageControl) ClassType added in v1.1.18

func (p *TPageControl) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TPageControl) ClientHeight

func (p *TPageControl) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TPageControl) ClientOrigin added in v1.1.21

func (p *TPageControl) ClientOrigin() TPoint

func (*TPageControl) ClientRect

func (p *TPageControl) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TPageControl) ClientToParent

func (p *TPageControl) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TPageControl) ClientToScreen

func (p *TPageControl) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TPageControl) ClientWidth

func (p *TPageControl) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TPageControl) ComponentCount

func (p *TPageControl) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TPageControl) ComponentIndex

func (p *TPageControl) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TPageControl) Components

func (p *TPageControl) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TPageControl) Constraints added in v1.2.7

func (p *TPageControl) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TPageControl) ContainsControl added in v1.1.21

func (p *TPageControl) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TPageControl) ControlCount

func (p *TPageControl) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TPageControl) ControlState added in v1.1.21

func (p *TPageControl) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TPageControl) ControlStyle added in v1.1.21

func (p *TPageControl) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TPageControl) Controls

func (p *TPageControl) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TPageControl) Cursor

func (p *TPageControl) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TPageControl) DisableAlign added in v1.1.21

func (p *TPageControl) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TPageControl) DockClientCount added in v1.1.21

func (p *TPageControl) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TPageControl) DockClients added in v1.1.21

func (p *TPageControl) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TPageControl) DockSite

func (p *TPageControl) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TPageControl) DoubleBuffered

func (p *TPageControl) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TPageControl) DragCursor

func (p *TPageControl) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TPageControl) DragKind

func (p *TPageControl) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TPageControl) DragMode

func (p *TPageControl) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TPageControl) Dragging

func (p *TPageControl) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TPageControl) EnableAlign added in v1.1.21

func (p *TPageControl) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TPageControl) Enabled

func (p *TPageControl) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TPageControl) Equals

func (p *TPageControl) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TPageControl) FindChildControl added in v1.1.21

func (p *TPageControl) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TPageControl) FindComponent

func (p *TPageControl) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TPageControl) Font

func (p *TPageControl) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TPageControl) Free

func (p *TPageControl) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TPageControl) GetHashCode

func (p *TPageControl) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TPageControl) GetNamePath

func (p *TPageControl) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TPageControl) GetTextBuf

func (p *TPageControl) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TPageControl) GetTextLen

func (p *TPageControl) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TPageControl) Handle

func (p *TPageControl) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TPageControl) HandleAllocated

func (p *TPageControl) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TPageControl) HasParent

func (p *TPageControl) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TPageControl) Height

func (p *TPageControl) Height() int32

CN: 获取高度。 EN: Get height.

func (*TPageControl) Hide

func (p *TPageControl) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TPageControl) Hint

func (p *TPageControl) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TPageControl) Images

func (p *TPageControl) Images() *TImageList

CN: 获取图标索引列表对象。 EN: .

func (*TPageControl) InheritsFrom added in v1.1.18

func (p *TPageControl) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TPageControl) InsertControl added in v1.1.21

func (p *TPageControl) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TPageControl) Instance

func (p *TPageControl) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TPageControl) InstanceSize added in v1.1.18

func (p *TPageControl) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TPageControl) Invalidate

func (p *TPageControl) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TPageControl) Is added in v1.2.10

func (p *TPageControl) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TPageControl) IsValid

func (p *TPageControl) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TPageControl) Left

func (p *TPageControl) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TPageControl) MouseInClient added in v1.1.21

func (p *TPageControl) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TPageControl) MultiLine

func (p *TPageControl) MultiLine() bool

func (*TPageControl) Name

func (p *TPageControl) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TPageControl) Options

func (p *TPageControl) Options() TCTabControlOptions

func (*TPageControl) Owner

func (p *TPageControl) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TPageControl) PageCount

func (p *TPageControl) PageCount() int32

func (*TPageControl) Pages

func (p *TPageControl) Pages(Index int32) *TTabSheet

func (*TPageControl) Parent

func (p *TPageControl) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TPageControl) ParentDoubleBuffered

func (p *TPageControl) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TPageControl) ParentFont

func (p *TPageControl) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TPageControl) ParentShowHint

func (p *TPageControl) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TPageControl) ParentToClient

func (p *TPageControl) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TPageControl) ParentWindow

func (p *TPageControl) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TPageControl) Perform

func (p *TPageControl) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TPageControl) PopupMenu

func (p *TPageControl) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TPageControl) Realign

func (p *TPageControl) Realign()

CN: 重新对齐。 EN: Realign.

func (*TPageControl) Refresh

func (p *TPageControl) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TPageControl) RemoveControl added in v1.1.21

func (p *TPageControl) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TPageControl) Repaint

func (p *TPageControl) Repaint()

CN: 重绘。 EN: Repaint.

func (*TPageControl) ScaleBy

func (p *TPageControl) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TPageControl) ScreenToClient

func (p *TPageControl) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TPageControl) ScrollBy added in v1.1.21

func (p *TPageControl) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TPageControl) SelectNextPage

func (p *TPageControl) SelectNextPage(GoForward bool, CheckTabVisible bool)

func (*TPageControl) SendToBack

func (p *TPageControl) SendToBack()

CN: 控件至于最后面。 EN: The control is placed at the end.

func (*TPageControl) SetAction

func (p *TPageControl) SetAction(value IComponent)

func (*TPageControl) SetActivePageIndex

func (p *TPageControl) SetActivePageIndex(value int32)

func (*TPageControl) SetAlign

func (p *TPageControl) SetAlign(value TAlign)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TPageControl) SetAnchorSideBottom

func (p *TPageControl) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TPageControl) SetAnchorSideLeft

func (p *TPageControl) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TPageControl) SetAnchorSideRight

func (p *TPageControl) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TPageControl) SetAnchorSideTop

func (p *TPageControl) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TPageControl) SetAnchors

func (p *TPageControl) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TPageControl) SetBiDiMode

func (p *TPageControl) SetBiDiMode(value TBiDiMode)

func (*TPageControl) SetBorderSpacing

func (p *TPageControl) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TPageControl) SetBounds

func (p *TPageControl) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TPageControl) SetClientWidth

func (p *TPageControl) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TPageControl) SetComponentIndex

func (p *TPageControl) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TPageControl) SetConstraints added in v1.2.7

func (p *TPageControl) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TPageControl) SetControlState added in v1.1.21

func (p *TPageControl) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TPageControl) SetControlStyle added in v1.1.21

func (p *TPageControl) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TPageControl) SetCursor

func (p *TPageControl) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TPageControl) SetDockSite

func (p *TPageControl) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TPageControl) SetDoubleBuffered

func (p *TPageControl) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TPageControl) SetDragCursor

func (p *TPageControl) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TPageControl) SetDragKind

func (p *TPageControl) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TPageControl) SetDragMode

func (p *TPageControl) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TPageControl) SetEnabled

func (p *TPageControl) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TPageControl) SetFocus

func (p *TPageControl) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TPageControl) SetFont

func (p *TPageControl) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TPageControl) SetHeight

func (p *TPageControl) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TPageControl) SetHint

func (p *TPageControl) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TPageControl) SetImages

func (p *TPageControl) SetImages(value IComponent)

CN: 设置图标索引列表对象。 EN: .

func (*TPageControl) SetLeft

func (p *TPageControl) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TPageControl) SetMultiLine

func (p *TPageControl) SetMultiLine(value bool)

func (*TPageControl) SetName

func (p *TPageControl) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TPageControl) SetOnChange

func (p *TPageControl) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TPageControl) SetOnChanging added in v1.1.21

func (p *TPageControl) SetOnChanging(fn TTabChangingEvent)

func (*TPageControl) SetOnContextPopup

func (p *TPageControl) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: 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)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TPageControl) SetOnDragOver

func (p *TPageControl) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TPageControl) SetOnEndDock

func (p *TPageControl) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TPageControl) SetOnEndDrag

func (p *TPageControl) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TPageControl) SetOnEnter

func (p *TPageControl) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TPageControl) SetOnExit

func (p *TPageControl) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TPageControl) SetOnGetSiteInfo

func (p *TPageControl) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TPageControl) SetOnMouseDown

func (p *TPageControl) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TPageControl) SetOnMouseEnter

func (p *TPageControl) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TPageControl) SetOnMouseLeave

func (p *TPageControl) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TPageControl) SetOnMouseMove

func (p *TPageControl) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TPageControl) SetOnMouseUp

func (p *TPageControl) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TPageControl) SetOnResize

func (p *TPageControl) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

func (*TPageControl) SetOnStartDock

func (p *TPageControl) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

func (*TPageControl) SetOnUnDock

func (p *TPageControl) SetOnUnDock(fn TUnDockEvent)

func (*TPageControl) SetOptions

func (p *TPageControl) SetOptions(value TCTabControlOptions)

func (*TPageControl) SetParent

func (p *TPageControl) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TPageControl) SetParentDoubleBuffered

func (p *TPageControl) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TPageControl) SetParentFont

func (p *TPageControl) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TPageControl) SetParentShowHint

func (p *TPageControl) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TPageControl) SetParentWindow

func (p *TPageControl) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TPageControl) SetPopupMenu

func (p *TPageControl) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TPageControl) SetShowHint

func (p *TPageControl) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: 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)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TPageControl) SetTabPosition

func (p *TPageControl) SetTabPosition(value TTabPosition)

func (*TPageControl) SetTabStop

func (p *TPageControl) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TPageControl) SetTabWidth

func (p *TPageControl) SetTabWidth(value int16)

func (*TPageControl) SetTag

func (p *TPageControl) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TPageControl) SetTextBuf added in v1.1.21

func (p *TPageControl) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TPageControl) SetTop

func (p *TPageControl) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TPageControl) SetUseDockManager

func (p *TPageControl) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TPageControl) SetVisible

func (p *TPageControl) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TPageControl) SetWidth

func (p *TPageControl) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TPageControl) Show

func (p *TPageControl) Show()

CN: 显示控件。 EN: Show control.

func (*TPageControl) ShowHint

func (p *TPageControl) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TPageControl) TabHeight

func (p *TPageControl) TabHeight() int16

func (*TPageControl) TabIndex

func (p *TPageControl) TabIndex() int32

func (*TPageControl) TabOrder

func (p *TPageControl) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: 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

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TPageControl) TabWidth

func (p *TPageControl) TabWidth() int16

func (*TPageControl) Tag

func (p *TPageControl) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TPageControl) ToString

func (p *TPageControl) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TPageControl) Top

func (p *TPageControl) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TPageControl) UnsafeAddr added in v1.1.21

func (p *TPageControl) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TPageControl) Update

func (p *TPageControl) Update()

CN: 控件更新。 EN: Update.

func (*TPageControl) UseDockManager

func (p *TPageControl) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TPageControl) Visible

func (p *TPageControl) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TPageControl) VisibleDockClientCount added in v1.1.21

func (p *TPageControl) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TPageControl) Width

func (p *TPageControl) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewPageSetupDialog

func NewPageSetupDialog(owner IComponent) *TPageSetupDialog

CN: 创建一个新的对象。 EN: Create a new object.

func PageSetupDialogFromInst

func PageSetupDialogFromInst(inst uintptr) *TPageSetupDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsPageSetupDialog.

func PageSetupDialogFromObj

func PageSetupDialogFromObj(obj IObject) *TPageSetupDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsPageSetupDialog.

func PageSetupDialogFromUnsafePointer added in v1.1.21

func PageSetupDialogFromUnsafePointer(ptr unsafe.Pointer) *TPageSetupDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPageSetupDialog.

func (*TPageSetupDialog) Assign

func (p *TPageSetupDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TPageSetupDialog) ClassName

func (p *TPageSetupDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TPageSetupDialog) ClassType added in v1.1.18

func (p *TPageSetupDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TPageSetupDialog) ComponentCount

func (p *TPageSetupDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TPageSetupDialog) ComponentIndex

func (p *TPageSetupDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TPageSetupDialog) Components

func (p *TPageSetupDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TPageSetupDialog) Equals

func (p *TPageSetupDialog) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TPageSetupDialog) Execute

func (p *TPageSetupDialog) Execute() bool

CN: 执行。 EN: .

func (*TPageSetupDialog) FindComponent

func (p *TPageSetupDialog) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TPageSetupDialog) Free

func (p *TPageSetupDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TPageSetupDialog) GetHashCode

func (p *TPageSetupDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TPageSetupDialog) GetNamePath

func (p *TPageSetupDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TPageSetupDialog) Handle

func (p *TPageSetupDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TPageSetupDialog) HasParent

func (p *TPageSetupDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TPageSetupDialog) InheritsFrom added in v1.1.18

func (p *TPageSetupDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TPageSetupDialog) Instance

func (p *TPageSetupDialog) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TPageSetupDialog) InstanceSize added in v1.1.18

func (p *TPageSetupDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TPageSetupDialog) Is added in v1.2.10

func (p *TPageSetupDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TPageSetupDialog) IsValid

func (p *TPageSetupDialog) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TPageSetupDialog) Options

func (p *TPageSetupDialog) Options() TPageSetupDialogOptions

func (*TPageSetupDialog) Owner

func (p *TPageSetupDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: 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)

CN: 设置组件索引。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TPageSetupDialog) SetOnClose

func (p *TPageSetupDialog) SetOnClose(fn TNotifyEvent)

func (*TPageSetupDialog) SetOnShow

func (p *TPageSetupDialog) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

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)

CN: 设置对象标记。 EN: Set the control tag.

func (*TPageSetupDialog) Tag

func (p *TPageSetupDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TPageSetupDialog) ToString

func (p *TPageSetupDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TPageSetupDialog) Units

func (p *TPageSetupDialog) Units() TPageMeasureUnits

func (*TPageSetupDialog) UnsafeAddr added in v1.1.21

func (p *TPageSetupDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewPaintBox

func NewPaintBox(owner IComponent) *TPaintBox

CN: 创建一个新的对象。 EN: Create a new object.

func PaintBoxFromInst

func PaintBoxFromInst(inst uintptr) *TPaintBox

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsPaintBox.

func PaintBoxFromObj

func PaintBoxFromObj(obj IObject) *TPaintBox

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsPaintBox.

func PaintBoxFromUnsafePointer added in v1.1.21

func PaintBoxFromUnsafePointer(ptr unsafe.Pointer) *TPaintBox

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPaintBox.

func (*TPaintBox) Action

func (p *TPaintBox) Action() *TAction

func (*TPaintBox) Align

func (p *TPaintBox) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TPaintBox) AnchorParallel

func (p *TPaintBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPaintBox) AnchorSide

func (p *TPaintBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TPaintBox) AnchorSideBottom

func (p *TPaintBox) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TPaintBox) AnchorSideLeft

func (p *TPaintBox) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TPaintBox) AnchorSideRight

func (p *TPaintBox) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TPaintBox) AnchorSideTop

func (p *TPaintBox) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TPaintBox) AnchorToNeighbour

func (p *TPaintBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPaintBox) AnchorVerticalCenterTo

func (p *TPaintBox) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TPaintBox) Anchors

func (p *TPaintBox) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TPaintBox) Assign

func (p *TPaintBox) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TPaintBox) BiDiMode

func (p *TPaintBox) BiDiMode() TBiDiMode

func (*TPaintBox) BorderSpacing

func (p *TPaintBox) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TPaintBox) BoundsRect

func (p *TPaintBox) BoundsRect() TRect

func (*TPaintBox) BringToFront

func (p *TPaintBox) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TPaintBox) Canvas

func (p *TPaintBox) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TPaintBox) ClassName

func (p *TPaintBox) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TPaintBox) ClassType added in v1.1.18

func (p *TPaintBox) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TPaintBox) ClientHeight

func (p *TPaintBox) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TPaintBox) ClientOrigin added in v1.1.21

func (p *TPaintBox) ClientOrigin() TPoint

func (*TPaintBox) ClientRect

func (p *TPaintBox) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TPaintBox) ClientToParent

func (p *TPaintBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TPaintBox) ClientToScreen

func (p *TPaintBox) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TPaintBox) ClientWidth

func (p *TPaintBox) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TPaintBox) Color

func (p *TPaintBox) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TPaintBox) ComponentCount

func (p *TPaintBox) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TPaintBox) ComponentIndex

func (p *TPaintBox) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TPaintBox) Components

func (p *TPaintBox) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TPaintBox) Constraints added in v1.2.7

func (p *TPaintBox) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TPaintBox) ControlState added in v1.1.21

func (p *TPaintBox) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TPaintBox) ControlStyle added in v1.1.21

func (p *TPaintBox) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TPaintBox) Cursor

func (p *TPaintBox) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TPaintBox) DragCursor

func (p *TPaintBox) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TPaintBox) DragMode

func (p *TPaintBox) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TPaintBox) Dragging

func (p *TPaintBox) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TPaintBox) Enabled

func (p *TPaintBox) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TPaintBox) Equals

func (p *TPaintBox) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TPaintBox) FindComponent

func (p *TPaintBox) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TPaintBox) Floating

func (p *TPaintBox) Floating() bool

func (*TPaintBox) Font

func (p *TPaintBox) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TPaintBox) Free

func (p *TPaintBox) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TPaintBox) GetHashCode

func (p *TPaintBox) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TPaintBox) GetNamePath

func (p *TPaintBox) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TPaintBox) GetTextBuf

func (p *TPaintBox) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TPaintBox) GetTextLen

func (p *TPaintBox) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TPaintBox) HasParent

func (p *TPaintBox) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TPaintBox) Height

func (p *TPaintBox) Height() int32

CN: 获取高度。 EN: Get height.

func (*TPaintBox) Hide

func (p *TPaintBox) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TPaintBox) Hint

func (p *TPaintBox) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TPaintBox) InheritsFrom added in v1.1.18

func (p *TPaintBox) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TPaintBox) Instance

func (p *TPaintBox) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TPaintBox) InstanceSize added in v1.1.18

func (p *TPaintBox) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TPaintBox) Invalidate

func (p *TPaintBox) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TPaintBox) Is added in v1.2.10

func (p *TPaintBox) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TPaintBox) IsValid

func (p *TPaintBox) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TPaintBox) Left

func (p *TPaintBox) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TPaintBox) Name

func (p *TPaintBox) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TPaintBox) Owner

func (p *TPaintBox) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TPaintBox) Parent

func (p *TPaintBox) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TPaintBox) ParentColor

func (p *TPaintBox) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TPaintBox) ParentFont

func (p *TPaintBox) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TPaintBox) ParentShowHint

func (p *TPaintBox) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TPaintBox) ParentToClient

func (p *TPaintBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TPaintBox) Perform

func (p *TPaintBox) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TPaintBox) PopupMenu

func (p *TPaintBox) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TPaintBox) Refresh

func (p *TPaintBox) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TPaintBox) Repaint

func (p *TPaintBox) Repaint()

CN: 重绘。 EN: Repaint.

func (*TPaintBox) ScreenToClient

func (p *TPaintBox) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TPaintBox) SendToBack

func (p *TPaintBox) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TPaintBox) SetAnchorSideBottom

func (p *TPaintBox) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TPaintBox) SetAnchorSideLeft

func (p *TPaintBox) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TPaintBox) SetAnchorSideRight

func (p *TPaintBox) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TPaintBox) SetAnchorSideTop

func (p *TPaintBox) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TPaintBox) SetAnchors

func (p *TPaintBox) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TPaintBox) SetBiDiMode

func (p *TPaintBox) SetBiDiMode(value TBiDiMode)

func (*TPaintBox) SetBorderSpacing

func (p *TPaintBox) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TPaintBox) SetBounds

func (p *TPaintBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TPaintBox) SetBoundsRect

func (p *TPaintBox) SetBoundsRect(value TRect)

func (*TPaintBox) SetClientHeight

func (p *TPaintBox) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TPaintBox) SetClientWidth

func (p *TPaintBox) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TPaintBox) SetColor

func (p *TPaintBox) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TPaintBox) SetComponentIndex

func (p *TPaintBox) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TPaintBox) SetConstraints added in v1.2.7

func (p *TPaintBox) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TPaintBox) SetControlState added in v1.1.21

func (p *TPaintBox) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TPaintBox) SetControlStyle added in v1.1.21

func (p *TPaintBox) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TPaintBox) SetCursor

func (p *TPaintBox) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TPaintBox) SetDragCursor

func (p *TPaintBox) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TPaintBox) SetDragMode

func (p *TPaintBox) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TPaintBox) SetEnabled

func (p *TPaintBox) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TPaintBox) SetFont

func (p *TPaintBox) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TPaintBox) SetHeight

func (p *TPaintBox) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TPaintBox) SetHint

func (p *TPaintBox) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TPaintBox) SetLeft

func (p *TPaintBox) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TPaintBox) SetName

func (p *TPaintBox) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TPaintBox) SetOnClick

func (p *TPaintBox) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TPaintBox) SetOnDblClick

func (p *TPaintBox) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TPaintBox) SetOnDragDrop

func (p *TPaintBox) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TPaintBox) SetOnDragOver

func (p *TPaintBox) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TPaintBox) SetOnEndDrag

func (p *TPaintBox) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TPaintBox) SetOnMouseDown

func (p *TPaintBox) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TPaintBox) SetOnMouseEnter

func (p *TPaintBox) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TPaintBox) SetOnMouseLeave

func (p *TPaintBox) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TPaintBox) SetOnMouseMove

func (p *TPaintBox) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TPaintBox) SetOnMouseUp

func (p *TPaintBox) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TPaintBox) SetOnPaint

func (p *TPaintBox) SetOnPaint(fn TNotifyEvent)

CN: 设置绘画事件。 EN: .

func (*TPaintBox) SetParent

func (p *TPaintBox) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TPaintBox) SetParentColor

func (p *TPaintBox) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TPaintBox) SetParentFont

func (p *TPaintBox) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TPaintBox) SetParentShowHint

func (p *TPaintBox) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TPaintBox) SetPopupMenu

func (p *TPaintBox) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TPaintBox) SetShowHint

func (p *TPaintBox) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TPaintBox) SetTag

func (p *TPaintBox) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TPaintBox) SetTextBuf added in v1.1.21

func (p *TPaintBox) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TPaintBox) SetTop

func (p *TPaintBox) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TPaintBox) SetVisible

func (p *TPaintBox) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TPaintBox) SetWidth

func (p *TPaintBox) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TPaintBox) Show

func (p *TPaintBox) Show()

CN: 显示控件。 EN: Show control.

func (*TPaintBox) ShowHint

func (p *TPaintBox) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TPaintBox) Tag

func (p *TPaintBox) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TPaintBox) ToString

func (p *TPaintBox) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TPaintBox) Top

func (p *TPaintBox) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TPaintBox) UnsafeAddr added in v1.1.21

func (p *TPaintBox) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TPaintBox) Update

func (p *TPaintBox) Update()

CN: 控件更新。 EN: Update.

func (*TPaintBox) Visible

func (p *TPaintBox) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TPaintBox) Width

func (p *TPaintBox) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewPanel

func NewPanel(owner IComponent) *TPanel

CN: 创建一个新的对象。 EN: Create a new object.

func PanelFromInst

func PanelFromInst(inst uintptr) *TPanel

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsPanel.

func PanelFromObj

func PanelFromObj(obj IObject) *TPanel

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsPanel.

func PanelFromUnsafePointer added in v1.1.21

func PanelFromUnsafePointer(ptr unsafe.Pointer) *TPanel

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPanel.

func (*TPanel) Action

func (p *TPanel) Action() *TAction

func (*TPanel) Align

func (p *TPanel) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TPanel) Alignment

func (p *TPanel) Alignment() TAlignment

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TPanel) AnchorParallel

func (p *TPanel) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPanel) AnchorSide

func (p *TPanel) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TPanel) AnchorSideBottom

func (p *TPanel) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TPanel) AnchorSideLeft

func (p *TPanel) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TPanel) AnchorSideRight

func (p *TPanel) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TPanel) AnchorSideTop

func (p *TPanel) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TPanel) AnchorToNeighbour

func (p *TPanel) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TPanel) AnchorVerticalCenterTo

func (p *TPanel) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TPanel) Anchors

func (p *TPanel) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TPanel) Assign

func (p *TPanel) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TPanel) AutoSize

func (p *TPanel) AutoSize() bool

CN: 获取自动调整大小。 EN: .

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

CN: 获取边框间距。 EN: .

func (*TPanel) BorderStyle

func (p *TPanel) BorderStyle() TBorderStyle

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

func (*TPanel) BorderWidth

func (p *TPanel) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

func (*TPanel) BoundsRect

func (p *TPanel) BoundsRect() TRect

func (*TPanel) BringToFront

func (p *TPanel) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TPanel) Brush

func (p *TPanel) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TPanel) CanFocus

func (p *TPanel) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TPanel) Caption

func (p *TPanel) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TPanel) ChildSizing

func (p *TPanel) ChildSizing() *TControlChildSizing

func (*TPanel) ClassName

func (p *TPanel) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TPanel) ClassType added in v1.1.18

func (p *TPanel) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TPanel) ClientHeight

func (p *TPanel) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TPanel) ClientOrigin added in v1.1.21

func (p *TPanel) ClientOrigin() TPoint

func (*TPanel) ClientRect

func (p *TPanel) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TPanel) ClientToParent

func (p *TPanel) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TPanel) ClientToScreen

func (p *TPanel) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TPanel) ClientWidth

func (p *TPanel) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TPanel) Color

func (p *TPanel) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TPanel) ComponentCount

func (p *TPanel) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TPanel) ComponentIndex

func (p *TPanel) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TPanel) Components

func (p *TPanel) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TPanel) Constraints added in v1.2.7

func (p *TPanel) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TPanel) ContainsControl added in v1.1.21

func (p *TPanel) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TPanel) ControlCount

func (p *TPanel) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TPanel) ControlState added in v1.1.21

func (p *TPanel) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TPanel) ControlStyle added in v1.1.21

func (p *TPanel) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TPanel) Controls

func (p *TPanel) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TPanel) Cursor

func (p *TPanel) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TPanel) DisableAlign added in v1.1.21

func (p *TPanel) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TPanel) DockClientCount added in v1.1.21

func (p *TPanel) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TPanel) DockClients added in v1.1.21

func (p *TPanel) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TPanel) DockSite

func (p *TPanel) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TPanel) DoubleBuffered

func (p *TPanel) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TPanel) DragCursor

func (p *TPanel) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TPanel) DragKind

func (p *TPanel) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TPanel) DragMode

func (p *TPanel) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TPanel) Dragging

func (p *TPanel) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TPanel) EnableAlign added in v1.1.21

func (p *TPanel) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TPanel) Enabled

func (p *TPanel) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TPanel) Equals

func (p *TPanel) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TPanel) FindChildControl added in v1.1.21

func (p *TPanel) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TPanel) FindComponent

func (p *TPanel) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TPanel) Font

func (p *TPanel) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TPanel) Free

func (p *TPanel) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TPanel) FullRepaint

func (p *TPanel) FullRepaint() bool

func (*TPanel) GetHashCode

func (p *TPanel) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TPanel) GetNamePath

func (p *TPanel) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TPanel) GetTextBuf

func (p *TPanel) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TPanel) GetTextLen

func (p *TPanel) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TPanel) Handle

func (p *TPanel) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TPanel) HandleAllocated

func (p *TPanel) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TPanel) HasParent

func (p *TPanel) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TPanel) Height

func (p *TPanel) Height() int32

CN: 获取高度。 EN: Get height.

func (*TPanel) Hide

func (p *TPanel) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TPanel) Hint

func (p *TPanel) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TPanel) InheritsFrom added in v1.1.18

func (p *TPanel) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TPanel) InsertControl added in v1.1.21

func (p *TPanel) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TPanel) Instance

func (p *TPanel) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TPanel) InstanceSize added in v1.1.18

func (p *TPanel) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TPanel) Invalidate

func (p *TPanel) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TPanel) Is added in v1.2.10

func (p *TPanel) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TPanel) IsValid

func (p *TPanel) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TPanel) Left

func (p *TPanel) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TPanel) MouseInClient added in v1.1.21

func (p *TPanel) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TPanel) Name

func (p *TPanel) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TPanel) Owner

func (p *TPanel) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TPanel) Parent

func (p *TPanel) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TPanel) ParentBackground

func (p *TPanel) ParentBackground() bool

func (*TPanel) ParentColor

func (p *TPanel) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TPanel) ParentDoubleBuffered

func (p *TPanel) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TPanel) ParentFont

func (p *TPanel) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TPanel) ParentShowHint

func (p *TPanel) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TPanel) ParentToClient

func (p *TPanel) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TPanel) ParentWindow

func (p *TPanel) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TPanel) Perform

func (p *TPanel) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TPanel) PopupMenu

func (p *TPanel) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TPanel) Realign

func (p *TPanel) Realign()

CN: 重新对齐。 EN: Realign.

func (*TPanel) Refresh

func (p *TPanel) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TPanel) RemoveControl added in v1.1.21

func (p *TPanel) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TPanel) Repaint

func (p *TPanel) Repaint()

CN: 重绘。 EN: Repaint.

func (*TPanel) ScaleBy

func (p *TPanel) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TPanel) ScreenToClient

func (p *TPanel) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TPanel) ScrollBy added in v1.1.21

func (p *TPanel) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TPanel) SendToBack

func (p *TPanel) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TPanel) SetAlignment

func (p *TPanel) SetAlignment(value TAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TPanel) SetAnchorSideBottom

func (p *TPanel) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TPanel) SetAnchorSideLeft

func (p *TPanel) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TPanel) SetAnchorSideRight

func (p *TPanel) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TPanel) SetAnchorSideTop

func (p *TPanel) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TPanel) SetAnchors

func (p *TPanel) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TPanel) SetAutoSize

func (p *TPanel) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

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)

CN: 设置边框间距。 EN: .

func (*TPanel) SetBorderStyle

func (p *TPanel) SetBorderStyle(value TBorderStyle)

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

func (*TPanel) SetBorderWidth

func (p *TPanel) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TPanel) SetBounds

func (p *TPanel) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TPanel) SetBoundsRect

func (p *TPanel) SetBoundsRect(value TRect)

func (*TPanel) SetCaption

func (p *TPanel) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TPanel) SetChildSizing

func (p *TPanel) SetChildSizing(value *TControlChildSizing)

func (*TPanel) SetClientHeight

func (p *TPanel) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TPanel) SetClientWidth

func (p *TPanel) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TPanel) SetColor

func (p *TPanel) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TPanel) SetComponentIndex

func (p *TPanel) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TPanel) SetConstraints added in v1.2.7

func (p *TPanel) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TPanel) SetControlState added in v1.1.21

func (p *TPanel) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TPanel) SetControlStyle added in v1.1.21

func (p *TPanel) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TPanel) SetCursor

func (p *TPanel) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TPanel) SetDockSite

func (p *TPanel) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TPanel) SetDoubleBuffered

func (p *TPanel) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TPanel) SetDragCursor

func (p *TPanel) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TPanel) SetDragKind

func (p *TPanel) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TPanel) SetDragMode

func (p *TPanel) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TPanel) SetEnabled

func (p *TPanel) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TPanel) SetFocus

func (p *TPanel) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TPanel) SetFont

func (p *TPanel) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TPanel) SetFullRepaint

func (p *TPanel) SetFullRepaint(value bool)

func (*TPanel) SetHeight

func (p *TPanel) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TPanel) SetHint

func (p *TPanel) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TPanel) SetLeft

func (p *TPanel) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TPanel) SetName

func (p *TPanel) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TPanel) SetOnAlignPosition added in v1.2.10

func (p *TPanel) SetOnAlignPosition(fn TAlignPositionEvent)

func (*TPanel) SetOnClick

func (p *TPanel) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TPanel) SetOnContextPopup

func (p *TPanel) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TPanel) SetOnDblClick

func (p *TPanel) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TPanel) SetOnDockDrop

func (p *TPanel) SetOnDockDrop(fn TDockDropEvent)

func (*TPanel) SetOnDragDrop

func (p *TPanel) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TPanel) SetOnDragOver

func (p *TPanel) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TPanel) SetOnEndDock

func (p *TPanel) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TPanel) SetOnEndDrag

func (p *TPanel) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TPanel) SetOnEnter

func (p *TPanel) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TPanel) SetOnExit

func (p *TPanel) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TPanel) SetOnGetSiteInfo

func (p *TPanel) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TPanel) SetOnMouseDown

func (p *TPanel) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TPanel) SetOnMouseEnter

func (p *TPanel) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TPanel) SetOnMouseLeave

func (p *TPanel) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TPanel) SetOnMouseMove

func (p *TPanel) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TPanel) SetOnMouseUp

func (p *TPanel) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TPanel) SetOnResize

func (p *TPanel) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

func (*TPanel) SetOnStartDock

func (p *TPanel) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

func (*TPanel) SetOnUnDock

func (p *TPanel) SetOnUnDock(fn TUnDockEvent)

func (*TPanel) SetParent

func (p *TPanel) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TPanel) SetParentBackground

func (p *TPanel) SetParentBackground(value bool)

func (*TPanel) SetParentColor

func (p *TPanel) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TPanel) SetParentDoubleBuffered

func (p *TPanel) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TPanel) SetParentFont

func (p *TPanel) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TPanel) SetParentShowHint

func (p *TPanel) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TPanel) SetParentWindow

func (p *TPanel) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TPanel) SetPopupMenu

func (p *TPanel) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TPanel) SetShowHint

func (p *TPanel) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TPanel) SetTabOrder

func (p *TPanel) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TPanel) SetTabStop

func (p *TPanel) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TPanel) SetTag

func (p *TPanel) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TPanel) SetTextBuf added in v1.1.21

func (p *TPanel) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TPanel) SetTop

func (p *TPanel) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TPanel) SetUseDockManager

func (p *TPanel) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TPanel) SetVisible

func (p *TPanel) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TPanel) SetWidth

func (p *TPanel) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TPanel) Show

func (p *TPanel) Show()

CN: 显示控件。 EN: Show control.

func (*TPanel) ShowHint

func (p *TPanel) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TPanel) TabOrder

func (p *TPanel) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TPanel) TabStop

func (p *TPanel) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TPanel) Tag

func (p *TPanel) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TPanel) ToString

func (p *TPanel) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TPanel) Top

func (p *TPanel) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TPanel) UnsafeAddr added in v1.1.21

func (p *TPanel) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TPanel) Update

func (p *TPanel) Update()

CN: 控件更新。 EN: Update.

func (*TPanel) UseDockManager

func (p *TPanel) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TPanel) Visible

func (p *TPanel) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TPanel) VisibleDockClientCount added in v1.1.21

func (p *TPanel) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TPanel) Width

func (p *TPanel) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func ParaAttributesFromInst

func ParaAttributesFromInst(inst uintptr) *TParaAttributes

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsParaAttributes.

func ParaAttributesFromObj

func ParaAttributesFromObj(obj IObject) *TParaAttributes

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsParaAttributes.

func ParaAttributesFromUnsafePointer added in v1.1.21

func ParaAttributesFromUnsafePointer(ptr unsafe.Pointer) *TParaAttributes

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsParaAttributes.

func (*TParaAttributes) Alignment

func (p *TParaAttributes) Alignment() TAlignment

CN: 获取文字对齐。 EN: Get Text alignment.

func (*TParaAttributes) Assign

func (p *TParaAttributes) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TParaAttributes) ClassName

func (p *TParaAttributes) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TParaAttributes) ClassType added in v1.1.18

func (p *TParaAttributes) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TParaAttributes) Equals

func (p *TParaAttributes) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TParaAttributes) FirstIndent

func (p *TParaAttributes) FirstIndent() int32

func (*TParaAttributes) GetHashCode

func (p *TParaAttributes) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TParaAttributes) GetNamePath

func (p *TParaAttributes) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TParaAttributes) InheritsFrom added in v1.1.18

func (p *TParaAttributes) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TParaAttributes) Instance

func (p *TParaAttributes) Instance() uintptr

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TParaAttributes) InstanceSize added in v1.1.18

func (p *TParaAttributes) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TParaAttributes) Is added in v1.2.10

func (p *TParaAttributes) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TParaAttributes) IsValid

func (p *TParaAttributes) IsValid() bool

CN: 检测地址是否为空。 EN: 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)

CN: 设置文字对齐。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TParaAttributes) UnsafeAddr added in v1.1.21

func (p *TParaAttributes) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewPen

func NewPen() *TPen

CN: 创建一个新的对象。 EN: Create a new object.

func PenFromInst

func PenFromInst(inst uintptr) *TPen

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsPen.

func PenFromObj

func PenFromObj(obj IObject) *TPen

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsPen.

func PenFromUnsafePointer added in v1.1.21

func PenFromUnsafePointer(ptr unsafe.Pointer) *TPen

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPen.

func (*TPen) Assign

func (p *TPen) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TPen) ClassName

func (p *TPen) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TPen) ClassType added in v1.1.18

func (p *TPen) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TPen) Color

func (p *TPen) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TPen) Equals

func (p *TPen) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TPen) Free

func (p *TPen) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TPen) GetHashCode

func (p *TPen) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TPen) GetNamePath

func (p *TPen) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TPen) Handle

func (p *TPen) Handle() HPEN

CN: 获取控件句柄。 EN: Get Control handle.

func (*TPen) InheritsFrom added in v1.1.18

func (p *TPen) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TPen) Instance

func (p *TPen) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TPen) InstanceSize added in v1.1.18

func (p *TPen) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TPen) Is added in v1.2.10

func (p *TPen) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TPen) IsValid

func (p *TPen) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TPen) Mode

func (p *TPen) Mode() TPenMode

func (*TPen) SetColor

func (p *TPen) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TPen) SetHandle

func (p *TPen) SetHandle(value HPEN)

CN: 设置控件句柄。 EN: Set Control handle.

func (*TPen) SetMode

func (p *TPen) SetMode(value TPenMode)

func (*TPen) SetOnChange

func (p *TPen) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TPen) SetStyle

func (p *TPen) SetStyle(value TPenStyle)

func (*TPen) SetWidth

func (p *TPen) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TPen) Style

func (p *TPen) Style() TPenStyle

func (*TPen) ToString

func (p *TPen) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TPen) UnsafeAddr added in v1.1.21

func (p *TPen) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TPen) Width

func (p *TPen) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewPicture

func NewPicture() *TPicture

CN: 创建一个新的对象。 EN: Create a new object.

func PictureFromInst

func PictureFromInst(inst uintptr) *TPicture

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsPicture.

func PictureFromObj

func PictureFromObj(obj IObject) *TPicture

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsPicture.

func PictureFromUnsafePointer added in v1.1.21

func PictureFromUnsafePointer(ptr unsafe.Pointer) *TPicture

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPicture.

func (*TPicture) Assign

func (p *TPicture) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TPicture) ClassType added in v1.1.18

func (p *TPicture) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TPicture) Equals

func (p *TPicture) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TPicture) Free

func (p *TPicture) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TPicture) GetHashCode

func (p *TPicture) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TPicture) GetNamePath

func (p *TPicture) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TPicture) Graphic

func (p *TPicture) Graphic() *TGraphic

func (*TPicture) Height

func (p *TPicture) Height() int32

CN: 获取高度。 EN: Get height.

func (*TPicture) Icon

func (p *TPicture) Icon() *TIcon

CN: 获取图标。 EN: Get icon.

func (*TPicture) InheritsFrom added in v1.1.18

func (p *TPicture) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TPicture) Instance

func (p *TPicture) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TPicture) InstanceSize added in v1.1.18

func (p *TPicture) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TPicture) Is added in v1.2.10

func (p *TPicture) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TPicture) IsValid

func (p *TPicture) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TPicture) LoadFromFile

func (p *TPicture) LoadFromFile(Filename string)

CN: 从文件加载。 EN: .

func (*TPicture) LoadFromStream

func (p *TPicture) LoadFromStream(Stream IObject)

CN: 文件流加载。 EN: .

func (*TPicture) SaveToFile

func (p *TPicture) SaveToFile(Filename string)

CN: 保存至文件。 EN: .

func (*TPicture) SaveToStream

func (p *TPicture) SaveToStream(Stream IObject)

CN: 保存至流。 EN: .

func (*TPicture) SetBitmap

func (p *TPicture) SetBitmap(value *TBitmap)

func (*TPicture) SetGraphic

func (p *TPicture) SetGraphic(value *TGraphic)

func (*TPicture) SetIcon

func (p *TPicture) SetIcon(value *TIcon)

CN: 设置图标。 EN: Set icon.

func (*TPicture) SetOnChange

func (p *TPicture) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TPicture) ToString

func (p *TPicture) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TPicture) UnsafeAddr added in v1.1.21

func (p *TPicture) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TPicture) Width

func (p *TPicture) Width() int32

CN: 获取宽度。 EN: Get width.

type TPngImage

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

func AsPngImage added in v1.2.10

func AsPngImage(obj interface{}) *TPngImage

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewPngImage

func NewPngImage() *TPngImage

CN: 创建一个新的对象。 EN: Create a new object.

func PngImageFromInst

func PngImageFromInst(inst uintptr) *TPngImage

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsPngImage.

func PngImageFromObj

func PngImageFromObj(obj IObject) *TPngImage

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsPngImage.

func PngImageFromUnsafePointer added in v1.1.21

func PngImageFromUnsafePointer(ptr unsafe.Pointer) *TPngImage

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPngImage.

func (*TPngImage) Assign

func (p *TPngImage) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TPngImage) Canvas

func (p *TPngImage) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TPngImage) ClassName

func (p *TPngImage) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TPngImage) ClassType added in v1.1.18

func (p *TPngImage) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TPngImage) Empty

func (p *TPngImage) Empty() bool

func (*TPngImage) Equals

func (p *TPngImage) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TPngImage) Free

func (p *TPngImage) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TPngImage) GetHashCode

func (p *TPngImage) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TPngImage) GetNamePath

func (p *TPngImage) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TPngImage) Height

func (p *TPngImage) Height() int32

CN: 获取高度。 EN: Get height.

func (*TPngImage) InheritsFrom added in v1.1.18

func (p *TPngImage) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TPngImage) Instance

func (p *TPngImage) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TPngImage) InstanceSize added in v1.1.18

func (p *TPngImage) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TPngImage) Is added in v1.2.10

func (p *TPngImage) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TPngImage) IsValid

func (p *TPngImage) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TPngImage) LoadFromFile

func (p *TPngImage) LoadFromFile(Filename string)

CN: 从文件加载。 EN: .

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

CN: 文件流加载。 EN: .

func (*TPngImage) Modified

func (p *TPngImage) Modified() bool

CN: 获取修改。 EN: 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)

CN: 保存至文件。 EN: .

func (*TPngImage) SaveToStream

func (p *TPngImage) SaveToStream(Stream IObject)

CN: 保存至流。 EN: .

func (*TPngImage) SetModified

func (p *TPngImage) SetModified(value bool)

CN: 设置修改。 EN: Set modified.

func (*TPngImage) SetOnChange

func (p *TPngImage) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: 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)

CN: 设置透明。 EN: Set transparent.

func (*TPngImage) ToString

func (p *TPngImage) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TPngImage) Transparent

func (p *TPngImage) Transparent() bool

CN: 获取透明。 EN: Get transparent.

func (*TPngImage) UnsafeAddr added in v1.1.21

func (p *TPngImage) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TPngImage) Width

func (p *TPngImage) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewPopupMenu

func NewPopupMenu(owner IComponent) *TPopupMenu

CN: 创建一个新的对象。 EN: Create a new object.

func PopupMenuFromInst

func PopupMenuFromInst(inst uintptr) *TPopupMenu

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsPopupMenu.

func PopupMenuFromObj

func PopupMenuFromObj(obj IObject) *TPopupMenu

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsPopupMenu.

func PopupMenuFromUnsafePointer added in v1.1.21

func PopupMenuFromUnsafePointer(ptr unsafe.Pointer) *TPopupMenu

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPopupMenu.

func (*TPopupMenu) Alignment

func (p *TPopupMenu) Alignment() TPopupAlignment

CN: 获取文字对齐。 EN: Get Text alignment.

func (*TPopupMenu) Assign

func (p *TPopupMenu) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TPopupMenu) ClassType added in v1.1.18

func (p *TPopupMenu) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TPopupMenu) CloseMenu

func (p *TPopupMenu) CloseMenu()

func (*TPopupMenu) ComponentCount

func (p *TPopupMenu) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TPopupMenu) ComponentIndex

func (p *TPopupMenu) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TPopupMenu) Components

func (p *TPopupMenu) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TPopupMenu) Equals

func (p *TPopupMenu) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TPopupMenu) FindComponent

func (p *TPopupMenu) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TPopupMenu) Free

func (p *TPopupMenu) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TPopupMenu) GetHashCode

func (p *TPopupMenu) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TPopupMenu) GetNamePath

func (p *TPopupMenu) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TPopupMenu) Handle

func (p *TPopupMenu) Handle() HMENU

CN: 获取控件句柄。 EN: Get Control handle.

func (*TPopupMenu) HasParent

func (p *TPopupMenu) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TPopupMenu) Images

func (p *TPopupMenu) Images() *TImageList

CN: 获取图标索引列表对象。 EN: .

func (*TPopupMenu) ImagesWidth

func (p *TPopupMenu) ImagesWidth() int32

func (*TPopupMenu) InheritsFrom added in v1.1.18

func (p *TPopupMenu) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TPopupMenu) Instance

func (p *TPopupMenu) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TPopupMenu) InstanceSize added in v1.1.18

func (p *TPopupMenu) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TPopupMenu) Is added in v1.2.10

func (p *TPopupMenu) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TPopupMenu) IsValid

func (p *TPopupMenu) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TPopupMenu) Items

func (p *TPopupMenu) Items() *TMenuItem

func (*TPopupMenu) Name

func (p *TPopupMenu) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TPopupMenu) Owner

func (p *TPopupMenu) Owner() *TComponent

CN: 获取组件所有者。 EN: 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) PopupComponent

func (p *TPopupMenu) PopupComponent() *TComponent

func (*TPopupMenu) PopupPoint

func (p *TPopupMenu) PopupPoint() TPoint

func (*TPopupMenu) SetAlignment

func (p *TPopupMenu) SetAlignment(value TPopupAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TPopupMenu) SetBiDiMode

func (p *TPopupMenu) SetBiDiMode(value TBiDiMode)

func (*TPopupMenu) SetComponentIndex

func (p *TPopupMenu) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TPopupMenu) SetImages

func (p *TPopupMenu) SetImages(value IComponent)

CN: 设置图标索引列表对象。 EN: .

func (*TPopupMenu) SetImagesWidth

func (p *TPopupMenu) SetImagesWidth(value int32)

func (*TPopupMenu) SetName

func (p *TPopupMenu) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

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)

CN: 设置对象标记。 EN: Set the control tag.

func (*TPopupMenu) Tag

func (p *TPopupMenu) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TPopupMenu) ToString

func (p *TPopupMenu) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TPopupMenu) UnsafeAddr added in v1.1.21

func (p *TPopupMenu) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewPrintDialog

func NewPrintDialog(owner IComponent) *TPrintDialog

CN: 创建一个新的对象。 EN: Create a new object.

func PrintDialogFromInst

func PrintDialogFromInst(inst uintptr) *TPrintDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsPrintDialog.

func PrintDialogFromObj

func PrintDialogFromObj(obj IObject) *TPrintDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsPrintDialog.

func PrintDialogFromUnsafePointer added in v1.1.21

func PrintDialogFromUnsafePointer(ptr unsafe.Pointer) *TPrintDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPrintDialog.

func (*TPrintDialog) Assign

func (p *TPrintDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TPrintDialog) ClassName

func (p *TPrintDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TPrintDialog) ClassType added in v1.1.18

func (p *TPrintDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TPrintDialog) Collate

func (p *TPrintDialog) Collate() bool

func (*TPrintDialog) ComponentCount

func (p *TPrintDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TPrintDialog) ComponentIndex

func (p *TPrintDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TPrintDialog) Components

func (p *TPrintDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TPrintDialog) Copies

func (p *TPrintDialog) Copies() int32

func (*TPrintDialog) Equals

func (p *TPrintDialog) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TPrintDialog) Execute

func (p *TPrintDialog) Execute() bool

CN: 执行。 EN: .

func (*TPrintDialog) FindComponent

func (p *TPrintDialog) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TPrintDialog) Free

func (p *TPrintDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TPrintDialog) FromPage

func (p *TPrintDialog) FromPage() int32

func (*TPrintDialog) GetHashCode

func (p *TPrintDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TPrintDialog) GetNamePath

func (p *TPrintDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TPrintDialog) Handle

func (p *TPrintDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TPrintDialog) HasParent

func (p *TPrintDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TPrintDialog) InheritsFrom added in v1.1.18

func (p *TPrintDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TPrintDialog) Instance

func (p *TPrintDialog) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TPrintDialog) InstanceSize added in v1.1.18

func (p *TPrintDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TPrintDialog) Is added in v1.2.10

func (p *TPrintDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TPrintDialog) IsValid

func (p *TPrintDialog) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TPrintDialog) Options

func (p *TPrintDialog) Options() TPrintDialogOptions

func (*TPrintDialog) Owner

func (p *TPrintDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: 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)

CN: 设置组件索引。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TPrintDialog) SetOnClose

func (p *TPrintDialog) SetOnClose(fn TNotifyEvent)

func (*TPrintDialog) SetOnShow

func (p *TPrintDialog) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

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)

CN: 设置对象标记。 EN: Set the control tag.

func (*TPrintDialog) SetToPage

func (p *TPrintDialog) SetToPage(value int32)

func (*TPrintDialog) Tag

func (p *TPrintDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TPrintDialog) ToPage

func (p *TPrintDialog) ToPage() int32

func (*TPrintDialog) ToString

func (p *TPrintDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TPrintDialog) UnsafeAddr added in v1.1.21

func (p *TPrintDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewPrinter added in v1.1.23

func NewPrinter() *TPrinter

CN: 创建一个新的对象。 EN: Create a new object.

func PrinterFromInst added in v1.1.23

func PrinterFromInst(inst uintptr) *TPrinter

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsPrinter.

func PrinterFromObj added in v1.1.23

func PrinterFromObj(obj IObject) *TPrinter

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsPrinter.

func PrinterFromUnsafePointer added in v1.1.23

func PrinterFromUnsafePointer(ptr unsafe.Pointer) *TPrinter

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPrinter.

func (*TPrinter) Abort 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

CN: 获取画布。 EN: .

func (*TPrinter) ClassName added in v1.1.23

func (p *TPrinter) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TPrinter) ClassType added in v1.1.23

func (p *TPrinter) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: 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()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TPrinter) GetHashCode added in v1.1.23

func (p *TPrinter) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TPrinter) InheritsFrom added in v1.1.23

func (p *TPrinter) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TPrinter) Instance added in v1.1.23

func (p *TPrinter) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TPrinter) InstanceSize added in v1.1.23

func (p *TPrinter) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TPrinter) Is added in v1.2.10

func (p *TPrinter) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TPrinter) IsValid added in v1.1.23

func (p *TPrinter) IsValid() bool

CN: 检测地址是否为空。 EN: 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()

CN: 刷新控件。 EN: 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) 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

CN: 文本类信息。 EN: Text information.

func (*TPrinter) UnsafeAddr added in v1.1.23

func (p *TPrinter) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewPrinterSetupDialog

func NewPrinterSetupDialog(owner IComponent) *TPrinterSetupDialog

CN: 创建一个新的对象。 EN: Create a new object.

func PrinterSetupDialogFromInst

func PrinterSetupDialogFromInst(inst uintptr) *TPrinterSetupDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsPrinterSetupDialog.

func PrinterSetupDialogFromObj

func PrinterSetupDialogFromObj(obj IObject) *TPrinterSetupDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsPrinterSetupDialog.

func PrinterSetupDialogFromUnsafePointer added in v1.1.21

func PrinterSetupDialogFromUnsafePointer(ptr unsafe.Pointer) *TPrinterSetupDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsPrinterSetupDialog.

func (*TPrinterSetupDialog) Assign

func (p *TPrinterSetupDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TPrinterSetupDialog) ClassName

func (p *TPrinterSetupDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TPrinterSetupDialog) ClassType added in v1.1.18

func (p *TPrinterSetupDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TPrinterSetupDialog) ComponentCount

func (p *TPrinterSetupDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TPrinterSetupDialog) ComponentIndex

func (p *TPrinterSetupDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TPrinterSetupDialog) Components

func (p *TPrinterSetupDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TPrinterSetupDialog) Equals

func (p *TPrinterSetupDialog) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TPrinterSetupDialog) Execute

func (p *TPrinterSetupDialog) Execute() bool

CN: 执行。 EN: .

func (*TPrinterSetupDialog) FindComponent

func (p *TPrinterSetupDialog) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TPrinterSetupDialog) Free

func (p *TPrinterSetupDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TPrinterSetupDialog) GetHashCode

func (p *TPrinterSetupDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TPrinterSetupDialog) GetNamePath

func (p *TPrinterSetupDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TPrinterSetupDialog) Handle

func (p *TPrinterSetupDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TPrinterSetupDialog) HasParent

func (p *TPrinterSetupDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TPrinterSetupDialog) InheritsFrom added in v1.1.18

func (p *TPrinterSetupDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TPrinterSetupDialog) Instance

func (p *TPrinterSetupDialog) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TPrinterSetupDialog) InstanceSize added in v1.1.18

func (p *TPrinterSetupDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TPrinterSetupDialog) Is added in v1.2.10

func (p *TPrinterSetupDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TPrinterSetupDialog) IsValid

func (p *TPrinterSetupDialog) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TPrinterSetupDialog) Name

func (p *TPrinterSetupDialog) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TPrinterSetupDialog) Owner

func (p *TPrinterSetupDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TPrinterSetupDialog) SetComponentIndex

func (p *TPrinterSetupDialog) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TPrinterSetupDialog) SetName

func (p *TPrinterSetupDialog) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TPrinterSetupDialog) SetOnClose

func (p *TPrinterSetupDialog) SetOnClose(fn TNotifyEvent)

func (*TPrinterSetupDialog) SetOnShow

func (p *TPrinterSetupDialog) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

func (*TPrinterSetupDialog) SetTag

func (p *TPrinterSetupDialog) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TPrinterSetupDialog) Tag

func (p *TPrinterSetupDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TPrinterSetupDialog) ToString

func (p *TPrinterSetupDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TPrinterSetupDialog) UnsafeAddr added in v1.1.21

func (p *TPrinterSetupDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewProgressBar

func NewProgressBar(owner IComponent) *TProgressBar

CN: 创建一个新的对象。 EN: Create a new object.

func ProgressBarFromInst

func ProgressBarFromInst(inst uintptr) *TProgressBar

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsProgressBar.

func ProgressBarFromObj

func ProgressBarFromObj(obj IObject) *TProgressBar

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsProgressBar.

func ProgressBarFromUnsafePointer added in v1.1.21

func ProgressBarFromUnsafePointer(ptr unsafe.Pointer) *TProgressBar

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsProgressBar.

func (*TProgressBar) Action

func (p *TProgressBar) Action() *TAction

func (*TProgressBar) Align

func (p *TProgressBar) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TProgressBar) AnchorParallel

func (p *TProgressBar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TProgressBar) AnchorSide

func (p *TProgressBar) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TProgressBar) AnchorSideBottom

func (p *TProgressBar) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TProgressBar) AnchorSideLeft

func (p *TProgressBar) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TProgressBar) AnchorSideRight

func (p *TProgressBar) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TProgressBar) AnchorSideTop

func (p *TProgressBar) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TProgressBar) AnchorToNeighbour

func (p *TProgressBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TProgressBar) AnchorVerticalCenterTo

func (p *TProgressBar) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TProgressBar) Anchors

func (p *TProgressBar) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TProgressBar) Assign

func (p *TProgressBar) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TProgressBar) BiDiMode

func (p *TProgressBar) BiDiMode() TBiDiMode

func (*TProgressBar) BorderSpacing

func (p *TProgressBar) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TProgressBar) BorderWidth

func (p *TProgressBar) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

func (*TProgressBar) BoundsRect

func (p *TProgressBar) BoundsRect() TRect

func (*TProgressBar) BringToFront

func (p *TProgressBar) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TProgressBar) Brush

func (p *TProgressBar) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TProgressBar) CanFocus

func (p *TProgressBar) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TProgressBar) ChildSizing

func (p *TProgressBar) ChildSizing() *TControlChildSizing

func (*TProgressBar) ClassName

func (p *TProgressBar) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TProgressBar) ClassType added in v1.1.18

func (p *TProgressBar) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TProgressBar) ClientHeight

func (p *TProgressBar) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TProgressBar) ClientOrigin added in v1.1.21

func (p *TProgressBar) ClientOrigin() TPoint

func (*TProgressBar) ClientRect

func (p *TProgressBar) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TProgressBar) ClientToParent

func (p *TProgressBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TProgressBar) ClientToScreen

func (p *TProgressBar) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TProgressBar) ClientWidth

func (p *TProgressBar) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TProgressBar) ComponentCount

func (p *TProgressBar) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TProgressBar) ComponentIndex

func (p *TProgressBar) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TProgressBar) Components

func (p *TProgressBar) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TProgressBar) Constraints added in v1.2.7

func (p *TProgressBar) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TProgressBar) ContainsControl added in v1.1.21

func (p *TProgressBar) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TProgressBar) ControlCount

func (p *TProgressBar) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TProgressBar) ControlState added in v1.1.21

func (p *TProgressBar) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TProgressBar) ControlStyle added in v1.1.21

func (p *TProgressBar) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TProgressBar) Controls

func (p *TProgressBar) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TProgressBar) Cursor

func (p *TProgressBar) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TProgressBar) DisableAlign added in v1.1.21

func (p *TProgressBar) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TProgressBar) DockClientCount added in v1.1.21

func (p *TProgressBar) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TProgressBar) DockClients added in v1.1.21

func (p *TProgressBar) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TProgressBar) DockSite

func (p *TProgressBar) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TProgressBar) DoubleBuffered

func (p *TProgressBar) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TProgressBar) DragCursor

func (p *TProgressBar) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TProgressBar) DragKind

func (p *TProgressBar) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TProgressBar) DragMode

func (p *TProgressBar) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TProgressBar) Dragging

func (p *TProgressBar) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TProgressBar) EnableAlign added in v1.1.21

func (p *TProgressBar) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TProgressBar) Enabled

func (p *TProgressBar) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TProgressBar) Equals

func (p *TProgressBar) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TProgressBar) FindChildControl added in v1.1.21

func (p *TProgressBar) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TProgressBar) FindComponent

func (p *TProgressBar) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TProgressBar) Free

func (p *TProgressBar) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TProgressBar) GetHashCode

func (p *TProgressBar) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TProgressBar) GetNamePath

func (p *TProgressBar) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TProgressBar) GetTextBuf

func (p *TProgressBar) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TProgressBar) GetTextLen

func (p *TProgressBar) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TProgressBar) Handle

func (p *TProgressBar) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TProgressBar) HandleAllocated

func (p *TProgressBar) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TProgressBar) HasParent

func (p *TProgressBar) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TProgressBar) Height

func (p *TProgressBar) Height() int32

CN: 获取高度。 EN: Get height.

func (*TProgressBar) Hide

func (p *TProgressBar) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TProgressBar) Hint

func (p *TProgressBar) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TProgressBar) InheritsFrom added in v1.1.18

func (p *TProgressBar) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TProgressBar) InsertControl added in v1.1.21

func (p *TProgressBar) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TProgressBar) Instance

func (p *TProgressBar) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TProgressBar) InstanceSize added in v1.1.18

func (p *TProgressBar) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TProgressBar) Invalidate

func (p *TProgressBar) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TProgressBar) Is added in v1.2.10

func (p *TProgressBar) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TProgressBar) IsValid

func (p *TProgressBar) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TProgressBar) Left

func (p *TProgressBar) Left() int32

CN: 获取左边位置。 EN: 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

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TProgressBar) Name

func (p *TProgressBar) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TProgressBar) Orientation

func (p *TProgressBar) Orientation() TProgressBarOrientation

func (*TProgressBar) Owner

func (p *TProgressBar) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TProgressBar) Parent

func (p *TProgressBar) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TProgressBar) ParentDoubleBuffered

func (p *TProgressBar) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TProgressBar) ParentShowHint

func (p *TProgressBar) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TProgressBar) ParentToClient

func (p *TProgressBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TProgressBar) ParentWindow

func (p *TProgressBar) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TProgressBar) Perform

func (p *TProgressBar) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TProgressBar) PopupMenu

func (p *TProgressBar) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TProgressBar) Position

func (p *TProgressBar) Position() int32

func (*TProgressBar) Realign

func (p *TProgressBar) Realign()

CN: 重新对齐。 EN: Realign.

func (*TProgressBar) Refresh

func (p *TProgressBar) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TProgressBar) RemoveControl added in v1.1.21

func (p *TProgressBar) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TProgressBar) Repaint

func (p *TProgressBar) Repaint()

CN: 重绘。 EN: Repaint.

func (*TProgressBar) ScaleBy

func (p *TProgressBar) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TProgressBar) ScreenToClient

func (p *TProgressBar) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TProgressBar) ScrollBy added in v1.1.21

func (p *TProgressBar) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TProgressBar) SendToBack

func (p *TProgressBar) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TProgressBar) SetAnchorSideBottom

func (p *TProgressBar) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TProgressBar) SetAnchorSideLeft

func (p *TProgressBar) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TProgressBar) SetAnchorSideRight

func (p *TProgressBar) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TProgressBar) SetAnchorSideTop

func (p *TProgressBar) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TProgressBar) SetAnchors

func (p *TProgressBar) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TProgressBar) SetBiDiMode

func (p *TProgressBar) SetBiDiMode(value TBiDiMode)

func (*TProgressBar) SetBorderSpacing

func (p *TProgressBar) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TProgressBar) SetBorderWidth

func (p *TProgressBar) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TProgressBar) SetBounds

func (p *TProgressBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TProgressBar) SetClientWidth

func (p *TProgressBar) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TProgressBar) SetComponentIndex

func (p *TProgressBar) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TProgressBar) SetConstraints added in v1.2.7

func (p *TProgressBar) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TProgressBar) SetControlState added in v1.1.21

func (p *TProgressBar) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TProgressBar) SetControlStyle added in v1.1.21

func (p *TProgressBar) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TProgressBar) SetCursor

func (p *TProgressBar) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TProgressBar) SetDockSite

func (p *TProgressBar) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TProgressBar) SetDoubleBuffered

func (p *TProgressBar) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TProgressBar) SetDragCursor

func (p *TProgressBar) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TProgressBar) SetDragKind

func (p *TProgressBar) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TProgressBar) SetDragMode

func (p *TProgressBar) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TProgressBar) SetEnabled

func (p *TProgressBar) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TProgressBar) SetFocus

func (p *TProgressBar) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TProgressBar) SetHeight

func (p *TProgressBar) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TProgressBar) SetHint

func (p *TProgressBar) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TProgressBar) SetLeft

func (p *TProgressBar) SetLeft(value int32)

CN: 设置左边位置。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TProgressBar) SetOnContextPopup

func (p *TProgressBar) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TProgressBar) SetOnDragDrop

func (p *TProgressBar) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TProgressBar) SetOnDragOver

func (p *TProgressBar) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TProgressBar) SetOnEndDrag

func (p *TProgressBar) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TProgressBar) SetOnEnter

func (p *TProgressBar) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TProgressBar) SetOnExit

func (p *TProgressBar) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TProgressBar) SetOnMouseDown

func (p *TProgressBar) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TProgressBar) SetOnMouseEnter

func (p *TProgressBar) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TProgressBar) SetOnMouseLeave

func (p *TProgressBar) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TProgressBar) SetOnMouseMove

func (p *TProgressBar) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TProgressBar) SetOnMouseUp

func (p *TProgressBar) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TProgressBar) SetOrientation

func (p *TProgressBar) SetOrientation(value TProgressBarOrientation)

func (*TProgressBar) SetParent

func (p *TProgressBar) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TProgressBar) SetParentDoubleBuffered

func (p *TProgressBar) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TProgressBar) SetParentShowHint

func (p *TProgressBar) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TProgressBar) SetParentWindow

func (p *TProgressBar) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TProgressBar) SetPopupMenu

func (p *TProgressBar) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TProgressBar) SetPosition

func (p *TProgressBar) SetPosition(value int32)

func (*TProgressBar) SetShowHint

func (p *TProgressBar) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: 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)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TProgressBar) SetTabStop

func (p *TProgressBar) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TProgressBar) SetTag

func (p *TProgressBar) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TProgressBar) SetTextBuf added in v1.1.21

func (p *TProgressBar) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TProgressBar) SetTop

func (p *TProgressBar) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TProgressBar) SetUseDockManager

func (p *TProgressBar) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TProgressBar) SetVisible

func (p *TProgressBar) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TProgressBar) SetWidth

func (p *TProgressBar) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TProgressBar) Show

func (p *TProgressBar) Show()

CN: 显示控件。 EN: Show control.

func (*TProgressBar) ShowHint

func (p *TProgressBar) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

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

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TProgressBar) TabStop

func (p *TProgressBar) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TProgressBar) Tag

func (p *TProgressBar) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TProgressBar) ToString

func (p *TProgressBar) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TProgressBar) Top

func (p *TProgressBar) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TProgressBar) UnsafeAddr added in v1.1.21

func (p *TProgressBar) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TProgressBar) Update

func (p *TProgressBar) Update()

CN: 控件更新。 EN: Update.

func (*TProgressBar) UseDockManager

func (p *TProgressBar) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TProgressBar) Visible

func (p *TProgressBar) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TProgressBar) VisibleDockClientCount added in v1.1.21

func (p *TProgressBar) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TProgressBar) Width

func (p *TProgressBar) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewRadioButton

func NewRadioButton(owner IComponent) *TRadioButton

CN: 创建一个新的对象。 EN: Create a new object.

func RadioButtonFromInst

func RadioButtonFromInst(inst uintptr) *TRadioButton

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsRadioButton.

func RadioButtonFromObj

func RadioButtonFromObj(obj IObject) *TRadioButton

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsRadioButton.

func RadioButtonFromUnsafePointer added in v1.1.21

func RadioButtonFromUnsafePointer(ptr unsafe.Pointer) *TRadioButton

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsRadioButton.

func (*TRadioButton) Action

func (r *TRadioButton) Action() *TAction

func (*TRadioButton) Align

func (r *TRadioButton) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TRadioButton) Alignment

func (r *TRadioButton) Alignment() TLeftRight

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TRadioButton) AnchorParallel

func (r *TRadioButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRadioButton) AnchorSide

func (r *TRadioButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TRadioButton) AnchorSideBottom

func (r *TRadioButton) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TRadioButton) AnchorSideLeft

func (r *TRadioButton) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TRadioButton) AnchorSideRight

func (r *TRadioButton) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TRadioButton) AnchorSideTop

func (r *TRadioButton) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TRadioButton) AnchorToNeighbour

func (r *TRadioButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRadioButton) AnchorVerticalCenterTo

func (r *TRadioButton) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TRadioButton) Anchors

func (r *TRadioButton) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TRadioButton) Assign

func (r *TRadioButton) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TRadioButton) BiDiMode

func (r *TRadioButton) BiDiMode() TBiDiMode

func (*TRadioButton) BorderSpacing

func (r *TRadioButton) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TRadioButton) BoundsRect

func (r *TRadioButton) BoundsRect() TRect

func (*TRadioButton) BringToFront

func (r *TRadioButton) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TRadioButton) Brush

func (r *TRadioButton) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TRadioButton) CanFocus

func (r *TRadioButton) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TRadioButton) Caption

func (r *TRadioButton) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TRadioButton) Checked

func (r *TRadioButton) Checked() bool

CN: 获取是否选中。 EN: .

func (*TRadioButton) ChildSizing

func (r *TRadioButton) ChildSizing() *TControlChildSizing

func (*TRadioButton) ClassName

func (r *TRadioButton) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TRadioButton) ClassType added in v1.1.18

func (r *TRadioButton) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TRadioButton) ClientHeight

func (r *TRadioButton) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TRadioButton) ClientOrigin added in v1.1.21

func (r *TRadioButton) ClientOrigin() TPoint

func (*TRadioButton) ClientRect

func (r *TRadioButton) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TRadioButton) ClientToParent

func (r *TRadioButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TRadioButton) ClientToScreen

func (r *TRadioButton) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TRadioButton) ClientWidth

func (r *TRadioButton) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TRadioButton) Color

func (r *TRadioButton) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TRadioButton) ComponentCount

func (r *TRadioButton) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TRadioButton) ComponentIndex

func (r *TRadioButton) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TRadioButton) Components

func (r *TRadioButton) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TRadioButton) Constraints added in v1.2.7

func (r *TRadioButton) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TRadioButton) ContainsControl added in v1.1.21

func (r *TRadioButton) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TRadioButton) ControlCount

func (r *TRadioButton) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TRadioButton) ControlState added in v1.1.21

func (r *TRadioButton) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TRadioButton) ControlStyle added in v1.1.21

func (r *TRadioButton) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TRadioButton) Controls

func (r *TRadioButton) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TRadioButton) Cursor

func (r *TRadioButton) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TRadioButton) DisableAlign added in v1.1.21

func (r *TRadioButton) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TRadioButton) DockClientCount added in v1.1.21

func (r *TRadioButton) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TRadioButton) DockClients added in v1.1.21

func (r *TRadioButton) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TRadioButton) DockSite

func (r *TRadioButton) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TRadioButton) DoubleBuffered

func (r *TRadioButton) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TRadioButton) DragCursor

func (r *TRadioButton) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TRadioButton) DragKind

func (r *TRadioButton) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TRadioButton) DragMode

func (r *TRadioButton) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TRadioButton) Dragging

func (r *TRadioButton) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TRadioButton) EnableAlign added in v1.1.21

func (r *TRadioButton) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TRadioButton) Enabled

func (r *TRadioButton) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TRadioButton) Equals

func (r *TRadioButton) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TRadioButton) FindChildControl added in v1.1.21

func (r *TRadioButton) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TRadioButton) FindComponent

func (r *TRadioButton) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TRadioButton) Font

func (r *TRadioButton) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TRadioButton) Free

func (r *TRadioButton) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TRadioButton) GetHashCode

func (r *TRadioButton) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TRadioButton) GetNamePath

func (r *TRadioButton) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TRadioButton) GetTextBuf

func (r *TRadioButton) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TRadioButton) GetTextLen

func (r *TRadioButton) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TRadioButton) Handle

func (r *TRadioButton) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TRadioButton) HandleAllocated

func (r *TRadioButton) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TRadioButton) HasParent

func (r *TRadioButton) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TRadioButton) Height

func (r *TRadioButton) Height() int32

CN: 获取高度。 EN: Get height.

func (*TRadioButton) Hide

func (r *TRadioButton) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TRadioButton) Hint

func (r *TRadioButton) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TRadioButton) InheritsFrom added in v1.1.18

func (r *TRadioButton) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TRadioButton) InsertControl added in v1.1.21

func (r *TRadioButton) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TRadioButton) Instance

func (r *TRadioButton) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TRadioButton) InstanceSize added in v1.1.18

func (r *TRadioButton) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TRadioButton) Invalidate

func (r *TRadioButton) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TRadioButton) Is added in v1.2.10

func (r *TRadioButton) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TRadioButton) IsValid

func (r *TRadioButton) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TRadioButton) Left

func (r *TRadioButton) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TRadioButton) MouseInClient added in v1.1.21

func (r *TRadioButton) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TRadioButton) Name

func (r *TRadioButton) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TRadioButton) Owner

func (r *TRadioButton) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TRadioButton) Parent

func (r *TRadioButton) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TRadioButton) ParentColor

func (r *TRadioButton) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TRadioButton) ParentDoubleBuffered

func (r *TRadioButton) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TRadioButton) ParentFont

func (r *TRadioButton) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TRadioButton) ParentShowHint

func (r *TRadioButton) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TRadioButton) ParentToClient

func (r *TRadioButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TRadioButton) ParentWindow

func (r *TRadioButton) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TRadioButton) Perform

func (r *TRadioButton) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TRadioButton) PopupMenu

func (r *TRadioButton) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TRadioButton) Realign

func (r *TRadioButton) Realign()

CN: 重新对齐。 EN: Realign.

func (*TRadioButton) Refresh

func (r *TRadioButton) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TRadioButton) RemoveControl added in v1.1.21

func (r *TRadioButton) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TRadioButton) Repaint

func (r *TRadioButton) Repaint()

CN: 重绘。 EN: Repaint.

func (*TRadioButton) ScaleBy

func (r *TRadioButton) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TRadioButton) ScreenToClient

func (r *TRadioButton) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TRadioButton) ScrollBy added in v1.1.21

func (r *TRadioButton) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TRadioButton) SendToBack

func (r *TRadioButton) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TRadioButton) SetAlignment

func (r *TRadioButton) SetAlignment(value TLeftRight)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TRadioButton) SetAnchorSideBottom

func (r *TRadioButton) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TRadioButton) SetAnchorSideLeft

func (r *TRadioButton) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TRadioButton) SetAnchorSideRight

func (r *TRadioButton) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TRadioButton) SetAnchorSideTop

func (r *TRadioButton) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TRadioButton) SetAnchors

func (r *TRadioButton) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TRadioButton) SetBiDiMode

func (r *TRadioButton) SetBiDiMode(value TBiDiMode)

func (*TRadioButton) SetBorderSpacing

func (r *TRadioButton) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TRadioButton) SetBounds

func (r *TRadioButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TRadioButton) SetBoundsRect

func (r *TRadioButton) SetBoundsRect(value TRect)

func (*TRadioButton) SetCaption

func (r *TRadioButton) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TRadioButton) SetChecked

func (r *TRadioButton) SetChecked(value bool)

CN: 设置是否选中。 EN: .

func (*TRadioButton) SetChildSizing

func (r *TRadioButton) SetChildSizing(value *TControlChildSizing)

func (*TRadioButton) SetClientHeight

func (r *TRadioButton) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TRadioButton) SetClientWidth

func (r *TRadioButton) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TRadioButton) SetColor

func (r *TRadioButton) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TRadioButton) SetComponentIndex

func (r *TRadioButton) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TRadioButton) SetConstraints added in v1.2.7

func (r *TRadioButton) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TRadioButton) SetControlState added in v1.1.21

func (r *TRadioButton) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TRadioButton) SetControlStyle added in v1.1.21

func (r *TRadioButton) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TRadioButton) SetCursor

func (r *TRadioButton) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TRadioButton) SetDockSite

func (r *TRadioButton) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TRadioButton) SetDoubleBuffered

func (r *TRadioButton) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TRadioButton) SetDragCursor

func (r *TRadioButton) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TRadioButton) SetDragKind

func (r *TRadioButton) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TRadioButton) SetDragMode

func (r *TRadioButton) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TRadioButton) SetEnabled

func (r *TRadioButton) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TRadioButton) SetFocus

func (r *TRadioButton) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TRadioButton) SetFont

func (r *TRadioButton) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TRadioButton) SetHeight

func (r *TRadioButton) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TRadioButton) SetHint

func (r *TRadioButton) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TRadioButton) SetLeft

func (r *TRadioButton) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TRadioButton) SetName

func (r *TRadioButton) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TRadioButton) SetOnClick

func (r *TRadioButton) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TRadioButton) SetOnContextPopup

func (r *TRadioButton) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TRadioButton) SetOnDragDrop

func (r *TRadioButton) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TRadioButton) SetOnDragOver

func (r *TRadioButton) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TRadioButton) SetOnEndDrag

func (r *TRadioButton) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TRadioButton) SetOnEnter

func (r *TRadioButton) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TRadioButton) SetOnExit

func (r *TRadioButton) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TRadioButton) SetOnKeyDown

func (r *TRadioButton) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TRadioButton) SetOnKeyPress

func (r *TRadioButton) SetOnKeyPress(fn TKeyPressEvent)

func (*TRadioButton) SetOnKeyUp

func (r *TRadioButton) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TRadioButton) SetOnMouseDown

func (r *TRadioButton) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TRadioButton) SetOnMouseEnter

func (r *TRadioButton) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TRadioButton) SetOnMouseLeave

func (r *TRadioButton) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TRadioButton) SetOnMouseMove

func (r *TRadioButton) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TRadioButton) SetOnMouseUp

func (r *TRadioButton) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TRadioButton) SetParent

func (r *TRadioButton) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TRadioButton) SetParentColor

func (r *TRadioButton) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TRadioButton) SetParentDoubleBuffered

func (r *TRadioButton) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TRadioButton) SetParentFont

func (r *TRadioButton) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TRadioButton) SetParentShowHint

func (r *TRadioButton) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TRadioButton) SetParentWindow

func (r *TRadioButton) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TRadioButton) SetPopupMenu

func (r *TRadioButton) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TRadioButton) SetShowHint

func (r *TRadioButton) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TRadioButton) SetTabOrder

func (r *TRadioButton) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TRadioButton) SetTabStop

func (r *TRadioButton) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TRadioButton) SetTag

func (r *TRadioButton) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TRadioButton) SetTextBuf added in v1.1.21

func (r *TRadioButton) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TRadioButton) SetTop

func (r *TRadioButton) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TRadioButton) SetUseDockManager

func (r *TRadioButton) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TRadioButton) SetVisible

func (r *TRadioButton) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TRadioButton) SetWidth

func (r *TRadioButton) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TRadioButton) Show

func (r *TRadioButton) Show()

CN: 显示控件。 EN: Show control.

func (*TRadioButton) ShowHint

func (r *TRadioButton) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TRadioButton) TabOrder

func (r *TRadioButton) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TRadioButton) TabStop

func (r *TRadioButton) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TRadioButton) Tag

func (r *TRadioButton) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TRadioButton) ToString

func (r *TRadioButton) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TRadioButton) Top

func (r *TRadioButton) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TRadioButton) UnsafeAddr added in v1.1.21

func (r *TRadioButton) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TRadioButton) Update

func (r *TRadioButton) Update()

CN: 控件更新。 EN: Update.

func (*TRadioButton) UseDockManager

func (r *TRadioButton) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TRadioButton) Visible

func (r *TRadioButton) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TRadioButton) VisibleDockClientCount added in v1.1.21

func (r *TRadioButton) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TRadioButton) Width

func (r *TRadioButton) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewRadioGroup

func NewRadioGroup(owner IComponent) *TRadioGroup

CN: 创建一个新的对象。 EN: Create a new object.

func RadioGroupFromInst

func RadioGroupFromInst(inst uintptr) *TRadioGroup

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsRadioGroup.

func RadioGroupFromObj

func RadioGroupFromObj(obj IObject) *TRadioGroup

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsRadioGroup.

func RadioGroupFromUnsafePointer added in v1.1.21

func RadioGroupFromUnsafePointer(ptr unsafe.Pointer) *TRadioGroup

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsRadioGroup.

func (*TRadioGroup) Action

func (r *TRadioGroup) Action() *TAction

func (*TRadioGroup) Align

func (r *TRadioGroup) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TRadioGroup) AnchorParallel

func (r *TRadioGroup) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRadioGroup) AnchorSide

func (r *TRadioGroup) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TRadioGroup) AnchorSideBottom

func (r *TRadioGroup) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TRadioGroup) AnchorSideLeft

func (r *TRadioGroup) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TRadioGroup) AnchorSideRight

func (r *TRadioGroup) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TRadioGroup) AnchorSideTop

func (r *TRadioGroup) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TRadioGroup) AnchorToNeighbour

func (r *TRadioGroup) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRadioGroup) AnchorVerticalCenterTo

func (r *TRadioGroup) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TRadioGroup) Anchors

func (r *TRadioGroup) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TRadioGroup) Assign

func (r *TRadioGroup) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TRadioGroup) BiDiMode

func (r *TRadioGroup) BiDiMode() TBiDiMode

func (*TRadioGroup) BorderSpacing

func (r *TRadioGroup) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TRadioGroup) BoundsRect

func (r *TRadioGroup) BoundsRect() TRect

func (*TRadioGroup) BringToFront

func (r *TRadioGroup) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TRadioGroup) Brush

func (r *TRadioGroup) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TRadioGroup) CanFocus

func (r *TRadioGroup) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TRadioGroup) Caption

func (r *TRadioGroup) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TRadioGroup) ChildSizing

func (r *TRadioGroup) ChildSizing() *TControlChildSizing

func (*TRadioGroup) ClassName

func (r *TRadioGroup) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TRadioGroup) ClassType added in v1.1.18

func (r *TRadioGroup) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TRadioGroup) ClientHeight

func (r *TRadioGroup) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TRadioGroup) ClientOrigin added in v1.1.21

func (r *TRadioGroup) ClientOrigin() TPoint

func (*TRadioGroup) ClientRect

func (r *TRadioGroup) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TRadioGroup) ClientToParent

func (r *TRadioGroup) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TRadioGroup) ClientToScreen

func (r *TRadioGroup) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TRadioGroup) ClientWidth

func (r *TRadioGroup) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TRadioGroup) Color

func (r *TRadioGroup) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TRadioGroup) Columns

func (r *TRadioGroup) Columns() int32

func (*TRadioGroup) ComponentCount

func (r *TRadioGroup) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TRadioGroup) ComponentIndex

func (r *TRadioGroup) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TRadioGroup) Components

func (r *TRadioGroup) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TRadioGroup) Constraints added in v1.2.7

func (r *TRadioGroup) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TRadioGroup) ContainsControl added in v1.1.21

func (r *TRadioGroup) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TRadioGroup) ControlCount

func (r *TRadioGroup) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TRadioGroup) ControlState added in v1.1.21

func (r *TRadioGroup) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TRadioGroup) ControlStyle added in v1.1.21

func (r *TRadioGroup) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TRadioGroup) Controls

func (r *TRadioGroup) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TRadioGroup) Cursor

func (r *TRadioGroup) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TRadioGroup) DisableAlign added in v1.1.21

func (r *TRadioGroup) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TRadioGroup) DockClientCount added in v1.1.21

func (r *TRadioGroup) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TRadioGroup) DockClients added in v1.1.21

func (r *TRadioGroup) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TRadioGroup) DockSite

func (r *TRadioGroup) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TRadioGroup) DoubleBuffered

func (r *TRadioGroup) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TRadioGroup) DragCursor

func (r *TRadioGroup) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TRadioGroup) DragMode

func (r *TRadioGroup) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TRadioGroup) Dragging

func (r *TRadioGroup) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TRadioGroup) EnableAlign added in v1.1.21

func (r *TRadioGroup) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TRadioGroup) Enabled

func (r *TRadioGroup) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TRadioGroup) Equals

func (r *TRadioGroup) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TRadioGroup) FindChildControl added in v1.1.21

func (r *TRadioGroup) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TRadioGroup) FindComponent

func (r *TRadioGroup) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TRadioGroup) Font

func (r *TRadioGroup) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TRadioGroup) Free

func (r *TRadioGroup) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TRadioGroup) GetHashCode

func (r *TRadioGroup) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TRadioGroup) GetNamePath

func (r *TRadioGroup) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TRadioGroup) GetTextBuf

func (r *TRadioGroup) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TRadioGroup) GetTextLen

func (r *TRadioGroup) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TRadioGroup) Handle

func (r *TRadioGroup) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TRadioGroup) HandleAllocated

func (r *TRadioGroup) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TRadioGroup) HasParent

func (r *TRadioGroup) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TRadioGroup) Height

func (r *TRadioGroup) Height() int32

CN: 获取高度。 EN: Get height.

func (*TRadioGroup) Hide

func (r *TRadioGroup) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TRadioGroup) Hint

func (r *TRadioGroup) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TRadioGroup) InheritsFrom added in v1.1.18

func (r *TRadioGroup) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TRadioGroup) InsertControl added in v1.1.21

func (r *TRadioGroup) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TRadioGroup) Instance

func (r *TRadioGroup) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TRadioGroup) InstanceSize added in v1.1.18

func (r *TRadioGroup) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TRadioGroup) Invalidate

func (r *TRadioGroup) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TRadioGroup) Is added in v1.2.10

func (r *TRadioGroup) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TRadioGroup) IsValid

func (r *TRadioGroup) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取左边位置。 EN: Get Left position.

func (*TRadioGroup) MouseInClient added in v1.1.21

func (r *TRadioGroup) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TRadioGroup) Name

func (r *TRadioGroup) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TRadioGroup) Owner

func (r *TRadioGroup) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TRadioGroup) Parent

func (r *TRadioGroup) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TRadioGroup) ParentColor

func (r *TRadioGroup) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TRadioGroup) ParentDoubleBuffered

func (r *TRadioGroup) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TRadioGroup) ParentFont

func (r *TRadioGroup) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TRadioGroup) ParentShowHint

func (r *TRadioGroup) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TRadioGroup) ParentToClient

func (r *TRadioGroup) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TRadioGroup) ParentWindow

func (r *TRadioGroup) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TRadioGroup) Perform

func (r *TRadioGroup) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TRadioGroup) PopupMenu

func (r *TRadioGroup) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TRadioGroup) Realign

func (r *TRadioGroup) Realign()

CN: 重新对齐。 EN: Realign.

func (*TRadioGroup) Refresh

func (r *TRadioGroup) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TRadioGroup) RemoveControl added in v1.1.21

func (r *TRadioGroup) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TRadioGroup) Repaint

func (r *TRadioGroup) Repaint()

CN: 重绘。 EN: Repaint.

func (*TRadioGroup) ScaleBy

func (r *TRadioGroup) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TRadioGroup) ScreenToClient

func (r *TRadioGroup) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TRadioGroup) ScrollBy added in v1.1.21

func (r *TRadioGroup) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TRadioGroup) SendToBack

func (r *TRadioGroup) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TRadioGroup) SetAnchorSideBottom

func (r *TRadioGroup) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TRadioGroup) SetAnchorSideLeft

func (r *TRadioGroup) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TRadioGroup) SetAnchorSideRight

func (r *TRadioGroup) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TRadioGroup) SetAnchorSideTop

func (r *TRadioGroup) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TRadioGroup) SetAnchors

func (r *TRadioGroup) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TRadioGroup) SetBiDiMode

func (r *TRadioGroup) SetBiDiMode(value TBiDiMode)

func (*TRadioGroup) SetBorderSpacing

func (r *TRadioGroup) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TRadioGroup) SetBounds

func (r *TRadioGroup) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TRadioGroup) SetBoundsRect

func (r *TRadioGroup) SetBoundsRect(value TRect)

func (*TRadioGroup) SetCaption

func (r *TRadioGroup) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TRadioGroup) SetChildSizing

func (r *TRadioGroup) SetChildSizing(value *TControlChildSizing)

func (*TRadioGroup) SetClientHeight

func (r *TRadioGroup) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TRadioGroup) SetClientWidth

func (r *TRadioGroup) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TRadioGroup) SetColor

func (r *TRadioGroup) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TRadioGroup) SetColumns

func (r *TRadioGroup) SetColumns(value int32)

func (*TRadioGroup) SetComponentIndex

func (r *TRadioGroup) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TRadioGroup) SetConstraints added in v1.2.7

func (r *TRadioGroup) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TRadioGroup) SetControlState added in v1.1.21

func (r *TRadioGroup) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TRadioGroup) SetControlStyle added in v1.1.21

func (r *TRadioGroup) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TRadioGroup) SetCursor

func (r *TRadioGroup) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TRadioGroup) SetDockSite

func (r *TRadioGroup) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TRadioGroup) SetDoubleBuffered

func (r *TRadioGroup) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TRadioGroup) SetDragCursor

func (r *TRadioGroup) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TRadioGroup) SetDragMode

func (r *TRadioGroup) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TRadioGroup) SetEnabled

func (r *TRadioGroup) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TRadioGroup) SetFocus

func (r *TRadioGroup) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TRadioGroup) SetFont

func (r *TRadioGroup) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TRadioGroup) SetHeight

func (r *TRadioGroup) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TRadioGroup) SetHint

func (r *TRadioGroup) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TRadioGroup) SetItemIndex

func (r *TRadioGroup) SetItemIndex(value int32)

func (*TRadioGroup) SetItems

func (r *TRadioGroup) SetItems(value IObject)

func (*TRadioGroup) SetLeft

func (r *TRadioGroup) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TRadioGroup) SetName

func (r *TRadioGroup) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TRadioGroup) SetOnClick

func (r *TRadioGroup) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TRadioGroup) SetOnDragDrop

func (r *TRadioGroup) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TRadioGroup) SetOnDragOver

func (r *TRadioGroup) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TRadioGroup) SetOnEndDrag

func (r *TRadioGroup) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TRadioGroup) SetOnEnter

func (r *TRadioGroup) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TRadioGroup) SetOnExit

func (r *TRadioGroup) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TRadioGroup) SetParent

func (r *TRadioGroup) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TRadioGroup) SetParentColor

func (r *TRadioGroup) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TRadioGroup) SetParentDoubleBuffered

func (r *TRadioGroup) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TRadioGroup) SetParentFont

func (r *TRadioGroup) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TRadioGroup) SetParentShowHint

func (r *TRadioGroup) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TRadioGroup) SetParentWindow

func (r *TRadioGroup) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TRadioGroup) SetPopupMenu

func (r *TRadioGroup) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TRadioGroup) SetShowHint

func (r *TRadioGroup) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TRadioGroup) SetTabOrder

func (r *TRadioGroup) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TRadioGroup) SetTabStop

func (r *TRadioGroup) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TRadioGroup) SetTag

func (r *TRadioGroup) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TRadioGroup) SetTextBuf added in v1.1.21

func (r *TRadioGroup) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TRadioGroup) SetTop

func (r *TRadioGroup) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TRadioGroup) SetUseDockManager

func (r *TRadioGroup) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TRadioGroup) SetVisible

func (r *TRadioGroup) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TRadioGroup) SetWidth

func (r *TRadioGroup) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TRadioGroup) Show

func (r *TRadioGroup) Show()

CN: 显示控件。 EN: Show control.

func (*TRadioGroup) ShowHint

func (r *TRadioGroup) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TRadioGroup) TabOrder

func (r *TRadioGroup) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TRadioGroup) TabStop

func (r *TRadioGroup) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TRadioGroup) Tag

func (r *TRadioGroup) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TRadioGroup) ToString

func (r *TRadioGroup) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TRadioGroup) Top

func (r *TRadioGroup) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TRadioGroup) UnsafeAddr added in v1.1.21

func (r *TRadioGroup) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TRadioGroup) Update

func (r *TRadioGroup) Update()

CN: 控件更新。 EN: Update.

func (*TRadioGroup) UseDockManager

func (r *TRadioGroup) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TRadioGroup) Visible

func (r *TRadioGroup) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TRadioGroup) VisibleDockClientCount added in v1.1.21

func (r *TRadioGroup) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TRadioGroup) Width

func (r *TRadioGroup) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewRegistry

func NewRegistry(aAccess uint32) *TRegistry

CN: 创建一个新的对象。 EN: Create a new object.

func NewRegistryAllAccess

func NewRegistryAllAccess() *TRegistry

NewRegistryAllAccess 所有访问权限

func RegistryFromInst

func RegistryFromInst(inst uintptr) *TRegistry

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsRegistry.

func RegistryFromObj

func RegistryFromObj(obj IObject) *TRegistry

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsRegistry.

func RegistryFromUnsafePointer added in v1.1.21

func RegistryFromUnsafePointer(ptr unsafe.Pointer) *TRegistry

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsRegistry.

func (*TRegistry) Access

func (r *TRegistry) Access() uint32

func (*TRegistry) ClassName

func (r *TRegistry) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TRegistry) ClassType added in v1.1.18

func (r *TRegistry) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TRegistry) Free

func (r *TRegistry) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TRegistry) GetHashCode

func (r *TRegistry) GetHashCode() int32

CN: 获取类的哈希值。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TRegistry) Instance

func (r *TRegistry) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TRegistry) InstanceSize added in v1.1.18

func (r *TRegistry) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TRegistry) Is added in v1.2.10

func (r *TRegistry) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TRegistry) IsValid

func (r *TRegistry) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 文本类信息。 EN: 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

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewReplaceDialog

func NewReplaceDialog(owner IComponent) *TReplaceDialog

CN: 创建一个新的对象。 EN: Create a new object.

func ReplaceDialogFromInst

func ReplaceDialogFromInst(inst uintptr) *TReplaceDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsReplaceDialog.

func ReplaceDialogFromObj

func ReplaceDialogFromObj(obj IObject) *TReplaceDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsReplaceDialog.

func ReplaceDialogFromUnsafePointer added in v1.1.21

func ReplaceDialogFromUnsafePointer(ptr unsafe.Pointer) *TReplaceDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsReplaceDialog.

func (*TReplaceDialog) Assign

func (r *TReplaceDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TReplaceDialog) ClassName

func (r *TReplaceDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TReplaceDialog) ClassType added in v1.1.18

func (r *TReplaceDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TReplaceDialog) CloseDialog

func (r *TReplaceDialog) CloseDialog()

func (*TReplaceDialog) ComponentCount

func (r *TReplaceDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TReplaceDialog) ComponentIndex

func (r *TReplaceDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TReplaceDialog) Components

func (r *TReplaceDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TReplaceDialog) Equals

func (r *TReplaceDialog) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TReplaceDialog) Execute

func (r *TReplaceDialog) Execute() bool

CN: 执行。 EN: .

func (*TReplaceDialog) FindComponent

func (r *TReplaceDialog) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TReplaceDialog) FindText

func (r *TReplaceDialog) FindText() string

func (*TReplaceDialog) Free

func (r *TReplaceDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TReplaceDialog) GetHashCode

func (r *TReplaceDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TReplaceDialog) GetNamePath

func (r *TReplaceDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TReplaceDialog) Handle

func (r *TReplaceDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TReplaceDialog) HasParent

func (r *TReplaceDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TReplaceDialog) InheritsFrom added in v1.1.18

func (r *TReplaceDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TReplaceDialog) Instance

func (r *TReplaceDialog) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TReplaceDialog) InstanceSize added in v1.1.18

func (r *TReplaceDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TReplaceDialog) Is added in v1.2.10

func (r *TReplaceDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TReplaceDialog) IsValid

func (r *TReplaceDialog) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TReplaceDialog) Left

func (r *TReplaceDialog) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TReplaceDialog) Name

func (r *TReplaceDialog) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TReplaceDialog) Options

func (r *TReplaceDialog) Options() TFindOptions

func (*TReplaceDialog) Owner

func (r *TReplaceDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: 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)

CN: 设置组件索引。 EN: Set component index.

func (*TReplaceDialog) SetFindText

func (r *TReplaceDialog) SetFindText(value string)

func (*TReplaceDialog) SetLeft

func (r *TReplaceDialog) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TReplaceDialog) SetName

func (r *TReplaceDialog) SetName(value string)

CN: 设置组件名称。 EN: 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)

CN: 设置显示事件。 EN: .

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)

CN: 设置对象标记。 EN: Set the control tag.

func (*TReplaceDialog) SetTop

func (r *TReplaceDialog) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TReplaceDialog) Tag

func (r *TReplaceDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TReplaceDialog) ToString

func (r *TReplaceDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TReplaceDialog) Top

func (r *TReplaceDialog) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TReplaceDialog) UnsafeAddr added in v1.1.21

func (r *TReplaceDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewRichEdit

func NewRichEdit(owner IComponent) *TRichEdit

CN: 创建一个新的对象。 EN: Create a new object.

func RichEditFromInst

func RichEditFromInst(inst uintptr) *TRichEdit

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsRichEdit.

func RichEditFromObj

func RichEditFromObj(obj IObject) *TRichEdit

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsRichEdit.

func RichEditFromUnsafePointer added in v1.1.21

func RichEditFromUnsafePointer(ptr unsafe.Pointer) *TRichEdit

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsRichEdit.

func (*TRichEdit) Action

func (r *TRichEdit) Action() *TAction

func (*TRichEdit) Align

func (r *TRichEdit) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TRichEdit) Alignment

func (r *TRichEdit) Alignment() TAlignment

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TRichEdit) AnchorParallel

func (r *TRichEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRichEdit) AnchorSide

func (r *TRichEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TRichEdit) AnchorSideBottom

func (r *TRichEdit) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TRichEdit) AnchorSideLeft

func (r *TRichEdit) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TRichEdit) AnchorSideRight

func (r *TRichEdit) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TRichEdit) AnchorSideTop

func (r *TRichEdit) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TRichEdit) AnchorToNeighbour

func (r *TRichEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TRichEdit) AnchorVerticalCenterTo

func (r *TRichEdit) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TRichEdit) Anchors

func (r *TRichEdit) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TRichEdit) Assign

func (r *TRichEdit) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TRichEdit) BiDiMode

func (r *TRichEdit) BiDiMode() TBiDiMode

func (*TRichEdit) BorderSpacing

func (r *TRichEdit) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TRichEdit) BorderStyle

func (r *TRichEdit) BorderStyle() TBorderStyle

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

func (*TRichEdit) BorderWidth

func (r *TRichEdit) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

func (*TRichEdit) BoundsRect

func (r *TRichEdit) BoundsRect() TRect

func (*TRichEdit) BringToFront

func (r *TRichEdit) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TRichEdit) Brush

func (r *TRichEdit) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TRichEdit) CanFocus

func (r *TRichEdit) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TRichEdit) CanUndo

func (r *TRichEdit) CanUndo() bool

CN: 获取能否撤销。 EN: .

func (*TRichEdit) CaretPos

func (r *TRichEdit) CaretPos() TPoint

func (*TRichEdit) ChildSizing

func (r *TRichEdit) ChildSizing() *TControlChildSizing

func (*TRichEdit) ClassName

func (r *TRichEdit) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TRichEdit) ClassType added in v1.1.18

func (r *TRichEdit) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TRichEdit) Clear

func (r *TRichEdit) Clear()

CN: 清除。 EN: .

func (*TRichEdit) ClearSelection

func (r *TRichEdit) ClearSelection()

CN: 清除选择。 EN: .

func (*TRichEdit) ClientHeight

func (r *TRichEdit) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TRichEdit) ClientOrigin added in v1.1.21

func (r *TRichEdit) ClientOrigin() TPoint

func (*TRichEdit) ClientRect

func (r *TRichEdit) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TRichEdit) ClientToParent

func (r *TRichEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TRichEdit) ClientToScreen

func (r *TRichEdit) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TRichEdit) ClientWidth

func (r *TRichEdit) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TRichEdit) Color

func (r *TRichEdit) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TRichEdit) ComponentCount

func (r *TRichEdit) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TRichEdit) ComponentIndex

func (r *TRichEdit) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TRichEdit) Components

func (r *TRichEdit) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TRichEdit) Constraints added in v1.2.7

func (r *TRichEdit) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TRichEdit) ContainsControl added in v1.1.21

func (r *TRichEdit) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TRichEdit) ControlCount

func (r *TRichEdit) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TRichEdit) ControlState added in v1.1.21

func (r *TRichEdit) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TRichEdit) ControlStyle added in v1.1.21

func (r *TRichEdit) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TRichEdit) Controls

func (r *TRichEdit) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TRichEdit) CopyToClipboard

func (r *TRichEdit) CopyToClipboard()

CN: 复制到粘贴板。 EN: .

func (*TRichEdit) Cursor

func (r *TRichEdit) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TRichEdit) CutToClipboard

func (r *TRichEdit) CutToClipboard()

CN: 剪切到粘贴板。 EN: .

func (*TRichEdit) DefAttributes

func (r *TRichEdit) DefAttributes() *TTextAttributes

func (*TRichEdit) DisableAlign added in v1.1.21

func (r *TRichEdit) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TRichEdit) DockClientCount added in v1.1.21

func (r *TRichEdit) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TRichEdit) DockClients added in v1.1.21

func (r *TRichEdit) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TRichEdit) DockSite

func (r *TRichEdit) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TRichEdit) DoubleBuffered

func (r *TRichEdit) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TRichEdit) DragCursor

func (r *TRichEdit) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TRichEdit) DragKind

func (r *TRichEdit) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TRichEdit) DragMode

func (r *TRichEdit) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TRichEdit) Dragging

func (r *TRichEdit) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TRichEdit) EnableAlign added in v1.1.21

func (r *TRichEdit) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TRichEdit) Enabled

func (r *TRichEdit) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TRichEdit) Equals

func (r *TRichEdit) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TRichEdit) FindChildControl added in v1.1.21

func (r *TRichEdit) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TRichEdit) FindComponent

func (r *TRichEdit) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: 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) FlipChildren

func (r *TRichEdit) FlipChildren(AllLevels bool)

func (*TRichEdit) Floating

func (r *TRichEdit) Floating() bool

func (*TRichEdit) Focused

func (r *TRichEdit) Focused() bool

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TRichEdit) Font

func (r *TRichEdit) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TRichEdit) Free

func (r *TRichEdit) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TRichEdit) GetHashCode

func (r *TRichEdit) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TRichEdit) GetNamePath

func (r *TRichEdit) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TRichEdit) GetTextBuf

func (r *TRichEdit) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TRichEdit) GetTextLen

func (r *TRichEdit) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TRichEdit) Handle

func (r *TRichEdit) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TRichEdit) HandleAllocated

func (r *TRichEdit) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TRichEdit) HasParent

func (r *TRichEdit) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TRichEdit) Height

func (r *TRichEdit) Height() int32

CN: 获取高度。 EN: Get height.

func (*TRichEdit) Hide

func (r *TRichEdit) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TRichEdit) HideSelection

func (r *TRichEdit) HideSelection() bool

CN: 获取隐藏选择。 EN: .

func (*TRichEdit) Hint

func (r *TRichEdit) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TRichEdit) InheritsFrom added in v1.1.18

func (r *TRichEdit) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TRichEdit) InsertControl added in v1.1.21

func (r *TRichEdit) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TRichEdit) Instance

func (r *TRichEdit) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TRichEdit) InstanceSize added in v1.1.18

func (r *TRichEdit) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TRichEdit) Invalidate

func (r *TRichEdit) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TRichEdit) Is added in v1.2.10

func (r *TRichEdit) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TRichEdit) IsValid

func (r *TRichEdit) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TRichEdit) Left

func (r *TRichEdit) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TRichEdit) Lines

func (r *TRichEdit) Lines() *TStrings

func (*TRichEdit) MaxLength

func (r *TRichEdit) MaxLength() int32

CN: 获取最大长度。 EN: .

func (*TRichEdit) Modified

func (r *TRichEdit) Modified() bool

CN: 获取修改。 EN: Get modified.

func (*TRichEdit) MouseInClient added in v1.1.21

func (r *TRichEdit) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TRichEdit) Name

func (r *TRichEdit) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TRichEdit) Owner

func (r *TRichEdit) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TRichEdit) Paragraph

func (r *TRichEdit) Paragraph() *TParaAttributes

func (*TRichEdit) Parent

func (r *TRichEdit) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TRichEdit) ParentColor

func (r *TRichEdit) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TRichEdit) ParentDoubleBuffered

func (r *TRichEdit) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TRichEdit) ParentFont

func (r *TRichEdit) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TRichEdit) ParentShowHint

func (r *TRichEdit) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TRichEdit) ParentToClient

func (r *TRichEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TRichEdit) ParentWindow

func (r *TRichEdit) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TRichEdit) PasteFromClipboard

func (r *TRichEdit) PasteFromClipboard()

CN: 从剪切板粘贴。 EN: .

func (*TRichEdit) Perform

func (r *TRichEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TRichEdit) PopupMenu

func (r *TRichEdit) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TRichEdit) ReadOnly

func (r *TRichEdit) ReadOnly() bool

CN: 获取只读。 EN: .

func (*TRichEdit) Realign

func (r *TRichEdit) Realign()

CN: 重新对齐。 EN: Realign.

func (*TRichEdit) Refresh

func (r *TRichEdit) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TRichEdit) RemoveControl added in v1.1.21

func (r *TRichEdit) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TRichEdit) Repaint

func (r *TRichEdit) Repaint()

CN: 重绘。 EN: Repaint.

func (*TRichEdit) ScaleBy

func (r *TRichEdit) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TRichEdit) ScreenToClient

func (r *TRichEdit) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: 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)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TRichEdit) SelAttributes

func (r *TRichEdit) SelAttributes() *TTextAttributes

func (*TRichEdit) SelLength

func (r *TRichEdit) SelLength() int32

CN: 获取选择的长度。 EN: .

func (*TRichEdit) SelStart

func (r *TRichEdit) SelStart() int32

CN: 获取选择的启始位置。 EN: .

func (*TRichEdit) SelText

func (r *TRichEdit) SelText() string

CN: 获取选择的文本。 EN: .

func (*TRichEdit) SelectAll

func (r *TRichEdit) SelectAll()

CN: 全选。 EN: .

func (*TRichEdit) SendToBack

func (r *TRichEdit) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TRichEdit) SetAlignment

func (r *TRichEdit) SetAlignment(value TAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TRichEdit) SetAnchorSideBottom

func (r *TRichEdit) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TRichEdit) SetAnchorSideLeft

func (r *TRichEdit) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TRichEdit) SetAnchorSideRight

func (r *TRichEdit) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TRichEdit) SetAnchorSideTop

func (r *TRichEdit) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TRichEdit) SetAnchors

func (r *TRichEdit) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TRichEdit) SetBiDiMode

func (r *TRichEdit) SetBiDiMode(value TBiDiMode)

func (*TRichEdit) SetBorderSpacing

func (r *TRichEdit) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TRichEdit) SetBorderStyle

func (r *TRichEdit) SetBorderStyle(value TBorderStyle)

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

func (*TRichEdit) SetBorderWidth

func (r *TRichEdit) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TRichEdit) SetBounds

func (r *TRichEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TRichEdit) SetClientWidth

func (r *TRichEdit) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TRichEdit) SetColor

func (r *TRichEdit) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TRichEdit) SetComponentIndex

func (r *TRichEdit) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TRichEdit) SetConstraints added in v1.2.7

func (r *TRichEdit) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TRichEdit) SetControlState added in v1.1.21

func (r *TRichEdit) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TRichEdit) SetControlStyle added in v1.1.21

func (r *TRichEdit) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TRichEdit) SetCursor

func (r *TRichEdit) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TRichEdit) SetDefAttributes

func (r *TRichEdit) SetDefAttributes(value *TTextAttributes)

func (*TRichEdit) SetDockSite

func (r *TRichEdit) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TRichEdit) SetDoubleBuffered

func (r *TRichEdit) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TRichEdit) SetDragCursor

func (r *TRichEdit) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TRichEdit) SetDragKind

func (r *TRichEdit) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TRichEdit) SetDragMode

func (r *TRichEdit) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TRichEdit) SetEnabled

func (r *TRichEdit) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TRichEdit) SetFocus

func (r *TRichEdit) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TRichEdit) SetFont

func (r *TRichEdit) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TRichEdit) SetHeight

func (r *TRichEdit) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TRichEdit) SetHideSelection

func (r *TRichEdit) SetHideSelection(value bool)

CN: 设置隐藏选择。 EN: .

func (*TRichEdit) SetHint

func (r *TRichEdit) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TRichEdit) SetLeft

func (r *TRichEdit) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TRichEdit) SetLines

func (r *TRichEdit) SetLines(value IObject)

func (*TRichEdit) SetMaxLength

func (r *TRichEdit) SetMaxLength(value int32)

CN: 设置最大长度。 EN: .

func (*TRichEdit) SetModified

func (r *TRichEdit) SetModified(value bool)

CN: 设置修改。 EN: Set modified.

func (*TRichEdit) SetName

func (r *TRichEdit) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TRichEdit) SetOnChange

func (r *TRichEdit) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TRichEdit) SetOnClick

func (r *TRichEdit) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TRichEdit) SetOnContextPopup

func (r *TRichEdit) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TRichEdit) SetOnDblClick

func (r *TRichEdit) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TRichEdit) SetOnDragDrop

func (r *TRichEdit) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TRichEdit) SetOnDragOver

func (r *TRichEdit) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TRichEdit) SetOnEndDrag

func (r *TRichEdit) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TRichEdit) SetOnEnter

func (r *TRichEdit) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TRichEdit) SetOnExit

func (r *TRichEdit) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TRichEdit) SetOnKeyDown

func (r *TRichEdit) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TRichEdit) SetOnKeyPress

func (r *TRichEdit) SetOnKeyPress(fn TKeyPressEvent)

func (*TRichEdit) SetOnKeyUp

func (r *TRichEdit) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TRichEdit) SetOnMouseDown

func (r *TRichEdit) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TRichEdit) SetOnMouseEnter

func (r *TRichEdit) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TRichEdit) SetOnMouseLeave

func (r *TRichEdit) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TRichEdit) SetOnMouseMove

func (r *TRichEdit) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TRichEdit) SetOnMouseUp

func (r *TRichEdit) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TRichEdit) SetOnMouseWheel

func (r *TRichEdit) SetOnMouseWheel(fn TMouseWheelEvent)

CN: 设置鼠标滚轮事件。 EN: .

func (*TRichEdit) SetOnMouseWheelDown

func (r *TRichEdit) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮按下事件。 EN: .

func (*TRichEdit) SetOnMouseWheelUp

func (r *TRichEdit) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮抬起事件。 EN: .

func (*TRichEdit) SetParent

func (r *TRichEdit) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TRichEdit) SetParentColor

func (r *TRichEdit) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TRichEdit) SetParentDoubleBuffered

func (r *TRichEdit) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TRichEdit) SetParentFont

func (r *TRichEdit) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TRichEdit) SetParentShowHint

func (r *TRichEdit) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TRichEdit) SetParentWindow

func (r *TRichEdit) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TRichEdit) SetPopupMenu

func (r *TRichEdit) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TRichEdit) SetReadOnly

func (r *TRichEdit) SetReadOnly(value bool)

CN: 设置只读。 EN: .

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)

CN: 设置选择的长度。 EN: .

func (*TRichEdit) SetSelStart

func (r *TRichEdit) SetSelStart(value int32)

CN: 设置选择的启始位置。 EN: .

func (*TRichEdit) SetSelText

func (r *TRichEdit) SetSelText(value string)

CN: 设置选择的文本。 EN: .

func (*TRichEdit) SetShowHint

func (r *TRichEdit) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TRichEdit) SetTabOrder

func (r *TRichEdit) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TRichEdit) SetTabStop

func (r *TRichEdit) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TRichEdit) SetTag

func (r *TRichEdit) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TRichEdit) SetText

func (r *TRichEdit) SetText(value string)

CN: 设置文本。 EN: .

func (*TRichEdit) SetTextBuf added in v1.1.21

func (r *TRichEdit) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TRichEdit) SetTextHint

func (r *TRichEdit) SetTextHint(value string)

CN: 设置提示文本。 EN: .

func (*TRichEdit) SetTop

func (r *TRichEdit) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TRichEdit) SetUseDockManager

func (r *TRichEdit) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TRichEdit) SetVisible

func (r *TRichEdit) SetVisible(value bool)

CN: 设置控件可视。 EN: 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)

CN: 设置宽度。 EN: Set width.

func (*TRichEdit) SetWordWrap

func (r *TRichEdit) SetWordWrap(value bool)

CN: 设置自动换行。 EN: Set Automatic line break.

func (*TRichEdit) SetZoom

func (r *TRichEdit) SetZoom(value int32)

func (*TRichEdit) Show

func (r *TRichEdit) Show()

CN: 显示控件。 EN: Show control.

func (*TRichEdit) ShowHint

func (r *TRichEdit) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TRichEdit) TabOrder

func (r *TRichEdit) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TRichEdit) TabStop

func (r *TRichEdit) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TRichEdit) Tag

func (r *TRichEdit) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TRichEdit) Text

func (r *TRichEdit) Text() string

CN: 获取文本。 EN: .

func (*TRichEdit) TextHint

func (r *TRichEdit) TextHint() string

CN: 获取提示文本。 EN: .

func (*TRichEdit) ToString

func (r *TRichEdit) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TRichEdit) Top

func (r *TRichEdit) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TRichEdit) Undo

func (r *TRichEdit) Undo()

CN: 撤销上一次操作。 EN: .

func (*TRichEdit) UnsafeAddr added in v1.1.21

func (r *TRichEdit) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TRichEdit) Update

func (r *TRichEdit) Update()

CN: 控件更新。 EN: Update.

func (*TRichEdit) UseDockManager

func (r *TRichEdit) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TRichEdit) Visible

func (r *TRichEdit) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TRichEdit) VisibleDockClientCount added in v1.1.21

func (r *TRichEdit) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: 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

CN: 获取宽度。 EN: Get width.

func (*TRichEdit) WordWrap

func (r *TRichEdit) WordWrap() bool

CN: 获取自动换行。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewSaveDialog

func NewSaveDialog(owner IComponent) *TSaveDialog

CN: 创建一个新的对象。 EN: Create a new object.

func SaveDialogFromInst

func SaveDialogFromInst(inst uintptr) *TSaveDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsSaveDialog.

func SaveDialogFromObj

func SaveDialogFromObj(obj IObject) *TSaveDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsSaveDialog.

func SaveDialogFromUnsafePointer added in v1.1.21

func SaveDialogFromUnsafePointer(ptr unsafe.Pointer) *TSaveDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSaveDialog.

func (*TSaveDialog) Assign

func (s *TSaveDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TSaveDialog) ClassName

func (s *TSaveDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TSaveDialog) ClassType added in v1.1.18

func (s *TSaveDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TSaveDialog) ComponentCount

func (s *TSaveDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TSaveDialog) ComponentIndex

func (s *TSaveDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TSaveDialog) Components

func (s *TSaveDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TSaveDialog) DefaultExt

func (s *TSaveDialog) DefaultExt() string

func (*TSaveDialog) Equals

func (s *TSaveDialog) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TSaveDialog) Execute

func (s *TSaveDialog) Execute() bool

CN: 执行。 EN: .

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TSaveDialog) Free

func (s *TSaveDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TSaveDialog) GetHashCode

func (s *TSaveDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TSaveDialog) GetNamePath

func (s *TSaveDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TSaveDialog) Handle

func (s *TSaveDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TSaveDialog) HasParent

func (s *TSaveDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TSaveDialog) InheritsFrom added in v1.1.18

func (s *TSaveDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TSaveDialog) InstanceSize added in v1.1.18

func (s *TSaveDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TSaveDialog) Is added in v1.2.10

func (s *TSaveDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TSaveDialog) IsValid

func (s *TSaveDialog) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TSaveDialog) Name

func (s *TSaveDialog) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TSaveDialog) Options

func (s *TSaveDialog) Options() TOpenOptions

func (*TSaveDialog) Owner

func (s *TSaveDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TSaveDialog) SetComponentIndex

func (s *TSaveDialog) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TSaveDialog) SetOnClose

func (s *TSaveDialog) SetOnClose(fn TNotifyEvent)

func (*TSaveDialog) SetOnShow

func (s *TSaveDialog) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

func (*TSaveDialog) SetOptions

func (s *TSaveDialog) SetOptions(value TOpenOptions)

func (*TSaveDialog) SetTag

func (s *TSaveDialog) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TSaveDialog) SetTitle

func (s *TSaveDialog) SetTitle(value string)

func (*TSaveDialog) Tag

func (s *TSaveDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TSaveDialog) Title

func (s *TSaveDialog) Title() string

func (*TSaveDialog) ToString

func (s *TSaveDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TSaveDialog) UnsafeAddr added in v1.1.21

func (s *TSaveDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewSavePictureDialog

func NewSavePictureDialog(owner IComponent) *TSavePictureDialog

CN: 创建一个新的对象。 EN: Create a new object.

func SavePictureDialogFromInst

func SavePictureDialogFromInst(inst uintptr) *TSavePictureDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsSavePictureDialog.

func SavePictureDialogFromObj

func SavePictureDialogFromObj(obj IObject) *TSavePictureDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsSavePictureDialog.

func SavePictureDialogFromUnsafePointer added in v1.1.21

func SavePictureDialogFromUnsafePointer(ptr unsafe.Pointer) *TSavePictureDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSavePictureDialog.

func (*TSavePictureDialog) Assign

func (s *TSavePictureDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TSavePictureDialog) ClassName

func (s *TSavePictureDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TSavePictureDialog) ClassType added in v1.1.18

func (s *TSavePictureDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TSavePictureDialog) ComponentCount

func (s *TSavePictureDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TSavePictureDialog) ComponentIndex

func (s *TSavePictureDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TSavePictureDialog) Components

func (s *TSavePictureDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TSavePictureDialog) DefaultExt

func (s *TSavePictureDialog) DefaultExt() string

func (*TSavePictureDialog) Equals

func (s *TSavePictureDialog) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TSavePictureDialog) Execute

func (s *TSavePictureDialog) Execute() bool

CN: 执行。 EN: .

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TSavePictureDialog) Free

func (s *TSavePictureDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TSavePictureDialog) GetHashCode

func (s *TSavePictureDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TSavePictureDialog) GetNamePath

func (s *TSavePictureDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TSavePictureDialog) Handle

func (s *TSavePictureDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TSavePictureDialog) HasParent

func (s *TSavePictureDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TSavePictureDialog) InheritsFrom added in v1.1.18

func (s *TSavePictureDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TSavePictureDialog) InstanceSize added in v1.1.18

func (s *TSavePictureDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TSavePictureDialog) Is added in v1.2.10

func (s *TSavePictureDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TSavePictureDialog) IsValid

func (s *TSavePictureDialog) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TSavePictureDialog) Name

func (s *TSavePictureDialog) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TSavePictureDialog) Options

func (s *TSavePictureDialog) Options() TOpenOptions

func (*TSavePictureDialog) Owner

func (s *TSavePictureDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TSavePictureDialog) SetComponentIndex

func (s *TSavePictureDialog) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TSavePictureDialog) SetOnClose

func (s *TSavePictureDialog) SetOnClose(fn TNotifyEvent)

func (*TSavePictureDialog) SetOnShow

func (s *TSavePictureDialog) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

func (*TSavePictureDialog) SetOptions

func (s *TSavePictureDialog) SetOptions(value TOpenOptions)

func (*TSavePictureDialog) SetTag

func (s *TSavePictureDialog) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TSavePictureDialog) SetTitle

func (s *TSavePictureDialog) SetTitle(value string)

func (*TSavePictureDialog) Tag

func (s *TSavePictureDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TSavePictureDialog) Title

func (s *TSavePictureDialog) Title() string

func (*TSavePictureDialog) ToString

func (s *TSavePictureDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TSavePictureDialog) UnsafeAddr added in v1.1.21

func (s *TSavePictureDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewScreen

func NewScreen(owner IComponent) *TScreen

CN: 创建一个新的对象。 EN: Create a new object.

func ScreenFromInst

func ScreenFromInst(inst uintptr) *TScreen

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsScreen.

func ScreenFromObj

func ScreenFromObj(obj IObject) *TScreen

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsScreen.

func ScreenFromUnsafePointer added in v1.1.21

func ScreenFromUnsafePointer(ptr unsafe.Pointer) *TScreen

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsScreen.

func (*TScreen) ActiveForm

func (s *TScreen) ActiveForm() *TForm

func (*TScreen) Assign

func (s *TScreen) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TScreen) ClassName

func (s *TScreen) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TScreen) ClassType added in v1.1.18

func (s *TScreen) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TScreen) ComponentCount

func (s *TScreen) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TScreen) ComponentIndex

func (s *TScreen) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TScreen) Components

func (s *TScreen) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TScreen) Cursor

func (s *TScreen) Cursor() TCursor

CN: 获取控件光标。 EN: 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) Equals

func (s *TScreen) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TScreen) FindComponent

func (s *TScreen) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TScreen) FocusedForm

func (s *TScreen) FocusedForm() *TForm

func (*TScreen) Fonts

func (s *TScreen) Fonts() *TStrings

func (*TScreen) FormCount

func (s *TScreen) FormCount() int32

func (*TScreen) Forms

func (s *TScreen) Forms(Index int32) *TForm

func (*TScreen) Free

func (s *TScreen) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TScreen) GetHashCode

func (s *TScreen) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TScreen) GetNamePath

func (s *TScreen) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TScreen) HasParent

func (s *TScreen) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TScreen) Height

func (s *TScreen) Height() int32

CN: 获取高度。 EN: Get height.

func (*TScreen) InheritsFrom added in v1.1.18

func (s *TScreen) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TScreen) Instance

func (s *TScreen) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TScreen) InstanceSize added in v1.1.18

func (s *TScreen) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TScreen) Is added in v1.2.10

func (s *TScreen) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TScreen) IsValid

func (s *TScreen) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TScreen) Owner

func (s *TScreen) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TScreen) PixelsPerInch

func (s *TScreen) PixelsPerInch() int32

func (*TScreen) PrimaryMonitor

func (s *TScreen) PrimaryMonitor() *TMonitor

func (*TScreen) SetComponentIndex

func (s *TScreen) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TScreen) SetCursor

func (s *TScreen) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TScreen) SetCursors

func (s *TScreen) SetCursors(Index int32, value HICON)

func (*TScreen) SetName

func (s *TScreen) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TScreen) SetTag

func (s *TScreen) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TScreen) Tag

func (s *TScreen) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TScreen) ToString

func (s *TScreen) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TScreen) UnsafeAddr added in v1.1.21

func (s *TScreen) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TScreen) Width

func (s *TScreen) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewScrollBar

func NewScrollBar(owner IComponent) *TScrollBar

CN: 创建一个新的对象。 EN: Create a new object.

func ScrollBarFromInst

func ScrollBarFromInst(inst uintptr) *TScrollBar

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsScrollBar.

func ScrollBarFromObj

func ScrollBarFromObj(obj IObject) *TScrollBar

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsScrollBar.

func ScrollBarFromUnsafePointer added in v1.1.21

func ScrollBarFromUnsafePointer(ptr unsafe.Pointer) *TScrollBar

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsScrollBar.

func (*TScrollBar) Action

func (s *TScrollBar) Action() *TAction

func (*TScrollBar) Align

func (s *TScrollBar) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TScrollBar) AnchorParallel

func (s *TScrollBar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TScrollBar) AnchorSide

func (s *TScrollBar) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TScrollBar) AnchorSideBottom

func (s *TScrollBar) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TScrollBar) AnchorSideLeft

func (s *TScrollBar) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TScrollBar) AnchorSideRight

func (s *TScrollBar) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TScrollBar) AnchorSideTop

func (s *TScrollBar) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TScrollBar) AnchorToNeighbour

func (s *TScrollBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TScrollBar) AnchorVerticalCenterTo

func (s *TScrollBar) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TScrollBar) Anchors

func (s *TScrollBar) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TScrollBar) Assign

func (s *TScrollBar) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TScrollBar) BiDiMode

func (s *TScrollBar) BiDiMode() TBiDiMode

func (*TScrollBar) BorderSpacing

func (s *TScrollBar) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TScrollBar) BoundsRect

func (s *TScrollBar) BoundsRect() TRect

func (*TScrollBar) BringToFront

func (s *TScrollBar) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TScrollBar) Brush

func (s *TScrollBar) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TScrollBar) CanFocus

func (s *TScrollBar) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TScrollBar) ChildSizing

func (s *TScrollBar) ChildSizing() *TControlChildSizing

func (*TScrollBar) ClassName

func (s *TScrollBar) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TScrollBar) ClassType added in v1.1.18

func (s *TScrollBar) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TScrollBar) ClientHeight

func (s *TScrollBar) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TScrollBar) ClientOrigin added in v1.1.21

func (s *TScrollBar) ClientOrigin() TPoint

func (*TScrollBar) ClientRect

func (s *TScrollBar) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TScrollBar) ClientToParent

func (s *TScrollBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TScrollBar) ClientToScreen

func (s *TScrollBar) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TScrollBar) ClientWidth

func (s *TScrollBar) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TScrollBar) ComponentCount

func (s *TScrollBar) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TScrollBar) ComponentIndex

func (s *TScrollBar) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TScrollBar) Components

func (s *TScrollBar) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TScrollBar) Constraints added in v1.2.7

func (s *TScrollBar) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TScrollBar) ContainsControl added in v1.1.21

func (s *TScrollBar) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TScrollBar) ControlCount

func (s *TScrollBar) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TScrollBar) ControlState added in v1.1.21

func (s *TScrollBar) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TScrollBar) ControlStyle added in v1.1.21

func (s *TScrollBar) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TScrollBar) Controls

func (s *TScrollBar) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TScrollBar) Cursor

func (s *TScrollBar) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TScrollBar) DisableAlign added in v1.1.21

func (s *TScrollBar) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TScrollBar) DockClientCount added in v1.1.21

func (s *TScrollBar) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TScrollBar) DockClients added in v1.1.21

func (s *TScrollBar) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TScrollBar) DockSite

func (s *TScrollBar) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TScrollBar) DoubleBuffered

func (s *TScrollBar) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TScrollBar) DragCursor

func (s *TScrollBar) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TScrollBar) DragKind

func (s *TScrollBar) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TScrollBar) DragMode

func (s *TScrollBar) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TScrollBar) Dragging

func (s *TScrollBar) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TScrollBar) EnableAlign added in v1.1.21

func (s *TScrollBar) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TScrollBar) Enabled

func (s *TScrollBar) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TScrollBar) Equals

func (s *TScrollBar) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TScrollBar) FindChildControl added in v1.1.21

func (s *TScrollBar) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TScrollBar) FindComponent

func (s *TScrollBar) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TScrollBar) Free

func (s *TScrollBar) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TScrollBar) GetHashCode

func (s *TScrollBar) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TScrollBar) GetNamePath

func (s *TScrollBar) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TScrollBar) GetTextBuf

func (s *TScrollBar) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TScrollBar) GetTextLen

func (s *TScrollBar) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TScrollBar) Handle

func (s *TScrollBar) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TScrollBar) HandleAllocated

func (s *TScrollBar) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TScrollBar) HasParent

func (s *TScrollBar) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TScrollBar) Height

func (s *TScrollBar) Height() int32

CN: 获取高度。 EN: Get height.

func (*TScrollBar) Hide

func (s *TScrollBar) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TScrollBar) Hint

func (s *TScrollBar) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TScrollBar) InheritsFrom added in v1.1.18

func (s *TScrollBar) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TScrollBar) InsertControl added in v1.1.21

func (s *TScrollBar) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TScrollBar) Instance

func (s *TScrollBar) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TScrollBar) InstanceSize added in v1.1.18

func (s *TScrollBar) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TScrollBar) Invalidate

func (s *TScrollBar) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TScrollBar) Is added in v1.2.10

func (s *TScrollBar) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TScrollBar) IsValid

func (s *TScrollBar) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TScrollBar) LargeChange

func (s *TScrollBar) LargeChange() TScrollBarInc

func (*TScrollBar) Left

func (s *TScrollBar) Left() int32

CN: 获取左边位置。 EN: 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

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TScrollBar) Name

func (s *TScrollBar) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TScrollBar) Owner

func (s *TScrollBar) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TScrollBar) PageSize

func (s *TScrollBar) PageSize() int32

func (*TScrollBar) Parent

func (s *TScrollBar) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TScrollBar) ParentDoubleBuffered

func (s *TScrollBar) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TScrollBar) ParentShowHint

func (s *TScrollBar) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TScrollBar) ParentToClient

func (s *TScrollBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TScrollBar) ParentWindow

func (s *TScrollBar) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TScrollBar) Perform

func (s *TScrollBar) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TScrollBar) PopupMenu

func (s *TScrollBar) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TScrollBar) Position

func (s *TScrollBar) Position() int32

func (*TScrollBar) Realign

func (s *TScrollBar) Realign()

CN: 重新对齐。 EN: Realign.

func (*TScrollBar) Refresh

func (s *TScrollBar) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TScrollBar) RemoveControl added in v1.1.21

func (s *TScrollBar) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TScrollBar) Repaint

func (s *TScrollBar) Repaint()

CN: 重绘。 EN: Repaint.

func (*TScrollBar) ScaleBy

func (s *TScrollBar) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TScrollBar) ScreenToClient

func (s *TScrollBar) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TScrollBar) ScrollBy added in v1.1.21

func (s *TScrollBar) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TScrollBar) SendToBack

func (s *TScrollBar) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TScrollBar) SetAnchorSideBottom

func (s *TScrollBar) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TScrollBar) SetAnchorSideLeft

func (s *TScrollBar) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TScrollBar) SetAnchorSideRight

func (s *TScrollBar) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TScrollBar) SetAnchorSideTop

func (s *TScrollBar) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TScrollBar) SetAnchors

func (s *TScrollBar) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TScrollBar) SetBiDiMode

func (s *TScrollBar) SetBiDiMode(value TBiDiMode)

func (*TScrollBar) SetBorderSpacing

func (s *TScrollBar) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TScrollBar) SetBounds

func (s *TScrollBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TScrollBar) SetClientWidth

func (s *TScrollBar) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TScrollBar) SetComponentIndex

func (s *TScrollBar) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TScrollBar) SetConstraints added in v1.2.7

func (s *TScrollBar) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TScrollBar) SetControlState added in v1.1.21

func (s *TScrollBar) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TScrollBar) SetControlStyle added in v1.1.21

func (s *TScrollBar) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TScrollBar) SetCursor

func (s *TScrollBar) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TScrollBar) SetDockSite

func (s *TScrollBar) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TScrollBar) SetDoubleBuffered

func (s *TScrollBar) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TScrollBar) SetDragCursor

func (s *TScrollBar) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TScrollBar) SetDragKind

func (s *TScrollBar) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TScrollBar) SetDragMode

func (s *TScrollBar) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TScrollBar) SetEnabled

func (s *TScrollBar) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TScrollBar) SetFocus

func (s *TScrollBar) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TScrollBar) SetHeight

func (s *TScrollBar) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TScrollBar) SetHint

func (s *TScrollBar) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TScrollBar) SetLargeChange

func (s *TScrollBar) SetLargeChange(value TScrollBarInc)

func (*TScrollBar) SetLeft

func (s *TScrollBar) SetLeft(value int32)

CN: 设置左边位置。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TScrollBar) SetOnChange

func (s *TScrollBar) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TScrollBar) SetOnContextPopup

func (s *TScrollBar) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TScrollBar) SetOnDragDrop

func (s *TScrollBar) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TScrollBar) SetOnDragOver

func (s *TScrollBar) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TScrollBar) SetOnEndDrag

func (s *TScrollBar) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TScrollBar) SetOnEnter

func (s *TScrollBar) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TScrollBar) SetOnExit

func (s *TScrollBar) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TScrollBar) SetOnKeyDown

func (s *TScrollBar) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TScrollBar) SetOnKeyPress

func (s *TScrollBar) SetOnKeyPress(fn TKeyPressEvent)

func (*TScrollBar) SetOnKeyUp

func (s *TScrollBar) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: 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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TScrollBar) SetParentDoubleBuffered

func (s *TScrollBar) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TScrollBar) SetParentShowHint

func (s *TScrollBar) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TScrollBar) SetParentWindow

func (s *TScrollBar) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TScrollBar) SetPopupMenu

func (s *TScrollBar) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TScrollBar) SetPosition

func (s *TScrollBar) SetPosition(value int32)

func (*TScrollBar) SetShowHint

func (s *TScrollBar) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TScrollBar) SetSmallChange

func (s *TScrollBar) SetSmallChange(value TScrollBarInc)

func (*TScrollBar) SetTabOrder

func (s *TScrollBar) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TScrollBar) SetTabStop

func (s *TScrollBar) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TScrollBar) SetTag

func (s *TScrollBar) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TScrollBar) SetTextBuf added in v1.1.21

func (s *TScrollBar) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TScrollBar) SetTop

func (s *TScrollBar) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TScrollBar) SetUseDockManager

func (s *TScrollBar) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TScrollBar) SetVisible

func (s *TScrollBar) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TScrollBar) SetWidth

func (s *TScrollBar) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TScrollBar) Show

func (s *TScrollBar) Show()

CN: 显示控件。 EN: Show control.

func (*TScrollBar) ShowHint

func (s *TScrollBar) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TScrollBar) SmallChange

func (s *TScrollBar) SmallChange() TScrollBarInc

func (*TScrollBar) TabOrder

func (s *TScrollBar) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TScrollBar) TabStop

func (s *TScrollBar) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TScrollBar) Tag

func (s *TScrollBar) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TScrollBar) ToString

func (s *TScrollBar) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TScrollBar) Top

func (s *TScrollBar) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TScrollBar) UnsafeAddr added in v1.1.21

func (s *TScrollBar) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TScrollBar) Update

func (s *TScrollBar) Update()

CN: 控件更新。 EN: Update.

func (*TScrollBar) UseDockManager

func (s *TScrollBar) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TScrollBar) Visible

func (s *TScrollBar) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TScrollBar) VisibleDockClientCount added in v1.1.21

func (s *TScrollBar) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TScrollBar) Width

func (s *TScrollBar) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewScrollBox

func NewScrollBox(owner IComponent) *TScrollBox

CN: 创建一个新的对象。 EN: Create a new object.

func ScrollBoxFromInst

func ScrollBoxFromInst(inst uintptr) *TScrollBox

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsScrollBox.

func ScrollBoxFromObj

func ScrollBoxFromObj(obj IObject) *TScrollBox

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsScrollBox.

func ScrollBoxFromUnsafePointer added in v1.1.21

func ScrollBoxFromUnsafePointer(ptr unsafe.Pointer) *TScrollBox

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsScrollBox.

func (*TScrollBox) Action

func (s *TScrollBox) Action() *TAction

func (*TScrollBox) Align

func (s *TScrollBox) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TScrollBox) AnchorParallel

func (s *TScrollBox) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TScrollBox) AnchorSide

func (s *TScrollBox) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TScrollBox) AnchorSideBottom

func (s *TScrollBox) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TScrollBox) AnchorSideLeft

func (s *TScrollBox) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TScrollBox) AnchorSideRight

func (s *TScrollBox) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TScrollBox) AnchorSideTop

func (s *TScrollBox) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TScrollBox) AnchorToNeighbour

func (s *TScrollBox) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TScrollBox) AnchorVerticalCenterTo

func (s *TScrollBox) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TScrollBox) Anchors

func (s *TScrollBox) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TScrollBox) Assign

func (s *TScrollBox) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TScrollBox) AutoScroll added in v1.2.7

func (s *TScrollBox) AutoScroll() bool

func (*TScrollBox) AutoSize

func (s *TScrollBox) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TScrollBox) BiDiMode

func (s *TScrollBox) BiDiMode() TBiDiMode

func (*TScrollBox) BorderSpacing

func (s *TScrollBox) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TScrollBox) BorderStyle

func (s *TScrollBox) BorderStyle() TBorderStyle

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

func (*TScrollBox) BoundsRect

func (s *TScrollBox) BoundsRect() TRect

func (*TScrollBox) BringToFront

func (s *TScrollBox) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TScrollBox) Brush

func (s *TScrollBox) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TScrollBox) CanFocus

func (s *TScrollBox) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TScrollBox) ChildSizing

func (s *TScrollBox) ChildSizing() *TControlChildSizing

func (*TScrollBox) ClassName

func (s *TScrollBox) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TScrollBox) ClassType added in v1.1.18

func (s *TScrollBox) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TScrollBox) ClientHeight

func (s *TScrollBox) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TScrollBox) ClientOrigin added in v1.1.21

func (s *TScrollBox) ClientOrigin() TPoint

func (*TScrollBox) ClientRect

func (s *TScrollBox) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TScrollBox) ClientToParent

func (s *TScrollBox) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TScrollBox) ClientToScreen

func (s *TScrollBox) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TScrollBox) ClientWidth

func (s *TScrollBox) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TScrollBox) Color

func (s *TScrollBox) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TScrollBox) ComponentCount

func (s *TScrollBox) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TScrollBox) ComponentIndex

func (s *TScrollBox) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TScrollBox) Components

func (s *TScrollBox) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TScrollBox) Constraints added in v1.2.7

func (s *TScrollBox) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TScrollBox) ContainsControl added in v1.1.21

func (s *TScrollBox) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TScrollBox) ControlCount

func (s *TScrollBox) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TScrollBox) ControlState added in v1.1.21

func (s *TScrollBox) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TScrollBox) ControlStyle added in v1.1.21

func (s *TScrollBox) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TScrollBox) Controls

func (s *TScrollBox) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TScrollBox) Cursor

func (s *TScrollBox) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TScrollBox) DisableAlign added in v1.1.21

func (s *TScrollBox) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TScrollBox) DockClientCount added in v1.1.21

func (s *TScrollBox) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TScrollBox) DockClients added in v1.1.21

func (s *TScrollBox) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TScrollBox) DockSite

func (s *TScrollBox) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TScrollBox) DoubleBuffered

func (s *TScrollBox) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TScrollBox) DragCursor

func (s *TScrollBox) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TScrollBox) DragKind

func (s *TScrollBox) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TScrollBox) DragMode

func (s *TScrollBox) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TScrollBox) Dragging

func (s *TScrollBox) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TScrollBox) EnableAlign added in v1.1.21

func (s *TScrollBox) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TScrollBox) Enabled

func (s *TScrollBox) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TScrollBox) Equals

func (s *TScrollBox) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TScrollBox) FindChildControl added in v1.1.21

func (s *TScrollBox) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TScrollBox) FindComponent

func (s *TScrollBox) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TScrollBox) Font

func (s *TScrollBox) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TScrollBox) Free

func (s *TScrollBox) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TScrollBox) GetHashCode

func (s *TScrollBox) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TScrollBox) GetNamePath

func (s *TScrollBox) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TScrollBox) GetTextBuf

func (s *TScrollBox) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TScrollBox) GetTextLen

func (s *TScrollBox) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TScrollBox) Handle

func (s *TScrollBox) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TScrollBox) HandleAllocated

func (s *TScrollBox) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TScrollBox) HasParent

func (s *TScrollBox) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TScrollBox) Height

func (s *TScrollBox) Height() int32

CN: 获取高度。 EN: Get height.

func (*TScrollBox) Hide

func (s *TScrollBox) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TScrollBox) Hint

func (s *TScrollBox) Hint() string

CN: 获取组件鼠标悬停提示。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TScrollBox) InsertControl added in v1.1.21

func (s *TScrollBox) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TScrollBox) Instance

func (s *TScrollBox) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TScrollBox) InstanceSize added in v1.1.18

func (s *TScrollBox) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TScrollBox) Invalidate

func (s *TScrollBox) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TScrollBox) Is added in v1.2.10

func (s *TScrollBox) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TScrollBox) IsValid

func (s *TScrollBox) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TScrollBox) Left

func (s *TScrollBox) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TScrollBox) MouseInClient added in v1.1.21

func (s *TScrollBox) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TScrollBox) Name

func (s *TScrollBox) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TScrollBox) Owner

func (s *TScrollBox) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TScrollBox) Parent

func (s *TScrollBox) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TScrollBox) ParentBackground

func (s *TScrollBox) ParentBackground() bool

func (*TScrollBox) ParentColor

func (s *TScrollBox) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TScrollBox) ParentDoubleBuffered

func (s *TScrollBox) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TScrollBox) ParentFont

func (s *TScrollBox) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TScrollBox) ParentShowHint

func (s *TScrollBox) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TScrollBox) ParentToClient

func (s *TScrollBox) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TScrollBox) ParentWindow

func (s *TScrollBox) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TScrollBox) Perform

func (s *TScrollBox) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TScrollBox) PopupMenu

func (s *TScrollBox) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TScrollBox) Realign

func (s *TScrollBox) Realign()

CN: 重新对齐。 EN: Realign.

func (*TScrollBox) Refresh

func (s *TScrollBox) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TScrollBox) RemoveControl added in v1.1.21

func (s *TScrollBox) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TScrollBox) Repaint

func (s *TScrollBox) Repaint()

CN: 重绘。 EN: Repaint.

func (*TScrollBox) ScaleBy

func (s *TScrollBox) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TScrollBox) ScreenToClient

func (s *TScrollBox) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TScrollBox) ScrollBy added in v1.1.21

func (s *TScrollBox) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TScrollBox) ScrollInView added in v1.2.7

func (s *TScrollBox) ScrollInView(AControl IControl)

func (*TScrollBox) SendToBack

func (s *TScrollBox) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TScrollBox) SetAnchorSideBottom

func (s *TScrollBox) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TScrollBox) SetAnchorSideLeft

func (s *TScrollBox) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TScrollBox) SetAnchorSideRight

func (s *TScrollBox) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TScrollBox) SetAnchorSideTop

func (s *TScrollBox) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TScrollBox) SetAnchors

func (s *TScrollBox) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TScrollBox) SetAutoScroll added in v1.2.7

func (s *TScrollBox) SetAutoScroll(value bool)

func (*TScrollBox) SetAutoSize

func (s *TScrollBox) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TScrollBox) SetBiDiMode

func (s *TScrollBox) SetBiDiMode(value TBiDiMode)

func (*TScrollBox) SetBorderSpacing

func (s *TScrollBox) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TScrollBox) SetBorderStyle

func (s *TScrollBox) SetBorderStyle(value TBorderStyle)

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

func (*TScrollBox) SetBounds

func (s *TScrollBox) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TScrollBox) SetClientWidth

func (s *TScrollBox) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TScrollBox) SetColor

func (s *TScrollBox) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TScrollBox) SetComponentIndex

func (s *TScrollBox) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TScrollBox) SetConstraints added in v1.2.7

func (s *TScrollBox) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TScrollBox) SetControlState added in v1.1.21

func (s *TScrollBox) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TScrollBox) SetControlStyle added in v1.1.21

func (s *TScrollBox) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TScrollBox) SetCursor

func (s *TScrollBox) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TScrollBox) SetDockSite

func (s *TScrollBox) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TScrollBox) SetDoubleBuffered

func (s *TScrollBox) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TScrollBox) SetDragCursor

func (s *TScrollBox) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TScrollBox) SetDragKind

func (s *TScrollBox) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TScrollBox) SetDragMode

func (s *TScrollBox) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TScrollBox) SetEnabled

func (s *TScrollBox) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TScrollBox) SetFocus

func (s *TScrollBox) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TScrollBox) SetFont

func (s *TScrollBox) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TScrollBox) SetHeight

func (s *TScrollBox) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TScrollBox) SetHint

func (s *TScrollBox) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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)

CN: 设置左边位置。 EN: Set Left position.

func (*TScrollBox) SetName

func (s *TScrollBox) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TScrollBox) SetOnAlignPosition added in v1.2.10

func (s *TScrollBox) SetOnAlignPosition(fn TAlignPositionEvent)

func (*TScrollBox) SetOnClick

func (s *TScrollBox) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TScrollBox) SetOnDblClick

func (s *TScrollBox) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TScrollBox) SetOnDockDrop

func (s *TScrollBox) SetOnDockDrop(fn TDockDropEvent)

func (*TScrollBox) SetOnDragDrop

func (s *TScrollBox) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TScrollBox) SetOnDragOver

func (s *TScrollBox) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TScrollBox) SetOnEndDrag

func (s *TScrollBox) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TScrollBox) SetOnEnter

func (s *TScrollBox) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TScrollBox) SetOnExit

func (s *TScrollBox) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TScrollBox) SetOnGetSiteInfo

func (s *TScrollBox) SetOnGetSiteInfo(fn TGetSiteInfoEvent)

func (*TScrollBox) SetOnMouseDown

func (s *TScrollBox) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TScrollBox) SetOnMouseEnter

func (s *TScrollBox) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TScrollBox) SetOnMouseLeave

func (s *TScrollBox) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TScrollBox) SetOnMouseMove

func (s *TScrollBox) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TScrollBox) SetOnMouseUp

func (s *TScrollBox) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TScrollBox) SetOnMouseWheel

func (s *TScrollBox) SetOnMouseWheel(fn TMouseWheelEvent)

CN: 设置鼠标滚轮事件。 EN: .

func (*TScrollBox) SetOnMouseWheelDown

func (s *TScrollBox) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮按下事件。 EN: .

func (*TScrollBox) SetOnMouseWheelUp

func (s *TScrollBox) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮抬起事件。 EN: .

func (*TScrollBox) SetOnResize

func (s *TScrollBox) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

func (*TScrollBox) SetOnUnDock

func (s *TScrollBox) SetOnUnDock(fn TUnDockEvent)

func (*TScrollBox) SetParent

func (s *TScrollBox) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TScrollBox) SetParentBackground

func (s *TScrollBox) SetParentBackground(value bool)

func (*TScrollBox) SetParentColor

func (s *TScrollBox) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TScrollBox) SetParentDoubleBuffered

func (s *TScrollBox) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TScrollBox) SetParentFont

func (s *TScrollBox) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TScrollBox) SetParentShowHint

func (s *TScrollBox) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TScrollBox) SetParentWindow

func (s *TScrollBox) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TScrollBox) SetPopupMenu

func (s *TScrollBox) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TScrollBox) SetShowHint

func (s *TScrollBox) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TScrollBox) SetTabOrder

func (s *TScrollBox) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TScrollBox) SetTabStop

func (s *TScrollBox) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TScrollBox) SetTag

func (s *TScrollBox) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TScrollBox) SetTextBuf added in v1.1.21

func (s *TScrollBox) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TScrollBox) SetTop

func (s *TScrollBox) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TScrollBox) SetUseDockManager

func (s *TScrollBox) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TScrollBox) SetVertScrollBar added in v1.2.7

func (s *TScrollBox) SetVertScrollBar(value *TControlScrollBar)

func (*TScrollBox) SetVisible

func (s *TScrollBox) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TScrollBox) SetWidth

func (s *TScrollBox) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TScrollBox) Show

func (s *TScrollBox) Show()

CN: 显示控件。 EN: Show control.

func (*TScrollBox) ShowHint

func (s *TScrollBox) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TScrollBox) TabOrder

func (s *TScrollBox) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TScrollBox) TabStop

func (s *TScrollBox) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TScrollBox) Tag

func (s *TScrollBox) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TScrollBox) ToString

func (s *TScrollBox) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TScrollBox) Top

func (s *TScrollBox) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TScrollBox) UnsafeAddr added in v1.1.21

func (s *TScrollBox) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TScrollBox) Update

func (s *TScrollBox) Update()

CN: 控件更新。 EN: Update.

func (*TScrollBox) UseDockManager

func (s *TScrollBox) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TScrollBox) VertScrollBar added in v1.2.7

func (s *TScrollBox) VertScrollBar() *TControlScrollBar

func (*TScrollBox) Visible

func (s *TScrollBox) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TScrollBox) VisibleDockClientCount added in v1.1.21

func (s *TScrollBox) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TScrollBox) Width

func (s *TScrollBox) Width() int32

CN: 获取宽度。 EN: Get width.

type TSectionDragEvent added in v1.1.19

type TSectionDragEvent func(sender IObject, fromSection, toSection *THeaderSection, allowDrag *bool)

TSectionDragEvent = procedure (Sender: TObject; FromSection, ToSection: THeaderSection; var AllowDrag: Boolean) of object;

type TSectionNotifyEvent added in v1.1.19

type TSectionNotifyEvent func(headerControl *THeaderControl, section *THeaderSection)

TSectionNotifyEvent = procedure(HeaderControl: THeaderControl; Section: THeaderSection) of object;

type TSectionTrackEvent added in v1.1.19

type TSectionTrackEvent func(headerControl *THeaderControl, section *THeaderSection, width int32, state TSectionTrackState)

TSectionTrackEvent = procedure(HeaderControl: THeaderControl; Section: THeaderSection; Width: Integer; State: TSectionTrackState) of object;

type TSelectCellEvent added in v1.1.19

type TSelectCellEvent func(sender IObject, aCol, aRow int32, canSelect *bool)

TSelectCellEvent = procedure (Sender: TObject; ACol, ARow: Longint; var CanSelect: Boolean) of object;

type TSelectDirectoryDialog

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

func AsSelectDirectoryDialog

func AsSelectDirectoryDialog(obj interface{}) *TSelectDirectoryDialog

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewSelectDirectoryDialog

func NewSelectDirectoryDialog(owner IComponent) *TSelectDirectoryDialog

CN: 创建一个新的对象。 EN: Create a new object.

func SelectDirectoryDialogFromInst

func SelectDirectoryDialogFromInst(inst uintptr) *TSelectDirectoryDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsSelectDirectoryDialog.

func SelectDirectoryDialogFromObj

func SelectDirectoryDialogFromObj(obj IObject) *TSelectDirectoryDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsSelectDirectoryDialog.

func SelectDirectoryDialogFromUnsafePointer

func SelectDirectoryDialogFromUnsafePointer(ptr unsafe.Pointer) *TSelectDirectoryDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSelectDirectoryDialog.

func (*TSelectDirectoryDialog) Assign

func (s *TSelectDirectoryDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TSelectDirectoryDialog) ClassName

func (s *TSelectDirectoryDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TSelectDirectoryDialog) ClassType

func (s *TSelectDirectoryDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TSelectDirectoryDialog) ComponentCount

func (s *TSelectDirectoryDialog) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TSelectDirectoryDialog) ComponentIndex

func (s *TSelectDirectoryDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TSelectDirectoryDialog) Components

func (s *TSelectDirectoryDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TSelectDirectoryDialog) DefaultExt

func (s *TSelectDirectoryDialog) DefaultExt() string

func (*TSelectDirectoryDialog) Equals

func (s *TSelectDirectoryDialog) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TSelectDirectoryDialog) Execute

func (s *TSelectDirectoryDialog) Execute() bool

CN: 执行。 EN: .

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

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TSelectDirectoryDialog) Free

func (s *TSelectDirectoryDialog) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TSelectDirectoryDialog) GetHashCode

func (s *TSelectDirectoryDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TSelectDirectoryDialog) GetNamePath

func (s *TSelectDirectoryDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TSelectDirectoryDialog) Handle

func (s *TSelectDirectoryDialog) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TSelectDirectoryDialog) HasParent

func (s *TSelectDirectoryDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TSelectDirectoryDialog) InheritsFrom

func (s *TSelectDirectoryDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TSelectDirectoryDialog) InstanceSize

func (s *TSelectDirectoryDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TSelectDirectoryDialog) Is

func (s *TSelectDirectoryDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TSelectDirectoryDialog) IsValid

func (s *TSelectDirectoryDialog) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TSelectDirectoryDialog) Name

func (s *TSelectDirectoryDialog) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TSelectDirectoryDialog) Options

func (s *TSelectDirectoryDialog) Options() TOpenOptions

func (*TSelectDirectoryDialog) Owner

func (s *TSelectDirectoryDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TSelectDirectoryDialog) SetComponentIndex

func (s *TSelectDirectoryDialog) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TSelectDirectoryDialog) SetOnClose

func (s *TSelectDirectoryDialog) SetOnClose(fn TNotifyEvent)

func (*TSelectDirectoryDialog) SetOnShow

func (s *TSelectDirectoryDialog) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

func (*TSelectDirectoryDialog) SetOptions

func (s *TSelectDirectoryDialog) SetOptions(value TOpenOptions)

func (*TSelectDirectoryDialog) SetTag

func (s *TSelectDirectoryDialog) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TSelectDirectoryDialog) SetTitle

func (s *TSelectDirectoryDialog) SetTitle(value string)

func (*TSelectDirectoryDialog) Tag

func (s *TSelectDirectoryDialog) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TSelectDirectoryDialog) Title

func (s *TSelectDirectoryDialog) Title() string

func (*TSelectDirectoryDialog) ToString

func (s *TSelectDirectoryDialog) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TSelectDirectoryDialog) UnsafeAddr

func (s *TSelectDirectoryDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TSetEditEvent added in v1.1.19

type TSetEditEvent func(sender IObject, aCol, aRow int32, value string)

TSetEditEvent = procedure (Sender: TObject; ACol, ARow: Longint; const Value: string) of object;

type TShape

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

func AsShape added in v1.2.10

func AsShape(obj interface{}) *TShape

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewShape

func NewShape(owner IComponent) *TShape

CN: 创建一个新的对象。 EN: Create a new object.

func ShapeFromInst

func ShapeFromInst(inst uintptr) *TShape

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsShape.

func ShapeFromObj

func ShapeFromObj(obj IObject) *TShape

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsShape.

func ShapeFromUnsafePointer added in v1.1.21

func ShapeFromUnsafePointer(ptr unsafe.Pointer) *TShape

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsShape.

func (*TShape) Action

func (s *TShape) Action() *TAction

func (*TShape) Align

func (s *TShape) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TShape) AnchorParallel

func (s *TShape) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TShape) AnchorSide

func (s *TShape) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TShape) AnchorSideBottom

func (s *TShape) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TShape) AnchorSideLeft

func (s *TShape) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TShape) AnchorSideRight

func (s *TShape) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TShape) AnchorSideTop

func (s *TShape) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TShape) AnchorToNeighbour

func (s *TShape) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TShape) AnchorVerticalCenterTo

func (s *TShape) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TShape) Anchors

func (s *TShape) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TShape) Assign

func (s *TShape) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TShape) BiDiMode

func (s *TShape) BiDiMode() TBiDiMode

func (*TShape) BorderSpacing

func (s *TShape) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TShape) BoundsRect

func (s *TShape) BoundsRect() TRect

func (*TShape) BringToFront

func (s *TShape) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TShape) Brush

func (s *TShape) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TShape) ClassName

func (s *TShape) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TShape) ClassType added in v1.1.18

func (s *TShape) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TShape) ClientHeight

func (s *TShape) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TShape) ClientOrigin added in v1.1.21

func (s *TShape) ClientOrigin() TPoint

func (*TShape) ClientRect

func (s *TShape) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TShape) ClientToParent

func (s *TShape) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TShape) ClientToScreen

func (s *TShape) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TShape) ClientWidth

func (s *TShape) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TShape) ComponentCount

func (s *TShape) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TShape) ComponentIndex

func (s *TShape) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TShape) Components

func (s *TShape) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TShape) Constraints added in v1.2.7

func (s *TShape) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TShape) ControlState added in v1.1.21

func (s *TShape) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TShape) ControlStyle added in v1.1.21

func (s *TShape) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TShape) Cursor

func (s *TShape) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TShape) DragCursor

func (s *TShape) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TShape) DragKind

func (s *TShape) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TShape) DragMode

func (s *TShape) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TShape) Dragging

func (s *TShape) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TShape) Enabled

func (s *TShape) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TShape) Equals

func (s *TShape) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TShape) FindComponent

func (s *TShape) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TShape) Floating

func (s *TShape) Floating() bool

func (*TShape) Free

func (s *TShape) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TShape) GetHashCode

func (s *TShape) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TShape) GetNamePath

func (s *TShape) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TShape) GetTextBuf

func (s *TShape) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TShape) GetTextLen

func (s *TShape) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TShape) HasParent

func (s *TShape) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TShape) Height

func (s *TShape) Height() int32

CN: 获取高度。 EN: Get height.

func (*TShape) Hide

func (s *TShape) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TShape) Hint

func (s *TShape) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TShape) InheritsFrom added in v1.1.18

func (s *TShape) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TShape) Instance

func (s *TShape) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TShape) InstanceSize added in v1.1.18

func (s *TShape) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TShape) Invalidate

func (s *TShape) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TShape) Is added in v1.2.10

func (s *TShape) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TShape) IsValid

func (s *TShape) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TShape) Left

func (s *TShape) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TShape) Name

func (s *TShape) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TShape) Owner

func (s *TShape) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TShape) Parent

func (s *TShape) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TShape) ParentShowHint

func (s *TShape) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TShape) ParentToClient

func (s *TShape) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: 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

CN: 发送一个消息。 EN: Send a message.

func (*TShape) Refresh

func (s *TShape) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TShape) Repaint

func (s *TShape) Repaint()

CN: 重绘。 EN: Repaint.

func (*TShape) ScreenToClient

func (s *TShape) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TShape) SendToBack

func (s *TShape) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TShape) SetAnchorSideBottom

func (s *TShape) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TShape) SetAnchorSideLeft

func (s *TShape) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TShape) SetAnchorSideRight

func (s *TShape) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TShape) SetAnchorSideTop

func (s *TShape) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TShape) SetAnchors

func (s *TShape) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TShape) SetBiDiMode

func (s *TShape) SetBiDiMode(value TBiDiMode)

func (*TShape) SetBorderSpacing

func (s *TShape) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TShape) SetBounds

func (s *TShape) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TShape) SetBoundsRect

func (s *TShape) SetBoundsRect(value TRect)

func (*TShape) SetBrush

func (s *TShape) SetBrush(value *TBrush)

CN: 设置画刷对象。 EN: Set Brush.

func (*TShape) SetClientHeight

func (s *TShape) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TShape) SetClientWidth

func (s *TShape) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TShape) SetComponentIndex

func (s *TShape) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TShape) SetConstraints added in v1.2.7

func (s *TShape) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TShape) SetControlState added in v1.1.21

func (s *TShape) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TShape) SetControlStyle added in v1.1.21

func (s *TShape) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TShape) SetCursor

func (s *TShape) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TShape) SetDragCursor

func (s *TShape) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TShape) SetDragKind

func (s *TShape) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TShape) SetDragMode

func (s *TShape) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TShape) SetEnabled

func (s *TShape) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TShape) SetHeight

func (s *TShape) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TShape) SetHint

func (s *TShape) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TShape) SetLeft

func (s *TShape) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TShape) SetName

func (s *TShape) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TShape) SetOnDragDrop

func (s *TShape) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TShape) SetOnDragOver

func (s *TShape) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TShape) SetOnEndDrag

func (s *TShape) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TShape) SetOnMouseDown

func (s *TShape) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TShape) SetOnMouseEnter

func (s *TShape) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TShape) SetOnMouseLeave

func (s *TShape) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TShape) SetOnMouseMove

func (s *TShape) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TShape) SetOnMouseUp

func (s *TShape) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TShape) SetParent

func (s *TShape) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TShape) SetParentShowHint

func (s *TShape) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

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)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TShape) SetTag

func (s *TShape) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TShape) SetTextBuf added in v1.1.21

func (s *TShape) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TShape) SetTop

func (s *TShape) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TShape) SetVisible

func (s *TShape) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TShape) SetWidth

func (s *TShape) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TShape) Shape

func (s *TShape) Shape() TShapeType

func (*TShape) Show

func (s *TShape) Show()

CN: 显示控件。 EN: Show control.

func (*TShape) ShowHint

func (s *TShape) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TShape) Tag

func (s *TShape) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TShape) ToString

func (s *TShape) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TShape) Top

func (s *TShape) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TShape) UnsafeAddr added in v1.1.21

func (s *TShape) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TShape) Update

func (s *TShape) Update()

CN: 控件更新。 EN: Update.

func (*TShape) Visible

func (s *TShape) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TShape) Width

func (s *TShape) Width() int32

CN: 获取宽度。 EN: Get width.

type TShortCutEvent

type TShortCutEvent func(msg *TWMKey, handled *bool)

TShortCutEvent = procedure (var Msg: TWMKey; var Handled: Boolean) of object;

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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func SizeConstraintsFromInst added in v1.2.7

func SizeConstraintsFromInst(inst uintptr) *TSizeConstraints

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsSizeConstraints.

func SizeConstraintsFromObj added in v1.2.7

func SizeConstraintsFromObj(obj IObject) *TSizeConstraints

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsSizeConstraints.

func SizeConstraintsFromUnsafePointer added in v1.2.7

func SizeConstraintsFromUnsafePointer(ptr unsafe.Pointer) *TSizeConstraints

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSizeConstraints.

func (*TSizeConstraints) Assign added in v1.2.7

func (s *TSizeConstraints) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TSizeConstraints) ClassName added in v1.2.7

func (s *TSizeConstraints) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TSizeConstraints) ClassType added in v1.2.7

func (s *TSizeConstraints) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TSizeConstraints) Equals added in v1.2.7

func (s *TSizeConstraints) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TSizeConstraints) GetHashCode added in v1.2.7

func (s *TSizeConstraints) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TSizeConstraints) GetNamePath added in v1.2.7

func (s *TSizeConstraints) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TSizeConstraints) InheritsFrom added in v1.2.7

func (s *TSizeConstraints) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TSizeConstraints) Instance added in v1.2.7

func (s *TSizeConstraints) Instance() uintptr

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TSizeConstraints) InstanceSize added in v1.2.7

func (s *TSizeConstraints) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TSizeConstraints) Is added in v1.2.10

func (s *TSizeConstraints) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TSizeConstraints) IsValid added in v1.2.7

func (s *TSizeConstraints) IsValid() bool

CN: 检测地址是否为空。 EN: 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)

CN: 设置改变事件。 EN: Set changed event.

func (*TSizeConstraints) ToString added in v1.2.7

func (s *TSizeConstraints) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TSizeConstraints) UnsafeAddr added in v1.2.7

func (s *TSizeConstraints) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewSpeedButton

func NewSpeedButton(owner IComponent) *TSpeedButton

CN: 创建一个新的对象。 EN: Create a new object.

func SpeedButtonFromInst

func SpeedButtonFromInst(inst uintptr) *TSpeedButton

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsSpeedButton.

func SpeedButtonFromObj

func SpeedButtonFromObj(obj IObject) *TSpeedButton

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsSpeedButton.

func SpeedButtonFromUnsafePointer added in v1.1.21

func SpeedButtonFromUnsafePointer(ptr unsafe.Pointer) *TSpeedButton

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSpeedButton.

func (*TSpeedButton) Action

func (s *TSpeedButton) Action() *TAction

func (*TSpeedButton) Align

func (s *TSpeedButton) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TSpeedButton) AnchorParallel

func (s *TSpeedButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSpeedButton) AnchorSide

func (s *TSpeedButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TSpeedButton) AnchorSideBottom

func (s *TSpeedButton) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TSpeedButton) AnchorSideLeft

func (s *TSpeedButton) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TSpeedButton) AnchorSideRight

func (s *TSpeedButton) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TSpeedButton) AnchorSideTop

func (s *TSpeedButton) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TSpeedButton) AnchorToNeighbour

func (s *TSpeedButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSpeedButton) AnchorVerticalCenterTo

func (s *TSpeedButton) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TSpeedButton) Anchors

func (s *TSpeedButton) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TSpeedButton) Assign

func (s *TSpeedButton) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TSpeedButton) BiDiMode

func (s *TSpeedButton) BiDiMode() TBiDiMode

func (*TSpeedButton) BorderSpacing

func (s *TSpeedButton) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TSpeedButton) BoundsRect

func (s *TSpeedButton) BoundsRect() TRect

func (*TSpeedButton) BringToFront

func (s *TSpeedButton) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TSpeedButton) Caption

func (s *TSpeedButton) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TSpeedButton) ClassName

func (s *TSpeedButton) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TSpeedButton) ClassType added in v1.1.18

func (s *TSpeedButton) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TSpeedButton) Click

func (s *TSpeedButton) Click()

CN: 单击。 EN: .

func (*TSpeedButton) ClientHeight

func (s *TSpeedButton) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TSpeedButton) ClientOrigin added in v1.1.21

func (s *TSpeedButton) ClientOrigin() TPoint

func (*TSpeedButton) ClientRect

func (s *TSpeedButton) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TSpeedButton) ClientToParent

func (s *TSpeedButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TSpeedButton) ClientToScreen

func (s *TSpeedButton) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TSpeedButton) ClientWidth

func (s *TSpeedButton) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TSpeedButton) ComponentCount

func (s *TSpeedButton) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TSpeedButton) ComponentIndex

func (s *TSpeedButton) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TSpeedButton) Components

func (s *TSpeedButton) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TSpeedButton) Constraints added in v1.2.7

func (s *TSpeedButton) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TSpeedButton) ControlState added in v1.1.21

func (s *TSpeedButton) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TSpeedButton) ControlStyle added in v1.1.21

func (s *TSpeedButton) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TSpeedButton) Cursor

func (s *TSpeedButton) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TSpeedButton) Down

func (s *TSpeedButton) Down() bool

func (*TSpeedButton) Dragging

func (s *TSpeedButton) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TSpeedButton) Enabled

func (s *TSpeedButton) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TSpeedButton) Equals

func (s *TSpeedButton) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TSpeedButton) FindComponent

func (s *TSpeedButton) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TSpeedButton) Flat

func (s *TSpeedButton) Flat() bool

CN: 获取平面样式。 EN: .

func (*TSpeedButton) Floating

func (s *TSpeedButton) Floating() bool

func (*TSpeedButton) Font

func (s *TSpeedButton) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TSpeedButton) Free

func (s *TSpeedButton) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TSpeedButton) GetHashCode

func (s *TSpeedButton) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TSpeedButton) GetNamePath

func (s *TSpeedButton) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TSpeedButton) GetTextBuf

func (s *TSpeedButton) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TSpeedButton) GetTextLen

func (s *TSpeedButton) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: 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

CN: 获取团组索引。 EN: .

func (*TSpeedButton) HasParent

func (s *TSpeedButton) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TSpeedButton) Height

func (s *TSpeedButton) Height() int32

CN: 获取高度。 EN: Get height.

func (*TSpeedButton) Hide

func (s *TSpeedButton) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TSpeedButton) Hint

func (s *TSpeedButton) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TSpeedButton) ImageIndex

func (s *TSpeedButton) ImageIndex() int32

CN: 获取图像在images中的索引。 EN: .

func (*TSpeedButton) ImageWidth

func (s *TSpeedButton) ImageWidth() int32

func (*TSpeedButton) Images

func (s *TSpeedButton) Images() *TImageList

CN: 获取图标索引列表对象。 EN: .

func (*TSpeedButton) InheritsFrom added in v1.1.18

func (s *TSpeedButton) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TSpeedButton) Instance

func (s *TSpeedButton) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TSpeedButton) InstanceSize added in v1.1.18

func (s *TSpeedButton) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TSpeedButton) Invalidate

func (s *TSpeedButton) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TSpeedButton) Is added in v1.2.10

func (s *TSpeedButton) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TSpeedButton) IsValid

func (s *TSpeedButton) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TSpeedButton) Layout

func (s *TSpeedButton) Layout() TButtonLayout

func (*TSpeedButton) Left

func (s *TSpeedButton) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TSpeedButton) Name

func (s *TSpeedButton) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TSpeedButton) NumGlyphs

func (s *TSpeedButton) NumGlyphs() TNumGlyphs

func (*TSpeedButton) Owner

func (s *TSpeedButton) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TSpeedButton) Parent

func (s *TSpeedButton) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TSpeedButton) ParentFont

func (s *TSpeedButton) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TSpeedButton) ParentShowHint

func (s *TSpeedButton) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TSpeedButton) ParentToClient

func (s *TSpeedButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TSpeedButton) Perform

func (s *TSpeedButton) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TSpeedButton) PopupMenu

func (s *TSpeedButton) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TSpeedButton) Refresh

func (s *TSpeedButton) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TSpeedButton) Repaint

func (s *TSpeedButton) Repaint()

CN: 重绘。 EN: Repaint.

func (*TSpeedButton) ScreenToClient

func (s *TSpeedButton) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TSpeedButton) SendToBack

func (s *TSpeedButton) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TSpeedButton) SetAllowAllUp

func (s *TSpeedButton) SetAllowAllUp(value bool)

func (*TSpeedButton) SetAnchorSideBottom

func (s *TSpeedButton) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TSpeedButton) SetAnchorSideLeft

func (s *TSpeedButton) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TSpeedButton) SetAnchorSideRight

func (s *TSpeedButton) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TSpeedButton) SetAnchorSideTop

func (s *TSpeedButton) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TSpeedButton) SetAnchors

func (s *TSpeedButton) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TSpeedButton) SetBiDiMode

func (s *TSpeedButton) SetBiDiMode(value TBiDiMode)

func (*TSpeedButton) SetBorderSpacing

func (s *TSpeedButton) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TSpeedButton) SetBounds

func (s *TSpeedButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TSpeedButton) SetBoundsRect

func (s *TSpeedButton) SetBoundsRect(value TRect)

func (*TSpeedButton) SetCaption

func (s *TSpeedButton) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TSpeedButton) SetClientHeight

func (s *TSpeedButton) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TSpeedButton) SetClientWidth

func (s *TSpeedButton) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TSpeedButton) SetComponentIndex

func (s *TSpeedButton) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TSpeedButton) SetConstraints added in v1.2.7

func (s *TSpeedButton) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TSpeedButton) SetControlState added in v1.1.21

func (s *TSpeedButton) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TSpeedButton) SetControlStyle added in v1.1.21

func (s *TSpeedButton) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TSpeedButton) SetCursor

func (s *TSpeedButton) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TSpeedButton) SetDown

func (s *TSpeedButton) SetDown(value bool)

func (*TSpeedButton) SetEnabled

func (s *TSpeedButton) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TSpeedButton) SetFlat

func (s *TSpeedButton) SetFlat(value bool)

CN: 设置平面样式。 EN: .

func (*TSpeedButton) SetFont

func (s *TSpeedButton) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TSpeedButton) SetGlyph

func (s *TSpeedButton) SetGlyph(value *TBitmap)

func (*TSpeedButton) SetGroupIndex

func (s *TSpeedButton) SetGroupIndex(value int32)

CN: 设置团组索引。 EN: .

func (*TSpeedButton) SetHeight

func (s *TSpeedButton) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TSpeedButton) SetHint

func (s *TSpeedButton) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TSpeedButton) SetImageIndex

func (s *TSpeedButton) SetImageIndex(value int32)

CN: 设置图像在images中的索引。 EN: .

func (*TSpeedButton) SetImageWidth

func (s *TSpeedButton) SetImageWidth(value int32)

func (*TSpeedButton) SetImages

func (s *TSpeedButton) SetImages(value IComponent)

CN: 设置图标索引列表对象。 EN: .

func (*TSpeedButton) SetLayout

func (s *TSpeedButton) SetLayout(value TButtonLayout)

func (*TSpeedButton) SetLeft

func (s *TSpeedButton) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TSpeedButton) SetName

func (s *TSpeedButton) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TSpeedButton) SetNumGlyphs

func (s *TSpeedButton) SetNumGlyphs(value TNumGlyphs)

func (*TSpeedButton) SetOnClick

func (s *TSpeedButton) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TSpeedButton) SetOnDblClick

func (s *TSpeedButton) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TSpeedButton) SetOnMouseDown

func (s *TSpeedButton) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TSpeedButton) SetOnMouseEnter

func (s *TSpeedButton) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TSpeedButton) SetOnMouseLeave

func (s *TSpeedButton) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TSpeedButton) SetOnMouseMove

func (s *TSpeedButton) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TSpeedButton) SetOnMouseUp

func (s *TSpeedButton) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TSpeedButton) SetParent

func (s *TSpeedButton) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TSpeedButton) SetParentFont

func (s *TSpeedButton) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TSpeedButton) SetParentShowHint

func (s *TSpeedButton) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TSpeedButton) SetPopupMenu

func (s *TSpeedButton) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TSpeedButton) SetShowCaption

func (s *TSpeedButton) SetShowCaption(value bool)

func (*TSpeedButton) SetShowHint

func (s *TSpeedButton) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TSpeedButton) SetSpacing

func (s *TSpeedButton) SetSpacing(value int32)

func (*TSpeedButton) SetTag

func (s *TSpeedButton) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TSpeedButton) SetTextBuf added in v1.1.21

func (s *TSpeedButton) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TSpeedButton) SetTop

func (s *TSpeedButton) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TSpeedButton) SetTransparent

func (s *TSpeedButton) SetTransparent(value bool)

CN: 设置透明。 EN: Set transparent.

func (*TSpeedButton) SetVisible

func (s *TSpeedButton) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TSpeedButton) SetWidth

func (s *TSpeedButton) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TSpeedButton) Show

func (s *TSpeedButton) Show()

CN: 显示控件。 EN: Show control.

func (*TSpeedButton) ShowCaption

func (s *TSpeedButton) ShowCaption() bool

func (*TSpeedButton) ShowHint

func (s *TSpeedButton) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TSpeedButton) Spacing

func (s *TSpeedButton) Spacing() int32

func (*TSpeedButton) Tag

func (s *TSpeedButton) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TSpeedButton) ToString

func (s *TSpeedButton) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TSpeedButton) Top

func (s *TSpeedButton) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TSpeedButton) Transparent

func (s *TSpeedButton) Transparent() bool

CN: 获取透明。 EN: Get transparent.

func (*TSpeedButton) UnsafeAddr added in v1.1.21

func (s *TSpeedButton) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TSpeedButton) Update

func (s *TSpeedButton) Update()

CN: 控件更新。 EN: Update.

func (*TSpeedButton) Visible

func (s *TSpeedButton) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TSpeedButton) Width

func (s *TSpeedButton) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewSpinEdit added in v1.2.0

func NewSpinEdit(owner IComponent) *TSpinEdit

CN: 创建一个新的对象。 EN: Create a new object.

func SpinEditFromInst added in v1.2.0

func SpinEditFromInst(inst uintptr) *TSpinEdit

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsSpinEdit.

func SpinEditFromObj added in v1.2.0

func SpinEditFromObj(obj IObject) *TSpinEdit

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsSpinEdit.

func SpinEditFromUnsafePointer added in v1.2.0

func SpinEditFromUnsafePointer(ptr unsafe.Pointer) *TSpinEdit

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSpinEdit.

func (*TSpinEdit) Action added in v1.2.0

func (s *TSpinEdit) Action() *TAction

func (*TSpinEdit) Align added in v1.2.0

func (s *TSpinEdit) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TSpinEdit) Alignment added in v1.2.0

func (s *TSpinEdit) Alignment() TAlignment

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TSpinEdit) AnchorParallel

func (s *TSpinEdit) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSpinEdit) AnchorSide

func (s *TSpinEdit) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TSpinEdit) AnchorSideBottom

func (s *TSpinEdit) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TSpinEdit) AnchorSideLeft

func (s *TSpinEdit) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TSpinEdit) AnchorSideRight

func (s *TSpinEdit) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TSpinEdit) AnchorSideTop

func (s *TSpinEdit) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TSpinEdit) AnchorToNeighbour

func (s *TSpinEdit) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSpinEdit) AnchorVerticalCenterTo

func (s *TSpinEdit) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TSpinEdit) Anchors added in v1.2.0

func (s *TSpinEdit) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TSpinEdit) Assign added in v1.2.0

func (s *TSpinEdit) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TSpinEdit) AutoSelect added in v1.2.0

func (s *TSpinEdit) AutoSelect() bool

CN: 获取自动选择。 EN: .

func (*TSpinEdit) AutoSize added in v1.2.0

func (s *TSpinEdit) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TSpinEdit) BiDiMode added in v1.2.0

func (s *TSpinEdit) BiDiMode() TBiDiMode

func (*TSpinEdit) BorderSpacing

func (s *TSpinEdit) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TSpinEdit) Brush added in v1.2.0

func (s *TSpinEdit) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TSpinEdit) CanFocus added in v1.2.0

func (s *TSpinEdit) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TSpinEdit) CanUndo added in v1.2.0

func (s *TSpinEdit) CanUndo() bool

CN: 获取能否撤销。 EN: .

func (*TSpinEdit) ChildSizing

func (s *TSpinEdit) ChildSizing() *TControlChildSizing

func (*TSpinEdit) ClassName added in v1.2.0

func (s *TSpinEdit) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TSpinEdit) ClassType added in v1.2.0

func (s *TSpinEdit) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TSpinEdit) Clear added in v1.2.0

func (s *TSpinEdit) Clear()

CN: 清除。 EN: .

func (*TSpinEdit) ClearSelection added in v1.2.0

func (s *TSpinEdit) ClearSelection()

CN: 清除选择。 EN: .

func (*TSpinEdit) ClientHeight added in v1.2.0

func (s *TSpinEdit) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TSpinEdit) ClientToParent added in v1.2.0

func (s *TSpinEdit) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TSpinEdit) ClientToScreen added in v1.2.0

func (s *TSpinEdit) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TSpinEdit) ClientWidth added in v1.2.0

func (s *TSpinEdit) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TSpinEdit) Color added in v1.2.0

func (s *TSpinEdit) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TSpinEdit) ComponentCount added in v1.2.0

func (s *TSpinEdit) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TSpinEdit) ComponentIndex added in v1.2.0

func (s *TSpinEdit) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TSpinEdit) Components added in v1.2.0

func (s *TSpinEdit) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TSpinEdit) Constraints added in v1.2.7

func (s *TSpinEdit) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TSpinEdit) ContainsControl added in v1.2.0

func (s *TSpinEdit) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TSpinEdit) ControlCount added in v1.2.0

func (s *TSpinEdit) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TSpinEdit) ControlState added in v1.2.0

func (s *TSpinEdit) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TSpinEdit) ControlStyle added in v1.2.0

func (s *TSpinEdit) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TSpinEdit) Controls added in v1.2.0

func (s *TSpinEdit) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TSpinEdit) CopyToClipboard added in v1.2.0

func (s *TSpinEdit) CopyToClipboard()

CN: 复制到粘贴板。 EN: .

func (*TSpinEdit) Cursor added in v1.2.0

func (s *TSpinEdit) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TSpinEdit) CutToClipboard added in v1.2.0

func (s *TSpinEdit) CutToClipboard()

CN: 剪切到粘贴板。 EN: .

func (*TSpinEdit) DisableAlign added in v1.2.0

func (s *TSpinEdit) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TSpinEdit) DockClientCount added in v1.2.0

func (s *TSpinEdit) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TSpinEdit) DockClients added in v1.2.0

func (s *TSpinEdit) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TSpinEdit) DockSite added in v1.2.0

func (s *TSpinEdit) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TSpinEdit) DoubleBuffered added in v1.2.0

func (s *TSpinEdit) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TSpinEdit) Dragging added in v1.2.0

func (s *TSpinEdit) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TSpinEdit) EnableAlign added in v1.2.0

func (s *TSpinEdit) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TSpinEdit) Enabled added in v1.2.0

func (s *TSpinEdit) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TSpinEdit) Equals added in v1.2.0

func (s *TSpinEdit) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TSpinEdit) FindChildControl added in v1.2.0

func (s *TSpinEdit) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TSpinEdit) FindComponent added in v1.2.0

func (s *TSpinEdit) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TSpinEdit) Font added in v1.2.0

func (s *TSpinEdit) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TSpinEdit) Free added in v1.2.0

func (s *TSpinEdit) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TSpinEdit) GetHashCode added in v1.2.0

func (s *TSpinEdit) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TSpinEdit) GetNamePath added in v1.2.0

func (s *TSpinEdit) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TSpinEdit) GetTextBuf added in v1.2.0

func (s *TSpinEdit) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TSpinEdit) GetTextLen added in v1.2.0

func (s *TSpinEdit) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TSpinEdit) Handle added in v1.2.0

func (s *TSpinEdit) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TSpinEdit) HandleAllocated added in v1.2.0

func (s *TSpinEdit) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TSpinEdit) HasParent added in v1.2.0

func (s *TSpinEdit) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TSpinEdit) Height added in v1.2.0

func (s *TSpinEdit) Height() int32

CN: 获取高度。 EN: Get height.

func (*TSpinEdit) Hide added in v1.2.0

func (s *TSpinEdit) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TSpinEdit) Hint added in v1.2.0

func (s *TSpinEdit) Hint() string

CN: 获取组件鼠标悬停提示。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TSpinEdit) InsertControl added in v1.2.0

func (s *TSpinEdit) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TSpinEdit) Instance added in v1.2.0

func (s *TSpinEdit) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TSpinEdit) InstanceSize added in v1.2.0

func (s *TSpinEdit) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TSpinEdit) Invalidate added in v1.2.0

func (s *TSpinEdit) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TSpinEdit) Is added in v1.2.10

func (s *TSpinEdit) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TSpinEdit) IsValid added in v1.2.0

func (s *TSpinEdit) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TSpinEdit) Left added in v1.2.0

func (s *TSpinEdit) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TSpinEdit) MaxLength added in v1.2.0

func (s *TSpinEdit) MaxLength() int32

CN: 获取最大长度。 EN: .

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

CN: 获取修改。 EN: Get modified.

func (*TSpinEdit) MouseInClient added in v1.2.0

func (s *TSpinEdit) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TSpinEdit) Owner added in v1.2.0

func (s *TSpinEdit) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TSpinEdit) Parent added in v1.2.0

func (s *TSpinEdit) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TSpinEdit) ParentColor added in v1.2.0

func (s *TSpinEdit) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TSpinEdit) ParentDoubleBuffered added in v1.2.0

func (s *TSpinEdit) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TSpinEdit) ParentFont added in v1.2.0

func (s *TSpinEdit) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TSpinEdit) ParentShowHint added in v1.2.0

func (s *TSpinEdit) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TSpinEdit) ParentToClient added in v1.2.0

func (s *TSpinEdit) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TSpinEdit) ParentWindow added in v1.2.0

func (s *TSpinEdit) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TSpinEdit) PasteFromClipboard added in v1.2.0

func (s *TSpinEdit) PasteFromClipboard()

CN: 从剪切板粘贴。 EN: .

func (*TSpinEdit) Perform added in v1.2.0

func (s *TSpinEdit) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TSpinEdit) PopupMenu added in v1.2.0

func (s *TSpinEdit) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TSpinEdit) ReadOnly added in v1.2.0

func (s *TSpinEdit) ReadOnly() bool

CN: 获取只读。 EN: .

func (*TSpinEdit) Realign added in v1.2.0

func (s *TSpinEdit) Realign()

CN: 重新对齐。 EN: Realign.

func (*TSpinEdit) Refresh added in v1.2.0

func (s *TSpinEdit) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TSpinEdit) RemoveControl added in v1.2.0

func (s *TSpinEdit) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TSpinEdit) Repaint added in v1.2.0

func (s *TSpinEdit) Repaint()

CN: 重绘。 EN: Repaint.

func (*TSpinEdit) ScaleBy added in v1.2.0

func (s *TSpinEdit) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TSpinEdit) ScreenToClient added in v1.2.0

func (s *TSpinEdit) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TSpinEdit) ScrollBy added in v1.2.0

func (s *TSpinEdit) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TSpinEdit) SelLength added in v1.2.0

func (s *TSpinEdit) SelLength() int32

CN: 获取选择的长度。 EN: .

func (*TSpinEdit) SelStart added in v1.2.0

func (s *TSpinEdit) SelStart() int32

CN: 获取选择的启始位置。 EN: .

func (*TSpinEdit) SelText added in v1.2.0

func (s *TSpinEdit) SelText() string

CN: 获取选择的文本。 EN: .

func (*TSpinEdit) SelectAll added in v1.2.0

func (s *TSpinEdit) SelectAll()

CN: 全选。 EN: .

func (*TSpinEdit) SendToBack added in v1.2.0

func (s *TSpinEdit) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TSpinEdit) SetAlignment added in v1.2.0

func (s *TSpinEdit) SetAlignment(value TAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TSpinEdit) SetAnchorSideBottom

func (s *TSpinEdit) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TSpinEdit) SetAnchorSideLeft

func (s *TSpinEdit) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TSpinEdit) SetAnchorSideRight

func (s *TSpinEdit) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TSpinEdit) SetAnchorSideTop

func (s *TSpinEdit) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TSpinEdit) SetAnchors added in v1.2.0

func (s *TSpinEdit) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TSpinEdit) SetAutoSelect added in v1.2.0

func (s *TSpinEdit) SetAutoSelect(value bool)

CN: 设置自动选择。 EN: .

func (*TSpinEdit) SetAutoSize added in v1.2.0

func (s *TSpinEdit) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TSpinEdit) SetBiDiMode added in v1.2.0

func (s *TSpinEdit) SetBiDiMode(value TBiDiMode)

func (*TSpinEdit) SetBorderSpacing

func (s *TSpinEdit) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TSpinEdit) SetBounds added in v1.2.0

func (s *TSpinEdit) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TSpinEdit) SetClientWidth added in v1.2.0

func (s *TSpinEdit) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TSpinEdit) SetColor added in v1.2.0

func (s *TSpinEdit) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TSpinEdit) SetComponentIndex added in v1.2.0

func (s *TSpinEdit) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TSpinEdit) SetConstraints added in v1.2.7

func (s *TSpinEdit) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TSpinEdit) SetControlState added in v1.2.0

func (s *TSpinEdit) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TSpinEdit) SetControlStyle added in v1.2.0

func (s *TSpinEdit) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TSpinEdit) SetCursor added in v1.2.0

func (s *TSpinEdit) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TSpinEdit) SetDockSite added in v1.2.0

func (s *TSpinEdit) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TSpinEdit) SetDoubleBuffered added in v1.2.0

func (s *TSpinEdit) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TSpinEdit) SetEnabled added in v1.2.0

func (s *TSpinEdit) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TSpinEdit) SetFocus added in v1.2.0

func (s *TSpinEdit) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TSpinEdit) SetFont added in v1.2.0

func (s *TSpinEdit) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TSpinEdit) SetHeight added in v1.2.0

func (s *TSpinEdit) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TSpinEdit) SetHint added in v1.2.0

func (s *TSpinEdit) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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)

CN: 设置左边位置。 EN: Set Left position.

func (*TSpinEdit) SetMaxLength added in v1.2.0

func (s *TSpinEdit) SetMaxLength(value int32)

CN: 设置最大长度。 EN: .

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)

CN: 设置修改。 EN: Set modified.

func (*TSpinEdit) SetName added in v1.2.0

func (s *TSpinEdit) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TSpinEdit) SetOnChange added in v1.2.0

func (s *TSpinEdit) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TSpinEdit) SetOnClick added in v1.2.0

func (s *TSpinEdit) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TSpinEdit) SetOnEnter added in v1.2.0

func (s *TSpinEdit) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TSpinEdit) SetOnExit added in v1.2.0

func (s *TSpinEdit) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TSpinEdit) SetOnKeyDown added in v1.2.0

func (s *TSpinEdit) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TSpinEdit) SetOnKeyPress added in v1.2.0

func (s *TSpinEdit) SetOnKeyPress(fn TKeyPressEvent)

func (*TSpinEdit) SetOnKeyUp added in v1.2.0

func (s *TSpinEdit) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TSpinEdit) SetOnMouseDown added in v1.2.0

func (s *TSpinEdit) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TSpinEdit) SetOnMouseMove added in v1.2.0

func (s *TSpinEdit) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TSpinEdit) SetOnMouseUp added in v1.2.0

func (s *TSpinEdit) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TSpinEdit) SetParent added in v1.2.0

func (s *TSpinEdit) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TSpinEdit) SetParentColor added in v1.2.0

func (s *TSpinEdit) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TSpinEdit) SetParentDoubleBuffered added in v1.2.0

func (s *TSpinEdit) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TSpinEdit) SetParentFont added in v1.2.0

func (s *TSpinEdit) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TSpinEdit) SetParentShowHint added in v1.2.0

func (s *TSpinEdit) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TSpinEdit) SetParentWindow added in v1.2.0

func (s *TSpinEdit) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TSpinEdit) SetPopupMenu added in v1.2.0

func (s *TSpinEdit) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TSpinEdit) SetReadOnly added in v1.2.0

func (s *TSpinEdit) SetReadOnly(value bool)

CN: 设置只读。 EN: .

func (*TSpinEdit) SetSelLength added in v1.2.0

func (s *TSpinEdit) SetSelLength(value int32)

CN: 设置选择的长度。 EN: .

func (*TSpinEdit) SetSelStart added in v1.2.0

func (s *TSpinEdit) SetSelStart(value int32)

CN: 设置选择的启始位置。 EN: .

func (*TSpinEdit) SetSelText added in v1.2.0

func (s *TSpinEdit) SetSelText(value string)

CN: 设置选择的文本。 EN: .

func (*TSpinEdit) SetShowHint added in v1.2.0

func (s *TSpinEdit) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TSpinEdit) SetTabOrder added in v1.2.0

func (s *TSpinEdit) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TSpinEdit) SetTabStop added in v1.2.0

func (s *TSpinEdit) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TSpinEdit) SetTag added in v1.2.0

func (s *TSpinEdit) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TSpinEdit) SetText added in v1.2.0

func (s *TSpinEdit) SetText(value string)

CN: 设置文本。 EN: .

func (*TSpinEdit) SetTextBuf added in v1.2.0

func (s *TSpinEdit) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TSpinEdit) SetTextHint added in v1.2.0

func (s *TSpinEdit) SetTextHint(value string)

CN: 设置提示文本。 EN: .

func (*TSpinEdit) SetTop added in v1.2.0

func (s *TSpinEdit) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TSpinEdit) SetUseDockManager added in v1.2.0

func (s *TSpinEdit) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

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)

CN: 设置控件可视。 EN: Set the control visible.

func (*TSpinEdit) SetWidth added in v1.2.0

func (s *TSpinEdit) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TSpinEdit) Show added in v1.2.0

func (s *TSpinEdit) Show()

CN: 显示控件。 EN: Show control.

func (*TSpinEdit) ShowHint added in v1.2.0

func (s *TSpinEdit) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TSpinEdit) TabOrder added in v1.2.0

func (s *TSpinEdit) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TSpinEdit) TabStop added in v1.2.0

func (s *TSpinEdit) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TSpinEdit) Tag added in v1.2.0

func (s *TSpinEdit) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TSpinEdit) Text added in v1.2.0

func (s *TSpinEdit) Text() string

CN: 获取文本。 EN: .

func (*TSpinEdit) TextHint added in v1.2.0

func (s *TSpinEdit) TextHint() string

CN: 获取提示文本。 EN: .

func (*TSpinEdit) ToString added in v1.2.0

func (s *TSpinEdit) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TSpinEdit) Top added in v1.2.0

func (s *TSpinEdit) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TSpinEdit) Undo added in v1.2.0

func (s *TSpinEdit) Undo()

CN: 撤销上一次操作。 EN: .

func (*TSpinEdit) UnsafeAddr added in v1.2.0

func (s *TSpinEdit) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TSpinEdit) Update added in v1.2.0

func (s *TSpinEdit) Update()

CN: 控件更新。 EN: Update.

func (*TSpinEdit) UseDockManager added in v1.2.0

func (s *TSpinEdit) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

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

CN: 获取控件可视。 EN: Get the control visible.

func (*TSpinEdit) VisibleDockClientCount added in v1.2.0

func (s *TSpinEdit) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TSpinEdit) Width added in v1.2.0

func (s *TSpinEdit) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewSplitter

func NewSplitter(owner IComponent) *TSplitter

CN: 创建一个新的对象。 EN: Create a new object.

func SplitterFromInst

func SplitterFromInst(inst uintptr) *TSplitter

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsSplitter.

func SplitterFromObj

func SplitterFromObj(obj IObject) *TSplitter

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsSplitter.

func SplitterFromUnsafePointer added in v1.1.21

func SplitterFromUnsafePointer(ptr unsafe.Pointer) *TSplitter

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsSplitter.

func (*TSplitter) Action

func (s *TSplitter) Action() *TAction

func (*TSplitter) Align

func (s *TSplitter) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TSplitter) AnchorParallel

func (s *TSplitter) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSplitter) AnchorSide

func (s *TSplitter) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TSplitter) AnchorSideBottom

func (s *TSplitter) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TSplitter) AnchorSideLeft

func (s *TSplitter) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TSplitter) AnchorSideRight

func (s *TSplitter) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TSplitter) AnchorSideTop

func (s *TSplitter) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TSplitter) AnchorToNeighbour

func (s *TSplitter) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TSplitter) AnchorVerticalCenterTo

func (s *TSplitter) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TSplitter) Anchors

func (s *TSplitter) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TSplitter) Assign

func (s *TSplitter) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TSplitter) BiDiMode

func (s *TSplitter) BiDiMode() TBiDiMode

func (*TSplitter) BorderSpacing

func (s *TSplitter) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TSplitter) BoundsRect

func (s *TSplitter) BoundsRect() TRect

func (*TSplitter) BringToFront

func (s *TSplitter) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TSplitter) Canvas

func (s *TSplitter) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TSplitter) ClassName

func (s *TSplitter) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TSplitter) ClassType added in v1.1.18

func (s *TSplitter) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TSplitter) ClientHeight

func (s *TSplitter) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TSplitter) ClientOrigin added in v1.1.21

func (s *TSplitter) ClientOrigin() TPoint

func (*TSplitter) ClientRect

func (s *TSplitter) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TSplitter) ClientToParent

func (s *TSplitter) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TSplitter) ClientToScreen

func (s *TSplitter) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TSplitter) ClientWidth

func (s *TSplitter) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TSplitter) Color

func (s *TSplitter) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TSplitter) ComponentCount

func (s *TSplitter) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TSplitter) ComponentIndex

func (s *TSplitter) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TSplitter) Components

func (s *TSplitter) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TSplitter) Constraints added in v1.2.7

func (s *TSplitter) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TSplitter) ControlState added in v1.1.21

func (s *TSplitter) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TSplitter) ControlStyle added in v1.1.21

func (s *TSplitter) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TSplitter) Cursor

func (s *TSplitter) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TSplitter) Dragging

func (s *TSplitter) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TSplitter) Enabled

func (s *TSplitter) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TSplitter) Equals

func (s *TSplitter) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TSplitter) FindComponent

func (s *TSplitter) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TSplitter) Floating

func (s *TSplitter) Floating() bool

func (*TSplitter) Free

func (s *TSplitter) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TSplitter) GetHashCode

func (s *TSplitter) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TSplitter) GetNamePath

func (s *TSplitter) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TSplitter) GetTextBuf

func (s *TSplitter) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TSplitter) GetTextLen

func (s *TSplitter) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TSplitter) HasParent

func (s *TSplitter) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TSplitter) Height

func (s *TSplitter) Height() int32

CN: 获取高度。 EN: Get height.

func (*TSplitter) Hide

func (s *TSplitter) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TSplitter) Hint

func (s *TSplitter) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TSplitter) InheritsFrom added in v1.1.18

func (s *TSplitter) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TSplitter) Instance

func (s *TSplitter) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TSplitter) InstanceSize added in v1.1.18

func (s *TSplitter) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TSplitter) Invalidate

func (s *TSplitter) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TSplitter) Is added in v1.2.10

func (s *TSplitter) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TSplitter) IsValid

func (s *TSplitter) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TSplitter) Left

func (s *TSplitter) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TSplitter) Name

func (s *TSplitter) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TSplitter) Owner

func (s *TSplitter) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TSplitter) Parent

func (s *TSplitter) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TSplitter) ParentColor

func (s *TSplitter) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TSplitter) ParentToClient

func (s *TSplitter) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TSplitter) Perform

func (s *TSplitter) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TSplitter) Refresh

func (s *TSplitter) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TSplitter) Repaint

func (s *TSplitter) Repaint()

CN: 重绘。 EN: Repaint.

func (*TSplitter) ResizeAnchor

func (s *TSplitter) ResizeAnchor() TAnchorKind

func (*TSplitter) ScreenToClient

func (s *TSplitter) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TSplitter) SendToBack

func (s *TSplitter) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TSplitter) SetAnchorSideBottom

func (s *TSplitter) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TSplitter) SetAnchorSideLeft

func (s *TSplitter) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TSplitter) SetAnchorSideRight

func (s *TSplitter) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TSplitter) SetAnchorSideTop

func (s *TSplitter) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TSplitter) SetAnchors

func (s *TSplitter) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TSplitter) SetBiDiMode

func (s *TSplitter) SetBiDiMode(value TBiDiMode)

func (*TSplitter) SetBorderSpacing

func (s *TSplitter) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TSplitter) SetBounds

func (s *TSplitter) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TSplitter) SetBoundsRect

func (s *TSplitter) SetBoundsRect(value TRect)

func (*TSplitter) SetClientHeight

func (s *TSplitter) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TSplitter) SetClientWidth

func (s *TSplitter) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TSplitter) SetColor

func (s *TSplitter) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TSplitter) SetComponentIndex

func (s *TSplitter) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TSplitter) SetConstraints added in v1.2.7

func (s *TSplitter) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TSplitter) SetControlState added in v1.1.21

func (s *TSplitter) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TSplitter) SetControlStyle added in v1.1.21

func (s *TSplitter) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TSplitter) SetCursor

func (s *TSplitter) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TSplitter) SetEnabled

func (s *TSplitter) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TSplitter) SetHeight

func (s *TSplitter) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TSplitter) SetHint

func (s *TSplitter) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TSplitter) SetLeft

func (s *TSplitter) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TSplitter) SetName

func (s *TSplitter) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TSplitter) SetOnPaint

func (s *TSplitter) SetOnPaint(fn TNotifyEvent)

CN: 设置绘画事件。 EN: .

func (*TSplitter) SetParent

func (s *TSplitter) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TSplitter) SetParentColor

func (s *TSplitter) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TSplitter) SetResizeAnchor

func (s *TSplitter) SetResizeAnchor(value TAnchorKind)

func (*TSplitter) SetShowHint

func (s *TSplitter) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TSplitter) SetTag

func (s *TSplitter) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TSplitter) SetTextBuf added in v1.1.21

func (s *TSplitter) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TSplitter) SetTop

func (s *TSplitter) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TSplitter) SetVisible

func (s *TSplitter) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TSplitter) SetWidth

func (s *TSplitter) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TSplitter) Show

func (s *TSplitter) Show()

CN: 显示控件。 EN: Show control.

func (*TSplitter) ShowHint

func (s *TSplitter) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TSplitter) Tag

func (s *TSplitter) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TSplitter) ToString

func (s *TSplitter) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TSplitter) Top

func (s *TSplitter) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TSplitter) UnsafeAddr added in v1.1.21

func (s *TSplitter) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TSplitter) Update

func (s *TSplitter) Update()

CN: 控件更新。 EN: Update.

func (*TSplitter) Visible

func (s *TSplitter) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TSplitter) Width

func (s *TSplitter) Width() int32

CN: 获取宽度。 EN: Get width.

type TStartDockEvent

type TStartDockEvent func(sender IObject, dragObject *TDragDockObject)

TStartDockEvent = procedure(Sender: TObject;var DragObject: TDragDockObject) of object;

type TStartDragEvent

type TStartDragEvent func(sender IObject, dragObject *TDragObject)

TStartDragEvent = procedure(Sender: TObject;var DragObject: TDragObject) of object;

type TStaticText

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

func AsStaticText added in v1.2.10

func AsStaticText(obj interface{}) *TStaticText

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewStaticText

func NewStaticText(owner IComponent) *TStaticText

CN: 创建一个新的对象。 EN: Create a new object.

func StaticTextFromInst

func StaticTextFromInst(inst uintptr) *TStaticText

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsStaticText.

func StaticTextFromObj

func StaticTextFromObj(obj IObject) *TStaticText

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsStaticText.

func StaticTextFromUnsafePointer added in v1.1.21

func StaticTextFromUnsafePointer(ptr unsafe.Pointer) *TStaticText

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStaticText.

func (*TStaticText) Action

func (s *TStaticText) Action() *TAction

func (*TStaticText) Align

func (s *TStaticText) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

func (*TStaticText) Alignment

func (s *TStaticText) Alignment() TAlignment

CN: 获取文字对齐。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TStaticText) AnchorParallel

func (s *TStaticText) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStaticText) AnchorSide

func (s *TStaticText) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TStaticText) AnchorSideBottom

func (s *TStaticText) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TStaticText) AnchorSideLeft

func (s *TStaticText) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TStaticText) AnchorSideRight

func (s *TStaticText) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TStaticText) AnchorSideTop

func (s *TStaticText) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TStaticText) AnchorToNeighbour

func (s *TStaticText) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStaticText) AnchorVerticalCenterTo

func (s *TStaticText) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TStaticText) Anchors

func (s *TStaticText) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TStaticText) Assign

func (s *TStaticText) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TStaticText) AutoSize

func (s *TStaticText) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TStaticText) BiDiMode

func (s *TStaticText) BiDiMode() TBiDiMode

func (*TStaticText) BorderSpacing

func (s *TStaticText) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TStaticText) BorderStyle

func (s *TStaticText) BorderStyle() TStaticBorderStyle

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

func (*TStaticText) BoundsRect

func (s *TStaticText) BoundsRect() TRect

func (*TStaticText) BringToFront

func (s *TStaticText) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TStaticText) Brush

func (s *TStaticText) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TStaticText) CanFocus

func (s *TStaticText) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TStaticText) Caption

func (s *TStaticText) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TStaticText) ChildSizing

func (s *TStaticText) ChildSizing() *TControlChildSizing

func (*TStaticText) ClassName

func (s *TStaticText) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TStaticText) ClassType added in v1.1.18

func (s *TStaticText) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TStaticText) ClientHeight

func (s *TStaticText) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TStaticText) ClientOrigin added in v1.1.21

func (s *TStaticText) ClientOrigin() TPoint

func (*TStaticText) ClientRect

func (s *TStaticText) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TStaticText) ClientToParent

func (s *TStaticText) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TStaticText) ClientToScreen

func (s *TStaticText) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TStaticText) ClientWidth

func (s *TStaticText) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TStaticText) Color

func (s *TStaticText) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TStaticText) ComponentCount

func (s *TStaticText) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TStaticText) ComponentIndex

func (s *TStaticText) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TStaticText) Components

func (s *TStaticText) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TStaticText) Constraints added in v1.2.7

func (s *TStaticText) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TStaticText) ContainsControl added in v1.1.21

func (s *TStaticText) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TStaticText) ControlCount

func (s *TStaticText) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TStaticText) ControlState added in v1.1.21

func (s *TStaticText) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TStaticText) ControlStyle added in v1.1.21

func (s *TStaticText) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TStaticText) Controls

func (s *TStaticText) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TStaticText) Cursor

func (s *TStaticText) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TStaticText) DisableAlign added in v1.1.21

func (s *TStaticText) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TStaticText) DockClientCount added in v1.1.21

func (s *TStaticText) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TStaticText) DockClients added in v1.1.21

func (s *TStaticText) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TStaticText) DockSite

func (s *TStaticText) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TStaticText) DoubleBuffered

func (s *TStaticText) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TStaticText) DragCursor

func (s *TStaticText) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TStaticText) DragKind

func (s *TStaticText) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TStaticText) DragMode

func (s *TStaticText) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TStaticText) Dragging

func (s *TStaticText) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TStaticText) EnableAlign added in v1.1.21

func (s *TStaticText) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TStaticText) Enabled

func (s *TStaticText) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TStaticText) Equals

func (s *TStaticText) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TStaticText) FindChildControl added in v1.1.21

func (s *TStaticText) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TStaticText) FindComponent

func (s *TStaticText) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TStaticText) FlipChildren

func (s *TStaticText) FlipChildren(AllLevels bool)

func (*TStaticText) Floating

func (s *TStaticText) Floating() bool

func (*TStaticText) Focused

func (s *TStaticText) Focused() bool

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TStaticText) Font

func (s *TStaticText) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TStaticText) Free

func (s *TStaticText) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TStaticText) GetHashCode

func (s *TStaticText) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TStaticText) GetNamePath

func (s *TStaticText) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TStaticText) GetTextBuf

func (s *TStaticText) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TStaticText) GetTextLen

func (s *TStaticText) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TStaticText) Handle

func (s *TStaticText) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TStaticText) HandleAllocated

func (s *TStaticText) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TStaticText) HasParent

func (s *TStaticText) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TStaticText) Height

func (s *TStaticText) Height() int32

CN: 获取高度。 EN: Get height.

func (*TStaticText) Hide

func (s *TStaticText) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TStaticText) Hint

func (s *TStaticText) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TStaticText) InheritsFrom added in v1.1.18

func (s *TStaticText) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TStaticText) InsertControl added in v1.1.21

func (s *TStaticText) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TStaticText) Instance

func (s *TStaticText) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TStaticText) InstanceSize added in v1.1.18

func (s *TStaticText) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TStaticText) Invalidate

func (s *TStaticText) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TStaticText) Is added in v1.2.10

func (s *TStaticText) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TStaticText) IsValid

func (s *TStaticText) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TStaticText) Left

func (s *TStaticText) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TStaticText) MouseInClient added in v1.1.21

func (s *TStaticText) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TStaticText) Name

func (s *TStaticText) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TStaticText) Owner

func (s *TStaticText) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TStaticText) Parent

func (s *TStaticText) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TStaticText) ParentColor

func (s *TStaticText) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TStaticText) ParentDoubleBuffered

func (s *TStaticText) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TStaticText) ParentFont

func (s *TStaticText) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TStaticText) ParentShowHint

func (s *TStaticText) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TStaticText) ParentToClient

func (s *TStaticText) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TStaticText) ParentWindow

func (s *TStaticText) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TStaticText) Perform

func (s *TStaticText) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TStaticText) PopupMenu

func (s *TStaticText) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TStaticText) Realign

func (s *TStaticText) Realign()

CN: 重新对齐。 EN: Realign.

func (*TStaticText) Refresh

func (s *TStaticText) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TStaticText) RemoveControl added in v1.1.21

func (s *TStaticText) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TStaticText) Repaint

func (s *TStaticText) Repaint()

CN: 重绘。 EN: Repaint.

func (*TStaticText) ScaleBy

func (s *TStaticText) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TStaticText) ScreenToClient

func (s *TStaticText) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TStaticText) ScrollBy added in v1.1.21

func (s *TStaticText) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TStaticText) SendToBack

func (s *TStaticText) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TStaticText) SetAlignment

func (s *TStaticText) SetAlignment(value TAlignment)

CN: 设置文字对齐。 EN: Set Text alignment.

func (*TStaticText) SetAnchorSideBottom

func (s *TStaticText) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TStaticText) SetAnchorSideLeft

func (s *TStaticText) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TStaticText) SetAnchorSideRight

func (s *TStaticText) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TStaticText) SetAnchorSideTop

func (s *TStaticText) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TStaticText) SetAnchors

func (s *TStaticText) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TStaticText) SetAutoSize

func (s *TStaticText) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TStaticText) SetBiDiMode

func (s *TStaticText) SetBiDiMode(value TBiDiMode)

func (*TStaticText) SetBorderSpacing

func (s *TStaticText) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TStaticText) SetBorderStyle

func (s *TStaticText) SetBorderStyle(value TStaticBorderStyle)

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

func (*TStaticText) SetBounds

func (s *TStaticText) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TStaticText) SetBoundsRect

func (s *TStaticText) SetBoundsRect(value TRect)

func (*TStaticText) SetCaption

func (s *TStaticText) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TStaticText) SetChildSizing

func (s *TStaticText) SetChildSizing(value *TControlChildSizing)

func (*TStaticText) SetClientHeight

func (s *TStaticText) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TStaticText) SetClientWidth

func (s *TStaticText) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TStaticText) SetColor

func (s *TStaticText) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TStaticText) SetComponentIndex

func (s *TStaticText) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TStaticText) SetConstraints added in v1.2.7

func (s *TStaticText) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TStaticText) SetControlState added in v1.1.21

func (s *TStaticText) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TStaticText) SetControlStyle added in v1.1.21

func (s *TStaticText) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TStaticText) SetCursor

func (s *TStaticText) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TStaticText) SetDockSite

func (s *TStaticText) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TStaticText) SetDoubleBuffered

func (s *TStaticText) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TStaticText) SetDragCursor

func (s *TStaticText) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TStaticText) SetDragKind

func (s *TStaticText) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TStaticText) SetDragMode

func (s *TStaticText) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TStaticText) SetEnabled

func (s *TStaticText) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TStaticText) SetFocus

func (s *TStaticText) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TStaticText) SetFont

func (s *TStaticText) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TStaticText) SetHeight

func (s *TStaticText) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TStaticText) SetHint

func (s *TStaticText) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TStaticText) SetLeft

func (s *TStaticText) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TStaticText) SetName

func (s *TStaticText) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TStaticText) SetOnClick

func (s *TStaticText) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TStaticText) SetOnContextPopup

func (s *TStaticText) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TStaticText) SetOnDblClick

func (s *TStaticText) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TStaticText) SetOnDragDrop

func (s *TStaticText) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TStaticText) SetOnDragOver

func (s *TStaticText) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TStaticText) SetOnEndDrag

func (s *TStaticText) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TStaticText) SetOnMouseDown

func (s *TStaticText) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TStaticText) SetOnMouseEnter

func (s *TStaticText) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TStaticText) SetOnMouseLeave

func (s *TStaticText) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TStaticText) SetOnMouseMove

func (s *TStaticText) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TStaticText) SetOnMouseUp

func (s *TStaticText) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TStaticText) SetParent

func (s *TStaticText) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TStaticText) SetParentColor

func (s *TStaticText) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TStaticText) SetParentDoubleBuffered

func (s *TStaticText) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TStaticText) SetParentFont

func (s *TStaticText) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TStaticText) SetParentShowHint

func (s *TStaticText) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TStaticText) SetParentWindow

func (s *TStaticText) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TStaticText) SetPopupMenu

func (s *TStaticText) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TStaticText) SetShowAccelChar

func (s *TStaticText) SetShowAccelChar(value bool)

func (*TStaticText) SetShowHint

func (s *TStaticText) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TStaticText) SetTabOrder

func (s *TStaticText) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TStaticText) SetTabStop

func (s *TStaticText) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TStaticText) SetTag

func (s *TStaticText) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TStaticText) SetTextBuf added in v1.1.21

func (s *TStaticText) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TStaticText) SetTop

func (s *TStaticText) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TStaticText) SetTransparent

func (s *TStaticText) SetTransparent(value bool)

CN: 设置透明。 EN: Set transparent.

func (*TStaticText) SetUseDockManager

func (s *TStaticText) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TStaticText) SetVisible

func (s *TStaticText) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TStaticText) SetWidth

func (s *TStaticText) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TStaticText) Show

func (s *TStaticText) Show()

CN: 显示控件。 EN: Show control.

func (*TStaticText) ShowAccelChar

func (s *TStaticText) ShowAccelChar() bool

func (*TStaticText) ShowHint

func (s *TStaticText) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TStaticText) TabOrder

func (s *TStaticText) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TStaticText) TabStop

func (s *TStaticText) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TStaticText) Tag

func (s *TStaticText) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TStaticText) ToString

func (s *TStaticText) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TStaticText) Top

func (s *TStaticText) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TStaticText) Transparent

func (s *TStaticText) Transparent() bool

CN: 获取透明。 EN: Get transparent.

func (*TStaticText) UnsafeAddr added in v1.1.21

func (s *TStaticText) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TStaticText) Update

func (s *TStaticText) Update()

CN: 控件更新。 EN: Update.

func (*TStaticText) UseDockManager

func (s *TStaticText) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TStaticText) Visible

func (s *TStaticText) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TStaticText) VisibleDockClientCount added in v1.1.21

func (s *TStaticText) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TStaticText) Width

func (s *TStaticText) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewStatusBar

func NewStatusBar(owner IComponent) *TStatusBar

CN: 创建一个新的对象。 EN: Create a new object.

func StatusBarFromInst

func StatusBarFromInst(inst uintptr) *TStatusBar

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsStatusBar.

func StatusBarFromObj

func StatusBarFromObj(obj IObject) *TStatusBar

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsStatusBar.

func StatusBarFromUnsafePointer added in v1.1.21

func StatusBarFromUnsafePointer(ptr unsafe.Pointer) *TStatusBar

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStatusBar.

func (*TStatusBar) Action

func (s *TStatusBar) Action() *TAction

func (*TStatusBar) Align

func (s *TStatusBar) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TStatusBar) AnchorParallel

func (s *TStatusBar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStatusBar) AnchorSide

func (s *TStatusBar) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TStatusBar) AnchorSideBottom

func (s *TStatusBar) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TStatusBar) AnchorSideLeft

func (s *TStatusBar) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TStatusBar) AnchorSideRight

func (s *TStatusBar) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TStatusBar) AnchorSideTop

func (s *TStatusBar) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TStatusBar) AnchorToNeighbour

func (s *TStatusBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStatusBar) AnchorVerticalCenterTo

func (s *TStatusBar) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TStatusBar) Anchors

func (s *TStatusBar) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TStatusBar) Assign

func (s *TStatusBar) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TStatusBar) AutoHint

func (s *TStatusBar) AutoHint() bool

func (*TStatusBar) BiDiMode

func (s *TStatusBar) BiDiMode() TBiDiMode

func (*TStatusBar) BorderSpacing

func (s *TStatusBar) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TStatusBar) BorderWidth

func (s *TStatusBar) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

func (*TStatusBar) BoundsRect

func (s *TStatusBar) BoundsRect() TRect

func (*TStatusBar) BringToFront

func (s *TStatusBar) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TStatusBar) Brush

func (s *TStatusBar) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TStatusBar) CanFocus

func (s *TStatusBar) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TStatusBar) Canvas

func (s *TStatusBar) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TStatusBar) ChildSizing

func (s *TStatusBar) ChildSizing() *TControlChildSizing

func (*TStatusBar) ClassName

func (s *TStatusBar) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TStatusBar) ClassType added in v1.1.18

func (s *TStatusBar) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TStatusBar) ClientHeight

func (s *TStatusBar) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TStatusBar) ClientOrigin added in v1.1.21

func (s *TStatusBar) ClientOrigin() TPoint

func (*TStatusBar) ClientRect

func (s *TStatusBar) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TStatusBar) ClientToParent

func (s *TStatusBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TStatusBar) ClientToScreen

func (s *TStatusBar) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TStatusBar) ClientWidth

func (s *TStatusBar) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TStatusBar) Color

func (s *TStatusBar) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TStatusBar) ComponentCount

func (s *TStatusBar) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TStatusBar) ComponentIndex

func (s *TStatusBar) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TStatusBar) Components

func (s *TStatusBar) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TStatusBar) Constraints added in v1.2.7

func (s *TStatusBar) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TStatusBar) ContainsControl added in v1.1.21

func (s *TStatusBar) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TStatusBar) ControlCount

func (s *TStatusBar) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TStatusBar) ControlState added in v1.1.21

func (s *TStatusBar) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TStatusBar) ControlStyle added in v1.1.21

func (s *TStatusBar) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TStatusBar) Controls

func (s *TStatusBar) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TStatusBar) Cursor

func (s *TStatusBar) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TStatusBar) DisableAlign added in v1.1.21

func (s *TStatusBar) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TStatusBar) DockClientCount added in v1.1.21

func (s *TStatusBar) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TStatusBar) DockClients added in v1.1.21

func (s *TStatusBar) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TStatusBar) DockSite

func (s *TStatusBar) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TStatusBar) DoubleBuffered

func (s *TStatusBar) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TStatusBar) DragCursor

func (s *TStatusBar) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TStatusBar) DragKind

func (s *TStatusBar) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TStatusBar) DragMode

func (s *TStatusBar) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TStatusBar) Dragging

func (s *TStatusBar) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TStatusBar) EnableAlign added in v1.1.21

func (s *TStatusBar) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TStatusBar) Enabled

func (s *TStatusBar) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TStatusBar) Equals

func (s *TStatusBar) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TStatusBar) FindChildControl added in v1.1.21

func (s *TStatusBar) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TStatusBar) FindComponent

func (s *TStatusBar) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TStatusBar) Font

func (s *TStatusBar) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TStatusBar) Free

func (s *TStatusBar) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TStatusBar) GetHashCode

func (s *TStatusBar) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TStatusBar) GetNamePath

func (s *TStatusBar) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TStatusBar) GetTextBuf

func (s *TStatusBar) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TStatusBar) GetTextLen

func (s *TStatusBar) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TStatusBar) Handle

func (s *TStatusBar) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TStatusBar) HandleAllocated

func (s *TStatusBar) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TStatusBar) HasParent

func (s *TStatusBar) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TStatusBar) Height

func (s *TStatusBar) Height() int32

CN: 获取高度。 EN: Get height.

func (*TStatusBar) Hide

func (s *TStatusBar) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TStatusBar) Hint

func (s *TStatusBar) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TStatusBar) InheritsFrom added in v1.1.18

func (s *TStatusBar) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TStatusBar) InsertControl added in v1.1.21

func (s *TStatusBar) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TStatusBar) Instance

func (s *TStatusBar) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TStatusBar) InstanceSize added in v1.1.18

func (s *TStatusBar) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TStatusBar) Invalidate

func (s *TStatusBar) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TStatusBar) Is added in v1.2.10

func (s *TStatusBar) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TStatusBar) IsValid

func (s *TStatusBar) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TStatusBar) Left

func (s *TStatusBar) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TStatusBar) MouseInClient added in v1.1.21

func (s *TStatusBar) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TStatusBar) Name

func (s *TStatusBar) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TStatusBar) Owner

func (s *TStatusBar) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TStatusBar) Panels

func (s *TStatusBar) Panels() *TStatusPanels

func (*TStatusBar) Parent

func (s *TStatusBar) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TStatusBar) ParentColor

func (s *TStatusBar) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TStatusBar) ParentDoubleBuffered

func (s *TStatusBar) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TStatusBar) ParentFont

func (s *TStatusBar) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TStatusBar) ParentShowHint

func (s *TStatusBar) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TStatusBar) ParentToClient

func (s *TStatusBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TStatusBar) ParentWindow

func (s *TStatusBar) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TStatusBar) Perform

func (s *TStatusBar) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TStatusBar) PopupMenu

func (s *TStatusBar) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TStatusBar) Realign

func (s *TStatusBar) Realign()

CN: 重新对齐。 EN: Realign.

func (*TStatusBar) Refresh

func (s *TStatusBar) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TStatusBar) RemoveControl added in v1.1.21

func (s *TStatusBar) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TStatusBar) Repaint

func (s *TStatusBar) Repaint()

CN: 重绘。 EN: Repaint.

func (*TStatusBar) ScaleBy

func (s *TStatusBar) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TStatusBar) ScreenToClient

func (s *TStatusBar) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TStatusBar) ScrollBy added in v1.1.21

func (s *TStatusBar) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TStatusBar) SendToBack

func (s *TStatusBar) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TStatusBar) SetAnchorSideBottom

func (s *TStatusBar) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TStatusBar) SetAnchorSideLeft

func (s *TStatusBar) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TStatusBar) SetAnchorSideRight

func (s *TStatusBar) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TStatusBar) SetAnchorSideTop

func (s *TStatusBar) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TStatusBar) SetAnchors

func (s *TStatusBar) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

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)

CN: 设置边框间距。 EN: .

func (*TStatusBar) SetBorderWidth

func (s *TStatusBar) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TStatusBar) SetBounds

func (s *TStatusBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TStatusBar) SetClientWidth

func (s *TStatusBar) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TStatusBar) SetColor

func (s *TStatusBar) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TStatusBar) SetComponentIndex

func (s *TStatusBar) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TStatusBar) SetConstraints added in v1.2.7

func (s *TStatusBar) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TStatusBar) SetControlState added in v1.1.21

func (s *TStatusBar) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TStatusBar) SetControlStyle added in v1.1.21

func (s *TStatusBar) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TStatusBar) SetCursor

func (s *TStatusBar) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TStatusBar) SetDockSite

func (s *TStatusBar) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TStatusBar) SetDoubleBuffered

func (s *TStatusBar) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TStatusBar) SetDragCursor

func (s *TStatusBar) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TStatusBar) SetDragKind

func (s *TStatusBar) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TStatusBar) SetDragMode

func (s *TStatusBar) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TStatusBar) SetEnabled

func (s *TStatusBar) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TStatusBar) SetFocus

func (s *TStatusBar) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TStatusBar) SetFont

func (s *TStatusBar) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TStatusBar) SetHeight

func (s *TStatusBar) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TStatusBar) SetHint

func (s *TStatusBar) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TStatusBar) SetLeft

func (s *TStatusBar) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TStatusBar) SetName

func (s *TStatusBar) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TStatusBar) SetOnClick

func (s *TStatusBar) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TStatusBar) SetOnContextPopup

func (s *TStatusBar) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TStatusBar) SetOnDblClick

func (s *TStatusBar) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TStatusBar) SetOnDragDrop

func (s *TStatusBar) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TStatusBar) SetOnDragOver

func (s *TStatusBar) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TStatusBar) SetOnEndDock

func (s *TStatusBar) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TStatusBar) SetOnEndDrag

func (s *TStatusBar) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TStatusBar) SetOnHint

func (s *TStatusBar) SetOnHint(fn TNotifyEvent)

CN: 设置鼠标悬停提示事件。 EN: .

func (*TStatusBar) SetOnMouseDown

func (s *TStatusBar) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TStatusBar) SetOnMouseEnter

func (s *TStatusBar) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TStatusBar) SetOnMouseLeave

func (s *TStatusBar) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TStatusBar) SetOnMouseMove

func (s *TStatusBar) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TStatusBar) SetOnMouseUp

func (s *TStatusBar) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TStatusBar) SetOnResize

func (s *TStatusBar) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

func (*TStatusBar) SetOnStartDock

func (s *TStatusBar) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

func (*TStatusBar) SetPanels

func (s *TStatusBar) SetPanels(value *TStatusPanels)

func (*TStatusBar) SetParent

func (s *TStatusBar) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TStatusBar) SetParentColor

func (s *TStatusBar) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TStatusBar) SetParentDoubleBuffered

func (s *TStatusBar) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TStatusBar) SetParentFont

func (s *TStatusBar) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TStatusBar) SetParentShowHint

func (s *TStatusBar) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TStatusBar) SetParentWindow

func (s *TStatusBar) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TStatusBar) SetPopupMenu

func (s *TStatusBar) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TStatusBar) SetShowHint

func (s *TStatusBar) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: 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)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TStatusBar) SetTabStop

func (s *TStatusBar) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TStatusBar) SetTag

func (s *TStatusBar) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TStatusBar) SetTextBuf added in v1.1.21

func (s *TStatusBar) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TStatusBar) SetTop

func (s *TStatusBar) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TStatusBar) SetUseDockManager

func (s *TStatusBar) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TStatusBar) SetUseSystemFont

func (s *TStatusBar) SetUseSystemFont(value bool)

func (*TStatusBar) SetVisible

func (s *TStatusBar) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TStatusBar) SetWidth

func (s *TStatusBar) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TStatusBar) Show

func (s *TStatusBar) Show()

CN: 显示控件。 EN: Show control.

func (*TStatusBar) ShowHint

func (s *TStatusBar) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

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

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TStatusBar) TabStop

func (s *TStatusBar) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TStatusBar) Tag

func (s *TStatusBar) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TStatusBar) ToString

func (s *TStatusBar) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TStatusBar) Top

func (s *TStatusBar) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TStatusBar) UnsafeAddr added in v1.1.21

func (s *TStatusBar) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TStatusBar) Update

func (s *TStatusBar) Update()

CN: 控件更新。 EN: Update.

func (*TStatusBar) UseDockManager

func (s *TStatusBar) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TStatusBar) UseSystemFont

func (s *TStatusBar) UseSystemFont() bool

func (*TStatusBar) Visible

func (s *TStatusBar) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TStatusBar) VisibleDockClientCount added in v1.1.21

func (s *TStatusBar) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TStatusBar) Width

func (s *TStatusBar) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewStatusPanel

func NewStatusPanel(AOwner *TCollection) *TStatusPanel

CN: 创建一个新的对象。 EN: Create a new object.

func StatusPanelFromInst

func StatusPanelFromInst(inst uintptr) *TStatusPanel

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsStatusPanel.

func StatusPanelFromObj

func StatusPanelFromObj(obj IObject) *TStatusPanel

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsStatusPanel.

func StatusPanelFromUnsafePointer added in v1.1.21

func StatusPanelFromUnsafePointer(ptr unsafe.Pointer) *TStatusPanel

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStatusPanel.

func (*TStatusPanel) Alignment

func (s *TStatusPanel) Alignment() TAlignment

CN: 获取文字对齐。 EN: Get Text alignment.

func (*TStatusPanel) Assign

func (s *TStatusPanel) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TStatusPanel) ClassType added in v1.1.18

func (s *TStatusPanel) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TStatusPanel) Free

func (s *TStatusPanel) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TStatusPanel) GetHashCode

func (s *TStatusPanel) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TStatusPanel) GetNamePath

func (s *TStatusPanel) GetNamePath() string

CN: 获取类名路径。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TStatusPanel) Instance

func (s *TStatusPanel) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TStatusPanel) InstanceSize added in v1.1.18

func (s *TStatusPanel) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TStatusPanel) Is added in v1.2.10

func (s *TStatusPanel) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TStatusPanel) IsValid

func (s *TStatusPanel) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TStatusPanel) SetAlignment

func (s *TStatusPanel) SetAlignment(value TAlignment)

CN: 设置文字对齐。 EN: 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)

CN: 设置文本。 EN: .

func (*TStatusPanel) SetWidth

func (s *TStatusPanel) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TStatusPanel) Style

func (s *TStatusPanel) Style() TStatusPanelStyle

func (*TStatusPanel) Text

func (s *TStatusPanel) Text() string

CN: 获取文本。 EN: .

func (*TStatusPanel) ToString

func (s *TStatusPanel) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TStatusPanel) UnsafeAddr added in v1.1.21

func (s *TStatusPanel) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TStatusPanel) Width

func (s *TStatusPanel) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewStatusPanels

func NewStatusPanels(AOwner *TStatusBar) *TStatusPanels

CN: 创建一个新的对象。 EN: Create a new object.

func StatusPanelsFromInst

func StatusPanelsFromInst(inst uintptr) *TStatusPanels

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsStatusPanels.

func StatusPanelsFromObj

func StatusPanelsFromObj(obj IObject) *TStatusPanels

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsStatusPanels.

func StatusPanelsFromUnsafePointer added in v1.1.21

func StatusPanelsFromUnsafePointer(ptr unsafe.Pointer) *TStatusPanels

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStatusPanels.

func (*TStatusPanels) Add

func (s *TStatusPanels) Add() *TStatusPanel

func (*TStatusPanels) Assign

func (s *TStatusPanels) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TStatusPanels) ClassType added in v1.1.18

func (s *TStatusPanels) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TStatusPanels) Clear

func (s *TStatusPanels) Clear()

CN: 清除。 EN: .

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

CN: 与一个对象进行比较。 EN: 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()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TStatusPanels) GetHashCode

func (s *TStatusPanels) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TStatusPanels) GetNamePath

func (s *TStatusPanels) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TStatusPanels) InheritsFrom added in v1.1.18

func (s *TStatusPanels) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TStatusPanels) InstanceSize added in v1.1.18

func (s *TStatusPanels) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TStatusPanels) Is added in v1.2.10

func (s *TStatusPanels) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TStatusPanels) IsValid

func (s *TStatusPanels) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TStatusPanels) Items

func (s *TStatusPanels) Items(Index int32) *TStatusPanel

func (*TStatusPanels) Owner

func (s *TStatusPanels) Owner() *TObject

CN: 组件所有者。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TStatusPanels) UnsafeAddr added in v1.1.21

func (s *TStatusPanels) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewStringGrid added in v1.1.19

func NewStringGrid(owner IComponent) *TStringGrid

CN: 创建一个新的对象。 EN: Create a new object.

func StringGridFromInst added in v1.1.19

func StringGridFromInst(inst uintptr) *TStringGrid

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsStringGrid.

func StringGridFromObj added in v1.1.19

func StringGridFromObj(obj IObject) *TStringGrid

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsStringGrid.

func StringGridFromUnsafePointer added in v1.1.21

func StringGridFromUnsafePointer(ptr unsafe.Pointer) *TStringGrid

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStringGrid.

func (*TStringGrid) Action added in v1.1.19

func (s *TStringGrid) Action() *TAction

func (*TStringGrid) Align added in v1.1.19

func (s *TStringGrid) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

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)

CN: 置于指定控件的横向中心。 EN: .

func (*TStringGrid) AnchorParallel

func (s *TStringGrid) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStringGrid) AnchorSide

func (s *TStringGrid) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TStringGrid) AnchorSideBottom

func (s *TStringGrid) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TStringGrid) AnchorSideLeft

func (s *TStringGrid) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TStringGrid) AnchorSideRight

func (s *TStringGrid) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TStringGrid) AnchorSideTop

func (s *TStringGrid) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TStringGrid) AnchorToNeighbour

func (s *TStringGrid) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TStringGrid) AnchorVerticalCenterTo

func (s *TStringGrid) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TStringGrid) Anchors added in v1.1.19

func (s *TStringGrid) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TStringGrid) Assign added in v1.1.19

func (s *TStringGrid) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TStringGrid) BiDiMode added in v1.1.19

func (s *TStringGrid) BiDiMode() TBiDiMode

func (*TStringGrid) BorderSpacing

func (s *TStringGrid) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TStringGrid) BorderStyle added in v1.1.19

func (s *TStringGrid) BorderStyle() TBorderStyle

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

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TStringGrid) Brush added in v1.1.19

func (s *TStringGrid) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TStringGrid) CanFocus added in v1.1.19

func (s *TStringGrid) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TStringGrid) Canvas added in v1.1.19

func (s *TStringGrid) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TStringGrid) CellRect added in v1.1.19

func (s *TStringGrid) CellRect(ACol int32, ARow int32) TRect

func (*TStringGrid) Cells added in v1.1.19

func (s *TStringGrid) Cells(ACol int32, ARow int32) string

func (*TStringGrid) ChildSizing

func (s *TStringGrid) ChildSizing() *TControlChildSizing

func (*TStringGrid) ClassName added in v1.1.19

func (s *TStringGrid) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TStringGrid) ClassType added in v1.1.19

func (s *TStringGrid) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TStringGrid) ClientHeight added in v1.1.19

func (s *TStringGrid) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TStringGrid) ClientToParent added in v1.1.19

func (s *TStringGrid) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TStringGrid) ClientToScreen added in v1.1.19

func (s *TStringGrid) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TStringGrid) ClientWidth added in v1.1.19

func (s *TStringGrid) ClientWidth() int32

CN: 获取客户区宽度。 EN: 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

CN: 获取颜色。 EN: Get color.

func (*TStringGrid) Cols added in v1.1.19

func (s *TStringGrid) Cols(Index int32) *TStrings

func (*TStringGrid) ComponentCount added in v1.1.19

func (s *TStringGrid) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TStringGrid) ComponentIndex added in v1.1.19

func (s *TStringGrid) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TStringGrid) Components added in v1.1.19

func (s *TStringGrid) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TStringGrid) Constraints added in v1.2.7

func (s *TStringGrid) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TStringGrid) ContainsControl added in v1.1.21

func (s *TStringGrid) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TStringGrid) ControlCount added in v1.1.19

func (s *TStringGrid) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TStringGrid) ControlState added in v1.1.21

func (s *TStringGrid) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TStringGrid) ControlStyle added in v1.1.21

func (s *TStringGrid) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TStringGrid) Controls added in v1.1.19

func (s *TStringGrid) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TStringGrid) Cursor added in v1.1.19

func (s *TStringGrid) Cursor() TCursor

CN: 获取控件光标。 EN: 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) DisableAlign added in v1.1.21

func (s *TStringGrid) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TStringGrid) DockClientCount added in v1.1.21

func (s *TStringGrid) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TStringGrid) DockClients added in v1.1.21

func (s *TStringGrid) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TStringGrid) DockSite added in v1.1.19

func (s *TStringGrid) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TStringGrid) DoubleBuffered added in v1.1.19

func (s *TStringGrid) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TStringGrid) DragCursor added in v1.1.19

func (s *TStringGrid) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TStringGrid) DragKind added in v1.1.19

func (s *TStringGrid) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TStringGrid) DragMode added in v1.1.19

func (s *TStringGrid) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TStringGrid) Dragging added in v1.1.19

func (s *TStringGrid) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TStringGrid) EditorMode added in v1.1.19

func (s *TStringGrid) EditorMode() bool

func (*TStringGrid) EnableAlign added in v1.1.21

func (s *TStringGrid) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TStringGrid) Enabled added in v1.1.19

func (s *TStringGrid) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TStringGrid) Equals added in v1.1.19

func (s *TStringGrid) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TStringGrid) FindChildControl added in v1.1.21

func (s *TStringGrid) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TStringGrid) FindComponent added in v1.1.19

func (s *TStringGrid) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

func (s *TStringGrid) FixedRows() int32

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

func (s *TStringGrid) Focused() bool

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TStringGrid) Font added in v1.1.19

func (s *TStringGrid) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TStringGrid) Free added in v1.1.19

func (s *TStringGrid) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TStringGrid) GetHashCode added in v1.1.19

func (s *TStringGrid) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TStringGrid) GetNamePath added in v1.1.19

func (s *TStringGrid) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TStringGrid) GetTextBuf added in v1.1.19

func (s *TStringGrid) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TStringGrid) GetTextLen added in v1.1.19

func (s *TStringGrid) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TStringGrid) GridHeight added in v1.1.19

func (s *TStringGrid) GridHeight() int32

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

CN: 获取控件句柄。 EN: Get Control handle.

func (*TStringGrid) HandleAllocated added in v1.1.19

func (s *TStringGrid) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TStringGrid) HasParent added in v1.1.19

func (s *TStringGrid) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TStringGrid) Height added in v1.1.19

func (s *TStringGrid) Height() int32

CN: 获取高度。 EN: Get height.

func (*TStringGrid) Hide added in v1.1.19

func (s *TStringGrid) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TStringGrid) Hint added in v1.1.19

func (s *TStringGrid) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TStringGrid) InheritsFrom added in v1.1.19

func (s *TStringGrid) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TStringGrid) InsertControl added in v1.1.21

func (s *TStringGrid) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TStringGrid) Instance added in v1.1.19

func (s *TStringGrid) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TStringGrid) InstanceSize added in v1.1.19

func (s *TStringGrid) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TStringGrid) Invalidate added in v1.1.19

func (s *TStringGrid) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TStringGrid) Is added in v1.2.10

func (s *TStringGrid) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TStringGrid) IsValid added in v1.1.19

func (s *TStringGrid) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TStringGrid) Left added in v1.1.19

func (s *TStringGrid) Left() int32

CN: 获取左边位置。 EN: 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

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TStringGrid) MouseToCell added in v1.1.19

func (s *TStringGrid) MouseToCell(X int32, Y int32, ACol *int32, ARow *int32)

func (*TStringGrid) Name added in v1.1.19

func (s *TStringGrid) Name() string

CN: 获取组件名称。 EN: 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) Owner added in v1.1.19

func (s *TStringGrid) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TStringGrid) Parent added in v1.1.19

func (s *TStringGrid) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TStringGrid) ParentColor added in v1.1.19

func (s *TStringGrid) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TStringGrid) ParentDoubleBuffered added in v1.1.19

func (s *TStringGrid) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TStringGrid) ParentFont added in v1.1.19

func (s *TStringGrid) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TStringGrid) ParentShowHint added in v1.1.19

func (s *TStringGrid) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TStringGrid) ParentToClient added in v1.1.19

func (s *TStringGrid) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TStringGrid) ParentWindow added in v1.1.19

func (s *TStringGrid) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TStringGrid) Perform added in v1.1.19

func (s *TStringGrid) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TStringGrid) PopupMenu added in v1.1.19

func (s *TStringGrid) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TStringGrid) Realign added in v1.1.19

func (s *TStringGrid) Realign()

CN: 重新对齐。 EN: Realign.

func (*TStringGrid) Refresh added in v1.1.19

func (s *TStringGrid) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TStringGrid) RemoveControl added in v1.1.21

func (s *TStringGrid) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TStringGrid) Repaint added in v1.1.19

func (s *TStringGrid) Repaint()

CN: 重绘。 EN: 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) ScaleBy added in v1.1.19

func (s *TStringGrid) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TStringGrid) ScreenToClient added in v1.1.19

func (s *TStringGrid) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: 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)

CN: 滚动至指定位置。 EN: Scroll by.

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

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TStringGrid) SetAnchorSideBottom

func (s *TStringGrid) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TStringGrid) SetAnchorSideLeft

func (s *TStringGrid) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TStringGrid) SetAnchorSideRight

func (s *TStringGrid) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TStringGrid) SetAnchorSideTop

func (s *TStringGrid) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TStringGrid) SetAnchors added in v1.1.19

func (s *TStringGrid) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TStringGrid) SetBiDiMode added in v1.1.19

func (s *TStringGrid) SetBiDiMode(value TBiDiMode)

func (*TStringGrid) SetBorderSpacing

func (s *TStringGrid) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TStringGrid) SetBorderStyle added in v1.1.19

func (s *TStringGrid) SetBorderStyle(value TBorderStyle)

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

func (*TStringGrid) SetBounds added in v1.1.19

func (s *TStringGrid) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TStringGrid) SetBoundsRect added in v1.1.19

func (s *TStringGrid) SetBoundsRect(value TRect)

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)

CN: 设置客户区高度。 EN: Set client height.

func (*TStringGrid) SetClientWidth added in v1.1.19

func (s *TStringGrid) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: 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)

CN: 设置颜色。 EN: Set color.

func (*TStringGrid) SetCols added in v1.1.19

func (s *TStringGrid) SetCols(Index int32, value IObject)

func (*TStringGrid) SetComponentIndex added in v1.1.19

func (s *TStringGrid) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TStringGrid) SetConstraints added in v1.2.7

func (s *TStringGrid) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TStringGrid) SetControlState added in v1.1.21

func (s *TStringGrid) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TStringGrid) SetControlStyle added in v1.1.21

func (s *TStringGrid) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TStringGrid) SetCursor added in v1.1.19

func (s *TStringGrid) SetCursor(value TCursor)

CN: 设置控件光标。 EN: 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)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TStringGrid) SetDoubleBuffered added in v1.1.19

func (s *TStringGrid) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TStringGrid) SetDragCursor added in v1.1.19

func (s *TStringGrid) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TStringGrid) SetDragKind added in v1.1.19

func (s *TStringGrid) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TStringGrid) SetDragMode added in v1.1.19

func (s *TStringGrid) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

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)

CN: 设置控件启用。 EN: Set the control enabled.

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

func (s *TStringGrid) SetFixedRows(value int32)

func (*TStringGrid) SetFocus added in v1.1.19

func (s *TStringGrid) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TStringGrid) SetFont added in v1.1.19

func (s *TStringGrid) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TStringGrid) SetGridLineWidth added in v1.1.19

func (s *TStringGrid) SetGridLineWidth(value int32)

func (*TStringGrid) SetHeight added in v1.1.19

func (s *TStringGrid) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TStringGrid) SetHint added in v1.1.19

func (s *TStringGrid) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TStringGrid) SetLeft added in v1.1.19

func (s *TStringGrid) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TStringGrid) SetLeftCol added in v1.1.19

func (s *TStringGrid) SetLeftCol(value int32)

func (*TStringGrid) SetName added in v1.1.19

func (s *TStringGrid) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TStringGrid) SetObjects added in v1.1.19

func (s *TStringGrid) SetObjects(ACol int32, ARow int32, value IObject)

func (*TStringGrid) SetOnClick added in v1.1.19

func (s *TStringGrid) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TStringGrid) SetOnColumnMoved added in v1.1.19

func (s *TStringGrid) SetOnColumnMoved(fn TMovedEvent)

func (*TStringGrid) SetOnContextPopup added in v1.1.19

func (s *TStringGrid) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TStringGrid) SetOnDblClick added in v1.1.19

func (s *TStringGrid) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TStringGrid) SetOnDragDrop added in v1.1.19

func (s *TStringGrid) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TStringGrid) SetOnDragOver added in v1.1.19

func (s *TStringGrid) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TStringGrid) SetOnDrawCell added in v1.1.19

func (s *TStringGrid) SetOnDrawCell(fn TDrawCellEvent)

func (*TStringGrid) SetOnEndDock added in v1.1.19

func (s *TStringGrid) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TStringGrid) SetOnEndDrag added in v1.1.19

func (s *TStringGrid) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TStringGrid) SetOnEnter added in v1.1.19

func (s *TStringGrid) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TStringGrid) SetOnExit added in v1.1.19

func (s *TStringGrid) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

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

func (s *TStringGrid) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TStringGrid) SetOnKeyPress added in v1.1.19

func (s *TStringGrid) SetOnKeyPress(fn TKeyPressEvent)

func (*TStringGrid) SetOnKeyUp added in v1.1.19

func (s *TStringGrid) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TStringGrid) SetOnMouseDown added in v1.1.19

func (s *TStringGrid) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TStringGrid) SetOnMouseEnter added in v1.1.19

func (s *TStringGrid) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TStringGrid) SetOnMouseLeave added in v1.1.19

func (s *TStringGrid) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TStringGrid) SetOnMouseMove added in v1.1.19

func (s *TStringGrid) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TStringGrid) SetOnMouseUp added in v1.1.19

func (s *TStringGrid) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TStringGrid) SetOnMouseWheelDown added in v1.1.19

func (s *TStringGrid) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮按下事件。 EN: .

func (*TStringGrid) SetOnMouseWheelUp added in v1.1.19

func (s *TStringGrid) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮抬起事件。 EN: .

func (*TStringGrid) SetOnRowMoved added in v1.1.19

func (s *TStringGrid) SetOnRowMoved(fn TMovedEvent)

func (*TStringGrid) SetOnSelectCell added in v1.1.19

func (s *TStringGrid) SetOnSelectCell(fn TSelectCellEvent)

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)

CN: 设置启动停靠。 EN: .

func (*TStringGrid) SetOnTopLeftChanged added in v1.1.19

func (s *TStringGrid) SetOnTopLeftChanged(fn TNotifyEvent)

func (*TStringGrid) SetOptions added in v1.1.19

func (s *TStringGrid) SetOptions(value TGridOptions)

func (*TStringGrid) SetParent added in v1.1.19

func (s *TStringGrid) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TStringGrid) SetParentColor added in v1.1.19

func (s *TStringGrid) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TStringGrid) SetParentDoubleBuffered added in v1.1.19

func (s *TStringGrid) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TStringGrid) SetParentFont added in v1.1.19

func (s *TStringGrid) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TStringGrid) SetParentShowHint added in v1.1.19

func (s *TStringGrid) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TStringGrid) SetParentWindow added in v1.1.19

func (s *TStringGrid) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TStringGrid) SetPopupMenu added in v1.1.19

func (s *TStringGrid) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

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

func (*TStringGrid) SetScrollBars added in v1.1.19

func (s *TStringGrid) SetScrollBars(value TScrollStyle)

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)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TStringGrid) SetTabOrder added in v1.1.19

func (s *TStringGrid) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TStringGrid) SetTabStop added in v1.1.19

func (s *TStringGrid) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TStringGrid) SetTag added in v1.1.19

func (s *TStringGrid) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TStringGrid) SetTextBuf added in v1.1.21

func (s *TStringGrid) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TStringGrid) SetTop added in v1.1.19

func (s *TStringGrid) SetTop(value int32)

CN: 设置顶边位置。 EN: 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)

CN: 设置使用停靠管理。 EN: .

func (*TStringGrid) SetVisible added in v1.1.19

func (s *TStringGrid) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TStringGrid) SetWidth added in v1.1.19

func (s *TStringGrid) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TStringGrid) Show added in v1.1.19

func (s *TStringGrid) Show()

CN: 显示控件。 EN: Show control.

func (*TStringGrid) ShowHint added in v1.1.19

func (s *TStringGrid) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TStringGrid) TabOrder added in v1.1.19

func (s *TStringGrid) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TStringGrid) TabStop added in v1.1.19

func (s *TStringGrid) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TStringGrid) Tag added in v1.1.19

func (s *TStringGrid) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TStringGrid) ToString added in v1.1.19

func (s *TStringGrid) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TStringGrid) Top added in v1.1.19

func (s *TStringGrid) Top() int32

CN: 获取顶边位置。 EN: 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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TStringGrid) Update added in v1.1.19

func (s *TStringGrid) Update()

CN: 控件更新。 EN: Update.

func (*TStringGrid) UseDockManager added in v1.1.19

func (s *TStringGrid) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TStringGrid) Visible added in v1.1.19

func (s *TStringGrid) Visible() bool

CN: 获取控件可视。 EN: 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

CN: 获取当前停靠的可视总数。 EN: 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

CN: 获取宽度。 EN: Get width.

type TStringList

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

func AsStringList added in v1.2.10

func AsStringList(obj interface{}) *TStringList

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewStringList

func NewStringList() *TStringList

CN: 创建一个新的对象。 EN: Create a new object.

func StringListFromInst

func StringListFromInst(inst uintptr) *TStringList

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsStringList.

func StringListFromObj

func StringListFromObj(obj IObject) *TStringList

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsStringList.

func StringListFromUnsafePointer added in v1.1.21

func StringListFromUnsafePointer(ptr unsafe.Pointer) *TStringList

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStringList.

func (*TStringList) Add

func (s *TStringList) Add(S string) int32

func (*TStringList) AddObject

func (s *TStringList) AddObject(S string, AObject IObject) int32

func (*TStringList) Append

func (s *TStringList) Append(S string)

func (*TStringList) Assign

func (s *TStringList) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TStringList) ClassType added in v1.1.18

func (s *TStringList) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TStringList) Clear

func (s *TStringList) Clear()

CN: 清除。 EN: .

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TStringList) Free

func (s *TStringList) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TStringList) GetHashCode

func (s *TStringList) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TStringList) GetNamePath

func (s *TStringList) GetNamePath() string

CN: 获取类名路径。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TStringList) InstanceSize added in v1.1.18

func (s *TStringList) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TStringList) Is added in v1.2.10

func (s *TStringList) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TStringList) IsValid

func (s *TStringList) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TStringList) LoadFromFile

func (s *TStringList) LoadFromFile(FileName string)

CN: 从文件加载。 EN: .

func (*TStringList) LoadFromStream

func (s *TStringList) LoadFromStream(Stream IObject)

CN: 文件流加载。 EN: .

func (*TStringList) Move

func (s *TStringList) Move(CurIndex int32, NewIndex int32)

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

CN: Strings()的别名。 EN: Alias of Strings().

func (*TStringList) SaveToFile

func (s *TStringList) SaveToFile(FileName string)

CN: 保存至文件。 EN: .

func (*TStringList) SaveToStream

func (s *TStringList) SaveToStream(Stream IObject)

CN: 保存至流。 EN: .

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

func (s *TStringList) SetObjects(Index int32, value IObject)

func (*TStringList) SetOnChange

func (s *TStringList) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: 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)

CN: SetStrings()的别名。 EN: 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)

CN: 设置文本。 EN: .

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

CN: 获取文本。 EN: .

func (*TStringList) ToString

func (s *TStringList) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TStringList) UnsafeAddr added in v1.1.21

func (s *TStringList) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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 {
	IObject
	// contains filtered or unexported fields
}

func AsStrings added in v1.2.10

func AsStrings(obj interface{}) *TStrings

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewStrings

func NewStrings() *TStrings

CN: 创建一个新的对象。 EN: Create a new object.

func StringsFromInst

func StringsFromInst(inst uintptr) *TStrings

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsStrings.

func StringsFromObj

func StringsFromObj(obj IObject) *TStrings

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsStrings.

func StringsFromUnsafePointer added in v1.1.21

func StringsFromUnsafePointer(ptr unsafe.Pointer) *TStrings

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsStrings.

func (*TStrings) Add

func (s *TStrings) Add(S string) int32

func (*TStrings) AddObject

func (s *TStrings) AddObject(S string, AObject IObject) int32

func (*TStrings) Append

func (s *TStrings) Append(S string)

func (*TStrings) Assign

func (s *TStrings) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TStrings) ClassType added in v1.1.18

func (s *TStrings) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TStrings) Clear

func (s *TStrings) Clear()

CN: 清除。 EN: .

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TStrings) Free

func (s *TStrings) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TStrings) GetHashCode

func (s *TStrings) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TStrings) GetNamePath

func (s *TStrings) GetNamePath() string

CN: 获取类名路径。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TStrings) InstanceSize added in v1.1.18

func (s *TStrings) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TStrings) Is added in v1.2.10

func (s *TStrings) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TStrings) IsValid

func (s *TStrings) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TStrings) LoadFromFile

func (s *TStrings) LoadFromFile(FileName string)

CN: 从文件加载。 EN: .

func (*TStrings) LoadFromStream

func (s *TStrings) LoadFromStream(Stream IObject)

CN: 文件流加载。 EN: .

func (*TStrings) Move

func (s *TStrings) Move(CurIndex int32, NewIndex int32)

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

CN: Strings()的别名。 EN: Alias of Strings().

func (*TStrings) SaveToFile

func (s *TStrings) SaveToFile(FileName string)

CN: 保存至文件。 EN: .

func (*TStrings) SaveToStream

func (s *TStrings) SaveToStream(Stream IObject)

CN: 保存至流。 EN: .

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

CN: SetStrings()的别名。 EN: Alias of SetStrings().

func (*TStrings) SetStrings

func (s *TStrings) SetStrings(Index int32, value string)

func (*TStrings) SetText

func (s *TStrings) SetText(value string)

CN: 设置文本。 EN: .

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

CN: 获取文本。 EN: .

func (*TStrings) ToString

func (s *TStrings) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TStrings) UnsafeAddr added in v1.1.21

func (s *TStrings) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TStrings) ValueFromIndex

func (s *TStrings) ValueFromIndex(Index int32) string

func (*TStrings) Values

func (s *TStrings) Values(Name string) string

type TSysLinkEvent

type TSysLinkEvent func(sender IObject, link string, linkType TSysLinkType) // TSysLinkType

TSysLinkEvent LinkLabel

type TTBAdvancedCustomDrawBtnEvent

type TTBAdvancedCustomDrawBtnEvent func(sender *TToolBar, button *TToolButton, state TCustomDrawState, stage TCustomDrawStage, flags *TTBCustomDrawFlags, defaultDraw *bool)

TTBAdvancedCustomDrawBtnEvent = procedure(Sender: TToolBar; Button: TToolButton;

State: TCustomDrawState; Stage: TCustomDrawStage;
var Flags: TTBCustomDrawFlags; var DefaultDraw: Boolean) of object;

type TTBAdvancedCustomDrawEvent

type TTBAdvancedCustomDrawEvent func(sender *TToolBar, aRect TRect, stage TCustomDrawStage, defaultDraw *bool)

-------------------------TToolBar TTBAdvancedCustomDrawEvent = procedure(Sender: TToolBar; const ARect: TRect;

Stage: TCustomDrawStage; var DefaultDraw: Boolean) of object;

type TTVAdvancedCustomDrawEvent

type TTVAdvancedCustomDrawEvent func(sender *TTreeView, aRect TRect, stage TCustomDrawStage, defaultDraw *bool)

TTVAdvancedCustomDrawEvent = procedure(Sender: TCustomTreeView; const ARect: TRect;

Stage: TCustomDrawStage; var DefaultDraw: Boolean) of object;

type TTVAdvancedCustomDrawItemEvent

type TTVAdvancedCustomDrawItemEvent func(sender *TTreeView, node *TTreeNode, state TCustomDrawState, stage TCustomDrawStage, paintImages, defaultDraw *bool)

TTVAdvancedCustomDrawItemEvent = procedure(Sender: TCustomTreeView; Node: TTreeNode;

State: TCustomDrawState; Stage: TCustomDrawStage; var PaintImages,

DefaultDraw: Boolean) of object;

type TTVChangedEvent

type TTVChangedEvent func(sender IObject, node *TTreeNode)

TTVChangedEvent TTreeView

type TTVChangingEvent added in v1.1.21

type TTVChangingEvent func(sender IObject, node *TTreeNode, allowChange *bool)

TTVChangingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowChange: Boolean) of object;

type TTVCollapsingEvent added in v1.1.21

type TTVCollapsingEvent func(sender IObject, node *TTreeNode, allowCollapse *bool)

TTVCollapsingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowCollapse: Boolean) of object;

type TTVCompareEvent

type TTVCompareEvent func(sender IObject, node1, node2 *TTreeNode, data int32, compare *int32)

----------------TTreeView TTVCompareEvent = procedure(Sender: TObject; Node1, Node2: TTreeNode;

Data: Integer; var Compare: Integer) of object;

type TTVCustomDrawEvent added in v1.1.23

type TTVCustomDrawEvent func(sender *TTreeView, aRect TRect, defaultDraw *bool)

TTVCustomDrawEvent = procedure(Sender: TCustomTreeView; const ARect: TRect;var DefaultDraw: Boolean) of object;

type TTVCustomDrawItemEvent added in v1.1.23

type TTVCustomDrawItemEvent func(sender *TTreeView, node *TTreeNode, state TCustomDrawStage, defaultDraw *bool)

TTVCustomDrawItemEvent = procedure(Sender: TCustomTreeView; Node: TTreeNode; State: TCustomDrawState; var DefaultDraw: Boolean) of object;

type TTVEditedEvent added in v1.1.21

type TTVEditedEvent func(sender IObject, node *TTreeNode, s *string)

TTVEditedEvent = procedure(Sender: TObject; Node: TTreeNode; var S: string) of object;

type TTVEditingEvent added in v1.1.21

type TTVEditingEvent func(sender IObject, node *TTreeNode, allowEdit *bool)

TTVEditingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowEdit: Boolean) of object;

type TTVExpandedEvent

type TTVExpandedEvent func(sender IObject, node *TTreeNode)

TTVExpandedEvent = procedure(Sender: TObject; Node: TTreeNode) of object;

type TTVExpandingEvent added in v1.1.21

type TTVExpandingEvent func(sender IObject, node *TTreeNode, allowExpansion *bool)

TTVExpandingEvent = procedure(Sender: TObject; Node: TTreeNode; var AllowExpansion: Boolean) of object;

type TTVHintEvent added in v1.1.21

type TTVHintEvent func(sender IObject, node *TTreeNode, hint *string)

TTVHintEvent = procedure(Sender: TObject; const Node: TTreeNode; var Hint: String) of object;

type TTabChangingEvent added in v1.1.21

type TTabChangingEvent func(sender IObject, allowChange *bool)

TTabChangingEvent = procedure(Sender: TObject; var AllowChange: Boolean) of object;

type TTabGetImageEvent

type TTabGetImageEvent func(sender IObject, tabIndex int32, imageIndex *int32)

----------------TPageControl TTabGetImageEvent = procedure(Sender: TObject; TabIndex: Integer; var ImageIndex: Integer) of object;

type TTabSheet

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

func AsTabSheet added in v1.2.10

func AsTabSheet(obj interface{}) *TTabSheet

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewTabSheet

func NewTabSheet(owner IComponent) *TTabSheet

CN: 创建一个新的对象。 EN: Create a new object.

func TabSheetFromInst

func TabSheetFromInst(inst uintptr) *TTabSheet

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTabSheet.

func TabSheetFromObj

func TabSheetFromObj(obj IObject) *TTabSheet

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTabSheet.

func TabSheetFromUnsafePointer added in v1.1.21

func TabSheetFromUnsafePointer(ptr unsafe.Pointer) *TTabSheet

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTabSheet.

func (*TTabSheet) Action

func (t *TTabSheet) Action() *TAction

func (*TTabSheet) Align

func (t *TTabSheet) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TTabSheet) AnchorParallel

func (t *TTabSheet) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTabSheet) AnchorSide

func (t *TTabSheet) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TTabSheet) AnchorSideBottom

func (t *TTabSheet) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TTabSheet) AnchorSideLeft

func (t *TTabSheet) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TTabSheet) AnchorSideRight

func (t *TTabSheet) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TTabSheet) AnchorSideTop

func (t *TTabSheet) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TTabSheet) AnchorToNeighbour

func (t *TTabSheet) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTabSheet) AnchorVerticalCenterTo

func (t *TTabSheet) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TTabSheet) Anchors

func (t *TTabSheet) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TTabSheet) Assign

func (t *TTabSheet) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TTabSheet) BiDiMode

func (t *TTabSheet) BiDiMode() TBiDiMode

func (*TTabSheet) BorderSpacing

func (t *TTabSheet) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TTabSheet) BorderWidth

func (t *TTabSheet) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

func (*TTabSheet) BoundsRect

func (t *TTabSheet) BoundsRect() TRect

func (*TTabSheet) BringToFront

func (t *TTabSheet) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TTabSheet) Brush

func (t *TTabSheet) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TTabSheet) CanFocus

func (t *TTabSheet) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TTabSheet) Caption

func (t *TTabSheet) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TTabSheet) ChildSizing

func (t *TTabSheet) ChildSizing() *TControlChildSizing

func (*TTabSheet) ClassName

func (t *TTabSheet) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTabSheet) ClassType added in v1.1.18

func (t *TTabSheet) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TTabSheet) ClientHeight

func (t *TTabSheet) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TTabSheet) ClientOrigin added in v1.1.21

func (t *TTabSheet) ClientOrigin() TPoint

func (*TTabSheet) ClientRect

func (t *TTabSheet) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TTabSheet) ClientToParent

func (t *TTabSheet) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TTabSheet) ClientToScreen

func (t *TTabSheet) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TTabSheet) ClientWidth

func (t *TTabSheet) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TTabSheet) ComponentCount

func (t *TTabSheet) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TTabSheet) ComponentIndex

func (t *TTabSheet) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TTabSheet) Components

func (t *TTabSheet) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TTabSheet) Constraints added in v1.2.7

func (t *TTabSheet) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TTabSheet) ContainsControl added in v1.1.21

func (t *TTabSheet) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TTabSheet) ControlCount

func (t *TTabSheet) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TTabSheet) ControlState added in v1.1.21

func (t *TTabSheet) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TTabSheet) ControlStyle added in v1.1.21

func (t *TTabSheet) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TTabSheet) Controls

func (t *TTabSheet) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TTabSheet) Cursor

func (t *TTabSheet) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TTabSheet) DisableAlign added in v1.1.21

func (t *TTabSheet) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TTabSheet) DockClientCount added in v1.1.21

func (t *TTabSheet) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TTabSheet) DockClients added in v1.1.21

func (t *TTabSheet) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TTabSheet) DockSite

func (t *TTabSheet) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TTabSheet) DoubleBuffered

func (t *TTabSheet) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TTabSheet) Dragging

func (t *TTabSheet) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TTabSheet) EnableAlign added in v1.1.21

func (t *TTabSheet) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TTabSheet) Enabled

func (t *TTabSheet) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TTabSheet) Equals

func (t *TTabSheet) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TTabSheet) FindChildControl added in v1.1.21

func (t *TTabSheet) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TTabSheet) FindComponent

func (t *TTabSheet) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TTabSheet) Font

func (t *TTabSheet) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TTabSheet) Free

func (t *TTabSheet) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TTabSheet) GetHashCode

func (t *TTabSheet) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTabSheet) GetNamePath

func (t *TTabSheet) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TTabSheet) GetTextBuf

func (t *TTabSheet) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TTabSheet) GetTextLen

func (t *TTabSheet) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TTabSheet) Handle

func (t *TTabSheet) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TTabSheet) HandleAllocated

func (t *TTabSheet) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TTabSheet) HasParent

func (t *TTabSheet) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TTabSheet) Height

func (t *TTabSheet) Height() int32

CN: 获取高度。 EN: Get height.

func (*TTabSheet) Hide

func (t *TTabSheet) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TTabSheet) Hint

func (t *TTabSheet) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TTabSheet) ImageIndex

func (t *TTabSheet) ImageIndex() int32

CN: 获取图像在images中的索引。 EN: .

func (*TTabSheet) InheritsFrom added in v1.1.18

func (t *TTabSheet) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TTabSheet) InsertControl added in v1.1.21

func (t *TTabSheet) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TTabSheet) Instance

func (t *TTabSheet) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTabSheet) InstanceSize added in v1.1.18

func (t *TTabSheet) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTabSheet) Invalidate

func (t *TTabSheet) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TTabSheet) Is added in v1.2.10

func (t *TTabSheet) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTabSheet) IsValid

func (t *TTabSheet) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TTabSheet) Left

func (t *TTabSheet) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TTabSheet) MouseInClient added in v1.1.21

func (t *TTabSheet) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TTabSheet) Name

func (t *TTabSheet) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TTabSheet) Owner

func (t *TTabSheet) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TTabSheet) PageControl

func (t *TTabSheet) PageControl() *TPageControl

func (*TTabSheet) PageIndex

func (t *TTabSheet) PageIndex() int32

func (*TTabSheet) Parent

func (t *TTabSheet) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TTabSheet) ParentDoubleBuffered

func (t *TTabSheet) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TTabSheet) ParentFont

func (t *TTabSheet) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TTabSheet) ParentShowHint

func (t *TTabSheet) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TTabSheet) ParentToClient

func (t *TTabSheet) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TTabSheet) ParentWindow

func (t *TTabSheet) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TTabSheet) Perform

func (t *TTabSheet) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TTabSheet) PopupMenu

func (t *TTabSheet) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TTabSheet) Realign

func (t *TTabSheet) Realign()

CN: 重新对齐。 EN: Realign.

func (*TTabSheet) Refresh

func (t *TTabSheet) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TTabSheet) RemoveControl added in v1.1.21

func (t *TTabSheet) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TTabSheet) Repaint

func (t *TTabSheet) Repaint()

CN: 重绘。 EN: Repaint.

func (*TTabSheet) ScaleBy

func (t *TTabSheet) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TTabSheet) ScreenToClient

func (t *TTabSheet) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TTabSheet) ScrollBy added in v1.1.21

func (t *TTabSheet) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TTabSheet) SendToBack

func (t *TTabSheet) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TTabSheet) SetAnchorSideBottom

func (t *TTabSheet) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TTabSheet) SetAnchorSideLeft

func (t *TTabSheet) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TTabSheet) SetAnchorSideRight

func (t *TTabSheet) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TTabSheet) SetAnchorSideTop

func (t *TTabSheet) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TTabSheet) SetAnchors

func (t *TTabSheet) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TTabSheet) SetBiDiMode

func (t *TTabSheet) SetBiDiMode(value TBiDiMode)

func (*TTabSheet) SetBorderSpacing

func (t *TTabSheet) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TTabSheet) SetBorderWidth

func (t *TTabSheet) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TTabSheet) SetBounds

func (t *TTabSheet) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TTabSheet) SetBoundsRect

func (t *TTabSheet) SetBoundsRect(value TRect)

func (*TTabSheet) SetCaption

func (t *TTabSheet) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TTabSheet) SetChildSizing

func (t *TTabSheet) SetChildSizing(value *TControlChildSizing)

func (*TTabSheet) SetClientHeight

func (t *TTabSheet) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TTabSheet) SetClientWidth

func (t *TTabSheet) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TTabSheet) SetComponentIndex

func (t *TTabSheet) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TTabSheet) SetConstraints added in v1.2.7

func (t *TTabSheet) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TTabSheet) SetControlState added in v1.1.21

func (t *TTabSheet) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TTabSheet) SetControlStyle added in v1.1.21

func (t *TTabSheet) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TTabSheet) SetCursor

func (t *TTabSheet) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TTabSheet) SetDockSite

func (t *TTabSheet) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TTabSheet) SetDoubleBuffered

func (t *TTabSheet) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TTabSheet) SetEnabled

func (t *TTabSheet) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TTabSheet) SetFocus

func (t *TTabSheet) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TTabSheet) SetFont

func (t *TTabSheet) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TTabSheet) SetHeight

func (t *TTabSheet) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TTabSheet) SetHint

func (t *TTabSheet) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TTabSheet) SetImageIndex

func (t *TTabSheet) SetImageIndex(value int32)

CN: 设置图像在images中的索引。 EN: .

func (*TTabSheet) SetLeft

func (t *TTabSheet) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TTabSheet) SetName

func (t *TTabSheet) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TTabSheet) SetOnContextPopup

func (t *TTabSheet) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TTabSheet) SetOnDragDrop

func (t *TTabSheet) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TTabSheet) SetOnDragOver

func (t *TTabSheet) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TTabSheet) SetOnEndDrag

func (t *TTabSheet) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TTabSheet) SetOnEnter

func (t *TTabSheet) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TTabSheet) SetOnExit

func (t *TTabSheet) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TTabSheet) SetOnHide

func (t *TTabSheet) SetOnHide(fn TNotifyEvent)

CN: 设置隐藏事件。 EN: .

func (*TTabSheet) SetOnMouseDown

func (t *TTabSheet) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TTabSheet) SetOnMouseEnter

func (t *TTabSheet) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TTabSheet) SetOnMouseLeave

func (t *TTabSheet) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TTabSheet) SetOnMouseMove

func (t *TTabSheet) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TTabSheet) SetOnMouseUp

func (t *TTabSheet) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TTabSheet) SetOnResize

func (t *TTabSheet) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

func (*TTabSheet) SetOnShow

func (t *TTabSheet) SetOnShow(fn TNotifyEvent)

CN: 设置显示事件。 EN: .

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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TTabSheet) SetParentDoubleBuffered

func (t *TTabSheet) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TTabSheet) SetParentFont

func (t *TTabSheet) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TTabSheet) SetParentShowHint

func (t *TTabSheet) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TTabSheet) SetParentWindow

func (t *TTabSheet) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TTabSheet) SetPopupMenu

func (t *TTabSheet) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TTabSheet) SetShowHint

func (t *TTabSheet) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TTabSheet) SetTabOrder

func (t *TTabSheet) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TTabSheet) SetTabStop

func (t *TTabSheet) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TTabSheet) SetTabVisible

func (t *TTabSheet) SetTabVisible(value bool)

func (*TTabSheet) SetTag

func (t *TTabSheet) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TTabSheet) SetTextBuf added in v1.1.21

func (t *TTabSheet) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TTabSheet) SetTop

func (t *TTabSheet) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TTabSheet) SetUseDockManager

func (t *TTabSheet) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TTabSheet) SetVisible

func (t *TTabSheet) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TTabSheet) SetWidth

func (t *TTabSheet) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TTabSheet) Show

func (t *TTabSheet) Show()

CN: 显示控件。 EN: Show control.

func (*TTabSheet) ShowHint

func (t *TTabSheet) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TTabSheet) TabIndex

func (t *TTabSheet) TabIndex() int32

func (*TTabSheet) TabOrder

func (t *TTabSheet) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TTabSheet) TabStop

func (t *TTabSheet) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TTabSheet) TabVisible

func (t *TTabSheet) TabVisible() bool

func (*TTabSheet) Tag

func (t *TTabSheet) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TTabSheet) ToString

func (t *TTabSheet) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TTabSheet) Top

func (t *TTabSheet) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TTabSheet) UnsafeAddr added in v1.1.21

func (t *TTabSheet) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TTabSheet) Update

func (t *TTabSheet) Update()

CN: 控件更新。 EN: Update.

func (*TTabSheet) UseDockManager

func (t *TTabSheet) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TTabSheet) Visible

func (t *TTabSheet) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TTabSheet) VisibleDockClientCount added in v1.1.21

func (t *TTabSheet) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TTabSheet) Width

func (t *TTabSheet) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewTaskDialog added in v1.2.4

func NewTaskDialog(owner IComponent) *TTaskDialog

CN: 创建一个新的对象。 EN: Create a new object.

func TaskDialogFromInst added in v1.2.4

func TaskDialogFromInst(inst uintptr) *TTaskDialog

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTaskDialog.

func TaskDialogFromObj added in v1.2.4

func TaskDialogFromObj(obj IObject) *TTaskDialog

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTaskDialog.

func TaskDialogFromUnsafePointer added in v1.2.4

func TaskDialogFromUnsafePointer(ptr unsafe.Pointer) *TTaskDialog

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTaskDialog.

func (*TTaskDialog) Assign added in v1.2.4

func (t *TTaskDialog) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取控件标题。 EN: Get the control title.

func (*TTaskDialog) ClassName added in v1.2.4

func (t *TTaskDialog) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTaskDialog) ClassType added in v1.2.4

func (t *TTaskDialog) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 获取组件总数。 EN: Get the total number of components.

func (*TTaskDialog) ComponentIndex added in v1.2.4

func (t *TTaskDialog) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TTaskDialog) Components added in v1.2.4

func (t *TTaskDialog) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TTaskDialog) Execute added in v1.2.4

func (t *TTaskDialog) Execute() bool

CN: 执行。 EN: .

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

CN: 查找指定名称的组件。 EN: 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()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TTaskDialog) GetHashCode added in v1.2.4

func (t *TTaskDialog) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTaskDialog) GetNamePath added in v1.2.4

func (t *TTaskDialog) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TTaskDialog) HasParent added in v1.2.4

func (t *TTaskDialog) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TTaskDialog) InheritsFrom added in v1.2.4

func (t *TTaskDialog) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TTaskDialog) Instance added in v1.2.4

func (t *TTaskDialog) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTaskDialog) InstanceSize added in v1.2.4

func (t *TTaskDialog) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTaskDialog) Is added in v1.2.10

func (t *TTaskDialog) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTaskDialog) IsValid added in v1.2.4

func (t *TTaskDialog) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 获取模态对话框显示结果。 EN: .

func (*TTaskDialog) Name added in v1.2.4

func (t *TTaskDialog) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TTaskDialog) Owner added in v1.2.4

func (t *TTaskDialog) Owner() *TComponent

CN: 获取组件所有者。 EN: 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)

CN: 设置控件标题。 EN: 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)

CN: 设置组件索引。 EN: 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)

CN: 设置模态对话框显示结果。 EN: .

func (*TTaskDialog) SetName added in v1.2.4

func (t *TTaskDialog) SetName(value string)

CN: 设置组件名称。 EN: 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)

CN: 设置对象标记。 EN: Set the control tag.

func (*TTaskDialog) SetText added in v1.2.4

func (t *TTaskDialog) SetText(value string)

CN: 设置文本。 EN: .

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

CN: 获取对象标记。 EN: Get the control tag.

func (*TTaskDialog) Text added in v1.2.4

func (t *TTaskDialog) Text() string

CN: 获取文本。 EN: .

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

CN: 文本类信息。 EN: Text information.

func (*TTaskDialog) UnsafeAddr added in v1.2.4

func (t *TTaskDialog) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewTaskDialogBaseButtonItem added in v1.2.4

func NewTaskDialogBaseButtonItem(AOwner *TCollection) *TTaskDialogBaseButtonItem

CN: 创建一个新的对象。 EN: Create a new object.

func TaskDialogBaseButtonItemFromInst added in v1.2.4

func TaskDialogBaseButtonItemFromInst(inst uintptr) *TTaskDialogBaseButtonItem

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTaskDialogBaseButtonItem.

func TaskDialogBaseButtonItemFromObj added in v1.2.4

func TaskDialogBaseButtonItemFromObj(obj IObject) *TTaskDialogBaseButtonItem

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTaskDialogBaseButtonItem.

func TaskDialogBaseButtonItemFromUnsafePointer added in v1.2.4

func TaskDialogBaseButtonItemFromUnsafePointer(ptr unsafe.Pointer) *TTaskDialogBaseButtonItem

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTaskDialogBaseButtonItem.

func (*TTaskDialogBaseButtonItem) Assign added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TTaskDialogBaseButtonItem) Caption added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TTaskDialogBaseButtonItem) ClassName added in v1.2.4

func (t *TTaskDialogBaseButtonItem) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTaskDialogBaseButtonItem) ClassType added in v1.2.4

func (t *TTaskDialogBaseButtonItem) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TTaskDialogBaseButtonItem) Free added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TTaskDialogBaseButtonItem) GetHashCode added in v1.2.4

func (t *TTaskDialogBaseButtonItem) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTaskDialogBaseButtonItem) GetNamePath added in v1.2.4

func (t *TTaskDialogBaseButtonItem) GetNamePath() string

CN: 获取类名路径。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TTaskDialogBaseButtonItem) Instance added in v1.2.4

func (t *TTaskDialogBaseButtonItem) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTaskDialogBaseButtonItem) InstanceSize added in v1.2.4

func (t *TTaskDialogBaseButtonItem) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTaskDialogBaseButtonItem) Is added in v1.2.10

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTaskDialogBaseButtonItem) IsValid added in v1.2.4

func (t *TTaskDialogBaseButtonItem) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TTaskDialogBaseButtonItem) ModalResult added in v1.2.4

func (t *TTaskDialogBaseButtonItem) ModalResult() TModalResult

CN: 获取模态对话框显示结果。 EN: .

func (*TTaskDialogBaseButtonItem) SetCaption added in v1.2.4

func (t *TTaskDialogBaseButtonItem) SetCaption(value string)

CN: 设置控件标题。 EN: 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)

CN: 设置模态对话框显示结果。 EN: .

func (*TTaskDialogBaseButtonItem) ToString added in v1.2.4

func (t *TTaskDialogBaseButtonItem) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TTaskDialogBaseButtonItem) UnsafeAddr added in v1.2.4

func (t *TTaskDialogBaseButtonItem) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewTaskDialogButtonItem added in v1.2.4

func NewTaskDialogButtonItem(AOwner *TCollection) *TTaskDialogButtonItem

CN: 创建一个新的对象。 EN: Create a new object.

func TaskDialogButtonItemFromInst added in v1.2.4

func TaskDialogButtonItemFromInst(inst uintptr) *TTaskDialogButtonItem

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTaskDialogButtonItem.

func TaskDialogButtonItemFromObj added in v1.2.4

func TaskDialogButtonItemFromObj(obj IObject) *TTaskDialogButtonItem

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTaskDialogButtonItem.

func TaskDialogButtonItemFromUnsafePointer added in v1.2.4

func TaskDialogButtonItemFromUnsafePointer(ptr unsafe.Pointer) *TTaskDialogButtonItem

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTaskDialogButtonItem.

func (*TTaskDialogButtonItem) Assign added in v1.2.4

func (t *TTaskDialogButtonItem) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TTaskDialogButtonItem) Caption added in v1.2.4

func (t *TTaskDialogButtonItem) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TTaskDialogButtonItem) ClassName added in v1.2.4

func (t *TTaskDialogButtonItem) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTaskDialogButtonItem) ClassType added in v1.2.4

func (t *TTaskDialogButtonItem) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TTaskDialogButtonItem) Free added in v1.2.4

func (t *TTaskDialogButtonItem) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TTaskDialogButtonItem) GetHashCode added in v1.2.4

func (t *TTaskDialogButtonItem) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTaskDialogButtonItem) GetNamePath added in v1.2.4

func (t *TTaskDialogButtonItem) GetNamePath() string

CN: 获取类名路径。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TTaskDialogButtonItem) Instance added in v1.2.4

func (t *TTaskDialogButtonItem) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTaskDialogButtonItem) InstanceSize added in v1.2.4

func (t *TTaskDialogButtonItem) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTaskDialogButtonItem) Is added in v1.2.10

func (t *TTaskDialogButtonItem) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTaskDialogButtonItem) IsValid added in v1.2.4

func (t *TTaskDialogButtonItem) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TTaskDialogButtonItem) ModalResult added in v1.2.4

func (t *TTaskDialogButtonItem) ModalResult() TModalResult

CN: 获取模态对话框显示结果。 EN: .

func (*TTaskDialogButtonItem) SetCaption added in v1.2.4

func (t *TTaskDialogButtonItem) SetCaption(value string)

CN: 设置控件标题。 EN: 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)

CN: 设置模态对话框显示结果。 EN: .

func (*TTaskDialogButtonItem) ToString added in v1.2.4

func (t *TTaskDialogButtonItem) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TTaskDialogButtonItem) UnsafeAddr added in v1.2.4

func (t *TTaskDialogButtonItem) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func TaskDialogButtonsFromInst added in v1.2.4

func TaskDialogButtonsFromInst(inst uintptr) *TTaskDialogButtons

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTaskDialogButtons.

func TaskDialogButtonsFromObj added in v1.2.4

func TaskDialogButtonsFromObj(obj IObject) *TTaskDialogButtons

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTaskDialogButtons.

func TaskDialogButtonsFromUnsafePointer added in v1.2.4

func TaskDialogButtonsFromUnsafePointer(ptr unsafe.Pointer) *TTaskDialogButtons

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTaskDialogButtons.

func (*TTaskDialogButtons) Add added in v1.2.4

func (*TTaskDialogButtons) Assign added in v1.2.4

func (t *TTaskDialogButtons) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTaskDialogButtons) ClassType added in v1.2.4

func (t *TTaskDialogButtons) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TTaskDialogButtons) Clear added in v1.2.4

func (t *TTaskDialogButtons) Clear()

CN: 清除。 EN: .

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

CN: 与一个对象进行比较。 EN: 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

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTaskDialogButtons) GetNamePath added in v1.2.4

func (t *TTaskDialogButtons) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TTaskDialogButtons) InheritsFrom added in v1.2.4

func (t *TTaskDialogButtons) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: 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

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTaskDialogButtons) InstanceSize added in v1.2.4

func (t *TTaskDialogButtons) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTaskDialogButtons) Is added in v1.2.10

func (t *TTaskDialogButtons) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTaskDialogButtons) IsValid added in v1.2.4

func (t *TTaskDialogButtons) IsValid() bool

CN: 检测地址是否为空。 EN: 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

CN: 组件所有者。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TTaskDialogButtons) UnsafeAddr added in v1.2.4

func (t *TTaskDialogButtons) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewTaskDialogRadioButtonItem added in v1.2.4

func NewTaskDialogRadioButtonItem(AOwner *TCollection) *TTaskDialogRadioButtonItem

CN: 创建一个新的对象。 EN: Create a new object.

func TaskDialogRadioButtonItemFromInst added in v1.2.4

func TaskDialogRadioButtonItemFromInst(inst uintptr) *TTaskDialogRadioButtonItem

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTaskDialogRadioButtonItem.

func TaskDialogRadioButtonItemFromObj added in v1.2.4

func TaskDialogRadioButtonItemFromObj(obj IObject) *TTaskDialogRadioButtonItem

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTaskDialogRadioButtonItem.

func TaskDialogRadioButtonItemFromUnsafePointer added in v1.2.4

func TaskDialogRadioButtonItemFromUnsafePointer(ptr unsafe.Pointer) *TTaskDialogRadioButtonItem

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTaskDialogRadioButtonItem.

func (*TTaskDialogRadioButtonItem) Assign added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TTaskDialogRadioButtonItem) Caption added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TTaskDialogRadioButtonItem) ClassName added in v1.2.4

func (t *TTaskDialogRadioButtonItem) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTaskDialogRadioButtonItem) ClassType added in v1.2.4

func (t *TTaskDialogRadioButtonItem) ClassType() TClass

CN: 获取类的类型信息。 EN: 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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TTaskDialogRadioButtonItem) Free added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TTaskDialogRadioButtonItem) GetHashCode added in v1.2.4

func (t *TTaskDialogRadioButtonItem) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTaskDialogRadioButtonItem) GetNamePath added in v1.2.4

func (t *TTaskDialogRadioButtonItem) GetNamePath() string

CN: 获取类名路径。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TTaskDialogRadioButtonItem) Instance added in v1.2.4

func (t *TTaskDialogRadioButtonItem) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTaskDialogRadioButtonItem) InstanceSize added in v1.2.4

func (t *TTaskDialogRadioButtonItem) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTaskDialogRadioButtonItem) Is added in v1.2.10

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTaskDialogRadioButtonItem) IsValid added in v1.2.4

func (t *TTaskDialogRadioButtonItem) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TTaskDialogRadioButtonItem) ModalResult added in v1.2.4

func (t *TTaskDialogRadioButtonItem) ModalResult() TModalResult

CN: 获取模态对话框显示结果。 EN: .

func (*TTaskDialogRadioButtonItem) SetCaption added in v1.2.4

func (t *TTaskDialogRadioButtonItem) SetCaption(value string)

CN: 设置控件标题。 EN: 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)

CN: 设置模态对话框显示结果。 EN: .

func (*TTaskDialogRadioButtonItem) ToString added in v1.2.4

func (t *TTaskDialogRadioButtonItem) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TTaskDialogRadioButtonItem) UnsafeAddr added in v1.2.4

func (t *TTaskDialogRadioButtonItem) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TTaskDlgClickEvent added in v1.2.4

type TTaskDlgClickEvent func(sender IObject, modalResult TModalResult, canClose *bool)

TTaskDlgClickEvent = procedure(Sender: TObject; ModalResult: TModalResult; var CanClose: Boolean) of object;

type TTaskDlgTimerEvent added in v1.2.4

type TTaskDlgTimerEvent func(sender IObject, tickCount uint32, reset *bool)

TTaskDlgTimerEvent = procedure(Sender: TObject; TickCount: Cardinal; var Reset: Boolean) of object;

type TTextAttributes

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

func AsTextAttributes added in v1.2.10

func AsTextAttributes(obj interface{}) *TTextAttributes

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func TextAttributesFromInst

func TextAttributesFromInst(inst uintptr) *TTextAttributes

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTextAttributes.

func TextAttributesFromObj

func TextAttributesFromObj(obj IObject) *TTextAttributes

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTextAttributes.

func TextAttributesFromUnsafePointer added in v1.1.21

func TextAttributesFromUnsafePointer(ptr unsafe.Pointer) *TTextAttributes

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTextAttributes.

func (*TTextAttributes) Assign

func (t *TTextAttributes) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTextAttributes) ClassType added in v1.1.18

func (t *TTextAttributes) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TTextAttributes) Color

func (t *TTextAttributes) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TTextAttributes) Equals

func (t *TTextAttributes) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TTextAttributes) GetHashCode

func (t *TTextAttributes) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTextAttributes) GetNamePath

func (t *TTextAttributes) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TTextAttributes) Height

func (t *TTextAttributes) Height() int32

CN: 获取高度。 EN: Get height.

func (*TTextAttributes) InheritsFrom added in v1.1.18

func (t *TTextAttributes) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TTextAttributes) Instance

func (t *TTextAttributes) Instance() uintptr

-------------------------- Deprecated end -------------------------- CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTextAttributes) InstanceSize added in v1.1.18

func (t *TTextAttributes) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTextAttributes) Is added in v1.2.10

func (t *TTextAttributes) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTextAttributes) IsValid

func (t *TTextAttributes) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TTextAttributes) Name

func (t *TTextAttributes) Name() string

CN: 获取组件名称。 EN: 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)

CN: 设置颜色。 EN: Set color.

func (*TTextAttributes) SetHeight

func (t *TTextAttributes) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TTextAttributes) SetName

func (t *TTextAttributes) SetName(value string)

CN: 设置组件名称。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TTextAttributes) UnsafeAddr added in v1.1.21

func (t *TTextAttributes) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TThreadProc

type TThreadProc func()

TThreadProc

type TThumbButtonNotifyEvent added in v1.1.23

type TThumbButtonNotifyEvent func(sender IObject, aButtonID int32)

TThumbButtonNotifyEvent = procedure (Sender: TObject; AButtonID: Integer) of object;

type TThumbPreviewItemRequestEvent added in v1.1.23

type TThumbPreviewItemRequestEvent func(sender IObject, aPreviewHeight, aPreviewWidth int32, previewBitmap *TBitmap)

TThumbPreviewItemRequestEvent = procedure (Sender: TObject; APreviewHeight: Integer; APreviewWidth: Integer; PreviewBitmap: TBitmap) of object;

type TTimer

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

func AsTimer added in v1.2.10

func AsTimer(obj interface{}) *TTimer

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewTimer

func NewTimer(owner IComponent) *TTimer

CN: 创建一个新的对象。 EN: Create a new object.

func TimerFromInst

func TimerFromInst(inst uintptr) *TTimer

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTimer.

func TimerFromObj

func TimerFromObj(obj IObject) *TTimer

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTimer.

func TimerFromUnsafePointer added in v1.1.21

func TimerFromUnsafePointer(ptr unsafe.Pointer) *TTimer

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTimer.

func (*TTimer) Assign

func (t *TTimer) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TTimer) ClassName

func (t *TTimer) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTimer) ClassType added in v1.1.18

func (t *TTimer) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TTimer) ComponentCount

func (t *TTimer) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TTimer) ComponentIndex

func (t *TTimer) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TTimer) Components

func (t *TTimer) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TTimer) Enabled

func (t *TTimer) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TTimer) Equals

func (t *TTimer) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TTimer) FindComponent

func (t *TTimer) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TTimer) Free

func (t *TTimer) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TTimer) GetHashCode

func (t *TTimer) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTimer) GetNamePath

func (t *TTimer) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TTimer) HasParent

func (t *TTimer) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TTimer) InheritsFrom added in v1.1.18

func (t *TTimer) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TTimer) Instance

func (t *TTimer) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTimer) InstanceSize added in v1.1.18

func (t *TTimer) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTimer) Interval

func (t *TTimer) Interval() uint32

CN: 获取时钟每次跳动间隔时间,ms。 EN: .

func (*TTimer) Is added in v1.2.10

func (t *TTimer) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTimer) IsValid

func (t *TTimer) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TTimer) Name

func (t *TTimer) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TTimer) Owner

func (t *TTimer) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TTimer) SetComponentIndex

func (t *TTimer) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TTimer) SetEnabled

func (t *TTimer) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TTimer) SetInterval

func (t *TTimer) SetInterval(value uint32)

CN: 设置时钟每次跳动间隔时间,ms。 EN: .

func (*TTimer) SetName

func (t *TTimer) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TTimer) SetOnTimer

func (t *TTimer) SetOnTimer(fn TNotifyEvent)

CN: 设置时钟事件。 EN: .

func (*TTimer) SetTag

func (t *TTimer) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TTimer) Tag

func (t *TTimer) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TTimer) ToString

func (t *TTimer) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TTimer) UnsafeAddr added in v1.1.21

func (t *TTimer) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TToolBar

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

func AsToolBar added in v1.2.10

func AsToolBar(obj interface{}) *TToolBar

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewToolBar

func NewToolBar(owner IComponent) *TToolBar

CN: 创建一个新的对象。 EN: Create a new object.

func ToolBarFromInst

func ToolBarFromInst(inst uintptr) *TToolBar

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsToolBar.

func ToolBarFromObj

func ToolBarFromObj(obj IObject) *TToolBar

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsToolBar.

func ToolBarFromUnsafePointer added in v1.1.21

func ToolBarFromUnsafePointer(ptr unsafe.Pointer) *TToolBar

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsToolBar.

func (*TToolBar) Action

func (t *TToolBar) Action() *TAction

func (*TToolBar) Align

func (t *TToolBar) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TToolBar) AnchorParallel

func (t *TToolBar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToolBar) AnchorSide

func (t *TToolBar) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TToolBar) AnchorSideBottom

func (t *TToolBar) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TToolBar) AnchorSideLeft

func (t *TToolBar) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TToolBar) AnchorSideRight

func (t *TToolBar) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TToolBar) AnchorSideTop

func (t *TToolBar) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TToolBar) AnchorToNeighbour

func (t *TToolBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToolBar) AnchorVerticalCenterTo

func (t *TToolBar) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TToolBar) Anchors

func (t *TToolBar) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TToolBar) Assign

func (t *TToolBar) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TToolBar) AutoSize

func (t *TToolBar) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TToolBar) BiDiMode

func (t *TToolBar) BiDiMode() TBiDiMode

func (*TToolBar) BorderSpacing

func (t *TToolBar) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TToolBar) BorderWidth

func (t *TToolBar) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

func (*TToolBar) BoundsRect

func (t *TToolBar) BoundsRect() TRect

func (*TToolBar) BringToFront

func (t *TToolBar) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TToolBar) Brush

func (t *TToolBar) Brush() *TBrush

CN: 获取画刷对象。 EN: 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

CN: 是否可以获得焦点。 EN: .

func (*TToolBar) Canvas

func (t *TToolBar) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TToolBar) Caption

func (t *TToolBar) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TToolBar) ChildSizing

func (t *TToolBar) ChildSizing() *TControlChildSizing

func (*TToolBar) ClassName

func (t *TToolBar) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TToolBar) ClassType added in v1.1.18

func (t *TToolBar) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TToolBar) ClientHeight

func (t *TToolBar) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TToolBar) ClientOrigin added in v1.1.21

func (t *TToolBar) ClientOrigin() TPoint

func (*TToolBar) ClientRect

func (t *TToolBar) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TToolBar) ClientToParent

func (t *TToolBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TToolBar) ClientToScreen

func (t *TToolBar) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TToolBar) ClientWidth

func (t *TToolBar) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TToolBar) Color

func (t *TToolBar) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TToolBar) ComponentCount

func (t *TToolBar) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TToolBar) ComponentIndex

func (t *TToolBar) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TToolBar) Components

func (t *TToolBar) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TToolBar) Constraints added in v1.2.7

func (t *TToolBar) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TToolBar) ContainsControl added in v1.1.21

func (t *TToolBar) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TToolBar) ControlCount

func (t *TToolBar) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TToolBar) ControlState added in v1.1.21

func (t *TToolBar) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TToolBar) ControlStyle added in v1.1.21

func (t *TToolBar) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TToolBar) Controls

func (t *TToolBar) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TToolBar) Cursor

func (t *TToolBar) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TToolBar) DisableAlign added in v1.1.21

func (t *TToolBar) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TToolBar) DockClientCount added in v1.1.21

func (t *TToolBar) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TToolBar) DockClients added in v1.1.21

func (t *TToolBar) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TToolBar) DockSite

func (t *TToolBar) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TToolBar) DoubleBuffered

func (t *TToolBar) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TToolBar) DragCursor

func (t *TToolBar) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TToolBar) DragKind

func (t *TToolBar) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TToolBar) DragMode

func (t *TToolBar) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TToolBar) Dragging

func (t *TToolBar) Dragging() bool

CN: 是否在拖拽中。 EN: 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()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TToolBar) Enabled

func (t *TToolBar) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TToolBar) Equals

func (t *TToolBar) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TToolBar) FindChildControl added in v1.1.21

func (t *TToolBar) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TToolBar) FindComponent

func (t *TToolBar) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TToolBar) Flat

func (t *TToolBar) Flat() bool

CN: 获取平面样式。 EN: .

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TToolBar) Font

func (t *TToolBar) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TToolBar) Free

func (t *TToolBar) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TToolBar) GetHashCode

func (t *TToolBar) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TToolBar) GetNamePath

func (t *TToolBar) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TToolBar) GetTextBuf

func (t *TToolBar) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TToolBar) GetTextLen

func (t *TToolBar) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TToolBar) Handle

func (t *TToolBar) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TToolBar) HandleAllocated

func (t *TToolBar) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TToolBar) HasParent

func (t *TToolBar) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TToolBar) Height

func (t *TToolBar) Height() int32

CN: 获取高度。 EN: Get height.

func (*TToolBar) Hide

func (t *TToolBar) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TToolBar) Hint

func (t *TToolBar) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TToolBar) HotImages

func (t *TToolBar) HotImages() *TImageList

func (*TToolBar) Images

func (t *TToolBar) Images() *TImageList

CN: 获取图标索引列表对象。 EN: .

func (*TToolBar) Indent

func (t *TToolBar) Indent() int32

func (*TToolBar) InheritsFrom added in v1.1.18

func (t *TToolBar) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TToolBar) InsertControl added in v1.1.21

func (t *TToolBar) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TToolBar) Instance

func (t *TToolBar) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TToolBar) InstanceSize added in v1.1.18

func (t *TToolBar) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TToolBar) Invalidate

func (t *TToolBar) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TToolBar) Is added in v1.2.10

func (t *TToolBar) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TToolBar) IsValid

func (t *TToolBar) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TToolBar) Left

func (t *TToolBar) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TToolBar) List

func (t *TToolBar) List() bool

func (*TToolBar) MouseInClient added in v1.1.21

func (t *TToolBar) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TToolBar) Name

func (t *TToolBar) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TToolBar) Owner

func (t *TToolBar) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TToolBar) Parent

func (t *TToolBar) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TToolBar) ParentColor

func (t *TToolBar) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TToolBar) ParentDoubleBuffered

func (t *TToolBar) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TToolBar) ParentFont

func (t *TToolBar) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TToolBar) ParentShowHint

func (t *TToolBar) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TToolBar) ParentToClient

func (t *TToolBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TToolBar) ParentWindow

func (t *TToolBar) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TToolBar) Perform

func (t *TToolBar) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TToolBar) PopupMenu

func (t *TToolBar) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TToolBar) Realign

func (t *TToolBar) Realign()

CN: 重新对齐。 EN: Realign.

func (*TToolBar) Refresh

func (t *TToolBar) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TToolBar) RemoveControl added in v1.1.21

func (t *TToolBar) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TToolBar) Repaint

func (t *TToolBar) Repaint()

CN: 重绘。 EN: Repaint.

func (*TToolBar) RowCount

func (t *TToolBar) RowCount() int32

func (*TToolBar) ScaleBy

func (t *TToolBar) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TToolBar) ScreenToClient

func (t *TToolBar) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TToolBar) ScrollBy added in v1.1.21

func (t *TToolBar) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TToolBar) SendToBack

func (t *TToolBar) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TToolBar) SetAnchorSideBottom

func (t *TToolBar) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TToolBar) SetAnchorSideLeft

func (t *TToolBar) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TToolBar) SetAnchorSideRight

func (t *TToolBar) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TToolBar) SetAnchorSideTop

func (t *TToolBar) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TToolBar) SetAnchors

func (t *TToolBar) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TToolBar) SetAutoSize

func (t *TToolBar) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TToolBar) SetBiDiMode

func (t *TToolBar) SetBiDiMode(value TBiDiMode)

func (*TToolBar) SetBorderSpacing

func (t *TToolBar) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TToolBar) SetBorderWidth

func (t *TToolBar) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TToolBar) SetBounds

func (t *TToolBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置控件标题。 EN: Set the control title.

func (*TToolBar) SetChildSizing

func (t *TToolBar) SetChildSizing(value *TControlChildSizing)

func (*TToolBar) SetClientHeight

func (t *TToolBar) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TToolBar) SetClientWidth

func (t *TToolBar) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TToolBar) SetColor

func (t *TToolBar) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TToolBar) SetComponentIndex

func (t *TToolBar) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TToolBar) SetConstraints added in v1.2.7

func (t *TToolBar) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TToolBar) SetControlState added in v1.1.21

func (t *TToolBar) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TToolBar) SetControlStyle added in v1.1.21

func (t *TToolBar) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TToolBar) SetCursor

func (t *TToolBar) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TToolBar) SetDockSite

func (t *TToolBar) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TToolBar) SetDoubleBuffered

func (t *TToolBar) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TToolBar) SetDragCursor

func (t *TToolBar) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TToolBar) SetDragKind

func (t *TToolBar) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TToolBar) SetDragMode

func (t *TToolBar) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: 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)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TToolBar) SetFlat

func (t *TToolBar) SetFlat(value bool)

CN: 设置平面样式。 EN: .

func (*TToolBar) SetFocus

func (t *TToolBar) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TToolBar) SetFont

func (t *TToolBar) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TToolBar) SetHeight

func (t *TToolBar) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TToolBar) SetHint

func (t *TToolBar) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TToolBar) SetHotImages

func (t *TToolBar) SetHotImages(value IComponent)

func (*TToolBar) SetImages

func (t *TToolBar) SetImages(value IComponent)

CN: 设置图标索引列表对象。 EN: .

func (*TToolBar) SetIndent

func (t *TToolBar) SetIndent(value int32)

func (*TToolBar) SetLeft

func (t *TToolBar) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TToolBar) SetList

func (t *TToolBar) SetList(value bool)

func (*TToolBar) SetName

func (t *TToolBar) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TToolBar) SetOnClick

func (t *TToolBar) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TToolBar) SetOnContextPopup

func (t *TToolBar) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TToolBar) SetOnDblClick

func (t *TToolBar) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TToolBar) SetOnDockDrop

func (t *TToolBar) SetOnDockDrop(fn TDockDropEvent)

func (*TToolBar) SetOnDragDrop

func (t *TToolBar) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TToolBar) SetOnDragOver

func (t *TToolBar) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TToolBar) SetOnEndDrag

func (t *TToolBar) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TToolBar) SetOnEnter

func (t *TToolBar) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TToolBar) SetOnExit

func (t *TToolBar) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TToolBar) SetOnMouseDown

func (t *TToolBar) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TToolBar) SetOnMouseEnter

func (t *TToolBar) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TToolBar) SetOnMouseLeave

func (t *TToolBar) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TToolBar) SetOnMouseMove

func (t *TToolBar) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TToolBar) SetOnMouseUp

func (t *TToolBar) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TToolBar) SetOnResize

func (t *TToolBar) SetOnResize(fn TNotifyEvent)

CN: 设置大小被改变事件。 EN: .

func (*TToolBar) SetOnUnDock

func (t *TToolBar) SetOnUnDock(fn TUnDockEvent)

func (*TToolBar) SetParent

func (t *TToolBar) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TToolBar) SetParentColor

func (t *TToolBar) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TToolBar) SetParentDoubleBuffered

func (t *TToolBar) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TToolBar) SetParentFont

func (t *TToolBar) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TToolBar) SetParentShowHint

func (t *TToolBar) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TToolBar) SetParentWindow

func (t *TToolBar) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TToolBar) SetPopupMenu

func (t *TToolBar) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TToolBar) SetShowCaptions

func (t *TToolBar) SetShowCaptions(value bool)

CN: 设置显示标题。 EN: .

func (*TToolBar) SetShowHint

func (t *TToolBar) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TToolBar) SetTabOrder

func (t *TToolBar) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TToolBar) SetTabStop

func (t *TToolBar) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TToolBar) SetTag

func (t *TToolBar) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TToolBar) SetTextBuf added in v1.1.21

func (t *TToolBar) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TToolBar) SetTop

func (t *TToolBar) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TToolBar) SetTransparent

func (t *TToolBar) SetTransparent(value bool)

CN: 设置透明。 EN: Set transparent.

func (*TToolBar) SetUseDockManager

func (t *TToolBar) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TToolBar) SetVisible

func (t *TToolBar) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TToolBar) SetWidth

func (t *TToolBar) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TToolBar) SetWrapable

func (t *TToolBar) SetWrapable(value bool)

func (*TToolBar) Show

func (t *TToolBar) Show()

CN: 显示控件。 EN: Show control.

func (*TToolBar) ShowCaptions

func (t *TToolBar) ShowCaptions() bool

CN: 获取显示标题。 EN: .

func (*TToolBar) ShowHint

func (t *TToolBar) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TToolBar) TabOrder

func (t *TToolBar) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TToolBar) TabStop

func (t *TToolBar) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TToolBar) Tag

func (t *TToolBar) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TToolBar) ToString

func (t *TToolBar) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TToolBar) Top

func (t *TToolBar) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TToolBar) Transparent

func (t *TToolBar) Transparent() bool

CN: 获取透明。 EN: Get transparent.

func (*TToolBar) UnsafeAddr added in v1.1.21

func (t *TToolBar) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TToolBar) Update

func (t *TToolBar) Update()

CN: 控件更新。 EN: Update.

func (*TToolBar) UseDockManager

func (t *TToolBar) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TToolBar) Visible

func (t *TToolBar) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TToolBar) VisibleDockClientCount added in v1.1.21

func (t *TToolBar) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TToolBar) Width

func (t *TToolBar) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewToolButton

func NewToolButton(owner IComponent) *TToolButton

CN: 创建一个新的对象。 EN: Create a new object.

func ToolButtonFromInst

func ToolButtonFromInst(inst uintptr) *TToolButton

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsToolButton.

func ToolButtonFromObj

func ToolButtonFromObj(obj IObject) *TToolButton

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsToolButton.

func ToolButtonFromUnsafePointer added in v1.1.21

func ToolButtonFromUnsafePointer(ptr unsafe.Pointer) *TToolButton

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsToolButton.

func (*TToolButton) Action

func (t *TToolButton) Action() *TAction

func (*TToolButton) Align

func (t *TToolButton) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TToolButton) AnchorParallel

func (t *TToolButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToolButton) AnchorSide

func (t *TToolButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TToolButton) AnchorSideBottom

func (t *TToolButton) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TToolButton) AnchorSideLeft

func (t *TToolButton) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TToolButton) AnchorSideRight

func (t *TToolButton) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TToolButton) AnchorSideTop

func (t *TToolButton) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TToolButton) AnchorToNeighbour

func (t *TToolButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TToolButton) AnchorVerticalCenterTo

func (t *TToolButton) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TToolButton) Anchors

func (t *TToolButton) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TToolButton) Assign

func (t *TToolButton) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TToolButton) AutoSize

func (t *TToolButton) AutoSize() bool

CN: 获取自动调整大小。 EN: .

func (*TToolButton) BiDiMode

func (t *TToolButton) BiDiMode() TBiDiMode

func (*TToolButton) BorderSpacing

func (t *TToolButton) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TToolButton) BoundsRect

func (t *TToolButton) BoundsRect() TRect

func (*TToolButton) BringToFront

func (t *TToolButton) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TToolButton) Caption

func (t *TToolButton) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TToolButton) CheckMenuDropdown

func (t *TToolButton) CheckMenuDropdown() bool

func (*TToolButton) ClassName

func (t *TToolButton) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TToolButton) ClassType added in v1.1.18

func (t *TToolButton) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TToolButton) Click

func (t *TToolButton) Click()

CN: 单击。 EN: .

func (*TToolButton) ClientHeight

func (t *TToolButton) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TToolButton) ClientOrigin added in v1.1.21

func (t *TToolButton) ClientOrigin() TPoint

func (*TToolButton) ClientRect

func (t *TToolButton) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TToolButton) ClientToParent

func (t *TToolButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TToolButton) ClientToScreen

func (t *TToolButton) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TToolButton) ClientWidth

func (t *TToolButton) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TToolButton) ComponentCount

func (t *TToolButton) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TToolButton) ComponentIndex

func (t *TToolButton) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TToolButton) Components

func (t *TToolButton) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TToolButton) Constraints added in v1.2.7

func (t *TToolButton) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TToolButton) ControlState added in v1.1.21

func (t *TToolButton) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TToolButton) ControlStyle added in v1.1.21

func (t *TToolButton) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TToolButton) Cursor

func (t *TToolButton) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TToolButton) Down

func (t *TToolButton) Down() bool

func (*TToolButton) DragCursor

func (t *TToolButton) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TToolButton) DragKind

func (t *TToolButton) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TToolButton) DragMode

func (t *TToolButton) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TToolButton) Dragging

func (t *TToolButton) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TToolButton) DropdownMenu

func (t *TToolButton) DropdownMenu() *TPopupMenu

func (*TToolButton) Enabled

func (t *TToolButton) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TToolButton) Equals

func (t *TToolButton) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TToolButton) FindComponent

func (t *TToolButton) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TToolButton) Floating

func (t *TToolButton) Floating() bool

func (*TToolButton) Free

func (t *TToolButton) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TToolButton) GetHashCode

func (t *TToolButton) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TToolButton) GetNamePath

func (t *TToolButton) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TToolButton) GetTextBuf

func (t *TToolButton) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TToolButton) GetTextLen

func (t *TToolButton) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: 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

CN: 是否有父容器。 EN: Is there a parent container.

func (*TToolButton) Height

func (t *TToolButton) Height() int32

CN: 获取高度。 EN: Get height.

func (*TToolButton) Hide

func (t *TToolButton) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TToolButton) Hint

func (t *TToolButton) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TToolButton) ImageIndex

func (t *TToolButton) ImageIndex() int32

CN: 获取图像在images中的索引。 EN: .

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TToolButton) Instance

func (t *TToolButton) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TToolButton) InstanceSize added in v1.1.18

func (t *TToolButton) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TToolButton) Invalidate

func (t *TToolButton) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TToolButton) Is added in v1.2.10

func (t *TToolButton) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TToolButton) IsValid

func (t *TToolButton) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TToolButton) Left

func (t *TToolButton) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TToolButton) Marked

func (t *TToolButton) Marked() bool

func (*TToolButton) Name

func (t *TToolButton) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TToolButton) Owner

func (t *TToolButton) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TToolButton) Parent

func (t *TToolButton) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TToolButton) ParentShowHint

func (t *TToolButton) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TToolButton) ParentToClient

func (t *TToolButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TToolButton) Perform

func (t *TToolButton) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TToolButton) PopupMenu

func (t *TToolButton) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TToolButton) Refresh

func (t *TToolButton) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TToolButton) Repaint

func (t *TToolButton) Repaint()

CN: 重绘。 EN: Repaint.

func (*TToolButton) ScreenToClient

func (t *TToolButton) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TToolButton) SendToBack

func (t *TToolButton) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TToolButton) SetAllowAllUp

func (t *TToolButton) SetAllowAllUp(value bool)

func (*TToolButton) SetAnchorSideBottom

func (t *TToolButton) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TToolButton) SetAnchorSideLeft

func (t *TToolButton) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TToolButton) SetAnchorSideRight

func (t *TToolButton) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TToolButton) SetAnchorSideTop

func (t *TToolButton) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TToolButton) SetAnchors

func (t *TToolButton) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TToolButton) SetAutoSize

func (t *TToolButton) SetAutoSize(value bool)

CN: 设置自动调整大小。 EN: .

func (*TToolButton) SetBiDiMode

func (t *TToolButton) SetBiDiMode(value TBiDiMode)

func (*TToolButton) SetBorderSpacing

func (t *TToolButton) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TToolButton) SetBounds

func (t *TToolButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: Set component boundaries.

func (*TToolButton) SetBoundsRect

func (t *TToolButton) SetBoundsRect(value TRect)

func (*TToolButton) SetCaption

func (t *TToolButton) SetCaption(value string)

CN: 设置控件标题。 EN: Set the control title.

func (*TToolButton) SetClientHeight

func (t *TToolButton) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TToolButton) SetClientWidth

func (t *TToolButton) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TToolButton) SetComponentIndex

func (t *TToolButton) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TToolButton) SetConstraints added in v1.2.7

func (t *TToolButton) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TToolButton) SetControlState added in v1.1.21

func (t *TToolButton) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TToolButton) SetControlStyle added in v1.1.21

func (t *TToolButton) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TToolButton) SetCursor

func (t *TToolButton) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TToolButton) SetDown

func (t *TToolButton) SetDown(value bool)

func (*TToolButton) SetDragCursor

func (t *TToolButton) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TToolButton) SetDragKind

func (t *TToolButton) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TToolButton) SetDragMode

func (t *TToolButton) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TToolButton) SetDropdownMenu

func (t *TToolButton) SetDropdownMenu(value IComponent)

func (*TToolButton) SetEnabled

func (t *TToolButton) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TToolButton) SetGrouped

func (t *TToolButton) SetGrouped(value bool)

func (*TToolButton) SetHeight

func (t *TToolButton) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TToolButton) SetHint

func (t *TToolButton) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TToolButton) SetImageIndex

func (t *TToolButton) SetImageIndex(value int32)

CN: 设置图像在images中的索引。 EN: .

func (*TToolButton) SetIndeterminate

func (t *TToolButton) SetIndeterminate(value bool)

func (*TToolButton) SetLeft

func (t *TToolButton) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TToolButton) SetMarked

func (t *TToolButton) SetMarked(value bool)

func (*TToolButton) SetName

func (t *TToolButton) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TToolButton) SetOnClick

func (t *TToolButton) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TToolButton) SetOnContextPopup

func (t *TToolButton) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TToolButton) SetOnDragDrop

func (t *TToolButton) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TToolButton) SetOnDragOver

func (t *TToolButton) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TToolButton) SetOnEndDock

func (t *TToolButton) SetOnEndDock(fn TEndDragEvent)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TToolButton) SetOnEndDrag

func (t *TToolButton) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TToolButton) SetOnMouseDown

func (t *TToolButton) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TToolButton) SetOnMouseEnter

func (t *TToolButton) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TToolButton) SetOnMouseLeave

func (t *TToolButton) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TToolButton) SetOnMouseMove

func (t *TToolButton) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TToolButton) SetOnMouseUp

func (t *TToolButton) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TToolButton) SetOnStartDock

func (t *TToolButton) SetOnStartDock(fn TStartDockEvent)

CN: 设置启动停靠。 EN: .

func (*TToolButton) SetParent

func (t *TToolButton) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TToolButton) SetParentShowHint

func (t *TToolButton) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TToolButton) SetPopupMenu

func (t *TToolButton) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TToolButton) SetShowHint

func (t *TToolButton) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TToolButton) SetStyle

func (t *TToolButton) SetStyle(value TToolButtonStyle)

func (*TToolButton) SetTag

func (t *TToolButton) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TToolButton) SetTextBuf added in v1.1.21

func (t *TToolButton) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TToolButton) SetTop

func (t *TToolButton) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TToolButton) SetVisible

func (t *TToolButton) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TToolButton) SetWidth

func (t *TToolButton) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TToolButton) SetWrap

func (t *TToolButton) SetWrap(value bool)

func (*TToolButton) Show

func (t *TToolButton) Show()

CN: 显示控件。 EN: Show control.

func (*TToolButton) ShowHint

func (t *TToolButton) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TToolButton) Style

func (t *TToolButton) Style() TToolButtonStyle

func (*TToolButton) Tag

func (t *TToolButton) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TToolButton) ToString

func (t *TToolButton) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TToolButton) Top

func (t *TToolButton) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TToolButton) UnsafeAddr added in v1.1.21

func (t *TToolButton) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TToolButton) Update

func (t *TToolButton) Update()

CN: 控件更新。 EN: Update.

func (*TToolButton) Visible

func (t *TToolButton) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TToolButton) Width

func (t *TToolButton) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewTrackBar

func NewTrackBar(owner IComponent) *TTrackBar

CN: 创建一个新的对象。 EN: Create a new object.

func TrackBarFromInst

func TrackBarFromInst(inst uintptr) *TTrackBar

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTrackBar.

func TrackBarFromObj

func TrackBarFromObj(obj IObject) *TTrackBar

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTrackBar.

func TrackBarFromUnsafePointer added in v1.1.21

func TrackBarFromUnsafePointer(ptr unsafe.Pointer) *TTrackBar

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTrackBar.

func (*TTrackBar) Action

func (t *TTrackBar) Action() *TAction

func (*TTrackBar) Align

func (t *TTrackBar) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TTrackBar) AnchorParallel

func (t *TTrackBar) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTrackBar) AnchorSide

func (t *TTrackBar) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TTrackBar) AnchorSideBottom

func (t *TTrackBar) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TTrackBar) AnchorSideLeft

func (t *TTrackBar) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TTrackBar) AnchorSideRight

func (t *TTrackBar) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TTrackBar) AnchorSideTop

func (t *TTrackBar) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TTrackBar) AnchorToNeighbour

func (t *TTrackBar) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTrackBar) AnchorVerticalCenterTo

func (t *TTrackBar) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TTrackBar) Anchors

func (t *TTrackBar) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TTrackBar) Assign

func (t *TTrackBar) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TTrackBar) BiDiMode

func (t *TTrackBar) BiDiMode() TBiDiMode

func (*TTrackBar) BorderSpacing

func (t *TTrackBar) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TTrackBar) BorderWidth

func (t *TTrackBar) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

func (*TTrackBar) BoundsRect

func (t *TTrackBar) BoundsRect() TRect

func (*TTrackBar) BringToFront

func (t *TTrackBar) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TTrackBar) Brush

func (t *TTrackBar) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TTrackBar) CanFocus

func (t *TTrackBar) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TTrackBar) ChildSizing

func (t *TTrackBar) ChildSizing() *TControlChildSizing

func (*TTrackBar) ClassName

func (t *TTrackBar) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTrackBar) ClassType added in v1.1.18

func (t *TTrackBar) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TTrackBar) ClientHeight

func (t *TTrackBar) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TTrackBar) ClientOrigin added in v1.1.21

func (t *TTrackBar) ClientOrigin() TPoint

func (*TTrackBar) ClientRect

func (t *TTrackBar) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TTrackBar) ClientToParent

func (t *TTrackBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TTrackBar) ClientToScreen

func (t *TTrackBar) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TTrackBar) ClientWidth

func (t *TTrackBar) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TTrackBar) ComponentCount

func (t *TTrackBar) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TTrackBar) ComponentIndex

func (t *TTrackBar) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TTrackBar) Components

func (t *TTrackBar) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TTrackBar) Constraints added in v1.2.7

func (t *TTrackBar) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TTrackBar) ContainsControl added in v1.1.21

func (t *TTrackBar) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TTrackBar) ControlCount

func (t *TTrackBar) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TTrackBar) ControlState added in v1.1.21

func (t *TTrackBar) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TTrackBar) ControlStyle added in v1.1.21

func (t *TTrackBar) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TTrackBar) Controls

func (t *TTrackBar) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TTrackBar) Cursor

func (t *TTrackBar) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TTrackBar) DisableAlign added in v1.1.21

func (t *TTrackBar) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TTrackBar) DockClientCount added in v1.1.21

func (t *TTrackBar) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TTrackBar) DockClients added in v1.1.21

func (t *TTrackBar) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TTrackBar) DockSite

func (t *TTrackBar) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TTrackBar) DoubleBuffered

func (t *TTrackBar) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TTrackBar) DragCursor

func (t *TTrackBar) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TTrackBar) DragMode

func (t *TTrackBar) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TTrackBar) Dragging

func (t *TTrackBar) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TTrackBar) EnableAlign added in v1.1.21

func (t *TTrackBar) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TTrackBar) Enabled

func (t *TTrackBar) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TTrackBar) Equals

func (t *TTrackBar) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TTrackBar) FindChildControl added in v1.1.21

func (t *TTrackBar) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TTrackBar) FindComponent

func (t *TTrackBar) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TTrackBar) Free

func (t *TTrackBar) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TTrackBar) Frequency

func (t *TTrackBar) Frequency() int32

func (*TTrackBar) GetHashCode

func (t *TTrackBar) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTrackBar) GetNamePath

func (t *TTrackBar) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TTrackBar) GetTextBuf

func (t *TTrackBar) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TTrackBar) GetTextLen

func (t *TTrackBar) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TTrackBar) Handle

func (t *TTrackBar) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TTrackBar) HandleAllocated

func (t *TTrackBar) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TTrackBar) HasParent

func (t *TTrackBar) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TTrackBar) Height

func (t *TTrackBar) Height() int32

CN: 获取高度。 EN: Get height.

func (*TTrackBar) Hide

func (t *TTrackBar) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TTrackBar) Hint

func (t *TTrackBar) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TTrackBar) InheritsFrom added in v1.1.18

func (t *TTrackBar) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TTrackBar) InsertControl added in v1.1.21

func (t *TTrackBar) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TTrackBar) Instance

func (t *TTrackBar) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTrackBar) InstanceSize added in v1.1.18

func (t *TTrackBar) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTrackBar) Invalidate

func (t *TTrackBar) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TTrackBar) Is added in v1.2.10

func (t *TTrackBar) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTrackBar) IsValid

func (t *TTrackBar) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TTrackBar) Left

func (t *TTrackBar) Left() int32

CN: 获取左边位置。 EN: 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

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TTrackBar) Name

func (t *TTrackBar) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TTrackBar) Orientation

func (t *TTrackBar) Orientation() TTrackBarOrientation

func (*TTrackBar) Owner

func (t *TTrackBar) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TTrackBar) PageSize

func (t *TTrackBar) PageSize() int32

func (*TTrackBar) Parent

func (t *TTrackBar) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TTrackBar) ParentDoubleBuffered

func (t *TTrackBar) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TTrackBar) ParentShowHint

func (t *TTrackBar) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TTrackBar) ParentToClient

func (t *TTrackBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TTrackBar) ParentWindow

func (t *TTrackBar) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TTrackBar) Perform

func (t *TTrackBar) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TTrackBar) PopupMenu

func (t *TTrackBar) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TTrackBar) Position

func (t *TTrackBar) Position() int32

func (*TTrackBar) Realign

func (t *TTrackBar) Realign()

CN: 重新对齐。 EN: Realign.

func (*TTrackBar) Refresh

func (t *TTrackBar) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TTrackBar) RemoveControl added in v1.1.21

func (t *TTrackBar) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TTrackBar) Repaint

func (t *TTrackBar) Repaint()

CN: 重绘。 EN: Repaint.

func (*TTrackBar) ScaleBy

func (t *TTrackBar) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TTrackBar) ScreenToClient

func (t *TTrackBar) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TTrackBar) ScrollBy added in v1.1.21

func (t *TTrackBar) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TTrackBar) SelEnd

func (t *TTrackBar) SelEnd() int32

func (*TTrackBar) SelStart

func (t *TTrackBar) SelStart() int32

CN: 获取选择的启始位置。 EN: .

func (*TTrackBar) SendToBack

func (t *TTrackBar) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TTrackBar) SetAnchorSideBottom

func (t *TTrackBar) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TTrackBar) SetAnchorSideLeft

func (t *TTrackBar) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TTrackBar) SetAnchorSideRight

func (t *TTrackBar) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TTrackBar) SetAnchorSideTop

func (t *TTrackBar) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TTrackBar) SetAnchors

func (t *TTrackBar) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TTrackBar) SetBiDiMode

func (t *TTrackBar) SetBiDiMode(value TBiDiMode)

func (*TTrackBar) SetBorderSpacing

func (t *TTrackBar) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TTrackBar) SetBorderWidth

func (t *TTrackBar) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TTrackBar) SetBounds

func (t *TTrackBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TTrackBar) SetClientWidth

func (t *TTrackBar) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TTrackBar) SetComponentIndex

func (t *TTrackBar) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TTrackBar) SetConstraints added in v1.2.7

func (t *TTrackBar) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TTrackBar) SetControlState added in v1.1.21

func (t *TTrackBar) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TTrackBar) SetControlStyle added in v1.1.21

func (t *TTrackBar) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TTrackBar) SetCursor

func (t *TTrackBar) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TTrackBar) SetDockSite

func (t *TTrackBar) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TTrackBar) SetDoubleBuffered

func (t *TTrackBar) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TTrackBar) SetDragCursor

func (t *TTrackBar) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TTrackBar) SetDragMode

func (t *TTrackBar) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TTrackBar) SetEnabled

func (t *TTrackBar) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TTrackBar) SetFocus

func (t *TTrackBar) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TTrackBar) SetFrequency

func (t *TTrackBar) SetFrequency(value int32)

func (*TTrackBar) SetHeight

func (t *TTrackBar) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TTrackBar) SetHint

func (t *TTrackBar) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TTrackBar) SetLeft

func (t *TTrackBar) SetLeft(value int32)

CN: 设置左边位置。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TTrackBar) SetOnChange

func (t *TTrackBar) SetOnChange(fn TNotifyEvent)

CN: 设置改变事件。 EN: Set changed event.

func (*TTrackBar) SetOnContextPopup

func (t *TTrackBar) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TTrackBar) SetOnDragDrop

func (t *TTrackBar) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TTrackBar) SetOnDragOver

func (t *TTrackBar) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: Set Drag and drop completion event.

func (*TTrackBar) SetOnEndDrag

func (t *TTrackBar) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TTrackBar) SetOnEnter

func (t *TTrackBar) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TTrackBar) SetOnExit

func (t *TTrackBar) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TTrackBar) SetOnKeyDown

func (t *TTrackBar) SetOnKeyDown(fn TKeyEvent)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TTrackBar) SetOnKeyPress

func (t *TTrackBar) SetOnKeyPress(fn TKeyPressEvent)

func (*TTrackBar) SetOnKeyUp

func (t *TTrackBar) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: 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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TTrackBar) SetParentDoubleBuffered

func (t *TTrackBar) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TTrackBar) SetParentShowHint

func (t *TTrackBar) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TTrackBar) SetParentWindow

func (t *TTrackBar) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TTrackBar) SetPopupMenu

func (t *TTrackBar) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: 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)

CN: 设置选择的启始位置。 EN: .

func (*TTrackBar) SetShowHint

func (t *TTrackBar) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TTrackBar) SetShowSelRange

func (t *TTrackBar) SetShowSelRange(value bool)

func (*TTrackBar) SetTabOrder

func (t *TTrackBar) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TTrackBar) SetTabStop

func (t *TTrackBar) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TTrackBar) SetTag

func (t *TTrackBar) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TTrackBar) SetTextBuf added in v1.1.21

func (t *TTrackBar) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: 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)

CN: 设置顶边位置。 EN: Set Top position.

func (*TTrackBar) SetUseDockManager

func (t *TTrackBar) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TTrackBar) SetVisible

func (t *TTrackBar) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TTrackBar) SetWidth

func (t *TTrackBar) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TTrackBar) Show

func (t *TTrackBar) Show()

CN: 显示控件。 EN: Show control.

func (*TTrackBar) ShowHint

func (t *TTrackBar) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TTrackBar) ShowSelRange

func (t *TTrackBar) ShowSelRange() bool

func (*TTrackBar) TabOrder

func (t *TTrackBar) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TTrackBar) TabStop

func (t *TTrackBar) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TTrackBar) Tag

func (t *TTrackBar) Tag() int

CN: 获取对象标记。 EN: 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

CN: 文本类信息。 EN: Text information.

func (*TTrackBar) Top

func (t *TTrackBar) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TTrackBar) UnsafeAddr added in v1.1.21

func (t *TTrackBar) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TTrackBar) Update

func (t *TTrackBar) Update()

CN: 控件更新。 EN: Update.

func (*TTrackBar) UseDockManager

func (t *TTrackBar) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TTrackBar) Visible

func (t *TTrackBar) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TTrackBar) VisibleDockClientCount added in v1.1.21

func (t *TTrackBar) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TTrackBar) Width

func (t *TTrackBar) Width() int32

CN: 获取宽度。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewTrayIcon

func NewTrayIcon(owner IComponent) *TTrayIcon

CN: 创建一个新的对象。 EN: Create a new object.

func TrayIconFromInst

func TrayIconFromInst(inst uintptr) *TTrayIcon

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTrayIcon.

func TrayIconFromObj

func TrayIconFromObj(obj IObject) *TTrayIcon

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTrayIcon.

func TrayIconFromUnsafePointer added in v1.1.21

func TrayIconFromUnsafePointer(ptr unsafe.Pointer) *TTrayIcon

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTrayIcon.

func (*TTrayIcon) AnimateInterval

func (t *TTrayIcon) AnimateInterval() uint32

func (*TTrayIcon) Assign

func (t *TTrayIcon) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: 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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTrayIcon) ClassType added in v1.1.18

func (t *TTrayIcon) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TTrayIcon) ComponentCount

func (t *TTrayIcon) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TTrayIcon) ComponentIndex

func (t *TTrayIcon) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TTrayIcon) Components

func (t *TTrayIcon) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TTrayIcon) Equals

func (t *TTrayIcon) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TTrayIcon) FindComponent

func (t *TTrayIcon) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

func (*TTrayIcon) Free

func (t *TTrayIcon) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TTrayIcon) GetHashCode

func (t *TTrayIcon) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTrayIcon) GetNamePath

func (t *TTrayIcon) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TTrayIcon) HasParent

func (t *TTrayIcon) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TTrayIcon) Hint

func (t *TTrayIcon) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TTrayIcon) Icon

func (t *TTrayIcon) Icon() *TIcon

CN: 获取图标。 EN: Get icon.

func (*TTrayIcon) InheritsFrom added in v1.1.18

func (t *TTrayIcon) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TTrayIcon) Instance

func (t *TTrayIcon) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTrayIcon) InstanceSize added in v1.1.18

func (t *TTrayIcon) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTrayIcon) Is added in v1.2.10

func (t *TTrayIcon) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTrayIcon) IsValid

func (t *TTrayIcon) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TTrayIcon) Name

func (t *TTrayIcon) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TTrayIcon) Owner

func (t *TTrayIcon) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TTrayIcon) PopupMenu

func (t *TTrayIcon) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: 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)

CN: 设置组件索引。 EN: Set component index.

func (*TTrayIcon) SetHint

func (t *TTrayIcon) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TTrayIcon) SetIcon

func (t *TTrayIcon) SetIcon(value *TIcon)

CN: 设置图标。 EN: Set icon.

func (*TTrayIcon) SetName

func (t *TTrayIcon) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TTrayIcon) SetOnClick

func (t *TTrayIcon) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TTrayIcon) SetOnDblClick

func (t *TTrayIcon) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TTrayIcon) SetOnMouseDown

func (t *TTrayIcon) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TTrayIcon) SetOnMouseMove

func (t *TTrayIcon) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TTrayIcon) SetOnMouseUp

func (t *TTrayIcon) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TTrayIcon) SetPopupMenu

func (t *TTrayIcon) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TTrayIcon) SetTag

func (t *TTrayIcon) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TTrayIcon) SetVisible

func (t *TTrayIcon) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TTrayIcon) ShowBalloonHint

func (t *TTrayIcon) ShowBalloonHint()

func (*TTrayIcon) Tag

func (t *TTrayIcon) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TTrayIcon) ToString

func (t *TTrayIcon) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TTrayIcon) UnsafeAddr added in v1.1.21

func (t *TTrayIcon) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TTrayIcon) Visible

func (t *TTrayIcon) Visible() bool

CN: 获取控件可视。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewTreeNode

func NewTreeNode(AOwner *TTreeNodes) *TTreeNode

CN: 创建一个新的对象。 EN: Create a new object.

func TreeNodeFromInst

func TreeNodeFromInst(inst uintptr) *TTreeNode

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTreeNode.

func TreeNodeFromObj

func TreeNodeFromObj(obj IObject) *TTreeNode

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTreeNode.

func TreeNodeFromUnsafePointer added in v1.1.21

func TreeNodeFromUnsafePointer(ptr unsafe.Pointer) *TTreeNode

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTreeNode.

func (*TTreeNode) AbsoluteIndex

func (t *TTreeNode) AbsoluteIndex() int32

func (*TTreeNode) Assign

func (t *TTreeNode) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TTreeNode) ClassName

func (t *TTreeNode) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTreeNode) ClassType added in v1.1.18

func (t *TTreeNode) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TTreeNode) Collapse

func (t *TTreeNode) Collapse(Recurse bool)

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

func (t *TTreeNode) Delete()

func (*TTreeNode) Deleting

func (t *TTreeNode) Deleting() bool

func (*TTreeNode) DisplayRect

func (t *TTreeNode) DisplayRect(TextOnly bool) TRect

func (*TTreeNode) EditText

func (t *TTreeNode) EditText() bool

func (*TTreeNode) Equals

func (t *TTreeNode) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TTreeNode) Expand

func (t *TTreeNode) Expand(Recurse bool)

func (*TTreeNode) Expanded

func (t *TTreeNode) Expanded() bool

func (*TTreeNode) Focused

func (t *TTreeNode) Focused() bool

CN: 获取返回是否获取焦点。 EN: Get Return to get focus.

func (*TTreeNode) Free

func (t *TTreeNode) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TTreeNode) GetHashCode

func (t *TTreeNode) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTreeNode) GetNamePath

func (t *TTreeNode) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TTreeNode) Handle

func (t *TTreeNode) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TTreeNode) HasChildren

func (t *TTreeNode) HasChildren() bool

func (*TTreeNode) ImageIndex

func (t *TTreeNode) ImageIndex() int32

CN: 获取图像在images中的索引。 EN: .

func (*TTreeNode) Index

func (t *TTreeNode) Index() int32

func (*TTreeNode) IndexOf

func (t *TTreeNode) IndexOf(Value *TTreeNode) int32

func (*TTreeNode) InheritsFrom added in v1.1.18

func (t *TTreeNode) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TTreeNode) Instance

func (t *TTreeNode) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTreeNode) InstanceSize added in v1.1.18

func (t *TTreeNode) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTreeNode) Is added in v1.2.10

func (t *TTreeNode) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTreeNode) IsValid

func (t *TTreeNode) IsValid() bool

CN: 检测地址是否为空。 EN: 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) 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) Owner

func (t *TTreeNode) Owner() *TTreeNodes

CN: 获取组件所有者。 EN: Get component owner.

func (*TTreeNode) Parent

func (t *TTreeNode) Parent() *TTreeNode

CN: 获取控件父容器。 EN: 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) SetExpanded

func (t *TTreeNode) SetExpanded(value bool)

func (*TTreeNode) SetFocused

func (t *TTreeNode) SetFocused(value bool)

CN: 设置返回是否获取焦点。 EN: Set Return to get focus.

func (*TTreeNode) SetHasChildren

func (t *TTreeNode) SetHasChildren(value bool)

func (*TTreeNode) SetImageIndex

func (t *TTreeNode) SetImageIndex(value int32)

CN: 设置图像在images中的索引。 EN: .

func (*TTreeNode) SetItem

func (t *TTreeNode) SetItem(Index int32, value *TTreeNode)

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)

CN: 设置文本。 EN: .

func (*TTreeNode) StateIndex

func (t *TTreeNode) StateIndex() int32

func (*TTreeNode) Text

func (t *TTreeNode) Text() string

CN: 获取文本。 EN: .

func (*TTreeNode) ToString

func (t *TTreeNode) ToString() string

CN: 文本类信息。 EN: Text information.

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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

type TTreeNodes

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

func AsTreeNodes added in v1.2.10

func AsTreeNodes(obj interface{}) *TTreeNodes

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewTreeNodes

func NewTreeNodes(AOwner *TTreeView) *TTreeNodes

CN: 创建一个新的对象。 EN: Create a new object.

func TreeNodesFromInst

func TreeNodesFromInst(inst uintptr) *TTreeNodes

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTreeNodes.

func TreeNodesFromObj

func TreeNodesFromObj(obj IObject) *TTreeNodes

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTreeNodes.

func TreeNodesFromUnsafePointer added in v1.1.21

func TreeNodesFromUnsafePointer(ptr unsafe.Pointer) *TTreeNodes

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTreeNodes.

func (*TTreeNodes) Add

func (t *TTreeNodes) Add(Sibling *TTreeNode, S string) *TTreeNode

func (*TTreeNodes) AddChild

func (t *TTreeNodes) AddChild(Parent *TTreeNode, S string) *TTreeNode

func (*TTreeNodes) AddChildFirst

func (t *TTreeNodes) AddChildFirst(Parent *TTreeNode, S string) *TTreeNode

func (*TTreeNodes) AddChildObject

func (t *TTreeNodes) AddChildObject(Parent *TTreeNode, S string, Ptr uintptr) *TTreeNode

func (*TTreeNodes) AddChildObjectFirst

func (t *TTreeNodes) AddChildObjectFirst(Parent *TTreeNode, S string, Ptr uintptr) *TTreeNode

func (*TTreeNodes) AddFirst

func (t *TTreeNodes) AddFirst(Sibling *TTreeNode, S string) *TTreeNode

func (*TTreeNodes) AddNode

func (t *TTreeNodes) AddNode(Node *TTreeNode, Relative *TTreeNode, S string, Ptr uintptr, Method TNodeAttachMode) *TTreeNode

func (*TTreeNodes) AddObject

func (t *TTreeNodes) AddObject(Sibling *TTreeNode, S string, Ptr uintptr) *TTreeNode

func (*TTreeNodes) AddObjectFirst

func (t *TTreeNodes) AddObjectFirst(Sibling *TTreeNode, S string, Ptr uintptr) *TTreeNode

func (*TTreeNodes) Assign

func (t *TTreeNodes) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TTreeNodes) BeginUpdate

func (t *TTreeNodes) BeginUpdate()

func (*TTreeNodes) ClassName

func (t *TTreeNodes) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTreeNodes) ClassType added in v1.1.18

func (t *TTreeNodes) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TTreeNodes) Clear

func (t *TTreeNodes) Clear()

CN: 清除。 EN: .

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

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TTreeNodes) Free

func (t *TTreeNodes) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TTreeNodes) GetFirstNode

func (t *TTreeNodes) GetFirstNode() *TTreeNode

func (*TTreeNodes) GetHashCode

func (t *TTreeNodes) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTreeNodes) GetNamePath

func (t *TTreeNodes) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TTreeNodes) InheritsFrom added in v1.1.18

func (t *TTreeNodes) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: 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

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTreeNodes) InstanceSize added in v1.1.18

func (t *TTreeNodes) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTreeNodes) Is added in v1.2.10

func (t *TTreeNodes) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TTreeNodes) IsValid

func (t *TTreeNodes) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TTreeNodes) Item

func (t *TTreeNodes) Item(Index int32) *TTreeNode

func (*TTreeNodes) Owner

func (t *TTreeNodes) Owner() *TWinControl

CN: 获取组件所有者。 EN: Get component owner.

func (*TTreeNodes) ToString

func (t *TTreeNodes) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TTreeNodes) UnsafeAddr added in v1.1.21

func (t *TTreeNodes) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: 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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewTreeView

func NewTreeView(owner IComponent) *TTreeView

CN: 创建一个新的对象。 EN: Create a new object.

func TreeViewFromInst

func TreeViewFromInst(inst uintptr) *TTreeView

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsTreeView.

func TreeViewFromObj

func TreeViewFromObj(obj IObject) *TTreeView

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsTreeView.

func TreeViewFromUnsafePointer added in v1.1.21

func TreeViewFromUnsafePointer(ptr unsafe.Pointer) *TTreeView

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsTreeView.

func (*TTreeView) Action

func (t *TTreeView) Action() *TAction

func (*TTreeView) Align

func (t *TTreeView) Align() TAlign

CN: 获取控件自动调整。 EN: Get Control automatically adjusts.

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)

CN: 置于指定控件的横向中心。 EN: .

func (*TTreeView) AnchorParallel

func (t *TTreeView) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTreeView) AnchorSide

func (t *TTreeView) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TTreeView) AnchorSideBottom

func (t *TTreeView) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TTreeView) AnchorSideLeft

func (t *TTreeView) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TTreeView) AnchorSideRight

func (t *TTreeView) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TTreeView) AnchorSideTop

func (t *TTreeView) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TTreeView) AnchorToNeighbour

func (t *TTreeView) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TTreeView) AnchorVerticalCenterTo

func (t *TTreeView) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TTreeView) Anchors

func (t *TTreeView) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TTreeView) Assign

func (t *TTreeView) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TTreeView) AutoExpand

func (t *TTreeView) AutoExpand() bool

func (*TTreeView) BiDiMode

func (t *TTreeView) BiDiMode() TBiDiMode

func (*TTreeView) BorderSpacing

func (t *TTreeView) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TTreeView) BorderStyle

func (t *TTreeView) BorderStyle() TBorderStyle

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

func (*TTreeView) BorderWidth

func (t *TTreeView) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

func (*TTreeView) BoundsRect

func (t *TTreeView) BoundsRect() TRect

func (*TTreeView) BringToFront

func (t *TTreeView) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TTreeView) Brush

func (t *TTreeView) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TTreeView) CanFocus

func (t *TTreeView) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TTreeView) Canvas

func (t *TTreeView) Canvas() *TCanvas

CN: 获取画布。 EN: .

func (*TTreeView) ChildSizing

func (t *TTreeView) ChildSizing() *TControlChildSizing

func (*TTreeView) ClassName

func (t *TTreeView) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TTreeView) ClassType added in v1.1.18

func (t *TTreeView) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TTreeView) ClearSelection

func (t *TTreeView) ClearSelection(KeepPrimary bool)

CN: 清除选择。 EN: .

func (*TTreeView) ClientHeight

func (t *TTreeView) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TTreeView) ClientOrigin added in v1.1.21

func (t *TTreeView) ClientOrigin() TPoint

func (*TTreeView) ClientRect

func (t *TTreeView) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TTreeView) ClientToParent

func (t *TTreeView) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TTreeView) ClientToScreen

func (t *TTreeView) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TTreeView) ClientWidth

func (t *TTreeView) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TTreeView) Color

func (t *TTreeView) Color() TColor

CN: 获取颜色。 EN: Get color.

func (*TTreeView) ComponentCount

func (t *TTreeView) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TTreeView) ComponentIndex

func (t *TTreeView) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TTreeView) Components

func (t *TTreeView) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TTreeView) Constraints added in v1.2.7

func (t *TTreeView) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TTreeView) ContainsControl added in v1.1.21

func (t *TTreeView) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TTreeView) ControlCount

func (t *TTreeView) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TTreeView) ControlState added in v1.1.21

func (t *TTreeView) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TTreeView) ControlStyle added in v1.1.21

func (t *TTreeView) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TTreeView) Controls

func (t *TTreeView) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TTreeView) Cursor

func (t *TTreeView) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TTreeView) CustomSort

func (t *TTreeView) CustomSort(SortProc PFNTVCOMPARE, Data int, ARecurse bool) bool

func (*TTreeView) DefaultItemHeight

func (t *TTreeView) DefaultItemHeight() int32

func (*TTreeView) DisableAlign added in v1.1.21

func (t *TTreeView) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TTreeView) DockClientCount added in v1.1.21

func (t *TTreeView) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TTreeView) DockClients added in v1.1.21

func (t *TTreeView) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TTreeView) DockSite

func (t *TTreeView) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TTreeView) DoubleBuffered

func (t *TTreeView) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TTreeView) DragCursor

func (t *TTreeView) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TTreeView) DragKind

func (t *TTreeView) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TTreeView) DragMode

func (t *TTreeView) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TTreeView) Dragging

func (t *TTreeView) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TTreeView) EnableAlign added in v1.1.21

func (t *TTreeView) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TTreeView) Enabled

func (t *TTreeView) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TTreeView) Equals

func (t *TTreeView) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: 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

CN: 查找子控件。 EN: Find sub controls.

func (*TTreeView) FindComponent

func (t *TTreeView) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TTreeView) Font

func (t *TTreeView) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TTreeView) Free

func (t *TTreeView) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TTreeView) FullCollapse

func (t *TTreeView) FullCollapse()

func (*TTreeView) FullExpand

func (t *TTreeView) FullExpand()

func (*TTreeView) GetHashCode

func (t *TTreeView) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TTreeView) GetNamePath

func (t *TTreeView) GetNamePath() string

CN: 获取类名路径。 EN: 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

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TTreeView) GetTextLen

func (t *TTreeView) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TTreeView) Handle

func (t *TTreeView) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TTreeView) HandleAllocated

func (t *TTreeView) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TTreeView) HasParent

func (t *TTreeView) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TTreeView) Height

func (t *TTreeView) Height() int32

CN: 获取高度。 EN: Get height.

func (*TTreeView) Hide

func (t *TTreeView) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TTreeView) HideSelection

func (t *TTreeView) HideSelection() bool

CN: 获取隐藏选择。 EN: .

func (*TTreeView) Hint

func (t *TTreeView) Hint() string

CN: 获取组件鼠标悬停提示。 EN: 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

CN: 获取图标索引列表对象。 EN: .

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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TTreeView) InsertControl added in v1.1.21

func (t *TTreeView) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TTreeView) Instance

func (t *TTreeView) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TTreeView) InstanceSize added in v1.1.18

func (t *TTreeView) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TTreeView) Invalidate

func (t *TTreeView) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TTreeView) Is added in v1.2.10

func (t *TTreeView) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: 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

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TTreeView) Items

func (t *TTreeView) Items() *TTreeNodes

func (*TTreeView) Left

func (t *TTreeView) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TTreeView) LoadFromFile

func (t *TTreeView) LoadFromFile(FileName string)

CN: 从文件加载。 EN: .

func (*TTreeView) LoadFromStream

func (t *TTreeView) LoadFromStream(Stream IObject)

CN: 文件流加载。 EN: .

func (*TTreeView) MouseInClient added in v1.1.21

func (t *TTreeView) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TTreeView) Options

func (t *TTreeView) Options() TTreeViewOptions

func (*TTreeView) Owner

func (t *TTreeView) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TTreeView) Parent

func (t *TTreeView) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TTreeView) ParentColor

func (t *TTreeView) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TTreeView) ParentDoubleBuffered

func (t *TTreeView) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TTreeView) ParentFont

func (t *TTreeView) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TTreeView) ParentShowHint

func (t *TTreeView) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TTreeView) ParentToClient

func (t *TTreeView) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TTreeView) ParentWindow

func (t *TTreeView) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TTreeView) Perform

func (t *TTreeView) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TTreeView) PopupMenu

func (t *TTreeView) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TTreeView) ReadOnly

func (t *TTreeView) ReadOnly() bool

CN: 获取只读。 EN: .

func (*TTreeView) Realign

func (t *TTreeView) Realign()

CN: 重新对齐。 EN: Realign.

func (*TTreeView) Refresh

func (t *TTreeView) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TTreeView) RemoveControl added in v1.1.21

func (t *TTreeView) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TTreeView) Repaint

func (t *TTreeView) Repaint()

CN: 重绘。 EN: 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)

CN: 保存至文件。 EN: .

func (*TTreeView) SaveToStream

func (t *TTreeView) SaveToStream(Stream IObject)

CN: 保存至流。 EN: .

func (*TTreeView) ScaleBy

func (t *TTreeView) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TTreeView) ScreenToClient

func (t *TTreeView) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: 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)

CN: 滚动至指定位置。 EN: 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()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TTreeView) SetAnchorSideBottom

func (t *TTreeView) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TTreeView) SetAnchorSideLeft

func (t *TTreeView) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TTreeView) SetAnchorSideRight

func (t *TTreeView) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TTreeView) SetAnchorSideTop

func (t *TTreeView) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TTreeView) SetAnchors

func (t *TTreeView) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

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)

CN: 设置边框间距。 EN: .

func (*TTreeView) SetBorderStyle

func (t *TTreeView) SetBorderStyle(value TBorderStyle)

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

func (*TTreeView) SetBorderWidth

func (t *TTreeView) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TTreeView) SetBounds

func (t *TTreeView) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TTreeView) SetClientWidth

func (t *TTreeView) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TTreeView) SetColor

func (t *TTreeView) SetColor(value TColor)

CN: 设置颜色。 EN: Set color.

func (*TTreeView) SetComponentIndex

func (t *TTreeView) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TTreeView) SetConstraints added in v1.2.7

func (t *TTreeView) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TTreeView) SetControlState added in v1.1.21

func (t *TTreeView) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TTreeView) SetControlStyle added in v1.1.21

func (t *TTreeView) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TTreeView) SetCursor

func (t *TTreeView) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TTreeView) SetDefaultItemHeight

func (t *TTreeView) SetDefaultItemHeight(value int32)

func (*TTreeView) SetDockSite

func (t *TTreeView) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TTreeView) SetDoubleBuffered

func (t *TTreeView) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TTreeView) SetDragCursor

func (t *TTreeView) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TTreeView) SetDragKind

func (t *TTreeView) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TTreeView) SetDragMode

func (t *TTreeView) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

func (*TTreeView) SetEnabled

func (t *TTreeView) SetEnabled(value bool)

CN: 设置控件启用。 EN: 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()

CN: 设置控件焦点。 EN: Set control focus.

func (*TTreeView) SetFont

func (t *TTreeView) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TTreeView) SetHeight

func (t *TTreeView) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TTreeView) SetHideSelection

func (t *TTreeView) SetHideSelection(value bool)

CN: 设置隐藏选择。 EN: .

func (*TTreeView) SetHint

func (t *TTreeView) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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)

CN: 设置图标索引列表对象。 EN: .

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)

CN: 设置左边位置。 EN: 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)

CN: 设置组件名称。 EN: 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)

CN: 设置改变事件。 EN: 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)

CN: 设置控件单击事件。 EN: 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)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: 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)

CN: 设置双击事件。 EN: .

func (*TTreeView) SetOnDeletion added in v1.1.21

func (t *TTreeView) SetOnDeletion(fn TTVExpandedEvent)

func (*TTreeView) SetOnDragDrop

func (t *TTreeView) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TTreeView) SetOnDragOver

func (t *TTreeView) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: 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)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TTreeView) SetOnEnter

func (t *TTreeView) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TTreeView) SetOnExit

func (t *TTreeView) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: 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)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TTreeView) SetOnKeyPress

func (t *TTreeView) SetOnKeyPress(fn TKeyPressEvent)

func (*TTreeView) SetOnKeyUp

func (t *TTreeView) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TTreeView) SetOnMouseDown

func (t *TTreeView) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TTreeView) SetOnMouseEnter

func (t *TTreeView) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TTreeView) SetOnMouseLeave

func (t *TTreeView) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TTreeView) SetOnMouseMove

func (t *TTreeView) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TTreeView) SetOnMouseUp

func (t *TTreeView) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TTreeView) SetOptions

func (t *TTreeView) SetOptions(value TTreeViewOptions)

func (*TTreeView) SetParent

func (t *TTreeView) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TTreeView) SetParentColor

func (t *TTreeView) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TTreeView) SetParentDoubleBuffered

func (t *TTreeView) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TTreeView) SetParentFont

func (t *TTreeView) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TTreeView) SetParentShowHint

func (t *TTreeView) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TTreeView) SetParentWindow

func (t *TTreeView) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TTreeView) SetPopupMenu

func (t *TTreeView) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TTreeView) SetReadOnly

func (t *TTreeView) SetReadOnly(value bool)

CN: 设置只读。 EN: .

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)

CN: 设置显示鼠标悬停提示。 EN: 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)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TTreeView) SetTabStop

func (t *TTreeView) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TTreeView) SetTag

func (t *TTreeView) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TTreeView) SetTextBuf added in v1.1.21

func (t *TTreeView) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TTreeView) SetToolTips

func (t *TTreeView) SetToolTips(value bool)

func (*TTreeView) SetTop

func (t *TTreeView) SetTop(value int32)

CN: 设置顶边位置。 EN: 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)

CN: 设置使用停靠管理。 EN: .

func (*TTreeView) SetVisible

func (t *TTreeView) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TTreeView) SetWidth

func (t *TTreeView) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TTreeView) Show

func (t *TTreeView) Show()

CN: 显示控件。 EN: Show control.

func (*TTreeView) ShowButtons

func (t *TTreeView) ShowButtons() bool

func (*TTreeView) ShowHint

func (t *TTreeView) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TTreeView) ShowLines

func (t *TTreeView) ShowLines() bool

func (*TTreeView) ShowRoot

func (t *TTreeView) ShowRoot() 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

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TTreeView) TabStop

func (t *TTreeView) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TTreeView) Tag

func (t *TTreeView) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TTreeView) ToString

func (t *TTreeView) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TTreeView) ToolTips

func (t *TTreeView) ToolTips() bool

func (*TTreeView) Top

func (t *TTreeView) Top() int32

CN: 获取顶边位置。 EN: 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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TTreeView) Update

func (t *TTreeView) Update()

CN: 控件更新。 EN: Update.

func (*TTreeView) UseDockManager

func (t *TTreeView) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TTreeView) Visible

func (t *TTreeView) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TTreeView) VisibleDockClientCount added in v1.1.21

func (t *TTreeView) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TTreeView) Width

func (t *TTreeView) Width() int32

CN: 获取宽度。 EN: Get width.

type TUDChangingEvent added in v1.1.21

type TUDChangingEvent func(sender IObject, allowChange *bool)

TUDChangingEvent = procedure (Sender: TObject; var AllowChange: Boolean) of object;

type TUDClickEvent

type TUDClickEvent func(sender IObject, button TUDBtnType)

TUDClickEvent TUpDown TUDBtnType

type TUnDockEvent

type TUnDockEvent func(sender IObject, client *TControl, newTarget *TControl, allow *bool)

TUnDockEvent = procedure(Sender: TObject; Client: TControl; NewTarget: TWinControl; var Allow: Boolean) of object;

type TUpDown

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

func AsUpDown added in v1.2.10

func AsUpDown(obj interface{}) *TUpDown

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewUpDown

func NewUpDown(owner IComponent) *TUpDown

CN: 创建一个新的对象。 EN: Create a new object.

func UpDownFromInst

func UpDownFromInst(inst uintptr) *TUpDown

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsUpDown.

func UpDownFromObj

func UpDownFromObj(obj IObject) *TUpDown

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsUpDown.

func UpDownFromUnsafePointer added in v1.1.21

func UpDownFromUnsafePointer(ptr unsafe.Pointer) *TUpDown

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsUpDown.

func (*TUpDown) Action

func (u *TUpDown) Action() *TAction

func (*TUpDown) Align

func (u *TUpDown) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TUpDown) AnchorParallel

func (u *TUpDown) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TUpDown) AnchorSide

func (u *TUpDown) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TUpDown) AnchorSideBottom

func (u *TUpDown) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TUpDown) AnchorSideLeft

func (u *TUpDown) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TUpDown) AnchorSideRight

func (u *TUpDown) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TUpDown) AnchorSideTop

func (u *TUpDown) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TUpDown) AnchorToNeighbour

func (u *TUpDown) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TUpDown) AnchorVerticalCenterTo

func (u *TUpDown) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TUpDown) Anchors

func (u *TUpDown) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TUpDown) Assign

func (u *TUpDown) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TUpDown) BiDiMode

func (u *TUpDown) BiDiMode() TBiDiMode

func (*TUpDown) BorderSpacing

func (u *TUpDown) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TUpDown) BoundsRect

func (u *TUpDown) BoundsRect() TRect

func (*TUpDown) BringToFront

func (u *TUpDown) BringToFront()

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TUpDown) Brush

func (u *TUpDown) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TUpDown) CanFocus

func (u *TUpDown) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TUpDown) ChildSizing

func (u *TUpDown) ChildSizing() *TControlChildSizing

func (*TUpDown) ClassName

func (u *TUpDown) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TUpDown) ClassType added in v1.1.18

func (u *TUpDown) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TUpDown) ClientHeight

func (u *TUpDown) ClientHeight() int32

CN: 获取客户区高度。 EN: Get client height.

func (*TUpDown) ClientOrigin added in v1.1.21

func (u *TUpDown) ClientOrigin() TPoint

func (*TUpDown) ClientRect

func (u *TUpDown) ClientRect() TRect

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TUpDown) ClientToParent

func (u *TUpDown) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TUpDown) ClientToScreen

func (u *TUpDown) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TUpDown) ClientWidth

func (u *TUpDown) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TUpDown) ComponentCount

func (u *TUpDown) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TUpDown) ComponentIndex

func (u *TUpDown) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TUpDown) Components

func (u *TUpDown) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TUpDown) Constraints added in v1.2.7

func (u *TUpDown) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TUpDown) ContainsControl added in v1.1.21

func (u *TUpDown) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TUpDown) ControlCount

func (u *TUpDown) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TUpDown) ControlState added in v1.1.21

func (u *TUpDown) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TUpDown) ControlStyle added in v1.1.21

func (u *TUpDown) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TUpDown) Controls

func (u *TUpDown) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TUpDown) Cursor

func (u *TUpDown) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TUpDown) DisableAlign added in v1.1.21

func (u *TUpDown) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TUpDown) DockClientCount added in v1.1.21

func (u *TUpDown) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TUpDown) DockClients added in v1.1.21

func (u *TUpDown) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TUpDown) DockSite

func (u *TUpDown) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TUpDown) DoubleBuffered

func (u *TUpDown) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TUpDown) Dragging

func (u *TUpDown) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TUpDown) EnableAlign added in v1.1.21

func (u *TUpDown) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TUpDown) Enabled

func (u *TUpDown) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TUpDown) Equals

func (u *TUpDown) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TUpDown) FindChildControl added in v1.1.21

func (u *TUpDown) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TUpDown) FindComponent

func (u *TUpDown) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TUpDown) Free

func (u *TUpDown) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TUpDown) GetHashCode

func (u *TUpDown) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TUpDown) GetNamePath

func (u *TUpDown) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TUpDown) GetTextBuf

func (u *TUpDown) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TUpDown) GetTextLen

func (u *TUpDown) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TUpDown) Handle

func (u *TUpDown) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TUpDown) HandleAllocated

func (u *TUpDown) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TUpDown) HasParent

func (u *TUpDown) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TUpDown) Height

func (u *TUpDown) Height() int32

CN: 获取高度。 EN: Get height.

func (*TUpDown) Hide

func (u *TUpDown) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TUpDown) Hint

func (u *TUpDown) Hint() string

CN: 获取组件鼠标悬停提示。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TUpDown) InsertControl added in v1.1.21

func (u *TUpDown) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TUpDown) Instance

func (u *TUpDown) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TUpDown) InstanceSize added in v1.1.18

func (u *TUpDown) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TUpDown) Invalidate

func (u *TUpDown) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TUpDown) Is added in v1.2.10

func (u *TUpDown) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TUpDown) IsValid

func (u *TUpDown) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TUpDown) Left

func (u *TUpDown) Left() int32

CN: 获取左边位置。 EN: 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

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: Get Whether the mouse is on the client, only VCL is valid.

func (*TUpDown) Name

func (u *TUpDown) Name() string

CN: 获取组件名称。 EN: Get the component name.

func (*TUpDown) Orientation

func (u *TUpDown) Orientation() TUDOrientation

func (*TUpDown) Owner

func (u *TUpDown) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TUpDown) Parent

func (u *TUpDown) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TUpDown) ParentDoubleBuffered

func (u *TUpDown) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TUpDown) ParentShowHint

func (u *TUpDown) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TUpDown) ParentToClient

func (u *TUpDown) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TUpDown) ParentWindow

func (u *TUpDown) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TUpDown) Perform

func (u *TUpDown) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TUpDown) PopupMenu

func (u *TUpDown) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TUpDown) Position

func (u *TUpDown) Position() int32

func (*TUpDown) Realign

func (u *TUpDown) Realign()

CN: 重新对齐。 EN: Realign.

func (*TUpDown) Refresh

func (u *TUpDown) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TUpDown) RemoveControl added in v1.1.21

func (u *TUpDown) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TUpDown) Repaint

func (u *TUpDown) Repaint()

CN: 重绘。 EN: Repaint.

func (*TUpDown) ScaleBy

func (u *TUpDown) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TUpDown) ScreenToClient

func (u *TUpDown) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TUpDown) ScrollBy added in v1.1.21

func (u *TUpDown) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TUpDown) SendToBack

func (u *TUpDown) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TUpDown) SetAnchorSideBottom

func (u *TUpDown) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TUpDown) SetAnchorSideLeft

func (u *TUpDown) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TUpDown) SetAnchorSideRight

func (u *TUpDown) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TUpDown) SetAnchorSideTop

func (u *TUpDown) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TUpDown) SetAnchors

func (u *TUpDown) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TUpDown) SetBiDiMode

func (u *TUpDown) SetBiDiMode(value TBiDiMode)

func (*TUpDown) SetBorderSpacing

func (u *TUpDown) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TUpDown) SetBounds

func (u *TUpDown) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TUpDown) SetClientWidth

func (u *TUpDown) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TUpDown) SetComponentIndex

func (u *TUpDown) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TUpDown) SetConstraints added in v1.2.7

func (u *TUpDown) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TUpDown) SetControlState added in v1.1.21

func (u *TUpDown) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TUpDown) SetControlStyle added in v1.1.21

func (u *TUpDown) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TUpDown) SetCursor

func (u *TUpDown) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TUpDown) SetDockSite

func (u *TUpDown) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TUpDown) SetDoubleBuffered

func (u *TUpDown) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TUpDown) SetEnabled

func (u *TUpDown) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TUpDown) SetFocus

func (u *TUpDown) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TUpDown) SetHeight

func (u *TUpDown) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TUpDown) SetHint

func (u *TUpDown) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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)

CN: 设置左边位置。 EN: 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)

CN: 设置组件名称。 EN: 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)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TUpDown) SetOnContextPopup

func (u *TUpDown) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TUpDown) SetOnEnter

func (u *TUpDown) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TUpDown) SetOnExit

func (u *TUpDown) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: Set Focus exit.

func (*TUpDown) SetOnMouseDown

func (u *TUpDown) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TUpDown) SetOnMouseEnter

func (u *TUpDown) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TUpDown) SetOnMouseLeave

func (u *TUpDown) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TUpDown) SetOnMouseMove

func (u *TUpDown) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TUpDown) SetOnMouseUp

func (u *TUpDown) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TUpDown) SetOrientation

func (u *TUpDown) SetOrientation(value TUDOrientation)

func (*TUpDown) SetParent

func (u *TUpDown) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TUpDown) SetParentDoubleBuffered

func (u *TUpDown) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TUpDown) SetParentShowHint

func (u *TUpDown) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TUpDown) SetParentWindow

func (u *TUpDown) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TUpDown) SetPopupMenu

func (u *TUpDown) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: Set Right click menu.

func (*TUpDown) SetPosition

func (u *TUpDown) SetPosition(value int32)

func (*TUpDown) SetShowHint

func (u *TUpDown) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TUpDown) SetTabOrder

func (u *TUpDown) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TUpDown) SetTabStop

func (u *TUpDown) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TUpDown) SetTag

func (u *TUpDown) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TUpDown) SetTextBuf added in v1.1.21

func (u *TUpDown) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TUpDown) SetTop

func (u *TUpDown) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TUpDown) SetUseDockManager

func (u *TUpDown) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TUpDown) SetVisible

func (u *TUpDown) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TUpDown) SetWidth

func (u *TUpDown) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TUpDown) SetWrap

func (u *TUpDown) SetWrap(value bool)

func (*TUpDown) Show

func (u *TUpDown) Show()

CN: 显示控件。 EN: Show control.

func (*TUpDown) ShowHint

func (u *TUpDown) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TUpDown) TabOrder

func (u *TUpDown) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TUpDown) TabStop

func (u *TUpDown) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TUpDown) Tag

func (u *TUpDown) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TUpDown) ToString

func (u *TUpDown) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TUpDown) Top

func (u *TUpDown) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TUpDown) UnsafeAddr added in v1.1.21

func (u *TUpDown) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TUpDown) Update

func (u *TUpDown) Update()

CN: 控件更新。 EN: Update.

func (*TUpDown) UseDockManager

func (u *TUpDown) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TUpDown) Visible

func (u *TUpDown) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TUpDown) VisibleDockClientCount added in v1.1.21

func (u *TUpDown) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TUpDown) Width

func (u *TUpDown) Width() int32

CN: 获取宽度。 EN: Get width.

func (*TUpDown) Wrap

func (u *TUpDown) Wrap() bool

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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewValueListEditor added in v1.1.19

func NewValueListEditor(owner IComponent) *TValueListEditor

CN: 创建一个新的对象。 EN: Create a new object.

func ValueListEditorFromInst added in v1.1.19

func ValueListEditorFromInst(inst uintptr) *TValueListEditor

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsValueListEditor.

func ValueListEditorFromObj added in v1.1.19

func ValueListEditorFromObj(obj IObject) *TValueListEditor

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsValueListEditor.

func ValueListEditorFromUnsafePointer added in v1.1.21

func ValueListEditorFromUnsafePointer(ptr unsafe.Pointer) *TValueListEditor

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsValueListEditor.

func (*TValueListEditor) Action added in v1.1.19

func (v *TValueListEditor) Action() *TAction

func (*TValueListEditor) Align added in v1.1.19

func (v *TValueListEditor) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TValueListEditor) AnchorParallel

func (v *TValueListEditor) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TValueListEditor) AnchorSide

func (v *TValueListEditor) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TValueListEditor) AnchorSideBottom

func (v *TValueListEditor) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TValueListEditor) AnchorSideLeft

func (v *TValueListEditor) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TValueListEditor) AnchorSideRight

func (v *TValueListEditor) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TValueListEditor) AnchorSideTop

func (v *TValueListEditor) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TValueListEditor) AnchorToNeighbour

func (v *TValueListEditor) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TValueListEditor) AnchorVerticalCenterTo

func (v *TValueListEditor) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TValueListEditor) Anchors added in v1.1.19

func (v *TValueListEditor) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TValueListEditor) Assign added in v1.1.19

func (v *TValueListEditor) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TValueListEditor) BiDiMode added in v1.1.19

func (v *TValueListEditor) BiDiMode() TBiDiMode

func (*TValueListEditor) BorderSpacing

func (v *TValueListEditor) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

func (*TValueListEditor) BorderStyle added in v1.1.19

func (v *TValueListEditor) BorderStyle() TBorderStyle

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

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TValueListEditor) Brush added in v1.1.19

func (v *TValueListEditor) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TValueListEditor) CanFocus added in v1.1.19

func (v *TValueListEditor) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TValueListEditor) Canvas added in v1.1.19

func (v *TValueListEditor) Canvas() *TCanvas

CN: 获取画布。 EN: .

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

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TValueListEditor) ClassType added in v1.1.19

func (v *TValueListEditor) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TValueListEditor) ClientHeight added in v1.1.19

func (v *TValueListEditor) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TValueListEditor) ClientToParent added in v1.1.19

func (v *TValueListEditor) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TValueListEditor) ClientToScreen added in v1.1.19

func (v *TValueListEditor) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TValueListEditor) ClientWidth added in v1.1.19

func (v *TValueListEditor) ClientWidth() int32

CN: 获取客户区宽度。 EN: 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

CN: 获取颜色。 EN: Get color.

func (*TValueListEditor) ComponentCount added in v1.1.19

func (v *TValueListEditor) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TValueListEditor) ComponentIndex added in v1.1.19

func (v *TValueListEditor) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TValueListEditor) Components added in v1.1.19

func (v *TValueListEditor) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TValueListEditor) Constraints added in v1.2.7

func (v *TValueListEditor) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TValueListEditor) ContainsControl added in v1.1.21

func (v *TValueListEditor) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TValueListEditor) ControlCount added in v1.1.19

func (v *TValueListEditor) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TValueListEditor) ControlState added in v1.1.21

func (v *TValueListEditor) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TValueListEditor) ControlStyle added in v1.1.21

func (v *TValueListEditor) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TValueListEditor) Controls added in v1.1.19

func (v *TValueListEditor) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TValueListEditor) Cursor added in v1.1.19

func (v *TValueListEditor) Cursor() TCursor

CN: 获取控件光标。 EN: 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) DisableAlign added in v1.1.21

func (v *TValueListEditor) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TValueListEditor) DockClientCount added in v1.1.21

func (v *TValueListEditor) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TValueListEditor) DockClients added in v1.1.21

func (v *TValueListEditor) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TValueListEditor) DockSite added in v1.1.19

func (v *TValueListEditor) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TValueListEditor) DoubleBuffered added in v1.1.19

func (v *TValueListEditor) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TValueListEditor) DragCursor added in v1.1.19

func (v *TValueListEditor) DragCursor() TCursor

CN: 获取设置控件拖拽时的光标。 EN: Get Set the cursor when the control is dragged.

func (*TValueListEditor) DragKind added in v1.1.19

func (v *TValueListEditor) DragKind() TDragKind

CN: 获取拖拽方式。 EN: Get Drag and drop.

func (*TValueListEditor) DragMode added in v1.1.19

func (v *TValueListEditor) DragMode() TDragMode

CN: 获取拖拽模式。 EN: Get Drag mode.

func (*TValueListEditor) Dragging added in v1.1.19

func (v *TValueListEditor) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

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

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TValueListEditor) Enabled added in v1.1.19

func (v *TValueListEditor) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TValueListEditor) Equals added in v1.1.19

func (v *TValueListEditor) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TValueListEditor) FindChildControl added in v1.1.21

func (v *TValueListEditor) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TValueListEditor) FindComponent added in v1.1.19

func (v *TValueListEditor) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TValueListEditor) Font added in v1.1.19

func (v *TValueListEditor) Font() *TFont

CN: 获取字体。 EN: Get Font.

func (*TValueListEditor) Free added in v1.1.19

func (v *TValueListEditor) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TValueListEditor) GetHashCode added in v1.1.19

func (v *TValueListEditor) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TValueListEditor) GetNamePath added in v1.1.19

func (v *TValueListEditor) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TValueListEditor) GetTextBuf added in v1.1.19

func (v *TValueListEditor) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TValueListEditor) GetTextLen added in v1.1.19

func (v *TValueListEditor) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: 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

CN: 获取控件句柄。 EN: Get Control handle.

func (*TValueListEditor) HandleAllocated added in v1.1.19

func (v *TValueListEditor) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TValueListEditor) HasParent added in v1.1.19

func (v *TValueListEditor) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TValueListEditor) Height added in v1.1.19

func (v *TValueListEditor) Height() int32

CN: 获取高度。 EN: Get height.

func (*TValueListEditor) Hide added in v1.1.19

func (v *TValueListEditor) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TValueListEditor) Hint added in v1.1.19

func (v *TValueListEditor) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TValueListEditor) InheritsFrom added in v1.1.19

func (v *TValueListEditor) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TValueListEditor) InsertControl added in v1.1.21

func (v *TValueListEditor) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TValueListEditor) Instance added in v1.1.19

func (v *TValueListEditor) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TValueListEditor) InstanceSize added in v1.1.19

func (v *TValueListEditor) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TValueListEditor) Invalidate added in v1.1.19

func (v *TValueListEditor) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TValueListEditor) Is added in v1.2.10

func (v *TValueListEditor) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TValueListEditor) IsValid added in v1.1.19

func (v *TValueListEditor) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TValueListEditor) Left added in v1.1.19

func (v *TValueListEditor) Left() int32

CN: 获取左边位置。 EN: 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

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: 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

CN: 获取组件所有者。 EN: Get component owner.

func (*TValueListEditor) Parent added in v1.1.19

func (v *TValueListEditor) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TValueListEditor) ParentColor added in v1.1.19

func (v *TValueListEditor) ParentColor() bool

CN: 获取父容器颜色。 EN: Get parent color.

func (*TValueListEditor) ParentDoubleBuffered added in v1.1.19

func (v *TValueListEditor) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TValueListEditor) ParentFont added in v1.1.19

func (v *TValueListEditor) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TValueListEditor) ParentShowHint added in v1.1.19

func (v *TValueListEditor) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TValueListEditor) ParentToClient added in v1.1.19

func (v *TValueListEditor) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TValueListEditor) ParentWindow added in v1.1.19

func (v *TValueListEditor) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TValueListEditor) Perform added in v1.1.19

func (v *TValueListEditor) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TValueListEditor) PopupMenu added in v1.1.19

func (v *TValueListEditor) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TValueListEditor) Realign added in v1.1.19

func (v *TValueListEditor) Realign()

CN: 重新对齐。 EN: Realign.

func (*TValueListEditor) Refresh added in v1.1.19

func (v *TValueListEditor) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TValueListEditor) RemoveControl added in v1.1.21

func (v *TValueListEditor) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TValueListEditor) Repaint added in v1.1.19

func (v *TValueListEditor) Repaint()

CN: 重绘。 EN: 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) ScaleBy added in v1.1.19

func (v *TValueListEditor) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TValueListEditor) ScreenToClient added in v1.1.19

func (v *TValueListEditor) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: 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)

CN: 滚动至指定位置。 EN: 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()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TValueListEditor) SetAnchorSideBottom

func (v *TValueListEditor) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TValueListEditor) SetAnchorSideLeft

func (v *TValueListEditor) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TValueListEditor) SetAnchorSideRight

func (v *TValueListEditor) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TValueListEditor) SetAnchorSideTop

func (v *TValueListEditor) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TValueListEditor) SetAnchors added in v1.1.19

func (v *TValueListEditor) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TValueListEditor) SetBiDiMode added in v1.1.19

func (v *TValueListEditor) SetBiDiMode(value TBiDiMode)

func (*TValueListEditor) SetBorderSpacing

func (v *TValueListEditor) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TValueListEditor) SetBorderStyle added in v1.1.19

func (v *TValueListEditor) SetBorderStyle(value TBorderStyle)

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

func (*TValueListEditor) SetBounds added in v1.1.19

func (v *TValueListEditor) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TValueListEditor) SetClientWidth added in v1.1.19

func (v *TValueListEditor) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: 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)

CN: 设置颜色。 EN: Set color.

func (*TValueListEditor) SetComponentIndex added in v1.1.19

func (v *TValueListEditor) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TValueListEditor) SetConstraints added in v1.2.7

func (v *TValueListEditor) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TValueListEditor) SetControlState added in v1.1.21

func (v *TValueListEditor) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TValueListEditor) SetControlStyle added in v1.1.21

func (v *TValueListEditor) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TValueListEditor) SetCursor added in v1.1.19

func (v *TValueListEditor) SetCursor(value TCursor)

CN: 设置控件光标。 EN: 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)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TValueListEditor) SetDoubleBuffered added in v1.1.19

func (v *TValueListEditor) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TValueListEditor) SetDragCursor added in v1.1.19

func (v *TValueListEditor) SetDragCursor(value TCursor)

CN: 设置设置控件拖拽时的光标。 EN: Set Set the cursor when the control is dragged.

func (*TValueListEditor) SetDragKind added in v1.1.19

func (v *TValueListEditor) SetDragKind(value TDragKind)

CN: 设置拖拽方式。 EN: Set Drag and drop.

func (*TValueListEditor) SetDragMode added in v1.1.19

func (v *TValueListEditor) SetDragMode(value TDragMode)

CN: 设置拖拽模式。 EN: Set Drag mode.

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)

CN: 设置控件启用。 EN: 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()

CN: 设置控件焦点。 EN: Set control focus.

func (*TValueListEditor) SetFont added in v1.1.19

func (v *TValueListEditor) SetFont(value *TFont)

CN: 设置字体。 EN: 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)

CN: 设置高度。 EN: Set height.

func (*TValueListEditor) SetHint added in v1.1.19

func (v *TValueListEditor) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TValueListEditor) SetLeft added in v1.1.19

func (v *TValueListEditor) SetLeft(value int32)

CN: 设置左边位置。 EN: 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)

CN: 设置组件名称。 EN: Set the component name.

func (*TValueListEditor) SetOnClick added in v1.1.19

func (v *TValueListEditor) SetOnClick(fn TNotifyEvent)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TValueListEditor) SetOnContextPopup added in v1.1.19

func (v *TValueListEditor) SetOnContextPopup(fn TContextPopupEvent)

CN: 设置上下文弹出事件,一般是右键时弹出。 EN: Set Context popup event, usually pop up when right click.

func (*TValueListEditor) SetOnDblClick added in v1.1.19

func (v *TValueListEditor) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TValueListEditor) SetOnDragDrop added in v1.1.19

func (v *TValueListEditor) SetOnDragDrop(fn TDragDropEvent)

CN: 设置拖拽下落事件。 EN: Set Drag and drop event.

func (*TValueListEditor) SetOnDragOver added in v1.1.19

func (v *TValueListEditor) SetOnDragOver(fn TDragOverEvent)

CN: 设置拖拽完成事件。 EN: 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)

CN: 设置停靠结束事件。 EN: Set Dock end event.

func (*TValueListEditor) SetOnEndDrag added in v1.1.19

func (v *TValueListEditor) SetOnEndDrag(fn TEndDragEvent)

CN: 设置拖拽结束。 EN: Set End of drag.

func (*TValueListEditor) SetOnEnter added in v1.1.19

func (v *TValueListEditor) SetOnEnter(fn TNotifyEvent)

CN: 设置焦点进入。 EN: Set Focus entry.

func (*TValueListEditor) SetOnExit added in v1.1.19

func (v *TValueListEditor) SetOnExit(fn TNotifyEvent)

CN: 设置焦点退出。 EN: 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)

CN: 设置键盘按键按下事件。 EN: Set Keyboard button press event.

func (*TValueListEditor) SetOnKeyPress added in v1.1.19

func (v *TValueListEditor) SetOnKeyPress(fn TKeyPressEvent)

func (*TValueListEditor) SetOnKeyUp added in v1.1.19

func (v *TValueListEditor) SetOnKeyUp(fn TKeyEvent)

CN: 设置键盘按键抬起事件。 EN: Set Keyboard button lift event.

func (*TValueListEditor) SetOnMouseDown added in v1.1.19

func (v *TValueListEditor) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TValueListEditor) SetOnMouseEnter added in v1.1.19

func (v *TValueListEditor) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TValueListEditor) SetOnMouseLeave added in v1.1.19

func (v *TValueListEditor) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TValueListEditor) SetOnMouseMove added in v1.1.19

func (v *TValueListEditor) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TValueListEditor) SetOnMouseUp added in v1.1.19

func (v *TValueListEditor) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TValueListEditor) SetOnMouseWheelDown added in v1.1.19

func (v *TValueListEditor) SetOnMouseWheelDown(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮按下事件。 EN: .

func (*TValueListEditor) SetOnMouseWheelUp added in v1.1.19

func (v *TValueListEditor) SetOnMouseWheelUp(fn TMouseWheelUpDownEvent)

CN: 设置鼠标滚轮抬起事件。 EN: .

func (*TValueListEditor) SetOnRowMoved added in v1.1.19

func (v *TValueListEditor) SetOnRowMoved(fn TMovedEvent)

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)

CN: 设置启动停靠。 EN: .

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)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TValueListEditor) SetParentColor added in v1.1.19

func (v *TValueListEditor) SetParentColor(value bool)

CN: 设置父容器颜色。 EN: Set parent color.

func (*TValueListEditor) SetParentDoubleBuffered added in v1.1.19

func (v *TValueListEditor) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TValueListEditor) SetParentFont added in v1.1.19

func (v *TValueListEditor) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TValueListEditor) SetParentShowHint added in v1.1.19

func (v *TValueListEditor) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TValueListEditor) SetParentWindow added in v1.1.19

func (v *TValueListEditor) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TValueListEditor) SetPopupMenu added in v1.1.19

func (v *TValueListEditor) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: 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)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TValueListEditor) SetStrings added in v1.1.19

func (v *TValueListEditor) SetStrings(value IObject)

func (*TValueListEditor) SetTabOrder added in v1.1.19

func (v *TValueListEditor) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TValueListEditor) SetTabStop added in v1.1.19

func (v *TValueListEditor) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TValueListEditor) SetTag added in v1.1.19

func (v *TValueListEditor) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TValueListEditor) SetTextBuf added in v1.1.21

func (v *TValueListEditor) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TValueListEditor) SetTop added in v1.1.19

func (v *TValueListEditor) SetTop(value int32)

CN: 设置顶边位置。 EN: 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)

CN: 设置使用停靠管理。 EN: .

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)

CN: 设置控件可视。 EN: Set the control visible.

func (*TValueListEditor) SetWidth added in v1.1.19

func (v *TValueListEditor) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TValueListEditor) Show added in v1.1.19

func (v *TValueListEditor) Show()

CN: 显示控件。 EN: Show control.

func (*TValueListEditor) ShowHint added in v1.1.19

func (v *TValueListEditor) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

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

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TValueListEditor) TabStop added in v1.1.19

func (v *TValueListEditor) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TValueListEditor) Tag added in v1.1.19

func (v *TValueListEditor) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TValueListEditor) ToString added in v1.1.19

func (v *TValueListEditor) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TValueListEditor) Top added in v1.1.19

func (v *TValueListEditor) Top() int32

CN: 获取顶边位置。 EN: 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

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TValueListEditor) Update added in v1.1.19

func (v *TValueListEditor) Update()

CN: 控件更新。 EN: Update.

func (*TValueListEditor) UseDockManager added in v1.1.19

func (v *TValueListEditor) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

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

CN: 获取控件可视。 EN: 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

CN: 获取当前停靠的可视总数。 EN: 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

CN: 获取宽度。 EN: Get width.

type TWebJSExternalEvent added in v1.2.4

type TWebJSExternalEvent func(sender IObject, funcName, args string, retVal *string)

TWebJSExternalEvent = procedure(Sender: TObject; const func: string; const args: WideString; var retval: WideString) of object;

type TWebTitleChangeEvent added in v1.2.1

type TWebTitleChangeEvent func(sender IObject, text string)

TWebTitleChangeEvent = procedure(Sender: TObject; const Text: string) of object;

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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewWinControl added in v1.1.18

func NewWinControl(owner IComponent) *TWinControl

CN: 创建一个新的对象。 EN: Create a new object.

func WinControlFromInst added in v1.1.18

func WinControlFromInst(inst uintptr) *TWinControl

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsWinControl.

func WinControlFromObj added in v1.1.18

func WinControlFromObj(obj IObject) *TWinControl

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsWinControl.

func WinControlFromUnsafePointer added in v1.1.21

func WinControlFromUnsafePointer(ptr unsafe.Pointer) *TWinControl

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsWinControl.

func (*TWinControl) Action added in v1.1.18

func (w *TWinControl) Action() *TAction

func (*TWinControl) Align added in v1.1.18

func (w *TWinControl) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TWinControl) AnchorParallel

func (w *TWinControl) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TWinControl) AnchorSide

func (w *TWinControl) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TWinControl) AnchorSideBottom

func (w *TWinControl) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TWinControl) AnchorSideLeft

func (w *TWinControl) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TWinControl) AnchorSideRight

func (w *TWinControl) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TWinControl) AnchorSideTop

func (w *TWinControl) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TWinControl) AnchorToNeighbour

func (w *TWinControl) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TWinControl) AnchorVerticalCenterTo

func (w *TWinControl) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TWinControl) Anchors added in v1.1.18

func (w *TWinControl) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TWinControl) Assign added in v1.1.18

func (w *TWinControl) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

func (*TWinControl) BiDiMode added in v1.1.18

func (w *TWinControl) BiDiMode() TBiDiMode

func (*TWinControl) BorderSpacing

func (w *TWinControl) BorderSpacing() *TControlBorderSpacing

CN: 获取边框间距。 EN: .

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TWinControl) Brush added in v1.1.18

func (w *TWinControl) Brush() *TBrush

CN: 获取画刷对象。 EN: Get Brush.

func (*TWinControl) CanFocus added in v1.1.18

func (w *TWinControl) CanFocus() bool

CN: 是否可以获得焦点。 EN: .

func (*TWinControl) ChildSizing

func (w *TWinControl) ChildSizing() *TControlChildSizing

func (*TWinControl) ClassName added in v1.1.18

func (w *TWinControl) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TWinControl) ClassType added in v1.1.18

func (w *TWinControl) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TWinControl) ClientHeight added in v1.1.18

func (w *TWinControl) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TWinControl) ClientToParent added in v1.1.18

func (w *TWinControl) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TWinControl) ClientToScreen added in v1.1.18

func (w *TWinControl) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TWinControl) ClientWidth added in v1.1.18

func (w *TWinControl) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TWinControl) ComponentCount added in v1.1.18

func (w *TWinControl) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TWinControl) ComponentIndex added in v1.1.18

func (w *TWinControl) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TWinControl) Components added in v1.1.18

func (w *TWinControl) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TWinControl) Constraints added in v1.2.7

func (w *TWinControl) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TWinControl) ContainsControl added in v1.1.21

func (w *TWinControl) ContainsControl(Control IControl) bool

CN: 返回是否包含指定控件。 EN: 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

CN: 返回指定坐标及相关属性位置控件。 EN: Returns the specified coordinate and the relevant attribute position control..

func (*TWinControl) ControlCount added in v1.1.18

func (w *TWinControl) ControlCount() int32

CN: 获取子控件数。 EN: Get Number of child controls.

func (*TWinControl) ControlState added in v1.1.21

func (w *TWinControl) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TWinControl) ControlStyle added in v1.1.21

func (w *TWinControl) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TWinControl) Controls added in v1.1.18

func (w *TWinControl) Controls(Index int32) *TControl

CN: 获取指定索引子控件。 EN: .

func (*TWinControl) Cursor added in v1.1.18

func (w *TWinControl) Cursor() TCursor

CN: 获取控件光标。 EN: Get control cursor.

func (*TWinControl) DisableAlign added in v1.1.21

func (w *TWinControl) DisableAlign()

CN: 禁用控件的对齐。 EN: Disable control alignment.

func (*TWinControl) DockClientCount added in v1.1.21

func (w *TWinControl) DockClientCount() int32

CN: 获取依靠客户端总数。 EN: .

func (*TWinControl) DockClients added in v1.1.21

func (w *TWinControl) DockClients(Index int32) *TControl

CN: 获取指定索引停靠客户端。 EN: .

func (*TWinControl) DockSite added in v1.1.18

func (w *TWinControl) DockSite() bool

CN: 获取停靠站点。 EN: Get Docking site.

func (*TWinControl) DoubleBuffered added in v1.1.18

func (w *TWinControl) DoubleBuffered() bool

CN: 获取设置控件双缓冲。 EN: Get Set control double buffering.

func (*TWinControl) Dragging added in v1.1.18

func (w *TWinControl) Dragging() bool

CN: 是否在拖拽中。 EN: Is it in the middle of dragging.

func (*TWinControl) EnableAlign added in v1.1.21

func (w *TWinControl) EnableAlign()

CN: 启用控件对齐。 EN: Enabled control alignment.

func (*TWinControl) Enabled added in v1.1.18

func (w *TWinControl) Enabled() bool

CN: 获取控件启用。 EN: Get the control enabled.

func (*TWinControl) Equals added in v1.1.18

func (w *TWinControl) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TWinControl) FindChildControl added in v1.1.21

func (w *TWinControl) FindChildControl(ControlName string) *TControl

CN: 查找子控件。 EN: Find sub controls.

func (*TWinControl) FindComponent added in v1.1.18

func (w *TWinControl) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 返回是否获取焦点。 EN: Return to get focus.

func (*TWinControl) Free added in v1.1.18

func (w *TWinControl) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TWinControl) GetHashCode added in v1.1.18

func (w *TWinControl) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TWinControl) GetNamePath added in v1.1.18

func (w *TWinControl) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TWinControl) GetTextBuf added in v1.1.18

func (w *TWinControl) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TWinControl) GetTextLen added in v1.1.18

func (w *TWinControl) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TWinControl) Handle added in v1.1.18

func (w *TWinControl) Handle() HWND

CN: 获取控件句柄。 EN: Get Control handle.

func (*TWinControl) HandleAllocated added in v1.1.18

func (w *TWinControl) HandleAllocated() bool

CN: 句柄是否已经分配。 EN: Is the handle already allocated.

func (*TWinControl) HasParent added in v1.1.18

func (w *TWinControl) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TWinControl) Height added in v1.1.18

func (w *TWinControl) Height() int32

CN: 获取高度。 EN: Get height.

func (*TWinControl) Hide added in v1.1.18

func (w *TWinControl) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TWinControl) Hint added in v1.1.18

func (w *TWinControl) Hint() string

CN: 获取组件鼠标悬停提示。 EN: Get component mouse hints.

func (*TWinControl) InheritsFrom added in v1.1.18

func (w *TWinControl) InheritsFrom(AClass TClass) bool

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TWinControl) InsertControl added in v1.1.21

func (w *TWinControl) InsertControl(AControl IControl)

CN: 插入一个控件。 EN: Insert a control.

func (*TWinControl) Instance added in v1.1.18

func (w *TWinControl) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TWinControl) InstanceSize added in v1.1.18

func (w *TWinControl) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TWinControl) Invalidate added in v1.1.18

func (w *TWinControl) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TWinControl) Is added in v1.2.10

func (w *TWinControl) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TWinControl) IsValid added in v1.1.18

func (w *TWinControl) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TWinControl) Left added in v1.1.18

func (w *TWinControl) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TWinControl) MouseInClient added in v1.1.21

func (w *TWinControl) MouseInClient() bool

CN: 获取鼠标是否在客户端,仅VCL有效。 EN: 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

CN: 获取组件名称。 EN: Get the component name.

func (*TWinControl) Owner added in v1.1.18

func (w *TWinControl) Owner() *TComponent

CN: 获取组件所有者。 EN: Get component owner.

func (*TWinControl) Parent added in v1.1.18

func (w *TWinControl) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TWinControl) ParentDoubleBuffered added in v1.1.18

func (w *TWinControl) ParentDoubleBuffered() bool

CN: 获取父容器双缓冲。 EN: Get Parent container double buffering.

func (*TWinControl) ParentToClient added in v1.1.18

func (w *TWinControl) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: Convert parent container coordinates to client coordinates.

func (*TWinControl) ParentWindow added in v1.1.18

func (w *TWinControl) ParentWindow() HWND

CN: 获取父容器句柄。 EN: Get Parent container handle.

func (*TWinControl) Perform added in v1.1.18

func (w *TWinControl) Perform(Msg uint32, WParam uintptr, LParam int) int

CN: 发送一个消息。 EN: Send a message.

func (*TWinControl) Realign added in v1.1.18

func (w *TWinControl) Realign()

CN: 重新对齐。 EN: Realign.

func (*TWinControl) Refresh added in v1.1.18

func (w *TWinControl) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TWinControl) RemoveControl added in v1.1.21

func (w *TWinControl) RemoveControl(AControl IControl)

CN: 移除一个控件。 EN: Remove a control.

func (*TWinControl) Repaint added in v1.1.18

func (w *TWinControl) Repaint()

CN: 重绘。 EN: Repaint.

func (*TWinControl) ScaleBy added in v1.1.18

func (w *TWinControl) ScaleBy(M int32, D int32)

CN: 按比例缩放。 EN: Scale by.

func (*TWinControl) ScreenToClient added in v1.1.18

func (w *TWinControl) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TWinControl) ScrollBy added in v1.1.21

func (w *TWinControl) ScrollBy(DeltaX int32, DeltaY int32)

CN: 滚动至指定位置。 EN: Scroll by.

func (*TWinControl) SendToBack added in v1.1.18

func (w *TWinControl) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TWinControl) SetAnchorSideBottom

func (w *TWinControl) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TWinControl) SetAnchorSideLeft

func (w *TWinControl) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TWinControl) SetAnchorSideRight

func (w *TWinControl) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TWinControl) SetAnchorSideTop

func (w *TWinControl) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TWinControl) SetAnchors added in v1.1.18

func (w *TWinControl) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

func (*TWinControl) SetBiDiMode added in v1.1.18

func (w *TWinControl) SetBiDiMode(value TBiDiMode)

func (*TWinControl) SetBorderSpacing

func (w *TWinControl) SetBorderSpacing(value *TControlBorderSpacing)

CN: 设置边框间距。 EN: .

func (*TWinControl) SetBounds added in v1.1.18

func (w *TWinControl) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置客户区高度。 EN: Set client height.

func (*TWinControl) SetClientWidth added in v1.1.18

func (w *TWinControl) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TWinControl) SetComponentIndex added in v1.1.18

func (w *TWinControl) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TWinControl) SetConstraints added in v1.2.7

func (w *TWinControl) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TWinControl) SetControlState added in v1.1.21

func (w *TWinControl) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TWinControl) SetControlStyle added in v1.1.21

func (w *TWinControl) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TWinControl) SetCursor added in v1.1.18

func (w *TWinControl) SetCursor(value TCursor)

CN: 设置控件光标。 EN: Set control cursor.

func (*TWinControl) SetDockSite added in v1.1.18

func (w *TWinControl) SetDockSite(value bool)

CN: 设置停靠站点。 EN: Set Docking site.

func (*TWinControl) SetDoubleBuffered added in v1.1.18

func (w *TWinControl) SetDoubleBuffered(value bool)

CN: 设置设置控件双缓冲。 EN: Set Set control double buffering.

func (*TWinControl) SetEnabled added in v1.1.18

func (w *TWinControl) SetEnabled(value bool)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TWinControl) SetFocus added in v1.1.18

func (w *TWinControl) SetFocus()

CN: 设置控件焦点。 EN: Set control focus.

func (*TWinControl) SetHeight added in v1.1.18

func (w *TWinControl) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TWinControl) SetHint added in v1.1.18

func (w *TWinControl) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: Set component mouse hints.

func (*TWinControl) SetLeft added in v1.1.18

func (w *TWinControl) SetLeft(value int32)

CN: 设置左边位置。 EN: Set Left position.

func (*TWinControl) SetName added in v1.1.18

func (w *TWinControl) SetName(value string)

CN: 设置组件名称。 EN: Set the component name.

func (*TWinControl) SetParent added in v1.1.18

func (w *TWinControl) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TWinControl) SetParentDoubleBuffered added in v1.1.18

func (w *TWinControl) SetParentDoubleBuffered(value bool)

CN: 设置父容器双缓冲。 EN: Set Parent container double buffering.

func (*TWinControl) SetParentWindow added in v1.1.18

func (w *TWinControl) SetParentWindow(value HWND)

CN: 设置父容器句柄。 EN: Set Parent container handle.

func (*TWinControl) SetShowHint added in v1.1.18

func (w *TWinControl) SetShowHint(value bool)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TWinControl) SetTabOrder added in v1.1.18

func (w *TWinControl) SetTabOrder(value TTabOrder)

CN: 设置Tab切换顺序序号。 EN: Set Tab switching sequence number.

func (*TWinControl) SetTabStop added in v1.1.18

func (w *TWinControl) SetTabStop(value bool)

CN: 设置Tab可停留。 EN: Set Tab can stay.

func (*TWinControl) SetTag added in v1.1.18

func (w *TWinControl) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TWinControl) SetTextBuf added in v1.1.21

func (w *TWinControl) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TWinControl) SetTop added in v1.1.18

func (w *TWinControl) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TWinControl) SetUseDockManager added in v1.1.18

func (w *TWinControl) SetUseDockManager(value bool)

CN: 设置使用停靠管理。 EN: .

func (*TWinControl) SetVisible added in v1.1.18

func (w *TWinControl) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TWinControl) SetWidth added in v1.1.18

func (w *TWinControl) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TWinControl) Show added in v1.1.18

func (w *TWinControl) Show()

CN: 显示控件。 EN: Show control.

func (*TWinControl) ShowHint added in v1.1.18

func (w *TWinControl) ShowHint() bool

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TWinControl) TabOrder added in v1.1.18

func (w *TWinControl) TabOrder() TTabOrder

CN: 获取Tab切换顺序序号。 EN: Get Tab switching sequence number.

func (*TWinControl) TabStop added in v1.1.18

func (w *TWinControl) TabStop() bool

CN: 获取Tab可停留。 EN: Get Tab can stay.

func (*TWinControl) Tag added in v1.1.18

func (w *TWinControl) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TWinControl) ToString added in v1.1.18

func (w *TWinControl) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TWinControl) Top added in v1.1.18

func (w *TWinControl) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TWinControl) UnsafeAddr added in v1.1.21

func (w *TWinControl) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TWinControl) Update added in v1.1.18

func (w *TWinControl) Update()

CN: 控件更新。 EN: Update.

func (*TWinControl) UseDockManager added in v1.1.18

func (w *TWinControl) UseDockManager() bool

CN: 获取使用停靠管理。 EN: .

func (*TWinControl) Visible added in v1.1.18

func (w *TWinControl) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TWinControl) VisibleDockClientCount added in v1.1.21

func (w *TWinControl) VisibleDockClientCount() int32

CN: 获取当前停靠的可视总数。 EN: Get The total number of visible calls currently docked.

func (*TWinControl) Width added in v1.1.18

func (w *TWinControl) Width() int32

CN: 获取宽度。 EN: Get width.

type TWindowPreviewItemRequestEvent added in v1.1.23

type TWindowPreviewItemRequestEvent func(sender IObject, position *TPoint, previewBitmap *TBitmap)

TWindowPreviewItemRequestEvent = procedure (Sender: TObject; var Position: TPoint; PreviewBitmap: TBitmap) of object;

type TWndProcEvent added in v1.2.0

type TWndProcEvent func(msg *TMessage)

消息过程 TWndProcEvent = procedure(Sender: TObject; var AMsg: TMessage) of object;

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

CN: 动态转换一个已存在的对象实例。或者使用Obj.As().<目标对象>。 EN: Dynamically convert an existing object instance. Or use Obj.As().<Target object>.

func NewXButton added in v1.2.10

func NewXButton(owner IComponent) *TXButton

CN: 创建一个新的对象。 EN: Create a new object.

func XButtonFromInst added in v1.2.10

func XButtonFromInst(inst uintptr) *TXButton

-------------------------- Deprecated begin -------------------------- CN: 新建一个对象来自已经存在的对象实例指针。 EN: Create a new object from an existing object instance pointer. Deprecated: use AsXButton.

func XButtonFromObj added in v1.2.10

func XButtonFromObj(obj IObject) *TXButton

CN: 新建一个对象来自已经存在的对象实例。 EN: Create a new object from an existing object instance. Deprecated: use AsXButton.

func XButtonFromUnsafePointer added in v1.2.10

func XButtonFromUnsafePointer(ptr unsafe.Pointer) *TXButton

CN: 新建一个对象来自不安全的地址。注意:使用此函数可能造成一些不明情况,慎用。 EN: Create a new object from an unsecured address. Note: Using this function may cause some unclear situations and be used with caution.. Deprecated: use AsXButton.

func (*TXButton) Action added in v1.2.10

func (x *TXButton) Action() *TAction

func (*TXButton) Align added in v1.2.10

func (x *TXButton) Align() TAlign

CN: 获取控件自动调整。 EN: 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)

CN: 置于指定控件的横向中心。 EN: .

func (*TXButton) AnchorParallel

func (x *TXButton) AnchorParallel(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TXButton) AnchorSide

func (x *TXButton) AnchorSide(AKind TAnchorKind) *TAnchorSide

CN: 获取锚侧面。 EN: .

func (*TXButton) AnchorSideBottom

func (x *TXButton) AnchorSideBottom() *TAnchorSide

CN: 获取底边锚点。 EN: .

func (*TXButton) AnchorSideLeft

func (x *TXButton) AnchorSideLeft() *TAnchorSide

CN: 获取左边锚点。 EN: .

func (*TXButton) AnchorSideRight

func (x *TXButton) AnchorSideRight() *TAnchorSide

CN: 获取右边锚点。 EN: .

func (*TXButton) AnchorSideTop

func (x *TXButton) AnchorSideTop() *TAnchorSide

CN: 获取顶边锚点。 EN: .

func (*TXButton) AnchorToNeighbour

func (x *TXButton) AnchorToNeighbour(ASide TAnchorKind, ASpace int32, ASibling IControl)

func (*TXButton) AnchorVerticalCenterTo

func (x *TXButton) AnchorVerticalCenterTo(ASibling IControl)

CN: 置于指定控件的纵向中心。 EN: .

func (*TXButton) Anchors added in v1.2.10

func (x *TXButton) Anchors() TAnchors

CN: 获取四个角位置的锚点。 EN: .

func (*TXButton) Assign added in v1.2.10

func (x *TXButton) Assign(Source IObject)

CN: 复制一个对象,如果对象实现了此方法的话。 EN: Copy an object, if the object implements this method.

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

CN: 获取边框间距。 EN: .

func (*TXButton) BorderWidth added in v1.2.10

func (x *TXButton) BorderWidth() int32

CN: 获取边框的宽度。 EN: .

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

CN: 将控件置于最前。 EN: Bring the control to the front.

func (*TXButton) Caption added in v1.2.10

func (x *TXButton) Caption() string

CN: 获取控件标题。 EN: Get the control title.

func (*TXButton) ClassName added in v1.2.10

func (x *TXButton) ClassName() string

CN: 获取当前对象类名称。 EN: Get the current object class name.

func (*TXButton) ClassType added in v1.2.10

func (x *TXButton) ClassType() TClass

CN: 获取类的类型信息。 EN: Get class type information.

func (*TXButton) ClientHeight added in v1.2.10

func (x *TXButton) ClientHeight() int32

CN: 获取客户区高度。 EN: 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

CN: 获取客户区矩形。 EN: Get client rectangle.

func (*TXButton) ClientToParent added in v1.2.10

func (x *TXButton) ClientToParent(Point TPoint, AParent IWinControl) TPoint

CN: 将客户端坐标转为父容器坐标。 EN: Convert client coordinates to parent container coordinates.

func (*TXButton) ClientToScreen added in v1.2.10

func (x *TXButton) ClientToScreen(Point TPoint) TPoint

CN: 将客户端坐标转为绝对的屏幕坐标。 EN: Convert client coordinates to absolute screen coordinates.

func (*TXButton) ClientWidth added in v1.2.10

func (x *TXButton) ClientWidth() int32

CN: 获取客户区宽度。 EN: Get client width.

func (*TXButton) ComponentCount added in v1.2.10

func (x *TXButton) ComponentCount() int32

CN: 获取组件总数。 EN: Get the total number of components.

func (*TXButton) ComponentIndex added in v1.2.10

func (x *TXButton) ComponentIndex() int32

CN: 获取组件索引。 EN: Get component index.

func (*TXButton) Components added in v1.2.10

func (x *TXButton) Components(AIndex int32) *TComponent

CN: 获取指定索引组件。 EN: Get the specified index component.

func (*TXButton) Constraints added in v1.2.10

func (x *TXButton) Constraints() *TSizeConstraints

CN: 获取约束控件大小。 EN: .

func (*TXButton) ControlState added in v1.2.10

func (x *TXButton) ControlState() TControlState

CN: 获取控件状态。 EN: Get control state.

func (*TXButton) ControlStyle added in v1.2.10

func (x *TXButton) ControlStyle() TControlStyle

CN: 获取控件样式。 EN: Get control style.

func (*TXButton) Cursor added in v1.2.10

func (x *TXButton) Cursor() TCursor

CN: 获取控件光标。 EN: 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

CN: 是否在拖拽中。 EN: 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

CN: 获取控件启用。 EN: Get the control enabled.

func (*TXButton) Equals added in v1.2.10

func (x *TXButton) Equals(Obj IObject) bool

CN: 与一个对象进行比较。 EN: Compare with an object.

func (*TXButton) FindComponent added in v1.2.10

func (x *TXButton) FindComponent(AName string) *TComponent

CN: 查找指定名称的组件。 EN: Find the component with the specified name.

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

CN: 获取字体。 EN: Get Font.

func (*TXButton) Free added in v1.2.10

func (x *TXButton) Free()

-------------------------- Deprecated end -------------------------- CN: 释放对象。 EN: Free object.

func (*TXButton) GetHashCode added in v1.2.10

func (x *TXButton) GetHashCode() int32

CN: 获取类的哈希值。 EN: Get the hash value of the class.

func (*TXButton) GetNamePath added in v1.2.10

func (x *TXButton) GetNamePath() string

CN: 获取类名路径。 EN: Get the class name path.

func (*TXButton) GetTextBuf added in v1.2.10

func (x *TXButton) GetTextBuf(Buffer *string, BufSize int32) int32

CN: 获取控件的字符,如果有。 EN: Get the characters of the control, if any.

func (*TXButton) GetTextLen added in v1.2.10

func (x *TXButton) GetTextLen() int32

CN: 获取控件的字符长,如果有。 EN: Get the character length of the control, if any.

func (*TXButton) HasParent added in v1.2.10

func (x *TXButton) HasParent() bool

CN: 是否有父容器。 EN: Is there a parent container.

func (*TXButton) Height added in v1.2.10

func (x *TXButton) Height() int32

CN: 获取高度。 EN: Get height.

func (*TXButton) Hide added in v1.2.10

func (x *TXButton) Hide()

CN: 隐藏控件。 EN: Hidden control.

func (*TXButton) Hint added in v1.2.10

func (x *TXButton) Hint() string

CN: 获取组件鼠标悬停提示。 EN: 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

CN: 判断当前类是否继承自指定类。 EN: Determine whether the current class inherits from the specified class.

func (*TXButton) Instance added in v1.2.10

func (x *TXButton) Instance() uintptr

CN: 返回对象实例指针。 EN: Return object instance pointer.

func (*TXButton) InstanceSize added in v1.2.10

func (x *TXButton) InstanceSize() int32

CN: 获取当前对象实例大小。 EN: Get the current object instance size.

func (*TXButton) Invalidate added in v1.2.10

func (x *TXButton) Invalidate()

CN: 要求重绘。 EN: Redraw.

func (*TXButton) Is added in v1.2.10

func (x *TXButton) Is() TIs

CN: 检测当前对象是否继承自目标对象。 EN: Checks whether the current object is inherited from the target object.

func (*TXButton) IsValid added in v1.2.10

func (x *TXButton) IsValid() bool

CN: 检测地址是否为空。 EN: Check if the address is empty.

func (*TXButton) Left added in v1.2.10

func (x *TXButton) Left() int32

CN: 获取左边位置。 EN: Get Left position.

func (*TXButton) Name added in v1.2.10

func (x *TXButton) Name() string

CN: 获取组件名称。 EN: 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

CN: 获取组件所有者。 EN: Get component owner.

func (*TXButton) Parent added in v1.2.10

func (x *TXButton) Parent() *TWinControl

CN: 获取控件父容器。 EN: Get control parent container.

func (*TXButton) ParentFont added in v1.2.10

func (x *TXButton) ParentFont() bool

CN: 获取父容器字体。 EN: Get Parent container font.

func (*TXButton) ParentShowHint added in v1.2.10

func (x *TXButton) ParentShowHint() bool

CN: 获取以父容器的ShowHint属性为准。 EN: .

func (*TXButton) ParentToClient added in v1.2.10

func (x *TXButton) ParentToClient(Point TPoint, AParent IWinControl) TPoint

CN: 将父容器坐标转为客户端坐标。 EN: 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

CN: 发送一个消息。 EN: Send a message.

func (*TXButton) Picture added in v1.2.10

func (x *TXButton) Picture() *TPicture

CN: 获取图片。 EN: .

func (*TXButton) PopupMenu added in v1.2.10

func (x *TXButton) PopupMenu() *TPopupMenu

CN: 获取右键菜单。 EN: Get Right click menu.

func (*TXButton) Refresh added in v1.2.10

func (x *TXButton) Refresh()

CN: 刷新控件。 EN: Refresh control.

func (*TXButton) Repaint added in v1.2.10

func (x *TXButton) Repaint()

CN: 重绘。 EN: Repaint.

func (*TXButton) ScreenToClient added in v1.2.10

func (x *TXButton) ScreenToClient(Point TPoint) TPoint

CN: 将屏幕坐标转为客户端坐标。 EN: Convert screen coordinates to client coordinates.

func (*TXButton) SendToBack added in v1.2.10

func (x *TXButton) SendToBack()

CN: 控件至于最后面。 EN: 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)

CN: 设置控件自动调整。 EN: Set Control automatically adjusts.

func (*TXButton) SetAnchorSideBottom

func (x *TXButton) SetAnchorSideBottom(value *TAnchorSide)

CN: 设置底边锚点。 EN: .

func (*TXButton) SetAnchorSideLeft

func (x *TXButton) SetAnchorSideLeft(value *TAnchorSide)

CN: 设置左边锚点。 EN: .

func (*TXButton) SetAnchorSideRight

func (x *TXButton) SetAnchorSideRight(value *TAnchorSide)

CN: 设置右边锚点。 EN: .

func (*TXButton) SetAnchorSideTop

func (x *TXButton) SetAnchorSideTop(value *TAnchorSide)

CN: 设置顶边锚点。 EN: .

func (*TXButton) SetAnchors added in v1.2.10

func (x *TXButton) SetAnchors(value TAnchors)

CN: 设置四个角位置的锚点。 EN: .

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)

CN: 设置边框间距。 EN: .

func (*TXButton) SetBorderWidth added in v1.2.10

func (x *TXButton) SetBorderWidth(value int32)

CN: 设置边框的宽度。 EN: .

func (*TXButton) SetBounds added in v1.2.10

func (x *TXButton) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32)

CN: 设置组件边界。 EN: 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)

CN: 设置控件标题。 EN: Set the control title.

func (*TXButton) SetClientHeight added in v1.2.10

func (x *TXButton) SetClientHeight(value int32)

CN: 设置客户区高度。 EN: Set client height.

func (*TXButton) SetClientWidth added in v1.2.10

func (x *TXButton) SetClientWidth(value int32)

CN: 设置客户区宽度。 EN: Set client width.

func (*TXButton) SetComponentIndex added in v1.2.10

func (x *TXButton) SetComponentIndex(value int32)

CN: 设置组件索引。 EN: Set component index.

func (*TXButton) SetConstraints added in v1.2.10

func (x *TXButton) SetConstraints(value *TSizeConstraints)

CN: 设置约束控件大小。 EN: .

func (*TXButton) SetControlState added in v1.2.10

func (x *TXButton) SetControlState(value TControlState)

CN: 设置控件状态。 EN: Set control state.

func (*TXButton) SetControlStyle added in v1.2.10

func (x *TXButton) SetControlStyle(value TControlStyle)

CN: 设置控件样式。 EN: Set control style.

func (*TXButton) SetCursor added in v1.2.10

func (x *TXButton) SetCursor(value TCursor)

CN: 设置控件光标。 EN: 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)

CN: 设置控件启用。 EN: Set the control enabled.

func (*TXButton) SetFont added in v1.2.10

func (x *TXButton) SetFont(value *TFont)

CN: 设置字体。 EN: Set Font.

func (*TXButton) SetHeight added in v1.2.10

func (x *TXButton) SetHeight(value int32)

CN: 设置高度。 EN: Set height.

func (*TXButton) SetHint added in v1.2.10

func (x *TXButton) SetHint(value string)

CN: 设置组件鼠标悬停提示。 EN: 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)

CN: 设置左边位置。 EN: Set Left position.

func (*TXButton) SetName added in v1.2.10

func (x *TXButton) SetName(value string)

CN: 设置组件名称。 EN: 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)

CN: 设置控件单击事件。 EN: Set control click event.

func (*TXButton) SetOnDblClick added in v1.2.10

func (x *TXButton) SetOnDblClick(fn TNotifyEvent)

CN: 设置双击事件。 EN: .

func (*TXButton) SetOnMouseDown added in v1.2.10

func (x *TXButton) SetOnMouseDown(fn TMouseEvent)

CN: 设置鼠标按下事件。 EN: Set Mouse down event.

func (*TXButton) SetOnMouseEnter added in v1.2.10

func (x *TXButton) SetOnMouseEnter(fn TNotifyEvent)

CN: 设置鼠标进入事件。 EN: Set Mouse entry event.

func (*TXButton) SetOnMouseLeave added in v1.2.10

func (x *TXButton) SetOnMouseLeave(fn TNotifyEvent)

CN: 设置鼠标离开事件。 EN: Set Mouse leave event.

func (*TXButton) SetOnMouseMove added in v1.2.10

func (x *TXButton) SetOnMouseMove(fn TMouseMoveEvent)

CN: 设置鼠标移动事件。 EN: .

func (*TXButton) SetOnMouseUp added in v1.2.10

func (x *TXButton) SetOnMouseUp(fn TMouseEvent)

CN: 设置鼠标抬起事件。 EN: Set Mouse lift event.

func (*TXButton) SetParent added in v1.2.10

func (x *TXButton) SetParent(value IWinControl)

CN: 设置控件父容器。 EN: Set control parent container.

func (*TXButton) SetParentFont added in v1.2.10

func (x *TXButton) SetParentFont(value bool)

CN: 设置父容器字体。 EN: Set Parent container font.

func (*TXButton) SetParentShowHint added in v1.2.10

func (x *TXButton) SetParentShowHint(value bool)

CN: 设置以父容器的ShowHint属性为准。 EN: .

func (*TXButton) SetPicture added in v1.2.10

func (x *TXButton) SetPicture(value *TPicture)

CN: 设置图片。 EN: .

func (*TXButton) SetPopupMenu added in v1.2.10

func (x *TXButton) SetPopupMenu(value IComponent)

CN: 设置右键菜单。 EN: 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)

CN: 设置显示鼠标悬停提示。 EN: Set Show mouseover tips.

func (*TXButton) SetTag added in v1.2.10

func (x *TXButton) SetTag(value int)

CN: 设置对象标记。 EN: Set the control tag.

func (*TXButton) SetTextBuf added in v1.2.10

func (x *TXButton) SetTextBuf(Buffer string)

CN: 设置控件字符,如果有。 EN: Set control characters, if any.

func (*TXButton) SetTop added in v1.2.10

func (x *TXButton) SetTop(value int32)

CN: 设置顶边位置。 EN: Set Top position.

func (*TXButton) SetVisible added in v1.2.10

func (x *TXButton) SetVisible(value bool)

CN: 设置控件可视。 EN: Set the control visible.

func (*TXButton) SetWidth added in v1.2.10

func (x *TXButton) SetWidth(value int32)

CN: 设置宽度。 EN: Set width.

func (*TXButton) Show added in v1.2.10

func (x *TXButton) Show()

CN: 显示控件。 EN: 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

CN: 获取显示鼠标悬停提示。 EN: Get Show mouseover tips.

func (*TXButton) Tag added in v1.2.10

func (x *TXButton) Tag() int

CN: 获取对象标记。 EN: Get the control tag.

func (*TXButton) ToString added in v1.2.10

func (x *TXButton) ToString() string

CN: 文本类信息。 EN: Text information.

func (*TXButton) Top added in v1.2.10

func (x *TXButton) Top() int32

CN: 获取顶边位置。 EN: Get Top position.

func (*TXButton) UnsafeAddr added in v1.2.10

func (x *TXButton) UnsafeAddr() unsafe.Pointer

CN: 获取一个不安全的地址。 EN: Get an unsafe address.

func (*TXButton) Update added in v1.2.10

func (x *TXButton) Update()

CN: 控件更新。 EN: Update.

func (*TXButton) Visible added in v1.2.10

func (x *TXButton) Visible() bool

CN: 获取控件可视。 EN: Get the control visible.

func (*TXButton) Width added in v1.2.10

func (x *TXButton) Width() int32

CN: 获取宽度。 EN: Get width.

type XID added in v1.2.10

type XID uintptr

Source Files

Directories

Path Synopsis
api
---------------------------------------- 加载文件或者内存中的窗口资源文件功能 需要配合窗口设计器使用 ----------------------------------------
---------------------------------------- 加载文件或者内存中的窗口资源文件功能 需要配合窗口设计器使用 ----------------------------------------
实现一些Go的Image转vcl/lcl的
实现一些Go的Image转vcl/lcl的
rtl
win

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL