ImageEn, unit iexColorPalette

TIEColorPalette.OnColorsChange

TIEColorPalette.OnColorsChange


Declaration

property OnColorsChange: TNotifyEvent;


Description

Occurs whenever the set of colors displayed in the control are changed (excluding changes in color sorting).


Example

procedure TForm1.ColorPalette1ColorsChange(Sender: TObject);
begin
  // Show the current color count
  lblColors.Caption := 'Colors: ' + IntToStr( IEColorPalette.ColorCount );
end;