setting MyForm=Nothing doesn't clear all components

  • Thread starter Thread starter Jeremy
  • Start date Start date
J

Jeremy

I have an mdi app with a misbehaving form. In its closed event I do
MyForm=Nothing. But when the user re-opens the form, one of the comboboxes
remembers the previous displayvalue. Is there something else I need to do
to kill the components on the form?

Jeremy
 
Jeremy said:
I have an mdi app with a misbehaving form. In its closed event I do
MyForm=Nothing. But when the user re-opens the form, one of the comboboxes
remembers the previous displayvalue. Is there something else I need to do
to kill the components on the form?

Just out of curiosity, where are you calling the form's Dispose method?

LFS
 
Jeremy,

In addition to Larry

Setting a Form to nothing in VBNet does nothing.

Cor
 
Well, I'm not. I'll search look into where it oughta be done. Thanks.

Jeremy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top