4D v13.4Select RGB Color |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
Select RGB Color
Select RGB Color
The Select RGB Color command displays the system color selection window and returns the RGB value of the color selected by the user. The system color selection window appears as follows:
The optional defaultColor parameter preselects a color in the window. This parameter can be used, for example, to restore by default the last color set by the user. Pass an RGB-format color value in this parameter (for more information, refer to the description of the OBJECT SET RGB COLORS command). You can use one of the constants in the SET RGB COLORS theme. If the defaultColor parameter is omitted or if you pass 0, the color black is selected when the dialog box is opened. The optional message parameter customizes the title of the system window. By default, if this parameter is omitted, the title “Colors” is displayed. The effect of validating this dialog box differs depending on the platform:
Note: This command must not be executed on the server machine nor within a Web process. |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D v11 SQL SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||