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

TApplication.UpdateAction

Signals the OnActionUpdate handler (when assigned).

Declaration

Source position: forms.pp line 1524

public function TApplication.UpdateAction(

  TheAction: TBasicAction

):Boolean; override;

Arguments

TheAction

  

The action updated in the event handler.

Function result

True if the action was updated in the event handler.

Description

UpdateAction is an overridden Boolean function used to signal the OnActionUpdate event handler (when assigned) to update the settings for the action in TheAction. It sets the default value for the Handled argument to the event handler to False. The argument can be updated in the event handler, and is used as the return value for the method.

UpdateAction re-implements the method defined in the ancestor, and does not call the inherited method.

See also

TComponent.UpdateAction