ImageEn, unit iexColorPalette |
|
TIEColorPalette.OnColorsChange
Declaration
property OnColorsChange: TNotifyEvent;
Description
Occurs whenever the set of colors displayed in the control are changed (excluding changes in color sorting).
procedure TForm1.ColorPalette1ColorsChange(Sender: TObject);
begin
// Show the current color count
lblColors.Caption := 'Colors: ' + IntToStr( IEColorPalette.ColorCount );
end;