On Sat, 02 Apr 2016 16:11:19 +0100, Mark Lawrence wrote:

> A typical call to create an Entry field would be:-
> 
> e = Entry(master, validate='all', ...)
> 
> Once this call has been made is it possible to change the validation 
> mode at runtime?  Background, I'm knocking up an app so I can play with 
> the various modes so that I can see how they work, as I'm just venturing 
> into the tkinter world.

This is off the top of my head and I have not tested it.
Since validate is a config option this might do it:

e.config(validate='focus')

-- 
<Wildman> GNU/Linux user #557453
The cow died so I don't need your bull!
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to