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

TCustomActionList.UpdateAction

Examines and updates the target for the specified Action.

Declaration

Source position: actnlist.pas line 111

public function TCustomActionList.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

TComponent.UpdateAction


Version 4.0 Generated 2025-05-03 Home