Description
Returns/sets the color mode of popup window.
Usage
[form.][control.]ColorMode[ = Integer ]
Data Type
Integer (enumerated)
Enumeration
CPColorMode
0 - cc16Colors
1 - ccRGBColors
Default
ccRGBColors
Remarks
The property contains two modes which are 16 colors and RGB colors.
In 16 colors mode user would be allow pick 16 common colors, and all custom items and palette features are unavailable.
If this control has been set to 16 colors mode after user picked a custom color, besides common colors in initiate procedure of the application, then color value would be reset to &HFFFFFF (White/default).
Sample
ColorPicker1.ColorMode = CPColorMode.ccRGBColors