CommandButtonActiveXControl Class

CommandButtonActiveXControl class

Represents a command button.


type CommandButtonActiveXControl struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewCommandButtonActiveXControlConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetTypeGets the type of the ActiveX control.
GetCaptionGets and set the descriptive text that appears on a control.
SetCaptionGets and set the descriptive text that appears on a control.
GetPicturePositionGets and set the location of the control’s picture relative to its caption.
SetPicturePositionGets and set the location of the control’s picture relative to its caption.
GetAcceleratorGets and sets the accelerator key for the control.
SetAcceleratorGets and sets the accelerator key for the control.
GetTakeFocusOnClickIndicates whether the control takes the focus when clicked.
SetTakeFocusOnClickIndicates whether the control takes the focus when clicked.
IsWordWrappedIndicates whether the contents of the control automatically wrap at the end of a line.
SetIsWordWrappedIndicates whether the contents of the control automatically wrap at the end of a line.
IsEnabledIndicates whether the control can receive the focus and respond to user-generated events.
SetIsEnabledIndicates whether the control can receive the focus and respond to user-generated events.
IsLockedIndicates whether data in the control is locked for editing.
SetIsLockedIndicates whether data in the control is locked for editing.
IsTransparentIndicates whether the control is transparent.
SetIsTransparentIndicates whether the control is transparent.
GetIMEModeGets and sets the default run-time mode of the Input Method Editor for the control as it receives focus.
SetIMEModeGets and sets the default run-time mode of the Input Method Editor for the control as it receives focus.
GetFontRepresents the font of the control.
GetTextAlignRepresents how to align the text used by the control.
SetTextAlignRepresents how to align the text used by the control.
IsAutoSizeIndicates whether the control will automatically resize to display its entire contents.
SetIsAutoSizeIndicates whether the control will automatically resize to display its entire contents.