MDI - how to open a child from a child within MDI parent form?

  • Thread starter Thread starter Marina Neyman
  • Start date Start date
M

Marina Neyman

Hi,

I am trying to open a child from another child within MDI. I need to keep
everything within one parent form.

I wrote the following for each of the menu buttons on MDI parent:

Public Sub ShowMdiChildWindow(ByVal frm As Form)
If frm Is Nothing Then
Me.Show()
Else
frm.MdiParent = Me
frm.Show()

End If

End Sub
 
Back
Top