tab control

10-18-2006, 09:39 PM
I have a button under the Tutorial Page tab. When you push the button i want it to go to the tab Tutorial_page_1. How can i do that?

10-18-2006, 09:42 PM
If you are using the tab control object, you can use:
Tabname.Tab = x
Replace x with the number the tab is. The very first tab is 0.

10-18-2006, 09:46 PM
my first tab is Tutorial. and the first page is Tutorial page so what would i use for Tabname? When i try It says there is not command .Tab

Im using vb express if that has anything to do with the proble.

10-18-2006, 09:49 PM
Are you talking about a tab dialog within your visual basic form?
If you are using Visual basic Professional / learning or enterprise, Tabobjectname.Tab = Number should work.

10-18-2006, 09:51 PM
does not work. Im using visual basic 2005 express edition.

10-18-2006, 09:54 PM
Ah Right. Okay. I am unfarmiliar with VB 2005. Is it similar to VB.NET?

10-18-2006, 09:56 PM
it uses mircosoft .net framework 2

10-18-2006, 10:00 PM
Maybe it would be better to post your question in a forum that specifically relates to VB 2005 or you could try the XVB .NET section. Sorry I can't be of help.

10-30-2006, 11:12 AM
SelectedIndex seems to be the VB2005 equivalent.

For example:

Me.TabControl1.SelectedIndex = 2

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum