![]() | The Combo Box component offers the combined functionality of
the TextBox and the ListBox. Clich here for an overview of the differences and similarities between the various components that provide selection list and input box capabilities. |
Like a List Box the end-user can select from a drop down list of choices, or a text value may be entered into the Text Box part of the control.
The data entered into the Text Box section need not appear in the list.
The events that are recognized for components of the type ComboBox are: Create, Destroy, Enter, Exit, Modified, change, char, dblClick, deselect, gotFocus, help, keyDown, keyUp, lostFocus and select.
The default property for a combo box is Value.
The property list for a combo box is:
Property Name (MSM-Workstation) | Property Name (MWAPI) | Default Value | Value Range |
---|---|---|---|
Active | ACTIVE | Boolean value | |
BackColor | BCOLOR | Color | |
Cancel | CANCEL | Boolean value | |
Changed | CHANGED | Boolean value | |
ChoiceField | Field | ||
ChoiceVar | Field | ||
Container | Free text | ||
DataField | Field | ||
DispFmtParams | |||
DispFmtType | |||
DisplayOnly | CANCHANGE | Boolean value | |
FontBold | FSTYLE | Boolean value | |
FontFace | FFACE | Font face | |
FontItalic | FSTYLE | Boolean value | |
FontSize | FSIZE | Font size | |
FontUline | FSTYLE | Boolean value | |
ForeColor | FCOLOR | Color | |
MaxLength | CHARMAX | Positive integer numeric value | |
Message | ZMESSAGE | Free text | |
Name | Name of component (current window) | ||
NextControl | NEXTG | Name of component | |
Pointer | PTYPE | Pointer (extended) | |
PosLeft | POS | Positive numeric value | |
PosTop | POS | Positive numeric value | |
PosUnits | POS | Unit Specification | |
SelStartLength | INSELECT | Selection | |
SizeHeight | SIZE | 40 | Positive numeric value |
SizeUnits | SIZE | Unit Specification | |
SizeWidth | SIZE | 40 | Positive numeric value |
TBackColor | TBCOLOR | Color | |
TFontBold | TFSTYLE | Boolean value | |
TFontFace | TFFACE | Font face | |
TFontItalic | TFSTYLE | Boolean value | |
TFontSize | TFSIZE | Font size | |
TFontUline | TFSTYLE | Boolean value | |
TForeColor | TFCOLOR | Color | |
TabStops | ZTABSTOPS | Tabulator stops | |
Title | TITLE | [Title] | Free text |
TitlePos | TPOS | Title position | |
TopRow | TOPSHOW | Item in list of choices | |
Type | TYPE | LISTENTRY | Type of component |
Units | UNITS | Unit Specification | |
ValidateParams | |||
ValidateType | |||
Value | VALUE | Free text | |
VarName | Name of variable | ||
VarPermanent | Boolean value | ||
Visible | VISIBLE | Boolean value | |
Go back to the alphabetic list of components.