System.Classes.TBasicAction.SetOnExecute

From RAD Studio API Documentation
Jump to: navigation, search

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 TBasicAction

Description

Assigns an OnExecute event handler for the action and for all clients.

SetOnExecute is the property write method for the OnExecute event.

In addition to assigning the specified Value event handler to the OnExecute event, SetOnExecute propagates the assignment of this event handler to all clients linked to the action and generates an OnChange event.

See Also