ListBoxActiveXControl
ListBoxActiveXControl class
Represents a ListBox ActiveX control.
Properties
| Name | Type | Description |
|---|---|---|
| Type | int | Gets the type of the ActiveX control. The value of the property is ControlType integer constant. |
| ScrollBars | int | Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of |
| ListWidth | float | Gets and set the width in unit of points. |
| BoundColumn | int | Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMulti |
| TextColumn | int | Represents the column in a ComboBox or ListBox to display to the user. |
| ColumnCount | int | Represents the number of columns to display in a ComboBox or ListBox. |
| MatchEntry | int | Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryT |
| ListStyle | int | Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant. |
| SelectionType | int | Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant. |
| Value | String | Gets and sets the value of the control. Only effects when SelectionType is SelectionType.Single; |
| BorderStyle | int | Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant. |
| BorderOleColor | int | Gets and sets the ole color of the background. |
| SpecialEffect | int | Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant. |
| ShowColumnHeads | boolean | Indicates whether column headings are displayed. |
| IntegralHeight | boolean | Indicates whether the control will only show complete lines of text without showing any partial lines. |
| ColumnWidths | float | Gets and sets the width of the column. |
| IsEnabled | boolean | Indicates whether the control can receive the focus and respond to user-generated events. |
| IsLocked | boolean | Indicates whether data in the control is locked for editing. |
| IsTransparent | boolean | Indicates whether the control is transparent. |
| IsAutoSize | boolean | Indicates whether the control will automatically resize to display its entire contents. |
| 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 | Represents the font of the control. |
| TextAlign | int | Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant. |
| Data | byte[] | Gets and sets the binary data of the control. |
| Workbook | Workbook | Gets the Workbook object. |
| Width | float | Gets and sets the width of the control in unit of points. |
| Height | float | Gets and sets the height of the control in unit of points. |
| MouseIcon | byte[] | Gets and sets a custom icon to display as the mouse pointer for the control. |
| 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 | int | Gets and sets the ole color of the foreground. Not applies to Image control. |
| BackOleColor | int | Gets and sets the ole color of the background. |
| IsVisible | boolean | Indicates whether this control is visible. |
| Shadow | boolean | Indicates whether to show a shadow. |
| LinkedCell | String | Gets and sets the linked cell. |
| ListFillRange | String | Gets 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: int
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: int
ListBoxActiveXControl.ListWidth property
Gets and set the width in unit of points.
Type: float
ListBoxActiveXControl.BoundColumn property
Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMultiSelectSingle).
Type: int
ListBoxActiveXControl.TextColumn property
Represents the column in a ComboBox or ListBox to display to the user.
Type: int
ListBoxActiveXControl.ColumnCount property
Represents the number of columns to display in a ComboBox or ListBox.
Type: int
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: int
ListBoxActiveXControl.ListStyle property
Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant.
Type: int
ListBoxActiveXControl.SelectionType property
Indicates whether the control permits multiple selections. The value of the property is SelectionType integer constant.
Type: int
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: int
ListBoxActiveXControl.BorderOleColor property
Gets and sets the ole color of the background.
Type: int
ListBoxActiveXControl.SpecialEffect property
Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
Type: int
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: float
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: int
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: int
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: float
ListBoxActiveXControl.Height property
Gets and sets the height of the control in unit of points.
Type: float
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: int
ListBoxActiveXControl.ForeOleColor property
Gets and sets the ole color of the foreground. Not applies to Image control.
Type: int
ListBoxActiveXControl.BackOleColor property
Gets and sets the ole color of the background.
Type: int
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