SetFocus Method



 
The SetFocus method sets the focus to a window.


Syntax

    SiteKioskWindow.SiteKioskWebBrowser.SetFocus()
Return Value
    None.
Remarks
    None.
Examples
    The following example sets the focus back to the window after 3 seconds.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    window.setTimeout("SiteKioskWindow.SiteKioskWebBrowser.
    SetFocus();", 3000);
    </SCRIPT>

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top