Vcl.CategoryButtons.TButtonItemActionLink.IsOnExecuteLinked

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsOnExecuteLinked: Boolean; override;

C++

virtual bool __fastcall IsOnExecuteLinked();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.CategoryButtons.pas
Vcl.CategoryButtons.hpp
Vcl.CategoryButtons TButtonItemActionLink

Description

Introduces an interface for checking whether the OnExecute event handler of the action is linked to the execution event handler of the client.

Vcl.CategoryButtons.TButtonItemActionLink.IsOnExecuteLinked inherits from System.Classes.TBasicActionLink.IsOnExecuteLinked. All content below this line refers to System.Classes.TBasicActionLink.IsOnExecuteLinked.

Introduces an interface for checking whether the OnExecute event handler of the action is linked to the execution event handler of the client.

  • Descendant classes can override IsOnExecuteLinked to determine whether changing of the OnExecute event handler of the action should be distributed to the event handler of the appropriate execution event of the client. Usually, an execution event of a client is the OnClick event and namely the OnClick event handler should be changed.

If a client (like FMX.Forms.TForm) linked by a descendant class object does not support an appropriate execution event, then IsOnExecuteLinked always returns False.

As implemented in TActionLink:

See Also