VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。
COLORGRID dialog element
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. |