SKFileIcon ActiveX Control

This control displays the icons of files.

Members Table

    The following table lists the members provided by the SKFileIcon ActiveX control.

    Properties Description
    DrawMode Draw mode.
    Index Draw the icon with this index.
    Opened If the opened icon is drawn.
    Path Full path of the icon file.
    Selected If the selected icon is drawn.
    Small If the small icon is drawn.
    Text Optional icon text.
    Valid If the icon is valid.
    Events Description
    OnClick Fires when the icon is clicked.

    This ActiveX control is available in the form of scripts that can be used in combination with SiteKiosk. Use the SKFileIcon control to display the icons of files. To initialize the ActiveX control use the OBJECT tag and, in particular, the classID to identify the control. Set the initial object properties between the opening and closing OBJECT tags with PARAM tags. At a later point in time it will also be possible to access/modify these properties by means of scripts.
    The following example displays the icon of the sitekiosk.exe file and changes it when the links are clicked.

    <OBJECT ID="SKFileIcon" width="16" height="16"
      <PARAM NAME="Text" VALUE="Optional text">
      <PARAM NAME="Path" VALUE="c:\programs\sitekiosk\sitekiosk.exe">
      <PARAM NAME="Small" VALUE="0">
      <PARAM NAME="Opened" VALUE="1">
      <PARAM NAME="Selected" VALUE="0">
    <a href="javascript:ShowTextProp()">Show Text property</a>
    <a href="javascript:Selected()">Switch Selected property</a><br>
    <a href="javascript:Small()">Switch Small property</a><br>
    <a href="javascript:Opened()">Switch Opened property</a><br>
    <SCRIPT TYPE="text/javascript">
    SKFileIcon.Path = SiteKiosk.SiteKioskDirectory + "sitekiosk.exe";
    function ShowTextProp()
    function Selected()
       SKFileIcon.Selected = !SKFileIcon.Selected;
    function Small()
       SKFileIcon.Small = !SKFileIcon.Small;
    function Opened()
       SKFileIcon.Opened = !SKFileIcon.Opened;

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

Back to top