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.

Ability to float a form within a TabbedMDIManager

Thread ID:

Created:

Updated:

Platform:

Replies:

7831 Oct 10,2003 10:11 AM Nov 24,2009 07:39 AM Windows Forms 6
loading
Tags: Tools
Desis Machino
Asked On October 10, 2003 10:11 AM

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 11:59 AM

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 01:08 PM

> 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 02:52 PM

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 04:31 PM

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 05:03 PM

Never mind, I figures it out! Thanks.

Rajasekar B [Syncfusion]
Replied On November 24, 2009 07:39 AM

Hi,

Thanks for the update.

Thanks,
Rajasekar

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.

;