FMX.TabControl.TTabPosition

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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

C++

enum class DECLSPEC_DENUM TTabPosition : unsigned char { Top, Bottom, None, Dots, PlatformDefault, tpTop _DEPRECATED_ATTRIBUTE3("Use TTabPosition.Top")  = 0, tpBottom _DEPRECATED_ATTRIBUTE3("Use TTabPosition.Bottom")  = 1, tpNone _DEPRECATED_ATTRIBUTE3("Use TTabPosition.None")  = 2, tpDots _DEPRECATED_ATTRIBUTE3("Use TTabPosition.Dots")  = 3 };

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