Menu

Adding Entry Edits

2018-07-16
2018-07-17
  • THOMAS CORDES

    THOMAS CORDES - 2018-07-16

    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

     
  • Greg Walters

    Greg Walters - 2018-07-17

    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

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.