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

TBasicAction.UpdateTarget

Notify client controls when the action updates itself.

Declaration

Source position: classesh.inc line 1417

public procedure TBasicAction.UpdateTarget(

  Target: TObject

); virtual;

Description

UpdateTargetshould update the client control specified by Targetwhen the action updates itself. In TBasicAction, the implementation of UpdateTargetis empty. Descendent classes should override and implement UpdateTargetto actually update the Targetobject.

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

See also

HandlesTarget

  

Determines whether Targetcan be handled by this action

ExecuteTarget

  

Executes the action on the Targetobject