FMX.TabControl.TTabControl.First
Delphi
function First(ATransition: TTabTransition = TTabTransition.Slide; const ADirection: TTabTransitionDirection = TTabTransitionDirection.Normal): Boolean;
C++
bool __fastcall First(TTabTransition ATransition = (TTabTransition)(0x1), const TTabTransitionDirection ADirection = (TTabTransitionDirection)(0x0));
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.TabControl.pas FMX.TabControl.hpp |
FMX.TabControl | TTabControl |
Description
Moves to the first visible tab in the tab control.
Use the First method to set the active tab to the first visible tab in the tab control.
ATransition specifies the type of transition used to switch the tab.
ADirection specifies the direction in which the content of the tab is replaced with the content of the first tab.