ComboBoxActiveXControl

ComboBoxActiveXControl class

Represents a ComboBox ActiveX control.

Properties

NameTypeDescription
TypeintGets the type of the ActiveX control. The value of the property is ControlType integer constant.
MaxLengthintGets and sets the maximum number of characters
ListWidthfloatGets and set the width in unit of points.
BoundColumnintRepresents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMulti
TextColumnintRepresents the column in a ComboBox or ListBox to display to the user.
ColumnCountintRepresents the number of columns to display in a ComboBox or ListBox.
ListRowsintRepresents the maximum number of rows to display in the list.
MatchEntryintIndicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryT
DropButtonStyleintSpecifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.
ShowDropButtonTypeWhenintSpecifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.
ListStyleintGets and sets the visual appearance. The value of the property is ControlListStyle integer constant.
BorderStyleintGets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
BorderOleColorintGets and sets the ole color of the background.
SpecialEffectintGets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
IsEditablebooleanIndicates whether the user can type into the control.
ShowColumnHeadsbooleanIndicates whether column headings are displayed.
IsDragBehaviorEnabledbooleanIndicates whether dragging and dropping is enabled for the control.
EnterFieldBehaviorbooleanSpecifies selection behavior when entering the control. True specifies that the selection remains unchanged from last ti
IsAutoWordSelectedbooleanSpecifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false spe
SelectionMarginbooleanIndicates whether the user can select a line of text by clicking in the region to the left of the text.
ValueStringGets and sets the value of the control.
HideSelectionbooleanIndicates whether selected text in the control appears highlighted when the control does not have focus.
ColumnWidthsfloatGets and sets the width of the column.
IsEnabledbooleanIndicates whether the control can receive the focus and respond to user-generated events.
IsLockedbooleanIndicates whether data in the control is locked for editing.
IsTransparentbooleanIndicates whether the control is transparent.
IsAutoSizebooleanIndicates whether the control will automatically resize to display its entire contents.
IMEModeintGets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of th
FontFontRepresents the font of the control.
TextAlignintRepresents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
Databyte[]Gets and sets the binary data of the control.
WorkbookWorkbookGets the Workbook object.
WidthfloatGets and sets the width of the control in unit of points.
HeightfloatGets and sets the height of the control in unit of points.
MouseIconbyte[]Gets and sets a custom icon to display as the mouse pointer for the control.
MousePointerintGets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse
ForeOleColorintGets and sets the ole color of the foreground. Not applies to Image control.
BackOleColorintGets and sets the ole color of the background.
IsVisiblebooleanIndicates whether this control is visible.
ShadowbooleanIndicates whether to show a shadow.
LinkedCellStringGets and sets the linked cell.
ListFillRangeStringGets and sets the list fill range.

ComboBoxActiveXControl.Type property

Gets the type of the ActiveX control. The value of the property is ControlType integer constant.

Type: int

ComboBoxActiveXControl.MaxLength property

Gets and sets the maximum number of characters

Type: int

ComboBoxActiveXControl.ListWidth property

Gets and set the width in unit of points.

Type: float

ComboBoxActiveXControl.BoundColumn property

Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMultiSelectSingle).

Type: int

ComboBoxActiveXControl.TextColumn property

Represents the column in a ComboBox or ListBox to display to the user.

Type: int

ComboBoxActiveXControl.ColumnCount property

Represents the number of columns to display in a ComboBox or ListBox.

Type: int

ComboBoxActiveXControl.ListRows property

Represents the maximum number of rows to display in the list.

Type: int

ComboBoxActiveXControl.MatchEntry property

Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryType integer constant.

Type: int

ComboBoxActiveXControl.DropButtonStyle property

Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.

Type: int

ComboBoxActiveXControl.ShowDropButtonTypeWhen property

Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.

Type: int

ComboBoxActiveXControl.ListStyle property

Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant.

Type: int

ComboBoxActiveXControl.BorderStyle property

Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.

Type: int

ComboBoxActiveXControl.BorderOleColor property

Gets and sets the ole color of the background.

Type: int

ComboBoxActiveXControl.SpecialEffect property

Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.

Type: int

ComboBoxActiveXControl.IsEditable property

Indicates whether the user can type into the control.

Type: boolean

ComboBoxActiveXControl.ShowColumnHeads property

Indicates whether column headings are displayed.

Type: boolean

ComboBoxActiveXControl.IsDragBehaviorEnabled property

Indicates whether dragging and dropping is enabled for the control.

Type: boolean

ComboBoxActiveXControl.EnterFieldBehavior property

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.

Type: boolean

ComboBoxActiveXControl.IsAutoWordSelected property

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.

Type: boolean

ComboBoxActiveXControl.SelectionMargin property

Indicates whether the user can select a line of text by clicking in the region to the left of the text.

Type: boolean

ComboBoxActiveXControl.Value property

Gets and sets the value of the control.

Type: String

ComboBoxActiveXControl.HideSelection property

Indicates whether selected text in the control appears highlighted when the control does not have focus.

Type: boolean

ComboBoxActiveXControl.ColumnWidths property

Gets and sets the width of the column.

Type: float

ComboBoxActiveXControl.IsEnabled property

Indicates whether the control can receive the focus and respond to user-generated events.

Type: boolean

ComboBoxActiveXControl.IsLocked property

Indicates whether data in the control is locked for editing.

Type: boolean

ComboBoxActiveXControl.IsTransparent property

Indicates whether the control is transparent.

Type: boolean

ComboBoxActiveXControl.IsAutoSize property

Indicates whether the control will automatically resize to display its entire contents.

Type: boolean

ComboBoxActiveXControl.IMEMode property

Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.

Type: int

ComboBoxActiveXControl.Font property

Represents the font of the control.

Type: Font

ComboBoxActiveXControl.TextAlign property

Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.

Type: int

ComboBoxActiveXControl.Data property

Gets and sets the binary data of the control.

Type: byte[]

ComboBoxActiveXControl.Workbook property

Gets the Workbook object.

Type: Workbook

ComboBoxActiveXControl.Width property

Gets and sets the width of the control in unit of points.

Type: float

ComboBoxActiveXControl.Height property

Gets and sets the height of the control in unit of points.

Type: float

ComboBoxActiveXControl.MouseIcon property

Gets and sets a custom icon to display as the mouse pointer for the control.

Type: byte[]

ComboBoxActiveXControl.MousePointer property

Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.

Type: int

ComboBoxActiveXControl.ForeOleColor property

Gets and sets the ole color of the foreground. Not applies to Image control.

Type: int

ComboBoxActiveXControl.BackOleColor property

Gets and sets the ole color of the background.

Type: int

ComboBoxActiveXControl.IsVisible property

Indicates whether this control is visible.

Type: boolean

ComboBoxActiveXControl.Shadow property

Indicates whether to show a shadow.

Type: boolean

ComboBoxActiveXControl.LinkedCell property

Gets and sets the linked cell.

Type: String

ComboBoxActiveXControl.ListFillRange property

Gets and sets the list fill range.

Type: String