|
From: Techentin, R. W. <tec...@ma...> - 2005-08-12 12:20:03
|
> style map TEntry -fieldbackground {invalid #FF7777}
>
> This doesn't work everywhere -- in particular, it will have
> no effect on Windows XP (since the EP_EDITTEXT theme part
> always uses system colors, and there's no ETS_* flag
> corresponding to an "invalid" state). "-foreground"
> ought to work in all themes AFAIK.
But that's not a WindowsXP limitation, is it? My Firefox browser displays a
yellow background in the URL entry for secure connections. It must be
possible to change the background on XP.
> I will adjust my use to use a red foreground rather
> than the lightyellow bg for invalid that we had.
> However, this isn't ideal for those cases where an
> empty entry field is also not valid ...
Also don't forget that a red foreground is indistinguishable from a black
foreground for the small percentage of (mostly) guys who are color blind.
Bob
--
Bob Techentin tec...@ma...
Mayo Foundation (507) 538-5495
200 First St. SW FAX (507) 284-9171
Rochester MN, 55901 USA http://www.mayo.edu/sppdg/
|