ElementsNavigation & windows
AddTab
Adds a navigation tab to the current window or tab container.
AddTab
What it does
Adds a navigation tab to the current window or tab container.
When to use it
Use it to create a distinct top-level page for one feature area.
TabFunction:AddTab(TabConfig)
local GroupMain = GroupTabs:AddTab()Behavior and return value
Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.