spacer

home / experts / dhtml / column24
Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans

Logo

Accessing the User-Defined System Colors, Part I
IE4Win32


 buttonface
 buttonhighlight
 buttonshadow
The three button-forming colors are synonymous with threedface, threedhighlight and threedshadow, and so are determined by the 3D Objects setting.
Buttons are colored the same as other 3D objects, including the application window itself.
Unlike the application window, a button uses only three (not five) colors to achieve the "raised" look. A fourth color, black, is added on the right and bottom to enhance the look.
A blow-up of a button to illustrate the color use.
HTML form buttons will automatically use this values. Custom "fake" buttons are, of course, a very popular DHTML technique. In our examples, we will demonstrate the use of the button color values for creating custom buttn-like objects.

 buttontext
The text color of button elements is set by first selecting the 3D Objects option under Item:, then specifying a color under Font:
The result is obvious: all text and icons in buttons are displayed in the buttontext color.
HTML form buttons will automatically use this value. It is useful for authors only when creating "fake" buttons.

Next, color values for menu bars and drop-down menus.



Produced by Peter Belesis and


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Search Engine Optimization: Selecting and Embedding Keywords · Are Google's Language Translation Web Services Ready for Prime Time? · Installing and Using Meeplace, the Business Review CMS
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
IBM DB2 10 for z/OS: Justifying the Upgrade · Living La Vida Colo: Choosing the Right Colocation Facility · FTC Concerns over Social Media Privacy Linger

All Rights Reserved. Legal Notices.
Created: Feb 23, 1999
Revised: Feb 23, 1999

URL: http://www.webreference.com/dhtml/column24/colsIEbutton.html