(Aug-07-2018, 10:25 AM)PySimpleGUI Wrote: Wow, that's just plain weird. I wasn't able to duplicate this.It happens just two steps away from the form shows up. First, making a selection at the ComboBox. Second, click Submit button.
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 typingpip list
The PySimpleGUI version is 2.7.0
Quote:The thinking on return values is as follows: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.
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.