# TopMostWindow Property The TopMostWindow property indicates if the dialog window is to be displayed on top of other windows. Syntax
    SKHtmlDialog.TopMostWindow [=bool]
Possible Values
    Boolean value that specifies or retrieves if the
    dialog box overlaps other windows.
The property is read/write. Remarks If this property is true other dialog boxes will not cover this one. To use this, define the parent property of the dialog box. Examples The following example creates a dialog box that cannot be covered by other windows.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    activewindow = SiteKiosk.WindowList.ActiveWindow;
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    mydialog.Title = true;
    mydialog.Parent = activewindow.Handle;
    mydialog.TopMostWindow = true;
    mydialog.URL = "http://www.myaddress.com";
    mydialog.ShowDialog();
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top