RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomColorBox Class

TCustomColorBox represents a combo box that lets users select a color.

Pascal
TCustomColorBox = class(TCustomComboBox);
C++
class TCustomColorBox : public TCustomComboBox;

ExtCtrls

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!