corrupt assasin Posted July 1, 2003 Posted July 1, 2003 Hey all, How do i change a mdi child form from within a current mdi child form? Like, for example, in the first mdiChild form, it has a button, and when pressed, i want it to close the current mdiChild form, and show the new one.... i have tried a couple of methods, but all it seems to do is close the current mdiChild, and the parent is blank :( Help! Cheers Quote
*Experts* mutant Posted July 1, 2003 *Experts* Posted July 1, 2003 You have a button and you want to show a new instance of another form? If yes then: Dim someform As New SomeForm1() someform.MdiParent = Me.MdiParent someform.Show() Me.Close() Quote
corrupt assasin Posted July 1, 2003 Author Posted July 1, 2003 ah ha! thats what i was doing wrong, the Me.MdiParent... Thanks alot! :D Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.