G
Guest
I am trying to open another MDI Child form (that is not currently open) from
within another MDI Child. There is a "Next" button that should navigate to
the next form in the series, and I cannot get this to work. With VB6, it
would have been simple, but vb.NET is completely different.
Basically, I have a function on the MDI Parent that should open the new
child, that I am calling from the child currently open. This code executes
without error but then NOTHING happens.... It goes like this:
Public Sub ShowChildForm()
Dim MDIChild As New frmROS
MDIChild.MdiParent = Me
MDIChild.Show()
MDIChild.Dock = DockStyle.Fill
End Sub
Any ideas what I may be doing wrong?
Thanks,
-Valerie
within another MDI Child. There is a "Next" button that should navigate to
the next form in the series, and I cannot get this to work. With VB6, it
would have been simple, but vb.NET is completely different.
Basically, I have a function on the MDI Parent that should open the new
child, that I am calling from the child currently open. This code executes
without error but then NOTHING happens.... It goes like this:
Public Sub ShowChildForm()
Dim MDIChild As New frmROS
MDIChild.MdiParent = Me
MDIChild.Show()
MDIChild.Dock = DockStyle.Fill
End Sub
Any ideas what I may be doing wrong?
Thanks,
-Valerie