Difference between revisions of "GuiMoveToBack"

From Multi Theft Auto: Wiki
Jump to: navigation, search
m (See Also)
m (Syntax)
 
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

FROM VERSION 1.5.6 r16361 ONWARDS

Browsers

Buttons

Checkboxes

Comboboxes

Edit Fields

Gridlists

FROM VERSION 1.5.6 r16204 ONWARDS

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows

GUI events