ComboBoxActiveXControl Class

ComboBoxActiveXControl class

Represents a ComboBox ActiveX control.


type ComboBoxActiveXControl struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewComboBoxActiveXControlConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetTypeGets the type of the ActiveX control.
GetMaxLengthGets and sets the maximum number of characters
SetMaxLengthGets and sets the maximum number of characters
GetListWidthGets and set the width in unit of points.
SetListWidthGets and set the width in unit of points.
GetBoundColumnRepresents how the Value property is determined for a ComboBox or ListBoxwhen the MultiSelect properties value (fmMultiSelectSingle).
SetBoundColumnRepresents how the Value property is determined for a ComboBox or ListBoxwhen the MultiSelect properties value (fmMultiSelectSingle).
GetTextColumnRepresents the column in a ComboBox or ListBox to display to the user.
SetTextColumnRepresents the column in a ComboBox or ListBox to display to the user.
GetColumnCountRepresents the number of columns to display in a ComboBox or ListBox.
SetColumnCountRepresents the number of columns to display in a ComboBox or ListBox.
GetListRowsRepresents the maximum number of rows to display in the list.
SetListRowsRepresents the maximum number of rows to display in the list.
GetMatchEntryIndicates how a ListBox or ComboBox searches its list as the user types.
SetMatchEntryIndicates how a ListBox or ComboBox searches its list as the user types.
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
GetListStyleGets and sets the visual appearance.
SetListStyleGets and sets the visual appearance.
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.
IsEditableIndicates whether the user can type into the control.
SetIsEditableIndicates whether the user can type into the control.
GetShowColumnHeadsIndicates whether column headings are displayed.
SetShowColumnHeadsIndicates whether column headings are displayed.
IsDragBehaviorEnabledIndicates whether dragging and dropping is enabled for the control.
SetIsDragBehaviorEnabledIndicates whether dragging and dropping is enabled for the control.
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.
GetSelectionMarginIndicates whether the user can select a line of text by clicking in the region to the left of the text.
SetSelectionMarginIndicates whether the user can select a line of text by clicking in the region to the left of the text.
GetValueGets and sets the value of the control.
SetValueGets and sets the value 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.
GetColumnWidthsGets and sets the width of the column.
SetColumnWidthsGets and sets the width of the column.
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.