CloseOnInput Property



 
The CloseOnInput property indicates if the dialog is to be closed on any mouse click or keyboard input.


Syntax

    SKHtmlDialog.CloseOnInput [=bool]
Possible Values
    Boolean value that specifies or retrieves if the
    dialog is to be closed on input or not.

    The property is read/write.
Remarks
    None.
Examples
    The following example creates a dialog that will be closed directly after a mouse click or keyboard input has been noticed.

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

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

Back to top