Re: How to enter a floating-point number ?




Out of interest.....

What is the "proper" way to change the text colour of Entry, SpinButton and CheckButton widgets?

I have a form which displays an entry from a database, and I wish to provide feedback on eroneous field 
values much as was mentioned in your post.

Currently I validate the fields, and if they're invalid, simply set the foreground colour of the widget to 
red.  This doesn't work all that well with the widgets mentioned above, however.  SpinButton fg colour is 
actually used for the little arrows, which actually doesn't look too bad...  but it doesn't really fit the 
goal.  And with CheckButton widgets, it seems to (occasionally) set the colour of the little dotted box 
around the outside used to indicate keyboard focus.  ;)


Any suggestions would be much appreciated.

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]