G
Guest
I have two forms in my application, the main form (frmMain) and a details
form (frmEditDetails) I have a button on main to open the details form and
close the main form. And the opposite in the details form.
However instead of actually opening one and closing the other it just puts
one over the top. Then when I go from main > details > main I have 3 forms
open.
Using the following code on the Main form:
Dim Details As New frmEditDetails
Details.Show()
Dim Main As New frmMain
Main.Close()
Please someone tell me how I am going wrong.
Thanks
form (frmEditDetails) I have a button on main to open the details form and
close the main form. And the opposite in the details form.
However instead of actually opening one and closing the other it just puts
one over the top. Then when I go from main > details > main I have 3 forms
open.
Using the following code on the Main form:
Dim Details As New frmEditDetails
Details.Show()
Dim Main As New frmMain
Main.Close()
Please someone tell me how I am going wrong.
Thanks