MDI OPen Child form from other child form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using VB.NET and trying to open an MDI Child form from another MDI Child
form. Am using on the Child1 click event but the Child2 isn't opening:

Dim Child1 As New frmchild2
Dim mdi1 As New frmparent
mdi1.IsMdiContainer = True
Child1.MdiParent = mdi1
Child1.Show()

Thanks,
-Kent
 
KentG said:
I am using VB.NET and trying to open an MDI Child form from another MDI
Child
form. Am using on the Child1 click event but the Child2 isn't opening:

\\\
Dim f As New FooForm()
f.MdiParent = Me.MdiParent
f.Show()
///

MDI containers cannot contain MDI containers.
 
Back
Top