T
Tom
Hi
I have a custom combobox that adds a few default values within the New
constructor. The combobox is set to dropdown list so only these values
are available at runtime.
The problem i am having is that when the combobox is added to a form,
the Initilization sub of the form adds these values in as an AddRange
for the combo box, therefore dumplicating the items in the box when
the app is run.
Does anyone know how to stop the form adding the items to the
initilization? I am having to delete the problem line before running
each time which is a little bit of a pain.
Thanks
Tom
I have a custom combobox that adds a few default values within the New
constructor. The combobox is set to dropdown list so only these values
are available at runtime.
The problem i am having is that when the combobox is added to a form,
the Initilization sub of the form adds these values in as an AddRange
for the combo box, therefore dumplicating the items in the box when
the app is run.
Does anyone know how to stop the form adding the items to the
initilization? I am having to delete the problem line before running
each time which is a little bit of a pain.
Thanks
Tom