CalHTMLPane v2.0 Guide Example Tag Usage


2: Forms

Attr: bgcolor
Attr: bordercolorlight
Attr: bordercolordark
Attr: bordercolor
Attr: text
Attr: arrowcolor

Use Within:
<INPUT> <TEXTAREA>, <SELECT>, <BUTTON>, <LABEL>
Arguments: A hexidecimal color code or default color name
e.g. bordercolorlight=A0A0A0 bordercolordark=green
Synopsis:
bgcolor determines the base control color of the form component.

bordercolorlight sets the highlight color of the component.

bordercolordark sets the shadow color of the component.

bordercolor sets the background of text components, lists etc.
except when used within <LABEL> when it sets the label border color

text sets the foreground (text) color.

arrowcolor sets the color of arrows within comboboxes and scroll buttons.

Example:

<TABLE border=3 cellspacing=3 cellpadding=5 bgcolor=6688aa>
  <TR><TD align=center>
    <SELECT style=flush text=white arrowcolor=white align=bottom>
      <OPTION>Winnie the Pooh
      <OPTION>Bambi
      <OPTION>Babe
      <OPTION>E.T.
    </SELECT>
  </TD></TR>
  <TR><TD>
    <TEXTAREA style=threedee bgcolor=6688aa rows=4 bordercolor=ddddff
    align=bottom>Target locked...
    </TEXTAREA>
  </TD></TR>
  <TR><TD align=center>
    <INPUT style=threedee type=button bgcolor=dd0000 text=white
     value=Fire align=bottom>
  </TD></TR>
</TABLE>

Rendering:

Guide Index  |  JavaDoc  |  Previous  |  Next