Vcl.ExtActns.TPreviousTab.ExecuteTarget

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ExecuteTarget(Target: TObject); override;

C++

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

Properties

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

Description

Changes the selected page in the target control to the previous one.

ExecuteTarget causes the action to perform its default response based on the state of the target tab control.

Target is the currently active object when the action fires. TPreviousTab ignores this parameter and uses the TabControl property to identify the target control.

ExecuteTarget

1. Generates a BeforeTabChange event.

2. Moves the control identified by TabControl to the previous page. If TabControl is on the first page and the Wrap property is true, this moves to the last page. If Wrap is false, ExecuteTarget does not change the page when the tab control is on the first page. Note that the SkipHiddenTabs property controls whether hidden pages are considered when locating the previous page.

3. Generates an AfterTabChange event.

See Also