suffa
suffa

Reputation: 3796

What is the proper control for updating a combobox

Can someone give me some direction as to the proper control to use to update the items in a combobox if a certain item is selected in another combobox? Thanks.

Upvotes: 0

Views: 129

Answers (1)

Mike Driscoll
Mike Driscoll

Reputation: 33071

If you need to update a list in a combobox, use it's SetItems(myNewList) method. I would keep a dictionary of the various lists you need and use that to populate the second combobox based on the selection in the first.

Upvotes: 2

Related Questions