Will Page work with additional entry edits? Not sure if I asking the question properly.
For instance, it a user is prompted for a name and the name is not on file, can the prompt be returned to the same field and an error message displayed?
Hi Tom,
That really isn't a Page thing, but a Python thing.
Since you are using event driven programming paradigm, this isn't really an issue. You can use a <Leave> event which will fire when the user leaves your entry widget, check the name in your data file then if it is not on file, display an info message box and direct the entry widget to get focus again.
I hope this helps,
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Tom,
That really isn't a Page thing, but a Python thing.
Since you are using event driven programming paradigm, this isn't really
an issue. You can use a <Leave> event which will fire when the user leaves
your entry widget, check the name in your data file then if it is not on
file, display an info message box and direct the entry widget to get focus
again.
I hope this helps,
Greg
Will Page work with additional entry edits? Not sure if I asking the question properly.
For instance, it a user is prompted for a name and the name is not on file, can the prompt be returned to the same field and an error message displayed?
Thanks.
Tom Cordes, Python newbie
Sent from Mail for Windows 10
Hi Tom,
That really isn't a Page thing, but a Python thing.
Since you are using event driven programming paradigm, this isn't really an issue. You can use a <Leave> event which will fire when the user leaves your entry widget, check the name in your data file then if it is not on file, display an info message box and direct the entry widget to get focus again.
I hope this helps,
Greg
Thanks much Greg.
Tom
On Tue, Jul 17, 2018 at 8:15 AM, Greg Walters gregwa2018@users.sourceforge.net wrote: