TRACKBAR dialog element |
|
| Top Previous Next | |
Syntax:
DIALOG ADD,TRACKBAR,<name>,<top>,<left>,<width>,<height>,<value>, <interval>,<tooltip>,<styles> [VDS5]
DIALOG ADD,TRACKBAR,<name>,<top>,<left>,<width>,<height>,<min|max|interval>, <value>, <tooltip>,<styles> [VDS6]
Description:
This dialog element creates a trackbar (slider) at the position and size specified, with an initial setting of <value>. The trackbar range is min..max, or 0..100 where not specified. The <interval> specifies the interval between calibration marks (the default is range / 10.)
Styles:
CLICK |
The element will generate a <name>CLICK event whenever it is clicked. |
HORIZONTAL |
Display the trackbar horizontal. |
VERTICAL |
Display the trackbar vertical. |
LEFT |
Display the calibration marks to the left of the vertical trackbar (bottom if horizontal.) |
RIGHT |
Display the calibration marks to the right of the vertical trackbar. |
BOTH |
Display the calibration marks on both sides of the trackbar. |
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: