RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomColorBox.Colors Property

Lists the colors in the color box.

Pascal
property Colors [Index: Integer]: TColor;
C++
__property TColor Colors[int Index];

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.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!