OnClientBrowserInputFocusChanged: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client_event}} {{New feature/item|3.0150|1.5|| This event is triggered when the input focus inside a browser has changed. }} ==Parameters== <syntaxhighlight lang="lua"> bool ga...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client_event}}
{{Client_event}}
{{Needs_Example}}
{{New feature/item|3.0150|1.5||
{{New feature/item|3.0150|1.5||
This event is triggered when the input focus inside a browser has changed.
This event is triggered when the input focus inside a browser has changed.
Line 9: Line 10:
bool gainedFocus
bool gainedFocus
</syntaxhighlight>
</syntaxhighlight>
*'''gainedFocus''': ''true'' if an input field has been focused, ''false'' if it has lost focus
*'''gainedFocus''': ''true'' if an input field has been focused, ''false'' if it has lost focus.


==Source==
==Source==
The [[Element/Browser|browser]] element
The [[Element/Browser|browser]] element.


==Example==  
==Example==  
{{Needs_Example}}
<syntaxhighlight lang="lua">
 
</syntaxhighlight>


==See Also==
==See Also==
{{CEF_events}}
{{CEF_events}}

Latest revision as of 22:18, 2 April 2018

Accessories-text-editor.png Script Example Missing Event OnClientBrowserInputFocusChanged needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

This event is triggered when the input focus inside a browser has changed.

Parameters

bool gainedFocus
  • gainedFocus: true if an input field has been focused, false if it has lost focus.

Source

The browser element.

Example


See Also