- Documentation
- Client events
- onClientBrowserInputFocusChanged
Event
onClientBrowserInputFocusChanged
A text field on the page got or lost focus. Useful for turning on the keyboard for the browser.
Handler
addEventHandler("onClientBrowserInputFocusChanged", root, function(gainedFocus) ... end)Parameters
gainedFocusbooltrue= field active.
Source
source is the browser.
Example
addEventHandler("onClientBrowserInputFocusChanged", root, function(focused)
guiSetInputEnabled(focused)
end)