GuiGetSelectedTab: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: {{Client function}} __NOTOC__ This function returns the currently selected tab in the specified tab panel. ==Syntax== <syntaxhighlight lang="lua"> element guiGetSelectedTab ( ...)
 
mNo edit summary
Line 21: Line 21:
==See Also==
==See Also==
{{GUI functions}}
{{GUI functions}}
[[Category:Needs Example]]

Revision as of 19:34, 26 March 2009

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