MDI Existing form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Howdy,

I have an existing form loaded with all sorts of pretty boxes and buttons. I want to make this an MDI child and need to create an MDI parent OR make this a parent and launch children from it.

I'll just say the files are:

frmExistingForm
frmNewMain
frmNewChild
 
Here is what I would do.
1)Make the frmNewMain the MDI Parent (set the MDI Container property to
true).

2), create a menu with File as a top level item and New an item under File.

3) for the code under New Click Event.

4). Add this code:
dim frmNewChild as frmExistingForm
frmNewChild.parent = Me
frmNewChild.show

Hope this helps.

Wrauberto said:
Howdy,

I have an existing form loaded with all sorts of pretty boxes and buttons.
I want to make this an MDI child and need to create an MDI parent OR make
this a parent and launch children from it.
 
Back
Top