|
-
Feb 15th, 2006, 03:28 PM
#1
Thread Starter
Addicted Member
Question on creating new forms
hey. In my program I have a button set to make new form appear. The code is as follows:
If fu Is Nothing Then
fu = New FormUpdate
End If
fu.ShowDialog()
fu is in a module by the way. The thing is that whenever I close the formFu, and reopen it with the button, all the variables are the same. They have the same information from opening it before. This makes me think that its not fully getting rid of it each time I close it. Is there some code I can put in fu to make it so that it completely removes it, and then each time I click the button it would be forced to make a new one of it, and I wouldnt have to manually reset all the variables? Is this the right way to approach this?
Thanks
John
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|