GuiMoveToBack: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
 
Line 5: Line 5:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool guiMoveToBack( element guiElement )
bool guiMoveToBack ( element guiElement )
</syntaxhighlight>  
</syntaxhighlight>  
{{OOP||[[GUI widgets|GuiElement]]:moveToBack||}}
{{OOP||[[GUI widgets|GuiElement]]:moveToBack||}}

Latest revision as of 17:23, 12 February 2019

This function moves a GUI element to the very back of all other GUI elements.

Syntax

bool guiMoveToBack ( element guiElement )

OOP Syntax Help! I don't understand this!

Method: GuiElement:moveToBack(...)


Required Arguments

  • guiElement: the GUI element that you want to move to the back

Returns

Returns true if the function was successful, false otherwise.

Example

This example creates a gui window and moves it to the back

local window = guiCreateWindow ( 0.4, 0.4, 0.3, 0.3, "My dummy window", true )
guiMoveToBack( window )

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

Input

GUI