# Icon Property The Icon property contains the icon shown in the title bar of the dialog. Syntax
    SKHtmlDialog.Icon [=str]
Possible Values
    String that specifies or retrieves the absolute filename.
The property is read/write. Remarks Must be an .ico file. Examples The following example creates a dialog with an icon.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    mydialog.Icon = "c:/myicon.ico";
    mydialog.Title = true;
    mydialog.URL = "http://www.myaddress.com";
    mydialog.ShowDialog();
    </SCRIPT>
Applies to SiteKiosk v5.5 (and later versions). Back to top