GuiMoveToBack: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: {{Client function}} __NOTOC__ This function moves a GUI element to the very back of all other GUI elements. ==Syntax== <syntaxhighlight lang="lua"> bool guiMoveToBack( element guiElement ) </syntaxhighlight> ==...)
 
(OOP syntax)
Line 7: Line 7:
bool guiMoveToBack( element guiElement )
bool guiMoveToBack( element guiElement )
</syntaxhighlight>  
</syntaxhighlight>  
{{OOP||[[GUI widgets|GuiElement]]:moveToBack||guiBringToFront}}


===Required Arguments===  
===Required Arguments===  

Revision as of 15:36, 7 November 2018

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(...)
Counterpart: guiBringToFront


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