COMBO dialog element |
|
| Top Previous Next | |
Syntax:
DIALOG ADD,COMBO,<name>,<top>,<left>,<width>,<height>,<text>,<tooltip>,<styles>
Description:
This dialog element creates a combo box at the position and size specified. A combo box is a combination list box and edit box. To get data into and out of the edit box you use the DIALOG SET command and @DLGTEXT function. To get data into and out of the list box you must use the LIST command.
Styles:
In addition to user-defined styles to change the default font style and color, the following styles may be used with this dialog element:
CLICK |
The element will generate a <name>CLICK event whenever an item is chosen from the drop-down list. |
EXIT |
The element will generate a <name>EXIT event when the input focus moves away from the element. |
LIST |
This style causes the combo box to work like a LIST dialog element, so you cannot enter data into the edit box, only choose values from the drop down list. |
SAVE <name> [VDS6] |
The element will automatically save and restore the last value it contains in the default registry location, or in an INI file if one is being used. If <name> is not specified then the name of the dialog element will be used for the name of the registry or INI file value. |
SORTED |
This style specifies that items in the drop-down list will be maintained in ASCII order. |
<cursor style> |
The cursor will change to the named style when the pointer is over the dialog element. Valid styles are: NONE, ARROW, CROSS, IBEAM, SIZE, NESW, NS, NWSE, WE, UP, WAIT, DRAG, NODROP, HSPLIT, VSPLIT, MULTI, SQL, NO, HELP, HAND |
See also: