Vcl.Menus.TMenuActionLink.SetOnExecute

From RAD Studio API Documentation
Jump to: navigation, search

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.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TMenuActionLink

Description

Sets the specified execution event handler for the client of the menu action link if IsOnExecuteLinked is True.

SetOnExecute sets the specified Value as the execution event handler to the OnClick property for the client's menu item of the menu 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 menu item that should be used for the OnClick event.

See Also