Search code examples
delphifiremonkeytabcontrol

How do I hide all the tab headers of TTabControl in FMX


In FMX.TTabControl, TabItem.Visible makes the whole tab invisible. And selecting it displays nothing. I know I could make it visible at that point.

How can I hide all the tab headers instead ?


Solution

  • Set TabControl.TabPosition to None

    From documentation:

    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.