By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,165 Members | 1,409 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,165 IT Pros & Developers. It's quick & easy.

setting MyForm=Nothing doesn't clear all components

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"Jeremy" <gr***@hevanet.com> wrote
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
Nov 21 '05 #2

P: n/a
Jeremy,

In addition to Larry

Setting a Form to nothing in VBNet does nothing.

Cor
Nov 21 '05 #3

P: n/a
Well, I'm not. I'll search look into where it oughta be done. Thanks.

Jeremy

"Larry Serflaten" <se*******@usinternet.com> wrote in message
news:u5**************@TK2MSFTNGP11.phx.gbl...

"Jeremy" <gr***@hevanet.com> wrote
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

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.