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.

tabBarSplitterControl programatically select tabs.

Thread ID:

Created:

Updated:

Platform:

Replies:

64946 Jul 24,2007 11:54 AM Jul 25,2007 06:18 AM Windows Forms 1
loading
Tags: Tools
Jogesh Menon
Asked On July 24, 2007 11:54 AM


I am using the tabBarSplitterControl in my application. i want to be able to programatically select a certain tab. I am using the following code, but It does not work all the time .

What do i need to change ?

for (int i = 0; i < this.tabBarSplitterControl1.TabBarPages.Count; i++)
{
if (this.tabBarSplitterControl1.TabBarPages[i].Name.Equals(colName))
{
this.tabBarSplitterControl1.TabBarPages[i].Show();
this.tabBarSplitterControl1.Bar.TabBarChild.Tabs[i].Pushed = true;
}
else
{
this.tabBarSplitterControl1.Bar.TabBarChild.Tabs[i].Pushed = false;
}
}

Administrator [Syncfusion]
Replied On July 25, 2007 06:18 AM

Hi Jogesh,

Thank you for your details.

You can set the active page member to select a certain tab.



this.tabBarSplitterControl1.ActivePage = this.tabBarSplitterControl1.TabBarPages[0];



Please refer the sample in the below link and let us know if this helps.
http://websamples.syncfusion.com/samples/Tools.Windows/F64946/main.htm

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.

;