
## ComboBoxActiveXControl class

Represents a ComboBox ActiveX control.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [Type](#type) | int | Gets the type of the ActiveX control. The value of the property is ControlType integer constant. |
| [MaxLength](#maxlength) | int | Gets and sets the maximum number of characters |
| [ListWidth](#listwidth) | float | Gets and set the width in unit of points. |
| [BoundColumn](#boundcolumn) | int | Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMulti |
| [TextColumn](#textcolumn) | int | Represents the column in a ComboBox or ListBox to display to the user. |
| [ColumnCount](#columncount) | int | Represents the number of columns to display in a ComboBox or ListBox. |
| [ListRows](#listrows) | int | Represents the maximum number of rows to display in the list. |
| [MatchEntry](#matchentry) | int | Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryT |
| [DropButtonStyle](#dropbuttonstyle) | int | Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant. |
| [ShowDropButtonTypeWhen](#showdropbuttontypewhen) | int | Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant. |
| [ListStyle](#liststyle) | int | Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant. |
| [BorderStyle](#borderstyle) | int | Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant. |
| [BorderOleColor](#borderolecolor) | int | Gets and sets the ole color of the background. |
| [SpecialEffect](#specialeffect) | int | Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant. |
| [IsEditable](#iseditable) | boolean | Indicates whether the user can type into the control. |
| [ShowColumnHeads](#showcolumnheads) | boolean | Indicates whether column headings are displayed. |
| [IsDragBehaviorEnabled](#isdragbehaviorenabled) | boolean | Indicates whether dragging and dropping is enabled for the control. |
| [EnterFieldBehavior](#enterfieldbehavior) | boolean | Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last ti |
| [IsAutoWordSelected](#isautowordselected) | boolean | Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false spe |
| [SelectionMargin](#selectionmargin) | boolean | Indicates whether the user can select a line of text by clicking in the region to the left of the text. |
| [Value](#value) | String | Gets and sets the value of the control. |
| [HideSelection](#hideselection) | boolean | Indicates whether selected text in the control appears highlighted when the control does not have focus. |
| [ColumnWidths](#columnwidths) | float | Gets and sets the width of the column. |
| [IsEnabled](#isenabled) | boolean | Indicates whether the control can receive the focus and respond to user-generated events. |
| [IsLocked](#islocked) | boolean | Indicates whether data in the control is locked for editing. |
| [IsTransparent](#istransparent) | boolean | Indicates whether the control is transparent. |
| [IsAutoSize](#isautosize) | boolean | Indicates whether the control will automatically resize to display its entire contents. |
| [IMEMode](#imemode) | int | Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of th |
| [Font](#font) | Font | Represents the font of the control. |
| [TextAlign](#textalign) | int | Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant. |
| [Data](#data) | byte[] | Gets and sets the binary data of the control. |
| [Workbook](#workbook) | Workbook | Gets the Workbook object. |
| [Width](#width) | float | Gets and sets the width of the control in unit of points. |
| [Height](#height) | float | Gets and sets the height of the control in unit of points. |
| [MouseIcon](#mouseicon) | byte[] | Gets and sets a custom icon to display as the mouse pointer for the control. |
| [MousePointer](#mousepointer) | int | Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse |
| [ForeOleColor](#foreolecolor) | int | Gets and sets the ole color of the foreground. Not applies to Image control. |
| [BackOleColor](#backolecolor) | int | Gets and sets the ole color of the background. |
| [IsVisible](#isvisible) | boolean | Indicates whether this control is visible. |
| [Shadow](#shadow) | boolean | Indicates whether to show a shadow. |
| [LinkedCell](#linkedcell) | String | Gets and sets the linked cell. |
| [ListFillRange](#listfillrange) | String | Gets and sets the list fill range. |

### ComboBoxActiveXControl.Type property {#type}

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

**Type:** int

### ComboBoxActiveXControl.MaxLength property {#maxlength}

Gets and sets the maximum number of characters

**Type:** int

### ComboBoxActiveXControl.ListWidth property {#listwidth}

Gets and set the width in unit of points.

**Type:** float

### ComboBoxActiveXControl.BoundColumn property {#boundcolumn}

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

**Type:** int

### ComboBoxActiveXControl.TextColumn property {#textcolumn}

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

**Type:** int

### ComboBoxActiveXControl.ColumnCount property {#columncount}

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

**Type:** int

### ComboBoxActiveXControl.ListRows property {#listrows}

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

**Type:** int

### ComboBoxActiveXControl.MatchEntry property {#matchentry}

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 {#dropbuttonstyle}

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

**Type:** int

### ComboBoxActiveXControl.ShowDropButtonTypeWhen property {#showdropbuttontypewhen}

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

**Type:** int

### ComboBoxActiveXControl.ListStyle property {#liststyle}

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

**Type:** int

### ComboBoxActiveXControl.BorderStyle property {#borderstyle}

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 {#borderolecolor}

Gets and sets the ole color of the background.

**Type:** int

### ComboBoxActiveXControl.SpecialEffect property {#specialeffect}

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

**Type:** int

### ComboBoxActiveXControl.IsEditable property {#iseditable}

Indicates whether the user can type into the control.

**Type:** boolean

### ComboBoxActiveXControl.ShowColumnHeads property {#showcolumnheads}

Indicates whether column headings are displayed.

**Type:** boolean

### ComboBoxActiveXControl.IsDragBehaviorEnabled property {#isdragbehaviorenabled}

Indicates whether dragging and dropping is enabled for the control.

**Type:** boolean

### ComboBoxActiveXControl.EnterFieldBehavior property {#enterfieldbehavior}

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 {#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.

**Type:** boolean

### ComboBoxActiveXControl.SelectionMargin property {#selectionmargin}

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 {#value}

Gets and sets the value of the control.

**Type:** String

### ComboBoxActiveXControl.HideSelection property {#hideselection}

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

**Type:** boolean

### ComboBoxActiveXControl.ColumnWidths property {#columnwidths}

Gets and sets the width of the column.

**Type:** float

### ComboBoxActiveXControl.IsEnabled property {#isenabled}

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

**Type:** boolean

### ComboBoxActiveXControl.IsLocked property {#islocked}

Indicates whether data in the control is locked for editing.

**Type:** boolean

### ComboBoxActiveXControl.IsTransparent property {#istransparent}

Indicates whether the control is transparent.

**Type:** boolean

### ComboBoxActiveXControl.IsAutoSize property {#isautosize}

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

**Type:** boolean

### ComboBoxActiveXControl.IMEMode property {#imemode}

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 {#font}

Represents the font of the control.

**Type:** Font

### ComboBoxActiveXControl.TextAlign property {#textalign}

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

**Type:** int

### ComboBoxActiveXControl.Data property {#data}

Gets and sets the binary data of the control.

**Type:** byte[]

### ComboBoxActiveXControl.Workbook property {#workbook}

Gets the Workbook object.

**Type:** Workbook

### ComboBoxActiveXControl.Width property {#width}

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

**Type:** float

### ComboBoxActiveXControl.Height property {#height}

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

**Type:** float

### ComboBoxActiveXControl.MouseIcon property {#mouseicon}

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

**Type:** byte[]

### ComboBoxActiveXControl.MousePointer property {#mousepointer}

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 {#foreolecolor}

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

**Type:** int

### ComboBoxActiveXControl.BackOleColor property {#backolecolor}

Gets and sets the ole color of the background.

**Type:** int

### ComboBoxActiveXControl.IsVisible property {#isvisible}

Indicates whether this control is visible.

**Type:** boolean

### ComboBoxActiveXControl.Shadow property {#shadow}

Indicates whether to show a shadow.

**Type:** boolean

### ComboBoxActiveXControl.LinkedCell property {#linkedcell}

Gets and sets the linked cell.

**Type:** String

### ComboBoxActiveXControl.ListFillRange property {#listfillrange}

Gets and sets the list fill range.

**Type:** String
