GuiBringToFront

From Multi Theft Auto: Wiki
Revision as of 20:02, 24 September 2007 by Lil Toady (talk | contribs) (New page: {{Client function}} __NOTOC__ This function brings a GUI element on top of others. ==Syntax== <syntaxhighlight lang="lua"> bool guiBringToFront ( element guiElement ) </syntaxhighlight> ===Required Arguments===...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function brings a GUI element on top of others.

Syntax

bool guiBringToFront ( element guiElement )

Required Arguments

  • guiElement: the GUI element that you want to get on top

Returns

Returns true if the function was successfull, false otherwise.

Example

This example creates a gui window and brings it on top.

local window = guiCreateWindow ( 0.4, 0.4, 0.3, 0.3, "My dummy window", true )
guiBringToFront ( 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