ComboBoxActiveXControl
ComboBoxActiveXControl class
Represents a ComboBox ActiveX control.
Properties
| Name | Type | Description |
|---|---|---|
| Type | int | Gets the type of the ActiveX control. The value of the property is ControlType integer constant. |
| MaxLength | int | Gets and sets the maximum number of characters |
| 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. |
| ListRows | int | Represents the maximum number of rows to display in the list. |
| MatchEntry | int | Indicates how a ListBox or ComboBox searches its list as the user types. The value of the property is ControlMatchEntryT |
| DropButtonStyle | int | Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant. |
| ShowDropButtonTypeWhen | int | Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant. |
| ListStyle | int | Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant. |
| 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. |
| IsEditable | boolean | Indicates whether the user can type into the control. |
| ShowColumnHeads | boolean | Indicates whether column headings are displayed. |
| IsDragBehaviorEnabled | boolean | Indicates whether dragging and dropping is enabled for the control. |
| EnterFieldBehavior | boolean | Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last ti |
| IsAutoWordSelected | boolean | Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false spe |
| SelectionMargin | boolean | Indicates whether the user can select a line of text by clicking in the region to the left of the text. |
| Value | String | Gets and sets the value of the control. |
| HideSelection | boolean | Indicates whether selected text in the control appears highlighted when the control does not have focus. |
| 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. |
ComboBoxActiveXControl.Type property
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
Type: int
ComboBoxActiveXControl.MaxLength property
Gets and sets the maximum number of characters
Type: int
ComboBoxActiveXControl.ListWidth property
Gets and set the width in unit of points.
Type: float
ComboBoxActiveXControl.BoundColumn property
Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMultiSelectSingle).
Type: int
ComboBoxActiveXControl.TextColumn property
Represents the column in a ComboBox or ListBox to display to the user.
Type: int
ComboBoxActiveXControl.ColumnCount property
Represents the number of columns to display in a ComboBox or ListBox.
Type: int
ComboBoxActiveXControl.ListRows property
Represents the maximum number of rows to display in the list.
Type: int
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: int
ComboBoxActiveXControl.DropButtonStyle property
Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.
Type: int
ComboBoxActiveXControl.ShowDropButtonTypeWhen property
Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.
Type: int
ComboBoxActiveXControl.ListStyle property
Gets and sets the visual appearance. The value of the property is ControlListStyle integer constant.
Type: int
ComboBoxActiveXControl.BorderStyle property
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
Gets and sets the ole color of the background.
Type: int
ComboBoxActiveXControl.SpecialEffect property
Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
Type: int
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: float
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: int
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: int
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: float
ComboBoxActiveXControl.Height property
Gets and sets the height of the control in unit of points.
Type: float
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: int
ComboBoxActiveXControl.ForeOleColor property
Gets and sets the ole color of the foreground. Not applies to Image control.
Type: int
ComboBoxActiveXControl.BackOleColor property
Gets and sets the ole color of the background.
Type: int
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