Set the data to combobox in VC.NET

  • Thread starter Thread starter ATong
  • Start date Start date
A

ATong

When we designing the interface of a dialog, how to assign
the data list to a Combo Box? From the property window, we
can only input the first item.

In VC6, it is easy to input next item of the list by
Ctrl_ENTER. It should be somewhere easily in VC.net, who
can tell me?
 
Can't you do it programatically with Combobox.Items.Add("Item")

All the designer is doing is coding those values for you, so you could add
them to an array and iterate through it? Usually, you can just add your
items in the designer and then hit Enter which will take you to the next
line.

HTH,

Bill
 
Back
Top