Sign in Join
FPDoc Onlineexperiment

TActionEvent procedure type

In unit ActnList

Specifies an event handler signalled to implement an action in TCustomActionList.

Declaration

pascal
TActionEvent = procedure(AAction: TBasicAction; var Handled: Boolean)
 of object

Arguments

AAction

TBasicAction for the event notification.

HandledTrue if the action was executed in the action list for t he handler.

Description

Arguments passed to the event handler include the Action for the notification and a return value that indicates if the action was executed.

TActionEvent is the type used for the OnExecute and OnUpdate properties in TCustomActionList.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.