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.

Tab Control Adv functionality

Thread ID:

Created:

Updated:

Platform:

Replies:

55221 Jan 25,2007 04:41 AM Jan 29,2007 05:18 PM Windows Forms 3
loading
Tags: Tools
Ronnie Kleinfeld
Asked On January 25, 2007 04:41 AM

Hi,

I need to open several user control in the DockingClientPanel.
I want to show the opened user controls the same way VS do it and as you do this in the example Visual Studio.NET Demo.

Can you make a simple example that only do this functionality.
I also want the close button.

I attached a file with some marking on it.

Thanks,
Ronnie


180.zip

Murugan [Syncfusion]
Replied On January 25, 2007 11:00 AM

Hi Ronnie,

In VSDemo sample, we have used TabbedMDIManager and DockingManager to achieve your requirements. When TabbedMDIManager is used, Calling DockingManager.SetAsMDIChild() opens the UserControl as TabbedDocument.

Here is the code snippet :

private void button1_Click(object sender, EventArgs e)
{

UCTextArea uc1 = new UCTextArea();
this.dockingManager1.SetEnableDocking(uc1, true);
this.dockingManager1.SetAsMDIChild(uc1, true);

}

I have also attached the sample. Please have look at the sample and let me know if it helps.

TDM_TabbedMDIChild

Thanks for using Syncfusion products.

Regards,
Murugan P.S

Ronnie Kleinfeld
Replied On January 26, 2007 04:16 PM

Hi,

Thanks for your reply.

This example is not good for my project.
My application is an mdi application and the form that contains the docking manager is a MdiChildForm.
Windows cannot handle mdi inside mdi thus your sample fails on run time.

Maybe you have another sample?

Thanks,
Ronnie

Murugan [Syncfusion]
Replied On January 29, 2007 05:18 PM

Hi Ronnie,

Sorry for the inconvenience caused. In MDIChild forms we could not create TabbedMDIDocument. It is not supported by Windows. TabbedMDIDocument can be created only on MDIParent form not in MDIChild forms.

Thanks for your patience.

Regards,
Murugan P.S

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.

;