https://wiki.multitheftauto.com/api.php?action=feedcontributions&user=Omakmoh&feedformat=atom
Multi Theft Auto: Wiki - User contributions [en]
2024-03-29T06:49:58Z
User contributions
MediaWiki 1.39.3
https://wiki.multitheftauto.com/index.php?title=GuiBlur&diff=63187
GuiBlur
2019-07-07T17:16:17Z
<p>Omakmoh: /* Example */</p>
<hr />
<div>{{Client function}}<br />
__NOTOC__<br />
{{New feature/item|3.0157|1.5.6|16361|This function defocuses a focused GUI element. Used primarily for edit fields and memos.}}<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool guiBlur ( element guiElement )<br />
</syntaxhighlight> <br />
{{OOP||[[GUI widgets|GuiElement]]:blur||}}<br />
<br />
===Required Arguments=== <br />
*'''guiElement:''' the GUI element that you want to defocus<br />
<br />
===Returns===<br />
Returns ''true'' if the function was successful, ''false'' otherwise.<br />
<br />
==Example== <br />
<syntaxhighlight lang="lua"><br />
local edit= guiCreateMemo ( 0.4, 0.4, 0.4, 0.08, "it's edit!", true )<br />
guiBlur(edit)<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
{{GUI_events}}</div>
Omakmoh
https://wiki.multitheftauto.com/index.php?title=GuiBlur&diff=63186
GuiBlur
2019-07-07T17:15:50Z
<p>Omakmoh: /* Example */</p>
<hr />
<div>{{Client function}}<br />
__NOTOC__<br />
{{New feature/item|3.0157|1.5.6|16361|This function defocuses a focused GUI element. Used primarily for edit fields and memos.}}<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool guiBlur ( element guiElement )<br />
</syntaxhighlight> <br />
{{OOP||[[GUI widgets|GuiElement]]:blur||}}<br />
<br />
===Required Arguments=== <br />
*'''guiElement:''' the GUI element that you want to defocus<br />
<br />
===Returns===<br />
Returns ''true'' if the function was successful, ''false'' otherwise.<br />
<br />
==Example== <br />
<syntaxhighlight lang="lua"><br />
local edit= guiCreateMemo ( 0.4, 0.4, 0.4, 0.08, "it's edit!", true )<br />
guiFocus(edit)<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
{{GUI_events}}</div>
Omakmoh
https://wiki.multitheftauto.com/index.php?title=GuiFocus&diff=63185
GuiFocus
2019-07-07T17:14:33Z
<p>Omakmoh: /* Example */</p>
<hr />
<div>{{Client function}}<br />
__NOTOC__<br />
{{New feature/item|3.0157|1.5.6|16361|This function focuses a defocused GUI element. Used primarily for edit fields and memos.}}<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool guiFocus ( element guiElement )<br />
</syntaxhighlight> <br />
{{OOP||[[GUI widgets|GuiElement]]:focus||}}<br />
<br />
===Required Arguments=== <br />
*'''guiElement:''' the GUI element that you want to focus<br />
<br />
===Returns===<br />
Returns ''true'' if the function was successful, ''false'' otherwise.<br />
<br />
==Example== <br />
<syntaxhighlight lang="lua"><br />
local edit= guiCreateMemo ( 0.4, 0.4, 0.4, 0.08, "it's edit!", true )<br />
guiFocus(edit)<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
{{GUI_events}}</div>
Omakmoh
https://wiki.multitheftauto.com/index.php?title=GuiFocus&diff=63184
GuiFocus
2019-07-07T17:13:58Z
<p>Omakmoh: /* Example */</p>
<hr />
<div>{{Client function}}<br />
__NOTOC__<br />
{{New feature/item|3.0157|1.5.6|16361|This function focuses a defocused GUI element. Used primarily for edit fields and memos.}}<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool guiFocus ( element guiElement )<br />
</syntaxhighlight> <br />
{{OOP||[[GUI widgets|GuiElement]]:focus||}}<br />
<br />
===Required Arguments=== <br />
*'''guiElement:''' the GUI element that you want to focus<br />
<br />
===Returns===<br />
Returns ''true'' if the function was successful, ''false'' otherwise.<br />
<br />
==Example== <br />
<syntaxhighlight lang="lua"><br />
local edit= guiCreateMemo ( 0.4, 0.4, 0.4, 0.08, "Test Edit", true )<br />
guiFocus(edit)<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
{{GUI_events}}</div>
Omakmoh