Registriert seit: 6. Nov 2009
Ort: Elbflorenz
62 Beiträge
FreePascal / Lazarus
|
AW: Eigenes Event anlegen + Event Handler
18. Feb 2012, 18:28
Besten Dank! So funktioniert es:
Delphi-Quellcode:
TToggleButton = class(TConnector)
protected
selected:boolean;
public
OnClick:TNotifyEvent;
property isSelected:boolean read selected write selected;
constructor Create(newtarget:TModule); virtual;
procedure OnClickActive(Sender:TObject);
procedure OnClickBypass(Sender:TObject);
end;
|