Select Right Tab

Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2007
Posts: 2
Reputation: Neco is an unknown quantity at this point 
Solved Threads: 0
Neco Neco is offline Offline
Newbie Poster

Select Right Tab

 
0
  #1
Jun 13th, 2007
Hi guys!

I want to click on some button and then to select right TabControl (for example: third). But when I create new instance of Form with TabControl it shows me first tab and I don't know how to change that!

Thanks in advance!
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 2
Reputation: Neco is an unknown quantity at this point 
Solved Threads: 0
Neco Neco is offline Offline
Newbie Poster

Re: Select Right Tab

 
0
  #2
Jun 13th, 2007
I solved that problem. In fact, that was vary simple! ;-)

  1. this.tabControl1.SelectedIndex = 3;
or
  1. this.tabControl1.SelectedTab = this.tabPage3;

Veeeeery useful site:
http://www.syncfusion.com/FAQ/Window...efault.aspx#44
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum


Views: 1879 | Replies: 1
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC