ComboBoxActiveXControl

ComboBoxActiveXControl class

Represents a ComboBox ActiveX control.

Properties

NameTypeDescription
TypeNumberGets the type of the ActiveX control. The value of the property is ControlType integer constant.
MaxLengthNumberGets and sets the maximum number of characters
ListWidthNumberGets and set the width in unit of points.
BoundColumnNumberRepresents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMulti
TextColumnNumberRepresents the column in a ComboBox or ListBox to display to the user.
ColumnCountNumberRepresents the number of columns to display in a ComboBox or ListBox.
ListRowsNumberRepresents the maximum number of rows to display in the list.
MatchEntryNumberIndicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryT
DropButtonStyleNumberSpecifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.
ShowDropButtonTypeWhenNumberSpecifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.
ListStyleNumberGets and sets the visual appearance. The value of the property is ControlListStyle integer constant.
BorderStyleNumberGets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
BorderOleColorNumberGets and sets the ole color of the background.
SpecialEffectNumberGets 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.
ColumnWidthsNumberGets 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.
IMEModeNumberGets 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.
TextAlignNumberRepresents 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.
WidthNumberGets and sets the width of the control in unit of points.
HeightNumberGets 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.
MousePointerNumberGets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse
ForeOleColorNumberGets and sets the ole color of the foreground. Not applies to Image control.
BackOleColorNumberGets 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: Number

ComboBoxActiveXControl.MaxLength property

Gets and sets the maximum number of characters

Type: Number

ComboBoxActiveXControl.ListWidth property

Gets and set the width in unit of points.

Type: Number

ComboBoxActiveXControl.BoundColumn property

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

Type: Number

ComboBoxActiveXControl.TextColumn property

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

Type: Number

ComboBoxActiveXControl.ColumnCount property

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

Type: Number

ComboBoxActiveXControl.ListRows property

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

Type: Number

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: Number

ComboBoxActiveXControl.DropButtonStyle property

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

Type: Number

ComboBoxActiveXControl.ShowDropButtonTypeWhen property

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

Type: Number

ComboBoxActiveXControl.ListStyle property

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

Type: Number

ComboBoxActiveXControl.BorderStyle property

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

Type: Number

ComboBoxActiveXControl.BorderOleColor property

Gets and sets the ole color of the background.

Type: Number

ComboBoxActiveXControl.SpecialEffect property

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

Type: Number

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: Number

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: Number

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: Number

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: Number

ComboBoxActiveXControl.Height property

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

Type: Number

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: Number

ComboBoxActiveXControl.ForeOleColor property

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

Type: Number

ComboBoxActiveXControl.BackOleColor property

Gets and sets the ole color of the background.

Type: Number

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