Closable Property

The Closable property indicates if the dialog window can be closed.


    SKHtmlDialog.Closable [=bool]
Possible Values
    Boolean value that specifies or retrieves if the
    dialog can be closed or not.

    The property is read/write.
    If this property is false, the dialog can not be closed by the user even if the sysmenu property is true. But it can be closed from within a script using the CloseDialog method.
    The following example creates a dialog that cannot be closed.

    <SCRIPT TYPE="text/javascript">
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    mydialog.Title = true;
    mydialog.Sysmenu = true;
    mydialog.Closable = false;
    mydialog.URL = "";

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

Back to top