FocusBrowser

From Multi Theft Auto: Wiki
Revision as of 15:14, 14 August 2015 by Qaisjp (talk | contribs) (Make browser unfocusing clear)
Jump to navigation Jump to search

This function will attempt to focus the browser or unfocus all browsers.

Syntax

bool focusBrowser ( browser webBrowser )

OOP Syntax Help! I don't understand this!

Method: browser:focus(...)
Counterpart: focusBrowser


Required Arguments

  • webBrowser: The web browser to be focused - if this is nil, it will unfocus all browsers.

Returns

Returns true if the browser was focused or if nil was passed, false if it failed to focus or the browser does not exist.

Example

--todo

See Also