Groups | Blog | Home
all groups > vb.net controls > march 2006 >

vb.net controls : Duplicate list items in inherited Combo Box-vb2005



ECathell
3/14/2006 4:38:34 PM
I have an inherited combo box. I create the selections that I want =
available to the user. When I drag the control over to a form the list =
is duplicated. If I then go into the forms control there is a list in =
the items within the designer. If I delete this list then my items are =
no longer duplicated. I looked through the designer code for both the =
control and the form and do not see how it is duplicating. I even added =
a me.list.clear in the initialize components sub...but that didn't work =
either....


--=20
Roman
3/21/2006 4:58:50 PM
Hi Eric

I have similar problem but with compoment which inherits from TreeView.
The component has one Node by default but after it is is built and put on a
form
I end up with two nodes.
Did you find a solution to your problem?

Best Regards
Roman

[quoted text, click to view]
I have an inherited combo box. I create the selections that I want available
to the user. When I drag the control over to a form the list is duplicated.
If I then go into the forms control there is a list in the items within the
designer. If I delete this list then my items are no longer duplicated. I
looked through the designer code for both the control and the form and do
not see how it is duplicating. I even added a me.list.clear in the
initialize components sub...but that didn't work either....


--
--Eric Cathell, MCSA

AddThis Social Bookmark Button