FMX.TabControl.TNextTabAction

From RAD Studio API Documentation
Jump to: navigation, search

FMX.TabControl.TTabControlActionFMX.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTNextTabAction

Delphi

TNextTabAction = class(TTabControlAction)

C++

class PASCALIMPLEMENTATION TNextTabAction : public TTabControlAction

Properties

Type Visibility Source Unit Parent
class public
FMX.TabControl.pas
FMX.TabControl.hpp
FMX.TabControl FMX.TabControl

Description

Implements the standard action switching the focus to the next tab from the currently active tab, in the specified tab control.

The TNextTabAction action sets active the tab that is the next to the currently active tab, in the specified tab control.

TNextTabAction switching action uses the switching transition animation specified by the Transition and Direction properties. See the discussion in GotoVisibleTab.

To assign the TNextTabAction action to a component (control, menu item, toolbar button), select the component, for example a button. Select the Action node in the Object Inspector, click the down arrow on the right, and assign New Standard Action > Tab > TNextTabAction to the Action property. To set the TabControl tab control in which to make switching of active tabs, in the Object Inspector, expand the Action node, select the TabControl item, and click the down arrow on the right. From the list, select the desired tab control.

Notice that if the specified switching transition is impossible, for example, if the currently active tab is the last one in the specified tab control, then the TNextTabAction action is shown disabled.

By default, the component caption changes to Next.

See Also

Code Examples