Vcl.ExtCtrls.TColorListBox
Delphi
TColorListBox = class(TCustomColorListBox)
C++
class PASCALIMPLEMENTATION TColorListBox : public TCustomColorListBox
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | Vcl.ExtCtrls |
Description
TColorListBox represents a list box that lets users select a color.
TCustomColorBox is the base class for TColorListBox and for combo boxes that display a list of colors. The list box displays a list of all the colors for which the Graphics unit defines a constant. For a list of these colors, see TColor. Each color is displayed next to a small square that is drawn in the corresponding color.
Do not use TCustomColorBox in applications. It is intended to act as a base class for color selection controls. Rather, to add a list box control with selectable colors, use the TColorListBox component. To use a drop-down combo box that lets users select a color, use the TColorBox component, which appears on the Additional page of the component palette.