GuiSetSelectedTab: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...)
 
mNo edit summary
Line 5: Line 5:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
element guiSetSelectedTab ( element tabPanel, element theTab )
bool guiSetSelectedTab ( element tabPanel, element theTab )
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 19:38, 26 March 2009

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

Syntax

bool 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