I'm working on an app that uses 3 comboboxes. There is a master combobox.
The items in the 2 other comboboxes are based on the selected item in the

As the thing is coded now it uses a series of if statements:

if selected item = "3 1/2" then
combobox2.add("item 1")
combobox2.add("item 2")
combobox3.add("item 1")
combobox3.add("item 2")

I'd like to use a dictionary

so that I can do something like this:


Ideas on how to set the dictionaries up will be greatly appreciated.