Vcl.ColorGrd.TColorGrid

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Controls.TCustomControlVcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTColorGrid

Delphi

TColorGrid = class(TCustomControl)

C++

class PASCALIMPLEMENTATION TColorGrid : public Vcl::Controls::TCustomControl

Properties

Type Visibility Source Unit Parent
class public
Vcl.ColorGrd.pas
Vcl.ColorGrd.hpp
Vcl.ColorGrd Vcl.ColorGrd

Description

TColorGrid is a visual component that displays a color palette.

TColorGrid can display a color palette in different layouts. Each color occupies a slot in the grid and is determined by its index.

You can select a color to be the foreground by left-clicking it on the grid, or to be the background by right-clicking it. The colors set as foreground and background have the appropriate FG and BG labels. If the foreground and background are the same, then the color has the FB label.

See Also

Code Examples