Closable Property



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


Syntax

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

    The property is read/write.
Remarks
    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.
Examples
    The following example creates a dialog that cannot be closed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    mydialog.Title = true;
    mydialog.Sysmenu = true;
    mydialog.Closable = false;
    mydialog.URL = "http://www.myaddress.com";
    mydialog.ShowDialog();
    </SCRIPT>
    

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

Back to top