FMX.TabControl.TTabControl

From Appmethod Libraries
Jump to: navigation, search

FMX.Controls.TStyledControlFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTTabControl

Object Pascal

TTabControl = class(TStyledControl, IItemsContainer)

C++

class PASCALIMPLEMENTATION TTabControl : public Fmx::Controls::TStyledControl

Properties

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

Description

TTabControl is a tab set that has the appearance of notebook dividers.

Use TTabControl to add a control with multiple tab settings to a FireMonkey form. When the current tab changes, the tab control must directly update its contents to reflect the change, in an OnChange event handler.

Disabling a TTabControl object disables all tabs at once. To enable or disable specific tabs, you can programmatically use the Tabs property as in the following code snippet where the tab with the index of 1 is rendered as disabled:

  TabControl1.Tabs[1].Enabled := False;

Use TTabControl to create rich graphical interfaces with great functionality, such as options and configurations for a specific application.

Code Examples

See Also