Vcl.ExtCtrls.TColorBox

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ExtCtrls.TCustomColorBoxVcl.StdCtrls.TCustomComboBoxVcl.StdCtrls.TCustomComboVcl.Controls.TCustomListControlVcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentTColorBox

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

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

Use TColorBox to provide the user with a drop-down combo box from which to select a color. Use the Style property to specify which colors the color box should list. Each color is displayed next to a small square that is drawn in the corresponding color.

Use the Selected property to access the color that the user selects. The Colors property provides access to the entire list of colors, while the ColorNames property lists their names.

See Also