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.

TabControlAdv Change Order of TabPage

Thread ID:

Created:

Updated:

Platform:

Replies:

74094 May 29,2008 11:10 AM May 29,2008 11:55 PM Windows Forms 1
loading
Tags: Tools
John Slater
Asked On May 29, 2008 11:10 AM

I am dynamically adding Tab Pages to a TabControlAdv, and would like to have the ability to change the order of the Tabs later on based on criteria I will collect from user input. I am unclear on the proper way to do this.


Mano J [Syncfusion]
Replied On May 29, 2008 11:55 PM

Hi,

You have to clear the tabpages and re-add them in the desired order.


this.tabControlAdv1.TabPages.Clear();

this.tabControlAdv1.TabPages.AddRange(new TabPageAdv[]
{
this.tabPageAdv4,
this.tabPageAdv3,
this.tabPageAdv2,
this.tabPageAdv1
});



Thanks,
Mano


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.

;