Skip to content

TBasicAction.UpdateTarget

Notify client controls when the action updates itself.

Declaration

Source position: classesh.inc line 2190

public 
  procedure UpdateTarget(Target: TObject);  Virtual;

Description

UpdateTarget should update the client control specified by Target when the action updates itself. In TBasicAction, the implementation of UpdateTarget is empty. Descendant classes should override and implement UpdateTarget to actually update the Target object.

An application programmer should never need to call HandlesTarget directly, it will be called by the action itself when needed.

See also

Name Description
ExecuteTarget Executes the action on the Target object
HandlesTarget Determines whether Target can be handled by this action