RAD Studio VCL Reference
|
TColorBoxStyles and TColorBoxStyle specify how a color box control displays its selections.
TColorBoxStyles = ( cbStandardColors, cbExtendedColors, cbSystemColors, cbIncludeNone, cbIncludeDefault, cbCustomColor, cbPrettyNames, cbCustomColors );
enum TColorBoxStyles { cbStandardColors, cbExtendedColors, cbSystemColors, cbIncludeNone, cbIncludeDefault, cbCustomColor, cbPrettyNames, cbCustomColors };
TColorBoxStyles is a set of TColorBoxStyle values. The following table lists the possible values of TColorBoxStyle.
Style |
Meaning when included |
cbStandardColors | |
cbExtendedColors | |
cbSystemColors |
The color box includes the symbolic color constants that reflect the values specified in the Windows control panel. |
cbIncludeNone |
The color box includes clNone. This option only has an effect if Style includes cbSystemColors. |
cbIncludeDefault |
The color box includes clNone. This option only has an effect if Style includes cbSystemColors. |
cbCustomColor |
The first entry in the color box represents a custom color. When you select the Custom entry, the color box displays the Color selection dialog, where you can specify a custom color. |
cbPrettyNames |
The color box lists the names as words rather than as the color constant strings (for example 'Black' rather than 'clBlack'). |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|