RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPreviousTab.UpdateTarget Method

Enables or disables the action, depending on the status of the target control.

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

Do not call the UpdateTarget method. This method is called automatically when the application is idle so that actions can update themselves according to current conditions. 

Target is the currently active object. 

In TPreviousTab, UpdateTarget ignores the Target parameter and checks whether the target control specified by the TabControl property is enabled. If so, it sets Enabled to true if the first page is not currently selected or if Wrap is true. It sets Enabled to false if TabControl is not enabled or if the first page is selected and Wrap is false. 

 

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