Sign in Join
FPDoc Onlineexperiment

TColorBoxStyles enumeration

In unit ColorBox

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

Declaration

pascal
TColorBoxStyles = (cbStandardColors,cbExtendedColors,cbSystemColors,
 cbIncludeNone,cbIncludeDefault,cbCustomColor,
 cbPrettyNames,cbCustomColors)

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

Values

cbStandardColors16 standard colors (as defined in graphics.pp).
cbExtendedColors16 standard colors and 4 extended colors (as defined in graphics.pp).
cbSystemColorsSystem colors (as defined in graphics.pp).
cbIncludeNoneIncludes clNone in the list of colors.
cbIncludeDefaultIncludes clDefault in the list of colors.
cbCustomColorThe first color is customizable.
cbPrettyNamesUses "pretty" names in the color names instead of the color value; like Red for clRed.
cbCustomColorsUses the OnGetColors event handler to get the list of colors.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.