178 lines
5.8 KiB
HTML
178 lines
5.8 KiB
HTML
<HTML>
|
|
<BODY bgcolor=ffffff>
|
|
<P>
|
|
<TABLE width=100% cellspacing=0 cellpadding=0>
|
|
<TR>
|
|
<TD>
|
|
<FONT size=-1><B>CalHTMLPane v2.0 Guide</B></FONT>
|
|
</TD>
|
|
<TD align=right>
|
|
<FONT size=-1><B>Example Tag Usage</B></FONT>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<HR width=100% size=1 color=black>
|
|
<P>
|
|
<FONT size=+1><B>2: Forms</B></FONT>
|
|
<P>
|
|
<BLOCKQUOTE>
|
|
<P>
|
|
<B>Tag: INPUT (submit)</B><BR>
|
|
<B>Tag: INPUT (reset)</B><BR>
|
|
<B>Tag: INPUT (button)</B><BR>
|
|
<P>
|
|
<BLOCKQUOTE>
|
|
<TABLE border align=center cellpadding=12 width=100%>
|
|
|
|
<TR>
|
|
<TD>
|
|
<B>Default Rendering (no color modification):</B>
|
|
<P>
|
|
<FORM>
|
|
<table align=center border=2 cellspacing=2 cellpadding=10 width=400 bgcolor=uicontrol>
|
|
<colgroup span=4 align=center width=25%>
|
|
</colgroup>
|
|
<tr><th> </th><th>lookandfeel</th><th>threedee</th><th>flush</th></tr>
|
|
<tr>
|
|
<td><B>uicontrol</B>
|
|
<td><input type=button style=lookandfeel value="Press Me"></td>
|
|
<td><input type=button style=threedee value="Press Me"></td>
|
|
<td><input type=button style=flush value="Press Me"></td>
|
|
</tr>
|
|
<tr bgcolor=white>
|
|
<td><B>white</B>
|
|
<td><input type=button style=lookandfeel value="Press Me"></td>
|
|
<td><input type=button style=threedee value="Press Me"></td>
|
|
<td><input type=button style=flush value="Press Me"></td>
|
|
</tr>
|
|
<tr bgcolor=black>
|
|
<td><B><FONT color=white>black</FONT></B>
|
|
<td><input type=button style=lookandfeel value="Press Me"></td>
|
|
<td><input type=button style=threedee value="Press Me"></td>
|
|
<td><input type=button style=flush value="Press Me"></td>
|
|
</tr>
|
|
<tr bgcolor=ddccee>
|
|
<td><B>(light)</B>
|
|
<td><input type=button style=lookandfeel value="Press Me"></td>
|
|
<td><input type=button style=threedee value="Press Me"></td>
|
|
<td><input type=button style=flush value="Press Me"></td>
|
|
</tr>
|
|
<tr bgcolor=557733>
|
|
<td><B>(dark)</B>
|
|
<td><input type=button style=lookandfeel value="Press Me"></td>
|
|
<td><input type=button style=threedee value="Press Me"></td>
|
|
<td><input type=button style=flush value="Press Me"></td>
|
|
</tr>
|
|
</table>
|
|
</FORM>
|
|
<BR>
|
|
</TD></TR>
|
|
<TR><TD>
|
|
<B>Setting color attributes:</B>
|
|
<P>
|
|
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
|
|
<tr>
|
|
<td><FONT color=navy>
|
|
<TABLE border=2 cellspacing=2 cellpadding=5 width=200 bgcolor=uicontrol><BR>
|
|
<code> </code><COLGROUP span=2 align=center width=50%></COLGROUP><BR>
|
|
<code> </code><TR><TH>threedee</TH><TH>flush</TH></TR><BR>
|
|
<code> </code><TR bgcolor=aa88aa><TD><BR>
|
|
<code> </code><INPUT type=button style=threedee bgcolor=aa88aa value="Press Me"><BR>
|
|
<code> </code><INPUT type=button style=flush bgcolor=aa88aa value="Press Me"><BR>
|
|
<code> </code></TD></TR><BR>
|
|
|
|
<code> </code><TR><TD><BR>
|
|
<code> </code><INPUT type=button style=threedee bgcolor=779988 value="Press Me"><BR>
|
|
<code> </code><INPUT type=buton style=flush bgcolor=779988 value="Press Me"><BR>
|
|
<code> </code></TD></TR><BR>
|
|
|
|
<code> </code><TR bgcolor=ee99aa><TD><BR>
|
|
<code> </code><INPUT type=button style=threedee bgcolor=ee99aa value="Press Me"><BR>
|
|
<code> </code><INPUT type=button style=flush bgcolor=ee99aa value="Press Me"><BR>
|
|
<code> </code></TD></TR><BR>
|
|
|
|
<code> </code><TR><TD><BR>
|
|
<code> </code><INPUT type=button style=threedee bgcolor=ccaa22 value="Press Me"><BR>
|
|
<code> </code><INPUT type=button style=flush bgcolor=ccaa22 value="Press Me"><BR>
|
|
<code> </code></TD></TR><BR>
|
|
|
|
|
|
</TABLE></FONT>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<P>
|
|
</TR>
|
|
</TD>
|
|
<TR><TD>
|
|
<P>
|
|
<B>Rendering:</B>
|
|
<BR>
|
|
<table align=center border=2 cellspacing=2 cellpadding=5 width=200 bgcolor=uicontrol>
|
|
<colgroup span=2 align=center width=50%>
|
|
</colgroup>
|
|
<tr><th>threedee</th><th>flush</th></tr>
|
|
<tr bgcolor=aa88aa>
|
|
<td><input type=button style=threedee bgcolor=aa88aa value="Press Me"></td>
|
|
<td><input type=button style=flush bgcolor=aa88aa value="Press Me"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type=button style=threedee bgcolor=779988 value="Press Me"></td>
|
|
<td><input type=button style=flush bgcolor=779988 value="Press Me"></td>
|
|
</tr>
|
|
<tr bgcolor=ee99aa>
|
|
<td><input type=button style=threedee bgcolor=ee99aa value="Press Me"></td>
|
|
<td><input type=button style=flush bgcolor=ee99aa value="Press Me"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type=button style=threedee bgcolor=ccaa22 value="Press Me"></td>
|
|
<td><input type=button style=flush bgcolor=ccaa22 value="Press Me"></td>
|
|
</tr>
|
|
</table>
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD>
|
|
The inner highlight of the <B>flush</B> style can be removed by
|
|
setting the control's <B>bordercolorlight</B> to the same color as its background
|
|
<P>
|
|
<table align=center bgcolor=ffffdd cellspacing=0 cellpadding=4 rules=none bordercolor=black frame=border>
|
|
<tr><td>
|
|
<TABLE align=center border=2 cellspacing=2 cellpadding=5 width=100 bgcolor=aabbcc><BR>
|
|
<TR><TD><BR>
|
|
<code> </code><INPUT type=button align=bottom style=flush bgcolor=aabbcc<BR>
|
|
<code> </code>bordercolorlight=aabbcc value="Press Me"><BR>
|
|
</TD></TR><BR>
|
|
</TABLE>
|
|
</td></tr>
|
|
</table>
|
|
<P>
|
|
|
|
|
|
<table align=center border=2 cellspacing=2 cellpadding=5 width=100 bgcolor=aabbcc>
|
|
<tr><td>
|
|
<input type=button align=bottom style=flush bgcolor=aabbcc bordercolorlight=aabbcc value="Press Me">
|
|
</td></tr>
|
|
</table>
|
|
</TD>
|
|
</TR>
|
|
|
|
</TABLE>
|
|
</BLOCKQUOTE>
|
|
</BLOCKQUOTE>
|
|
|
|
<TABLE align=center width=50%>
|
|
<TR>
|
|
<TD align=center>
|
|
<A href="../CalGuide.html">Guide Index</A> |
|
|
<A href="../javadoc/overview-tree.html"> JavaDoc</A> |
|
|
<A href="guide-Forms-uiscrollcolors.html"> Previous</A> |
|
|
<A href="guide-Forms-checkbox.html"> Next</A>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
</BODY>
|
|
</HTML>
|