CommandButtonActiveXControl Class
Contents
[
Hide
]CommandButtonActiveXControl class
Represents a command button.
type CommandButtonActiveXControl struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|---|
NewCommandButtonActiveXControl | Constructs from a parent object. |
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
GetType | Gets the type of the ActiveX control. |
GetCaption | Gets and set the descriptive text that appears on a control. |
SetCaption | Gets and set the descriptive text that appears on a control. |
GetPicturePosition | Gets and set the location of the control’s picture relative to its caption. |
SetPicturePosition | Gets and set the location of the control’s picture relative to its caption. |
GetAccelerator | Gets and sets the accelerator key for the control. |
SetAccelerator | Gets and sets the accelerator key for the control. |
GetTakeFocusOnClick | Indicates whether the control takes the focus when clicked. |
SetTakeFocusOnClick | Indicates whether the control takes the focus when clicked. |
IsWordWrapped | Indicates whether the contents of the control automatically wrap at the end of a line. |
SetIsWordWrapped | Indicates whether the contents of the control automatically wrap at the end of a line. |
IsEnabled | Indicates whether the control can receive the focus and respond to user-generated events. |
SetIsEnabled | Indicates whether the control can receive the focus and respond to user-generated events. |
IsLocked | Indicates whether data in the control is locked for editing. |
SetIsLocked | Indicates whether data in the control is locked for editing. |
IsTransparent | Indicates whether the control is transparent. |
SetIsTransparent | Indicates whether the control is transparent. |
GetIMEMode | Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. |
SetIMEMode | Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. |
GetFont | Represents the font of the control. |
GetTextAlign | Represents how to align the text used by the control. |
SetTextAlign | Represents how to align the text used by the control. |
IsAutoSize | Indicates whether the control will automatically resize to display its entire contents. |
SetIsAutoSize | Indicates whether the control will automatically resize to display its entire contents. |