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. |
| GetPicture | Gets and sets the data of the picture. |
| SetPicture | Gets and sets the data of the picture. |
| 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. |
| GetData | Gets and sets the binary data of 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. |
| GetWorkbook | Gets the Workbook object. |
| GetMouseIcon | Gets and sets a custom icon to display as the mouse pointer for the control. |
| SetMouseIcon | Gets and sets a custom icon to display as the mouse pointer for the control. |
| GetMousePointer | Gets and sets the type of icon displayed as the mouse pointer for the control. |
| SetMousePointer | Gets and sets the type of icon displayed as the mouse pointer for the control. |
| GetLinkedCell | Gets and sets the linked cell. |
| SetLinkedCell | Gets and sets the linked cell. |
| GetListFillRange | Gets and sets the list fill range. |
| SetListFillRange | Gets and sets the list fill range. |
| GetWidth | Gets and sets the width of the control in unit of points. |
| SetWidth | Gets and sets the width of the control in unit of points. |
| GetHeight | Gets and sets the height of the control in unit of points. |
| SetHeight | Gets and sets the height of the control in unit of points. |
| GetForeOleColor | Gets and sets the ole color of the foreground. |
| SetForeOleColor | Gets and sets the ole color of the foreground. |
| GetBackOleColor | Gets and sets the ole color of the background. |
| SetBackOleColor | Gets and sets the ole color of the background. |
| IsVisible | Indicates whether this control is visible. |
| SetIsVisible | Indicates whether this control is visible. |
| GetShadow | Indicates whether to show a shadow. |
| SetShadow | Indicates whether to show a shadow. |