G
Guest
I am adding items to a combo box, but they are not visible when the drop down
list is displayed. Ther items arethere because I canclick on the drop down
list and the items show up in the text box.
I can add the items in a variety of ways, but all methods give the same
result. Here is the simplest code I have tried, with ComboBox1 being the
only control on the form. All form and control properties are the defaults.
ComboBox1.Items.Add("Item 1")
ComboBox1.Items.Add("Item 2")
I saw something about a problem with McAffee Anit-virus 8.0, but I have a
sample project from another piece of software that loads the combo boxes
correctly. I can't find any difference between the sample code and what I am
doing. When I copy the controls from the ample project to a new Windows
form, they show the wrong behavior.
--
Thanks,
Bill Manring
(I re-posted this because these was a typo in the subject of the earlier post)
list is displayed. Ther items arethere because I canclick on the drop down
list and the items show up in the text box.
I can add the items in a variety of ways, but all methods give the same
result. Here is the simplest code I have tried, with ComboBox1 being the
only control on the form. All form and control properties are the defaults.
ComboBox1.Items.Add("Item 1")
ComboBox1.Items.Add("Item 2")
I saw something about a problem with McAffee Anit-virus 8.0, but I have a
sample project from another piece of software that loads the combo boxes
correctly. I can't find any difference between the sample code and what I am
doing. When I copy the controls from the ample project to a new Windows
form, they show the wrong behavior.
--
Thanks,
Bill Manring
(I re-posted this because these was a typo in the subject of the earlier post)