CalHTMLPane v2.0 Guide Example Tag Usage


2: Forms

Attr: uiscrollcolors

Use Within:
<TEXTAREA>, <SELECT>,
Arguments: None
Synopsis:
This attribute attempts to match the scrollbar thumb color in the THREEDEE and FLUSH rendering styles to that of the installed Look And Feel.

It relies on consistent information being available within the PLAF UIDefaults hashtable.

To see the effect of using this attribute you need to view the given example in a L&F which uses a distinctive scrollbar thumb color, such as MetalLookAndFeel.

Example:

<TABLE border=2 cellspacing=2 cellpadding=20 bgcolor=uicontrol>
  <TR><TD align=center>
    <SELECT style=threedee uiscrollcolors align=abstop>
      <OPTION>One
      <OPTION>Two
      <OPTION>Three
      <OPTION>Four
      <OPTION>Five
      <OPTION>Six
      <OPTION>Seven
      <OPTION>Eight
      <OPTION>Nine
      <OPTION>Ten
      <OPTION>Eleven
      <OPTION>Twelve
    </SELECT>
    &nbsp;
    <SELECT style=flush size=4 uiscrollcolors align=abstop>
      <OPTION>Monday
      <OPTION>Tuesday
      <OPTION>Wednesday
      <OPTION>Thursday
      <OPTION>Friday
      <OPTION>Saturday
      <OPTION>Sunday
    </SELECT>
  </TD></TR>
</TABLE>

Rendering:
 

Guide Index  |  JavaDoc  |  Previous  |  Next