Region Property



 
The Region property contains the handle of the dialog region.


Syntax

    SKHtmlDialog.Region [=long]
Possible Values
    Long value that specifies or retrieves the handle of
    the region.

    The property is read/write.
Remarks
    None.
Examples
    The following example creates a dialog with a region that creates round corners.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    mydialog.URL = "http://www.sitekiosk.com";
    mydialog.Title = true;
    dlgw = mydialog.Width;
    dlgh = mydialog.Height;
    myregion = SiteKiosk.SiteKioskUI.CreateRegion();
    myregion.AddRoundRect(0, 0, dlgw, dlgh, 12, 12, "am");
    mydialog.Region = myregion.Handle;
    mydialog.ShowDialog();
    </SCRIPT>
    

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

Back to top