COLORGRID dialog element [VDS6] |
|
| Top Previous Next | |
Syntax:
DIALOG ADD,COLORGRID,<name>,<top>,<left>,<width>,<height>,<color>,<tooltip>,<styles>
Description:
This dialog element creates a color picker control at the position and size specified, using the styles specified. The control displays a grid containing the 16 standard Windows colors, and allows any of these colors to be selected by clicking with the mouse.
The initial <color> may be specified. The selected color may be set using DIALOG SET and read using @DLGTEXT. The @CLICK function may be used to determine whether the last selection was made using the right or left mouse button.
Styles:
In addition to user-defined styles to change the default color, the following styles may be used with this dialog element:
CLICK |
The element will generate a <name>CLICK event when it is clicked. |
<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: