# OnSetFocus Event Fires when the focus has been set to the tray window. Syntax
    SiteKiosk.WindowList.NotificationArea.OnSetFocus = handler
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example shows an alert window when the focus has been set to the tray window.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.WindowList.NotificationArea.OnSetFocus = OnSetFocus;
    function OnSetFocus()
    {
       alert("Tray window has been focused");
    }
    </SCRIPT>
Applies to SiteKiosk v5.5 (and later versions). Back to top