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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Ability to float a form within a TabbedMDIManager

Thread ID:





7831 Oct 10,2003 02:11 PM UTC Nov 24,2009 12:39 PM UTC WinForms 6
Tags: Tools
Desis Machino
Asked On October 10, 2003 02:11 PM UTC

Is it possible to allow a user to float a Form within a TabbedMDIManager and redock back to the manager. What I am asking is basically the same functionality within the DockingManger, but also within the TabbedMDIManager. I would use the DockingManager, however, the docking manager will only allow me to add controls, and not multilple forms. Thanks, Vikram

Arun Srinivasan [Syncfusion]
Replied On October 10, 2003 03:59 PM UTC

Vikram, There is no support to float MDI Child Forms that are tabbed in a Tabbed Mdi Manager. However, you can make a docked (using our DockingManager) control tab into the TabbedMDIManager. Our DockingManager does support docking Forms, so this will let you use forms and not just controls. But the caveat when you use forms is that they will not be MDI Child Forms, hence you will lose TabbedMdi features like menus merging with the main menu. Regards, Arun

Desis Machino
Replied On October 10, 2003 05:08 PM UTC

> Our DockingManager does support docking Forms, so this will let you use forms and not just controls. I tried to add a Form to the dockingManager however, when I do, I get an error "Cannot add a top level control to a control". I am attempting to add the form with the DockControl method (ie. dockingManager1.DockControl(form1, DockingStyle.Left, 200) ) Can you tell me what I am doing wrong, or could you point me to an example which has a documentmanager maintaining multiple forms.

Administrator [Syncfusion]
Replied On October 10, 2003 06:52 PM UTC

Hi Vikram, Please set the TopLevel and TopMost properties of the hostform to true. In the docked forms, please set the TopLevel property to false and the FormBorderStyle property to FormBorderStyle.None enumeration value. This should do the job. I have attached a sample application here which shows how this can be accomplished. Form1 is the hostform. Form2 and Form3 are docked as a tabbed group to the right. Form4 is docked to the top and Form5 is a auto-hidden docking window on the left. Let me know if this helps. Please feel free to contact us if you need any additional information. Thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion Inc.

Chris Burke
Replied On November 23, 2009 09:31 PM UTC

I've run into this same issue, but setting the TopMost and TopLevel properties to true for the host form while setting them to false to the floating forms has solved this problem. It does, however, cause another problem. In run time the Application is always on top, as you would expect with setting the top most proerty to true, and anytime I undock a floating form, it falls behind the main form, and I can't see it. But these behaviors are unwanted. Is there another solution to this problem? Thanks.

Chris Burke
Replied On November 23, 2009 10:03 PM UTC

Never mind, I figures it out! Thanks.

Rajasekar B [Syncfusion]
Replied On November 24, 2009 12:39 PM UTC


Thanks for the update.



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