[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ColorBox' (#lcl)

# TColorBoxStyles

Represents the available colors and the name display style used in color controls.

## Declaration

Source position: colorbox.pas line 35

`type TColorBoxStyles = (`
`cbStandardColors,` |  | 16 standard colors (as defined in graphics.pp).
`cbExtendedColors,` |  | 16 standard colors and 4 extended colors (as defined in graphics.pp).
`cbSystemColors,` |  | System colors (as defined in graphics.pp).
`cbIncludeNone,` |  | Includes clNone in the list of colors.
`cbIncludeDefault,` |  | Includes clDefault in the list of colors.
`cbCustomColor,` |  | The first color is customizable.
`cbPrettyNames,` |  | Uses "pretty" names in the color names instead of the color value; like Red for clRed.
`cbCustomColors` |  | Uses the OnGetColors event handler to get the list of colors.
`);`

## Description

TColorBoxStyles is an enumerated type with values that represent the available colors and the display style used in color controls like TColorBox and TColorListBox. Values from TColorBoxStyles are stored in the TColorBoxStyle set type.

## See also

TColorBoxStyle |  | Set type used to store values from the TColorBoxStyles enumeration.
TCustomColorBox |  | The base class for TColorBox.
TColorBox |  | Implements combo-box control used to select a color name or value.
TCustomColorListBox |  | Implements the base class for TColorListBox.
TColorListBox |  | Implements a list box control used to display and select color names and values.