By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,114 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

MDI Existing form

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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" <Wr*******@discussions.microsoft.com> wrote in message
news:BA**********************************@microsof t.com...
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

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.