Hi beech
Thanks for the reply. Generally there's nothing wrong with using bindings or after, but to me they feel like more or less ugly or cumbersome workarounds here. Usually Tk widgets have everything built in, what is required to use them. I thought that correcting an erroneous entry could be a common use case of an Entry widget, but maybe it's not.
Anyway thanks for pointing me to afterIdle; might be a bit more robust than using after with some random timing value.
Cheers,
petro4213
In reply to Re^2: Tk::Entry widget with textvariable and validatecommand
by petro4213
in thread Tk::Entry widget with textvariable and validatecommand
by petro4213
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |