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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top