ImageEn, unit iexColorPalette

TIEColorPalette.OnSelectedColorChange

TIEColorPalette.OnSelectedColorChange


Declaration

property OnSelectedColorChange: TNotifyEvent;


Description

Occurs whenever the selected color is changed (by user or programmatically).


Example

procedure TForm1.ColorPalette1SelectedColorChange(Sender: TObject);
begin
  // Display the selected color
  sc.color := ColorPalette1.SelectedColor;
end;