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.

How to sort tab pages in TabControlAdv?

Thread ID:

Created:

Updated:

Platform:

Replies:

36196 Oct 21,2005 04:02 PM Oct 22,2005 02:51 AM Windows Forms 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On October 21, 2005 04:02 PM

(Using v3.2.1) I would like to programmatically adjust the sequence of tab pages in a tab control AFTER the tab pages have been loaded. Is there any way to do this besides removing and re-adding the pages to the tab control? Thanks, s.s.

Mano J [Syncfusion]
Replied On October 22, 2005 02:51 AM

Hi Steve, The TabPages gets arranged in the order as they are added. To change the sequence of pages, you have to clear the tabPages and re-add them in the order you desired as shown in the following code snippet this.tabControlAdv1.TabPages.Clear(); this.tabControlAdv1.Controls.AddRange(new System.Windows.Forms.Control[] { this.tabPageAdv1, this.tabPageAdv3, this.tabPageAdv5, this.tabPageAdv4, this.tabPageAdv2}); Please refer to the sample attached that illustrates this issue and let me know if you have any questions. Thanks for using Syncfusion products. Regards, Mano F36196.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.

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.

;