FMX.TabControl.TTabControl.Insert
Delphi
function Insert(const Index: Integer; const TabClass: TTabItemClass = nil): TTabItem;
C++
HIDESBASE TTabItem* __fastcall Insert(const int Index, const TTabItemClass TabClass = 0x0);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.TabControl.pas FMX.TabControl.hpp |
FMX.TabControl | TTabControl |
Description
Inserts a new tab on the specified position.
Use the Insert method to create a new tab object and insert it on the position specified by Index.
The type of the tab object is specified by the TabClass parameter. If TabClass is nil, the created tab object will have the default type TTabItem.
The Index parameter is 0-based.