HU/focusBrowser: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Client function hu}} {{New feature/item|3.0150|1.5|| This function will attempt to focus the browser or unfocus all browsers. The browser that...") |
No edit summary |
||
Line 2: | Line 2: | ||
{{Client function hu}} | {{Client function hu}} | ||
{{New feature/item|3.0150|1.5|| | {{New feature/item|3.0150|1.5|| | ||
Ez a funkció megpróbálja fókuszba állít a [[Element/Browser|böngészőt]] vagy fókuszálatlanná tenni. The browser that is focused will retrieve keyboard input. | |||
}} | }} | ||
Revision as of 11:45, 30 July 2018
Ez a funkció megpróbálja fókuszba állít a böngészőt vagy fókuszálatlanná tenni. The browser that is focused will retrieve keyboard input.
Szintaxis
bool focusBrowser ( browser webBrowser )
OOP Syntax Help! I don't understand this!
- Method: browser:focus(...)
Kötelező argumentumok
- webBrowser: The web browser to be focused - if this is nil, it will unfocus all browsers.
Visszaadott érték
Returns true if the browser was focused or if nil was passed, false if it failed to focus or the browser does not exist.
Példa
Click to collapse [-]
ClientThis example creates browser and focus it
local browser = createBrowser(860, 680, false) addEventHandler("onClientBrowserCreated", browser, function () focusBrowser(source) end )
Lásd még
- canBrowserNavigateBack
- canBrowserNavigateForward
- createBrowser
- executeBrowserJavascript
- focusBrowser
- getBrowserProperty
- getBrowserSettings
- getBrowserSource
- getBrowserTitle
- getBrowserURL
- injectBrowserMouseDown
- injectBrowserMouseMove
- injectBrowserMouseUp
- injectBrowserMouseWheel
- isBrowserDomainBlocked
- isBrowserFocused
- isBrowserLoading
- isBrowserRenderingPaused
- loadBrowserURL
- navigateBrowserBack
- navigateBrowserForward
- reloadBrowserPage
- requestBrowserDomains
- resizeBrowser
- setBrowserAjaxHandler
- setBrowserProperty
- setBrowserRenderingPaused
- setBrowserVolume
- toggleBrowserDevTools
Fordította
- Surge