FMX.TabControl.TTabControl.Add

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Add(const TabClass: TTabItemClass = nil): TTabItem;

C++

TTabItem* __fastcall Add(const TTabItemClass TabClass = 0x0);

Properties

Type Visibility Source Unit Parent
function public
FMX.TabControl.pas
FMX.TabControl.hpp
FMX.TabControl TTabControl

Description

Adds a new tab to the tab control.

Use the Add method to create a new tab object and add it to the tab control. 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.

See Also