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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TabbedMDIManager - programmatically creating new tab group and moving some forms there

Thread ID:

Created:

Updated:

Platform:

Replies:

95725 Jul 27,2010 03:43 PM UTC Jul 29,2010 02:23 PM UTC WinForms 2
loading
Tags: Tools
Administrator [Syncfusion]
Asked On July 27, 2010 03:43 PM UTC

Hi,

I can't find a way how to do it in v7.4. I am able to create new tab group (and move the active document there), but I also need to move other documents to that group as well. How do I do it?

Thanks!
-Andrew

Administrator [Syncfusion]
Replied On July 27, 2010 04:04 PM UTC

I found a way to do it in the simplest case (when there are no tab groups present), but it fails in more complicated scenarios. How do I find the corresponding TabHost, given the group name "details"?

// move detail views to a new tab group
var firstView = detailViews.FirstOrDefault();
if (firstView != null)
{
ActivateMdiChild(firstView);
MdiManager.CreateNewVerticalGroup("details");
}
foreach (var view in detailViews.Where(v => v != firstView))
{
ActivateMdiChild(view);
MdiManager.MoveToNextTabGroup();
}

Lokanath E [Syncfusion]
Replied On July 29, 2010 02:23 PM UTC

Hi Andrew,

Thanks for your interest in Syncfusion products.

We have attached a sample demonstrating how you can move documents from one tab group to another.

Please let us know if you have any concern on this.

Regards,
Lokanath.E



Tab_4e23e7c9.zip

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.

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

;