We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Set Parent form of a new form

Thread ID:

Created:

Updated:

Platform:

Replies:

1674 Nov 18,2002 06:29 PM Dec 1,2002 03:29 PM Windows Forms 2
loading
Tags: FAQ
Wayne Gilbert
Asked On November 18, 2002 06:29 PM

Question: When I launch a new form from a child form in an MDI application, the new form opens up as its own application rather than as a child form of the MDI container. How can I fix this problem? Thanks

Administrator [Syncfusion]
Replied On November 19, 2002 05:41 AM

Try setting the MdiParent property on your child form to the MDI parent.

Wayne Gilbert
Replied On December 1, 2002 03:29 PM

Yeh I finally figured this one out. The way to do it is when you launch the new child form, set the parent form of the new form you are about to launch as newForm.MdiParent = Me.ParentForm

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;