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
close icon

Set Parent form of a new form

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

2 Replies

AD Administrator Syncfusion Team November 19, 2002 10:41 AM UTC

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


WG Wayne Gilbert 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

Loader.
Live Chat Icon For mobile
Up arrow icon