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

# TBasicAction.OnUpdate

Event trigged when the application is idle.

## Declaration

`public property TBasicAction.OnUpdate: TNotifyEvent read FOnUpdate write FOnUpdate;`

## Description

OnUpdate is the event triggered when the application is idle, and the action is being updated. The OnUpdate event can be used to set the state of the action, for instance disable it if the action cannot be executed at this point in time.

## See also

TBasicAction.Update |  | Triggers the OnUpdate event
TBasicAction.OnExecute |  | Event triggered when the action executes.