ImageEn, unit iexColorPalette

TIEColorPalette.ColorCount

TIEColorPalette.ColorCount


Declaration

property ColorCount: integer;


Description

Returns the number of colors currently displayed in the control.
If you are displaying the default colors, ColorCount specifies the number of colors in the list.


Example

lblColors.Caption := 'Colors: ' + IntToStr( IEColorPalette1.ColorCount );


See Also

 Palette
 Colors