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

TColorBoxStyle

Set type used to store values from the TColorBoxStyles enumeration.

Declaration

Source position: colorbox.pas line 43

type TColorBoxStyle = set of (

  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

TColorBoxStyle is a Set type used to store zero or more values from the TColorBoxStyles enumeration. TColorBoxStyle is the type used to implement the TColorBox.Style and TColorListBox.Style properties.

See also

TColorBoxStyles

  

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

TCustomColorBox.Style

  

Settings which determine the colors available in the control and their display style.

TCustomColorListBox.Style

  

Settings which determine the colors available in the control and their display style.

TColorBox.Style

  

Settings which determine the colors available in the control and their display style.

TColorListBox.Style

  

Settings which determine the colors available in the control and their display style.


Version 3.2 Generated 2024-02-25 Home