TComponent.UpdateAction
Updates the state of an action.
Declaration
Source position: classesh.inc line 2133
public
function UpdateAction(Action: TBasicAction) : Boolean; Dynamic;
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
Name | Description |
---|---|
TBasicAction | Abstract base class for all Actions. |
TBasicAction.ExecuteAction | |
TBasicAction.HandlesTarget | Determines whether Target can be handled by this action |
TBasicAction.UpdateTarget | Notify client controls when the action updates itself. |