Share

Tabs

The class TabControl (Python only) improves the behavior of FBTabPanelby managing the tabs and the middle region used to display. It manages all the region swapping required to implement a Tab behavior.

Use TabControl::Add to create a tab and ensure that when that tab is clicked the control is shown.

Use TabControl::SetContent to specify which tab should be displayed.

Instantiate TabControl and provide for each tab a name and a main control. TabControl handles all other aspects of the UI including region creation and control swapping. For usage, see the code sample TabPanel.py.

Was this information helpful?