Python Forum
[PySimpleGUI] Tutorial - Name, Address, Phone GUI
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PySimpleGUI] Tutorial - Name, Address, Phone GUI
#24
(Aug-07-2018, 10:25 AM)PySimpleGUI Wrote: Wow, that's just plain weird. I wasn't able to duplicate this.
The error messages....
They happens AFTER you press submit? Only if you make a different selection with combobox than the default?
Can you check what version of PySimpleGUI you have installed by typing
pip list
It happens just two steps away from the form shows up. First, making a selection at the ComboBox. Second, click Submit button.

The PySimpleGUI version is 2.7.0

Quote:The thinking on return values is as follows:
The caller of the GUI is assumed to be the designer. If the form is updated so that more or less input values are returned, then the assumption is that the caller knows to update those return values. The return values and the form need to be kept in sync.

It's relatively easy to edit both the return values and the form.
It's easy to edit the form, but values is not in our hand. The user has to modify every index number influenced by the form change. I emphasize the index "number" which can only be gotton by counting. It's very difficult to find out the error cuased by a wrong index number.
Reply


Messages In This Thread
RE: [PySimpleGUI] Tutorial - Name, Address, Phone GUI - by jfong - Aug-08-2018, 01:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PySimpleGUI Try Except jamesaarr 1 1,980 Nov-18-2021, 02:02 PM
Last Post: jamesaarr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020