Combobox.HandleCreated question.

I decided to fill a combobox with items from a DataSet but it naturally should work only once. I chose HandleCreated method.

The odd thing is: the ComboBox is filled up TWICE: I see a double set of my record fields in the control. Is it something specific to this method that it fires twice

I checked my entire code and could not find another place where this function could be possibly called from.

What is a better way to do this task

Thanks.




Answer this question

Combobox.HandleCreated question.

  • WildRich

    Thank you very much.

  • Douglas H. Troy

    There are better places to fill a combox box other than HandleCreated event. This event can be fired many times.

    Since the combo box will be placed on a form (or a UserControl perhaps) then you can fill it in the form's constructor or in the form's Load event.


  • Combobox.HandleCreated question.