RADIO dialog element |
|
| Top Previous Next | |
Syntax:
DIALOG ADD,RADIO,<name>,<top>,<left>,<width>,<height>,<caption>,<value list>, <value>,<tooltip>,<styles>
Description:
This dialog element creates a group of radio buttons at the position and size specified, with a caption of <caption> and a set of possible values shown in <value list>. The values in the value list are separated by a vertical bar delimiter, for example: Male|Female. The initial setting is <value>.
Styles:
When a style is applied to a RADIO dialog element it applies automatically to all the dialog elements placed within it. When a RADIO dialog element is enabled, disabled, shown or hidden, this action is applied to the dialog elements placed within it.
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 when a radio button is clicked. |
COLUMNS <n> |
The radio buttons will be displayed in <n> columns. [VDS6] |
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. |
<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: