Help - Assigning MDI Child to MDI Container when called in a M

Help - Assigning MDI Child to MDI Container when called in a M

Post by TGVv » Fri, 08 Apr 2005 01:15:01


Thanks for the help. I used suggestion 1. I created a public variable and
assigned the mdi container (MDIFORM1) to it on program start.
Public mdi as Form
mdi = Me

Then in the code mudule it became simple:
Dim fm as new Form1
fm.MDIParent = mdi

It works.

Thanks

Leo