ForeColor Property

The BackColor property contains the color for the text used in the address field.


    document.all["id_name"].ForeColor [=color]
Possible Values
    ColorValue that specifies or retrieves the text color.

    The property is read/write.
    ColorValue: An RGB (Red, Green, Blue) 32-bit color value that defines a solid color. Each of the Red, Green, Blue portions represents the color intensity between 0 and 255 (or 0x00 to 0xff hexadecimal). The RGB color value can be calculated: ColorValue = Red + Green*256 + Blue*65536. Please note that this representation differs from HTML color values, which are hexadecimal RRGGBB.
    The following example shows the BackColor property when the link is clicked.

    <SCRIPT TYPE="text/javascript">
    function ShowProp()
    <OBJECT ID="URLComboBox" width="300" height="22px"
      <PARAM NAME="BackColor" value="16777215">
      <PARAM NAME="FontName" VALUE="Tahoma">
      <PARAM NAME="FontSize" VALUE="8.00">
      <PARAM NAME="FontBold" VALUE="0">
      <PARAM NAME="FontItalic" VALUE="0">
      <PARAM NAME="ForeColor" VALUE="65280">
    <a href="javascript:ShowProp()">Show ForeColor property</a>

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

Back to top