ImageEn, unit iexColorButton

TIEColorButton.OnSelectColor

TIEColorButton.OnSelectColor


Declaration

property OnSelectColor: TNotifyEvent;


Description

Occurs whenever the user changes the color.

Note: OnSelectColor occurs only after user action. Use OnChange to react to any color changes (even in code).


Examples

procedure TfrmMain.IEColorButtonSelectColor(Sender: TObject);
begin
  // Use the selected color as the layer fill color
  ImageEnView1.CurrentLayer.FillColor := IEColorButton1.SelectedColor
end;