Vcl.ExtActns.TPreviousTab.UpdateTarget

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UpdateTarget(Target: TObject); override;

C++

virtual void __fastcall UpdateTarget(System::TObject* Target);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.ExtActns.pas
Vcl.ExtActns.hpp
Vcl.ExtActns TPreviousTab

Description

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

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.

See Also