API:Vcl.ExtCtrls.TColorBox
Delphi
TColorBox = class(TCustomColorBox)
C++
class PASCALIMPLEMENTATION TColorBox : public TCustomColorBox
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | Vcl.ExtCtrls |
Description
TCustomColorBox represents a combo box that lets users select a color.
Vcl.ExtCtrls.TColorBox inherits from Vcl.ExtCtrls.TCustomColorBox. All content below this line refers to Vcl.ExtCtrls.TCustomColorBox.
TCustomColorBox represents a combo box that lets users select a color.
TCustomColorBox is the base class for drop-down combo boxes that display a list of colors. The combo 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 drop-down combo box that lets users select a color, use the TColorBox component, which appears on the Additional page of the component palette.