Vcl.ExtActns.TNextTab

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ExtActns.TTabActionVcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTNextTab

Delphi

TNextTab = class(TTabAction)

C++

class PASCALIMPLEMENTATION TNextTab : public TTabAction

Properties

Type Visibility Source Unit Parent
class public
Vcl.ExtActns.pas
Vcl.ExtActns.hpp
Vcl.ExtActns Vcl.ExtActns

Description

TNextTab moves a tabbed control to its next page.

Add TNextTab to an action list to provide the response to the "Next" and "Finish" buttons or menu items in a tabbed dialog. Controls such as menu items and tool buttons linked to this action cause a different response, depending on the value of the Wrap property and on whether the target control is on the last page:

If the target page control is not on the last page, or if Wrap is true, client controls cause this action to change the current page to the next page. (When Wrap is true, the next page after the last tab is the first tabbed page).

If Wrap is false and the target page control is on the last page, this action changes the caption of client controls (for example, from "Next" to "Finish") and, when fired, responds by generating an OnFinish event.

Before you can use TNextTab, you must assign a target page control or tab control as the value of the TabControl property. Once the target control is assigned, TNextTab automatically disables itself if the target control is not enabled.

See Also