RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBasicAction.UpdateTarget Method

Introduces an interface for a method of notifying a client when the action updates itself.

Pascal
procedure UpdateTarget(Target: TObject); virtual;
C++
virtual __fastcall UpdateTarget(TObject * Target);

UpdateTarget does nothing in TBasicAction. UpdateTarget was introduced in TBasicAction so that descendants can override it to correspondingly update a target when the action updates. For examples, see the TEditAction objects in the stdactns unit. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!