Parent Property



 
The Parent property contains the parent window of the dialog.


Syntax

    SKHtmlDialog.Parent [=long]
Possible Values
    Long value that specifies or retrieves the parent
    window handler.

    The property is read/write.
Remarks
    None.
Examples
    The following example creates a dialog and sets the active window to be its parent.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    activewindow = SiteKiosk.WindowList.ActiveWindow;
    mydialog.Parent = activewindow.Handle;
    mydialog.URL = "http://www.myaddress.com";
    mydialog.ShowDialog();
    </SCRIPT>
    

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

Back to top