Vcl.ExtCtrls.TCustomColorBox.Colors
Delphi
property Colors[Index: Integer]: TColor read GetColor;
C++
__property System::Uitypes::TColor Colors[int Index] = {read=GetColor};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TCustomColorBox |
Description
Lists the colors in the color box.
Use Colors to obtain the value of a color in the color box.
Index is the index of the color, where 0 is the index of the first color in the box, 1 is the index of the second color, and so on.
Note: The Style property controls which colors are included in the list.