Vcl.Controls.TControlActionLink.SetOnExecute
Delphi
procedure SetOnExecute(Value: TNotifyEvent); override;
C++
virtual void __fastcall SetOnExecute(System::Classes::TNotifyEvent Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControlActionLink |
Description
Sets the specified execution event handler for the client of the control action link if IsOnExecuteLinked is True
.
SetOnExecute sets the specified Value
as the execution event handler to the OnClick property for the client's control of the control action link if the action, associated by the menu action link to the client, controls the OnClick property of the client. That is, if IsOnExecuteLinked is True
.
Value
specifies the execution event handler of the client's control that should be used for the OnClick event.