-
Dictionary question
Hi,
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
combobox.
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:
combobox2.add(menuDict(combobox1.text))
Ideas on how to set the dictionaries up will be greatly appreciated.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks