TextBoxActiveXControl Class

TextBoxActiveXControl class

Represents a text box ActiveX control.


type TextBoxActiveXControl struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewTextBoxActiveXControlConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetTypeGets the type of the ActiveX control.
GetBorderStyleGets and set the type of border used by the control.
SetBorderStyleGets and set the type of border used by the control.
GetBorderOleColorGets and sets the ole color of the background.
SetBorderOleColorGets and sets the ole color of the background.
GetSpecialEffectGets and sets the special effect of the control.
SetSpecialEffectGets and sets the special effect of the control.
GetMaxLengthGets and sets the maximum number of characters
SetMaxLengthGets and sets the maximum number of characters
GetScrollBarsIndicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither.
SetScrollBarsIndicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither.
GetPasswordCharGets and sets a character to be displayed in place of the characters entered.
SetPasswordCharGets and sets a character to be displayed in place of the characters entered.
IsEditableIndicates whether the user can type into the control.
SetIsEditableIndicates whether the user can type into the control.
GetIntegralHeightIndicates whether the control will only show complete lines of text without showing any partial lines.
SetIntegralHeightIndicates whether the control will only show complete lines of text without showing any partial lines.
IsDragBehaviorEnabledIndicates whether dragging and dropping is enabled for the control.
SetIsDragBehaviorEnabledIndicates whether dragging and dropping is enabled for the control.
GetEnterKeyBehaviorSpecifies the behavior of the ENTER key.True specifies that pressing ENTER will create a new line.False specifies that pressing ENTER will move the focus to the next object in the tab order.
SetEnterKeyBehaviorSpecifies the behavior of the ENTER key.True specifies that pressing ENTER will create a new line.False specifies that pressing ENTER will move the focus to the next object in the tab order.
GetEnterFieldBehaviorSpecifies selection behavior when entering the control.True specifies that the selection remains unchanged from last time the control was active.False specifies that all the text in the control will be selected when entering the control.
SetEnterFieldBehaviorSpecifies selection behavior when entering the control.True specifies that the selection remains unchanged from last time the control was active.False specifies that all the text in the control will be selected when entering the control.
GetTabKeyBehaviorIndicates whether tab characters are allowed in the text of the control.
SetTabKeyBehaviorIndicates whether tab characters are allowed in the text of the control.
GetHideSelectionIndicates whether selected text in the control appears highlighted when the control does not have focus.
SetHideSelectionIndicates whether selected text in the control appears highlighted when the control does not have focus.
IsAutoTabIndicates whether the focus will automatically move to the next control when the user enters the maximum number of characters.
SetIsAutoTabIndicates whether the focus will automatically move to the next control when the user enters the maximum number of characters.
IsMultiLineIndicates whether the control can display more than one line of text.
SetIsMultiLineIndicates whether the control can display more than one line of text.
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.
GetTextGets and set text of the control.
SetTextGets and set text of the control.
GetDropButtonStyleSpecifies the symbol displayed on the drop button
SetDropButtonStyleSpecifies the symbol displayed on the drop button
GetShowDropButtonTypeWhenSpecifies the symbol displayed on the drop button
SetShowDropButtonTypeWhenSpecifies the symbol displayed on the drop button
IsAutoWordSelectedSpecifies the basic unit used to extend a selection.True specifies that the basic unit is a single character.false specifies that the basic unit is a whole word.
SetIsAutoWordSelectedSpecifies the basic unit used to extend a selection.True specifies that the basic unit is a single character.false specifies that the basic unit is a whole word.
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.