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

TComponent.UpdateAction

Updates the state of an action.

Declaration

Source position: classesh.inc line 1362

public function TComponent.UpdateAction(

  Action: TBasicAction

):Boolean; dynamic;

Description

UpdateActionchecks whether Actionhandles the current component, and if yes, calls the UpdateTargetmethod, passing itself as a parameter. The function returns Trueif the action handles the current component.

See also

TBasicAction

  

Abstract base class for all Actions.

TBasicAction.UpdateTarget

  

Notify client controls when the action updates itself.

TBasicAction.HandlesTarget

  

Determines whether Targetcan be handled by this action

ExecuteAction