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.

Docking Tabbed

Thread ID:

Created:

Updated:

Platform:

Replies:

63786 Jul 9,2007 10:08 PM Jul 13,2007 01:50 AM Windows Forms 1
loading
Tags: Tools
ViN Kerai
Asked On July 9, 2007 10:08 PM

Hi,

I am using the following code snippet to dock a child form into parent, such that they appear tabbed.
dockingManager.DockControl(child, parent, DockingStyle.Tabbed, 100);

The new tab appears fine, however the tab part of child control always appears to the left of the parent.

child|parent

Is it possible to get the new tab(s) to appear at the end.
parent|child

The idea being that all new controls are docked within the parent but new controls get added to the end, rather than the start.

parent|child0|child1|child2

Regards
ViN.

Administrator [Syncfusion]
Replied On July 13, 2007 01:50 AM

Hi ViN,

You could change the DockTabPostion by using the SetTabPosition method in the Docking Manager. Please refer this code snippet:

this.dockingManager1.SetTabPosition(this.panel1,this.listBox1.SelectedIndex);


Please refer the sample in the below link which illustrates the above:
http://websamples.syncfusion.com/samples/Tools.Windows/F63786/main.htm

Thank you for using Syncfusion Products.

Kindly let us know if you need any further assistance.

Best Regards,
Jeba.

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.

;