ImageEn, unit iexColorPalette |
|
TIEColorPalette.OnSelectedColorChange
Declaration
property OnSelectedColorChange: TNotifyEvent;
Description
Occurs whenever the selected color is changed (by user or programmatically).
procedure TForm1.ColorPalette1SelectedColorChange(Sender: TObject);
begin
// Display the selected color
sc.color := ColorPalette1.SelectedColor;
end;