On 7/25/2011 8:31 AM, Peter Otten wrote:
Saul Spatz wrote:

That doesn't work, I'm being stupid,  The user might type anywhere in the
string, not just at the end.  I need

return all([c in '1234567890abcdefABCDEF ' for c in after])

If one wants to validate keystrokes, rather than the entire field after the fact, is it possible to set an onkey handler, that will pass on valid keys?

--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to