[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TBasicActionLink.SetOnExecute

Assigns the OnExecute handler to the client

Declaration

Source position: classesh.inc line 1693

protected procedure TBasicActionLink.SetOnExecute(

  Value: TNotifyEvent

); virtual;

Description

SetOnExecute must be overridden by descendent classes to pass the OnExecute handler of the associated action to the client control. It will attach the OnExecute handler to whatever handler is appropriate for the client control.

See also

OnExecute

  

Event triggered when the action executes.

TBasicAction

  

Abstract base class for all Actions.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.