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

MDI

P: n/a
I am trying to create a MDI app, have 3 forms named:
frmParent
frmChild1
frmChild2

I use a menu and do a:
Dim frm As New frmChild1
frm.MdiParent = Me
frm.Show()
from the parent form.
This works fine. I need to call frmChild2 from the frmChild1 form sometimes
as well as from the parent form.
I can call it from the parent ok, but I cant figure out the code to call it
from the child1 form AND make it stay as a MDI child of the parent form. (it
just displays it as a single window.)
How can I show frmChild2 form from the frmChild1 form and keep it as an MDI
child of the parent?
I need to replace the ME with something else I guess in the child1 form, but
cant find the code combination
Thanks


May 17 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

Try this...

Dim frm as New frmChild2

frm.MdiParent = me.MdiParent

frm.Show

HTH

Barry

May 17 '06 #2

P: n/a
Thanks, worked..

"Barry" <ba***********@manx.net> wrote in message
news:11*********************@y43g2000cwc.googlegro ups.com...
Hi,

Try this...

Dim frm as New frmChild2

frm.MdiParent = me.MdiParent

frm.Show

HTH

Barry

May 17 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.