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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set Parent form of a new form

Thread ID:





1674 Nov 18,2002 11:29 PM UTC Dec 1,2002 08:29 PM UTC WinForms 2
Tags: FAQ
Wayne Gilbert
Asked On November 18, 2002 11:29 PM UTC

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 10:41 AM UTC

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

Wayne Gilbert
Replied On December 1, 2002 08:29 PM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon