PC Review


Reply
Thread Tools Rate Thread

how to change to another page in TabControl?

 
 
CafeCat
Guest
Posts: n/a
 
      1st Oct 2003
There are server Tab Pages in a Tab Control. How to change to another page
in program?

thanx


 
Reply With Quote
 
 
 
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      1st Oct 2003
Change SelectedIndex property of the tab control. If you need to make a
particular tab page tabpage1 active, use:
tabControl.SelectedIndex = tabControl.IndexOf(tabpage1);

"CafeCat" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> There are server Tab Pages in a Tab Control. How to change to another page
> in program?
>
> thanx
>
>



 
Reply With Quote
 
Mark Johnson
Guest
Posts: n/a
 
      4th Oct 2003
tabControlPersonalDataDaten.SelectedIndex = 0; // works with
Framework.Compact
// tabControlPersonalDataDaten.IndexOf(tabPagePersonalDataName); //
Does not work


"CafeCat" <(E-Mail Removed)> schrieb im Newsbeitrag
news:%(E-Mail Removed)...
> There are server Tab Pages in a Tab Control. How to change to another page
> in program?
>
> thanx
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TabControl Change event Jason Rangle Microsoft C# .NET 4 28th Feb 2006 11:39 PM
Got a TabControl. Add a page. Now create a new control and glue it to the page Phlip Microsoft Access Form Coding 5 29th Jul 2005 11:38 AM
Add Page to TabControl in VBA SFatz Microsoft Access Forms 3 14th Oct 2004 03:34 PM
Change tab color in tabcontrol? Mark Cordell Microsoft C# .NET 0 14th Dec 2003 11:53 PM
Switch panel from tabcontrol page to page problem Tim Microsoft Dot NET Compact Framework 1 30th Oct 2003 06:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:08 AM.