FMX.TabControl.TTabPosition

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTabPosition = (Top, Bottom, None, Dots, PlatformDefault);

C++

enum class DECLSPEC_DENUM TTabPosition : unsigned char { Top, Bottom, None, Dots, PlatformDefault };

Properties

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

Description

Specifies the position of the tabs on this TTabControl component.

The following table lists the values of TTabPosition:

Name Description
Top The tabs are at the top of the TTabControl component.
Bottom The tabs are at the bottom of the TTabControl component
None The tabs are rendered as small dots on top of the TTabControl component, in a lower-down centered position visible only at design-time. They can be used to switch and display the active tab. The small dots are not visible at run-time.
Dots The tabs are rendered as small dots at the bottom of the TTabControl component.
PlatformDefault The tabs are at the default position for the TTabControl component on the target platform. For example:
  • In iOS apps, tabs are aligned at the lower edge of the TTabControl.
  • In Android apps, tabs are aligned at the top edge.

At design time, TTabPosition might not use PlatformDefault.

PlatformDefault is the default value of the TabPosition property.

See Also