Daniel, another idea is to use the ValidatingEntry widget by Fredrik Lundh. It's on the Tkinter wiki here: http://tkinter.unpy.net/wiki/ValidateEntry
what you could do is to make a FloatEntry that inherits from a StringEntry, but over-rides its Validate method. Look at the IntegerEntry for an example. I'm working on something similar myself at the moment. cheers S -- Stewart Midwinter [EMAIL PROTECTED] [EMAIL PROTECTED] _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
