Sign in Join
FPDoc Onlineexperiment

TCustomActionList.UpdateAction function

Member of TCustomActionListpublicIn unit ActnList

Examines and updates the target for the specified Action.

Declaration

pascal
function UpdateAction(Action: TBasicAction): Boolean; override

Arguments

Action

Action examined and potentially updated in the method.

Function result

True if the action was successfully updated in the method.

Description

UpdateAction checks whether Action handles the current component, and if yes, calls the UpdateTarget method, passing itself as a parameter. The function returns True if the action handles the current component.

See also

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