System.Classes.TBasicActionLink.SetOnExecute
Delphi
procedure SetOnExecute(Value: TNotifyEvent); virtual;
C++
virtual void __fastcall SetOnExecute(TNotifyEvent Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Classes.pas System.Classes.hpp |
System.Classes | TBasicActionLink |
Description
Introduces an interface for setting the execution event handler for a client if the action link associates execution event handlers of the client and action.
In the TBasicActionLink class, SetOnExecute does nothing.
Override SetOnExecute to set the execution event handler to the client. SetOnExecute can call IsOnExecuteLinked to check whether the TBasicActionLink action link associates execution event handlers of the client and action and sets the event handler specified by the Value
parameter. Usually, an execution event of a client is the OnClick event.