Connecting Tech Pros Worldwide Forums | Help | Site Map

How to create a new MDI child from another MDI child

Newbie
 
Join Date: Aug 2007
Posts: 14
#1: Oct 10 '07
my question is can we open one Mdi child form from other Mdi child form?

Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,904
#2: Oct 10 '07

re: How to create a new MDI child from another MDI child


Quote:

Originally Posted by VikasPradhan

my question is can we open one Mdi child form from other Mdi child form?

Yes, you will just need to set the new form's MdiParent attribute properly. Most likely you will want to do:

Expand|Select|Wrap|Line Numbers
  1. Child2.MdiParent = this.MdiParent;
  2.  
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,137
#3: Oct 10 '07

re: How to create a new MDI child from another MDI child


Hi VikasPradhan,

I've changed the title of your thread to better reflect the problem you're facing. Please use more descriptive thread titles for your question in the future.

Thanks
-Moderator
Newbie
 
Join Date: Aug 2007
Posts: 14
#4: Oct 11 '07

re: How to create a new MDI child from another MDI child


thanx for this guide

Quote:

Originally Posted by Motoma

Yes, you will just need to set the new form's MdiParent attribute properly. Most likely you will want to do:

Expand|Select|Wrap|Line Numbers
  1. Child2.MdiParent = this.MdiParent;
  2.  

Reply