ListBoxActiveXControl

ListBoxActiveXControl class

Represents a ListBox ActiveX control.

Properties

NameTypeDescription
TypeNumberGets the type of the ActiveX control. The value of the property is ControlType integer constant.
ScrollBarsNumberIndicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of
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.
MatchEntryNumberIndicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryT
ListStyleNumberGets and sets the visual appearance. The value of the property is ControlListStyle integer constant.
SelectionTypeNumberIndicates whether the control permits multiple selections. The value of the property is SelectionType integer constant.
ValueStringGets and sets the value of the control. Only effects when SelectionType is SelectionType.Single;
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.
ShowColumnHeadsbooleanIndicates whether column headings are displayed.
IntegralHeightbooleanIndicates whether the control will only show complete lines of text without showing any partial lines.
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.

ListBoxActiveXControl.Type property

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

Type: Number

ListBoxActiveXControl.ScrollBars property

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

Gets and set the width in unit of points.

Type: Number

ListBoxActiveXControl.BoundColumn property

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

Type: Number

ListBoxActiveXControl.TextColumn property

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

Type: Number

ListBoxActiveXControl.ColumnCount property

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

Type: Number

ListBoxActiveXControl.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

ListBoxActiveXControl.ListStyle property

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

Type: Number

ListBoxActiveXControl.SelectionType property

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

Type: Number

ListBoxActiveXControl.Value property

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

Type: String

ListBoxActiveXControl.BorderStyle property

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

Gets and sets the ole color of the background.

Type: Number

ListBoxActiveXControl.SpecialEffect property

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

Type: Number

ListBoxActiveXControl.ShowColumnHeads property

Indicates whether column headings are displayed.

Type: boolean

ListBoxActiveXControl.IntegralHeight property

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

Type: boolean

ListBoxActiveXControl.ColumnWidths property

Gets and sets the width of the column.

Type: Number

ListBoxActiveXControl.IsEnabled property

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

Type: boolean

ListBoxActiveXControl.IsLocked property

Indicates whether data in the control is locked for editing.

Type: boolean

ListBoxActiveXControl.IsTransparent property

Indicates whether the control is transparent.

Type: boolean

ListBoxActiveXControl.IsAutoSize property

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

Type: boolean

ListBoxActiveXControl.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

ListBoxActiveXControl.Font property

Represents the font of the control.

Type: Font

ListBoxActiveXControl.TextAlign property

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

Type: Number

ListBoxActiveXControl.Data property

Gets and sets the binary data of the control.

Type: byte[]

ListBoxActiveXControl.Workbook property

Gets the Workbook object.

Type: Workbook

ListBoxActiveXControl.Width property

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

Type: Number

ListBoxActiveXControl.Height property

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

Type: Number

ListBoxActiveXControl.MouseIcon property

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

Type: byte[]

ListBoxActiveXControl.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

ListBoxActiveXControl.ForeOleColor property

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

Type: Number

ListBoxActiveXControl.BackOleColor property

Gets and sets the ole color of the background.

Type: Number

ListBoxActiveXControl.IsVisible property

Indicates whether this control is visible.

Type: boolean

ListBoxActiveXControl.Shadow property

Indicates whether to show a shadow.

Type: boolean

ListBoxActiveXControl.LinkedCell property

Gets and sets the linked cell.

Type: String

ListBoxActiveXControl.ListFillRange property

Gets and sets the list fill range.

Type: String