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

# ApplicationActionComponent

TApplication instance used to update and execute actions.

## Declaration

Source position: actnlist.pas line 307

`var ApplicationActionComponent: TComponent = Nil;`

## Description

ApplicationActionComponent is a unit global TComponent variable with the TApplication instance used to update and execute an action. It is used in the Update and Execute methods in TContainedAction when the action does not have an assigned OnExecute handler or is not stored in an action list.

ApplicationActionComponent is maintained when the TApplication instance is created or freed for an application.

## See also

TContainedAction.Execute |  | Executes the action using a available OnExecute event handler.
TContainedAction.Update |  | Signals an available OnUpdate event handler to update values in the Action.
TApplication.Create |  | Constructor for the class instance.
TApplication.Destroy |  | Destructor for the class instance.
Application |  | The TApplication singleton.