TopMostWindow Property

The TopMostWindow property indicates if the dialog window is to be displayed on top of other windows.


    SKHtmlDialog.TopMostWindow [=bool]
Possible Values
    Boolean value that specifies or retrieves if the
    dialog box overlaps other windows.

    The property is read/write.
    If this property is true other dialog boxes will not cover this one. To use this, define the parent property of the dialog box.
    The following example creates a dialog box that cannot be covered by other windows.

    <SCRIPT TYPE="text/javascript">
    activewindow = SiteKiosk.WindowList.ActiveWindow;
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    mydialog.Title = true;
    mydialog.Parent = activewindow.Handle;
    mydialog.TopMostWindow = true;
    mydialog.URL = "";

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

Back to top