GuiSetSelectedTab

From Multi Theft Auto: Wiki
Revision as of 19:33, 26 March 2009 by Awwu (talk | contribs) (New page: {{Client function}} __NOTOC__ This function is used to change the currently selected tab in a tab panel. ==Syntax== <syntaxhighlight lang="lua"> element gu...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function is used to change the currently selected tab in a tab panel.

Syntax

element guiSetSelectedTab ( element tabPanel, element theTab )

Required Arguments

  • tabPanel: The tab panel which current tab you want to change.
  • theTab: The tab which will be the new active tab.

Returns

Returns true if the selected tab was changed to a new one successfully, false otherwise.

Example

-- Todo...

See Also

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows