SPIN dialog element |
|
| Top Previous Next | |
Syntax:
DIALOG ADD,SPIN,<name>,<top>,<left>,<width>,<height>, <min|max|step>,<value>,<tooltip>,<styles>
Description:
This dialog element creates a spin edit box at the position and size specified, using the original value and styles specified. Specifying the minimum and maximum values and the step size is optional.
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 when it is clicked. |
NOEDIT |
The value can be changed only by clicking the up/down buttons, not by typing into the edit box. |
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: