Setting a form = nothing
I have two forms: MDIForm and ChildForm.
To open the child form from the MDI I do:
Dim f As frmChildForm
If IsNothing(f) Then
f = New frmChildForm()
f.MdiParent = Me
where f is a module variable.
But if I close the ChildForm whith Me.Close and then I try to open it
again, I get problem, because f si not Nothing.
From the other site, I cannot remove the IF...THEN that avoids two
instances of the same form.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL