Jan-31-2021, 11:41 AM
if I bind it to the first combobox selection
self.cboCust.bind('<<ComboboxSelected>>', fill_addrbox) self.cboAddr['values'] = (fill_addrbox())
and set the "def fill_addrbox(event):" I get this error: "
builtins.TypeError: fill_addrbox() missing 1 required positional argument: 'Event'" and if I change the %s to a placeholder(?) without the binding I get NO errors and NO addresses in the combobox
self.cboCust.bind('<<ComboboxSelected>>', fill_addrbox) self.cboAddr['values'] = (fill_addrbox())
and set the "def fill_addrbox(event):" I get this error: "
builtins.TypeError: fill_addrbox() missing 1 required positional argument: 'Event'" and if I change the %s to a placeholder(?) without the binding I get NO errors and NO addresses in the combobox