Reputation: 577
I have a MDI Parent form created with a MenuList, I also have the MDI child form created... how do I go about using the MenuList to open the MDI child form within the parent form?
Upvotes: 0
Views: 1772
Reputation: 577
I ended up added within the event this code:
'Create a new instance of Form2
Dim NewMDIChild As New frmProductMaintenance()
'Set the parent of the MDI child form.
NewMDIChild.MdiParent = Me
'Display the new form.
NewMDIChild.Show()
Upvotes: 2