
## ListBoxActiveXControl class

Represents a ListBox ActiveX control.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [Type](#type) | Number | Gets the type of the ActiveX control. The value of the property is ControlType integer constant. |
| [ScrollBars](#scrollbars) | Number | Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of |
| [ListWidth](#listwidth) | Number | Gets and set the width in unit of points. |
| [BoundColumn](#boundcolumn) | Number | Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMulti |
| [TextColumn](#textcolumn) | Number | Represents the column in a ComboBox or ListBox to display to the user. |
| [ColumnCount](#columncount) | Number | Represents the number of columns to display in a ComboBox or ListBox. |
| [MatchEntry](#matchentry) | Number | Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryT |
| [ListStyle](#liststyle) | Number | Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant. |
| [SelectionType](#selectiontype) | Number | Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant. |
| [Value](#value) | String | Gets and sets the value of the control. Only effects when SelectionType is SelectionType.Single; |
| [BorderStyle](#borderstyle) | Number | Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant. |
| [BorderOleColor](#borderolecolor) | Number | Gets and sets the ole color of the background. |
| [SpecialEffect](#specialeffect) | Number | Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant. |
| [ShowColumnHeads](#showcolumnheads) | boolean | Indicates whether column headings are displayed. |
| [IntegralHeight](#integralheight) | boolean | Indicates whether the control will only show complete lines of text without showing any partial lines. |
| [ColumnWidths](#columnwidths) | Number | 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) | Number | 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) | Number | 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) | Number | Gets and sets the width of the control in unit of points. |
| [Height](#height) | Number | 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) | Number | Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse |
| [ForeOleColor](#foreolecolor) | Number | Gets and sets the ole color of the foreground. Not applies to Image control. |
| [BackOleColor](#backolecolor) | Number | 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. |

### ListBoxActiveXControl.Type property {#type}

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

**Type:** Number

### ListBoxActiveXControl.ScrollBars property {#scrollbars}

Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.

**Type:** Number

### ListBoxActiveXControl.ListWidth property {#listwidth}

Gets and set the width in unit of points.

**Type:** Number

### ListBoxActiveXControl.BoundColumn property {#boundcolumn}

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

**Type:** Number

### ListBoxActiveXControl.TextColumn property {#textcolumn}

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

**Type:** Number

### ListBoxActiveXControl.ColumnCount property {#columncount}

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

**Type:** Number

### ListBoxActiveXControl.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:** Number

### ListBoxActiveXControl.ListStyle property {#liststyle}

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

**Type:** Number

### ListBoxActiveXControl.SelectionType property {#selectiontype}

Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant.

**Type:** Number

### ListBoxActiveXControl.Value property {#value}

Gets and sets the value of the control. Only effects when SelectionType is SelectionType.Single;

**Type:** String

### ListBoxActiveXControl.BorderStyle property {#borderstyle}

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

**Type:** Number

### ListBoxActiveXControl.BorderOleColor property {#borderolecolor}

Gets and sets the ole color of the background.

**Type:** Number

### ListBoxActiveXControl.SpecialEffect property {#specialeffect}

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

**Type:** Number

### ListBoxActiveXControl.ShowColumnHeads property {#showcolumnheads}

Indicates whether column headings are displayed.

**Type:** boolean

### ListBoxActiveXControl.IntegralHeight property {#integralheight}

Indicates whether the control will only show complete lines of text without showing any partial lines.

**Type:** boolean

### ListBoxActiveXControl.ColumnWidths property {#columnwidths}

Gets and sets the width of the column.

**Type:** Number

### ListBoxActiveXControl.IsEnabled property {#isenabled}

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

**Type:** boolean

### ListBoxActiveXControl.IsLocked property {#islocked}

Indicates whether data in the control is locked for editing.

**Type:** boolean

### ListBoxActiveXControl.IsTransparent property {#istransparent}

Indicates whether the control is transparent.

**Type:** boolean

### ListBoxActiveXControl.IsAutoSize property {#isautosize}

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

**Type:** boolean

### ListBoxActiveXControl.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:** Number

### ListBoxActiveXControl.Font property {#font}

Represents the font of the control.

**Type:** Font

### ListBoxActiveXControl.TextAlign property {#textalign}

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

**Type:** Number

### ListBoxActiveXControl.Data property {#data}

Gets and sets the binary data of the control.

**Type:** byte[]

### ListBoxActiveXControl.Workbook property {#workbook}

Gets the Workbook object.

**Type:** Workbook

### ListBoxActiveXControl.Width property {#width}

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

**Type:** Number

### ListBoxActiveXControl.Height property {#height}

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

**Type:** Number

### ListBoxActiveXControl.MouseIcon property {#mouseicon}

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

**Type:** byte[]

### ListBoxActiveXControl.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:** Number

### ListBoxActiveXControl.ForeOleColor property {#foreolecolor}

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

**Type:** Number

### ListBoxActiveXControl.BackOleColor property {#backolecolor}

Gets and sets the ole color of the background.

**Type:** Number

### ListBoxActiveXControl.IsVisible property {#isvisible}

Indicates whether this control is visible.

**Type:** boolean

### ListBoxActiveXControl.Shadow property {#shadow}

Indicates whether to show a shadow.

**Type:** boolean

### ListBoxActiveXControl.LinkedCell property {#linkedcell}

Gets and sets the linked cell.

**Type:** String

### ListBoxActiveXControl.ListFillRange property {#listfillrange}

Gets and sets the list fill range.

**Type:** String
