GuiMoveToBack: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(OOP syntax)
No edit summary
Line 7: Line 7:
bool guiMoveToBack( element guiElement )
bool guiMoveToBack( element guiElement )
</syntaxhighlight>  
</syntaxhighlight>  
{{OOP||[[GUI widgets|GuiElement]]:moveToBack||guiBringToFront}}
{{OOP||[[GUI widgets|GuiElement]]:moveToBack||}}


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

Revision as of 16:21, 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(...)


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