TextBoxActiveXControl Class
Contents
[
Hide
]TextBoxActiveXControl class
Represents a text box ActiveX control.
type TextBoxActiveXControl struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|---|
NewTextBoxActiveXControl | Constructs from a parent object. |
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
GetType | Gets the type of the ActiveX control. |
GetBorderStyle | Gets and set the type of border used by the control. |
SetBorderStyle | Gets and set the type of border used by the control. |
GetBorderOleColor | Gets and sets the ole color of the background. |
SetBorderOleColor | Gets and sets the ole color of the background. |
GetSpecialEffect | Gets and sets the special effect of the control. |
SetSpecialEffect | Gets and sets the special effect of the control. |
GetMaxLength | Gets and sets the maximum number of characters |
SetMaxLength | Gets and sets the maximum number of characters |
GetScrollBars | Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. |
SetScrollBars | Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. |
GetPasswordChar | Gets and sets a character to be displayed in place of the characters entered. |
SetPasswordChar | Gets and sets a character to be displayed in place of the characters entered. |
IsEditable | Indicates whether the user can type into the control. |
SetIsEditable | Indicates whether the user can type into the control. |
GetIntegralHeight | Indicates whether the control will only show complete lines of text without showing any partial lines. |
SetIntegralHeight | Indicates whether the control will only show complete lines of text without showing any partial lines. |
IsDragBehaviorEnabled | Indicates whether dragging and dropping is enabled for the control. |
SetIsDragBehaviorEnabled | Indicates whether dragging and dropping is enabled for the control. |
GetEnterKeyBehavior | Specifies 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. |
SetEnterKeyBehavior | Specifies 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. |
GetEnterFieldBehavior | Specifies 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. |
SetEnterFieldBehavior | Specifies 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. |
GetTabKeyBehavior | Indicates whether tab characters are allowed in the text of the control. |
SetTabKeyBehavior | Indicates whether tab characters are allowed in the text of the control. |
GetHideSelection | Indicates whether selected text in the control appears highlighted when the control does not have focus. |
SetHideSelection | Indicates whether selected text in the control appears highlighted when the control does not have focus. |
IsAutoTab | Indicates whether the focus will automatically move to the next control when the user enters the maximum number of characters. |
SetIsAutoTab | Indicates whether the focus will automatically move to the next control when the user enters the maximum number of characters. |
IsMultiLine | Indicates whether the control can display more than one line of text. |
SetIsMultiLine | Indicates whether the control can display more than one line of text. |
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. |
GetText | Gets and set text of the control. |
SetText | Gets and set text of the control. |
GetDropButtonStyle | Specifies the symbol displayed on the drop button |
SetDropButtonStyle | Specifies the symbol displayed on the drop button |
GetShowDropButtonTypeWhen | Specifies the symbol displayed on the drop button |
SetShowDropButtonTypeWhen | Specifies the symbol displayed on the drop button |
IsAutoWordSelected | Specifies 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. |
SetIsAutoWordSelected | Specifies 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. |
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. |