GuiGetSelectedTab

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

This function returns the currently selected tab in the specified tab panel.

Syntax

element guiGetSelectedTab ( element tabPanel )

Required Arguments

  • tabPanel: The tab panel which current tab you want to retrieve.

Returns

Returns an element of the tab if a tab was selected or nil if no tab was selected. If passed arguments were invalid or something went wrong, the function will return false.

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