ElementsNavigation & windows
AddTopTab
Adds a tab to the top-tab navigation layout.
AddTopTab
What it does
Adds a tab to the top-tab navigation layout.
When to use it
Use it when the selected window design uses horizontal navigation across the top.
TabFunction:AddTopTab(TabConfig)
local Result = Window:AddTopTab({
Name = "Example",
})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.