Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET General > Dumb tabpage question

Thread Tools Display Modes
Old 03-31-2012, 06:15 PM
Matanic Matanic is offline
Join Date: Mar 2012
Location: Florida
Posts: 23
Default Dumb tabpage question

On my form there is several tabs. I use tab 1 for data entry and have a button named convert at the bottum which kicks the math in to gear and spits out the new data on tab 3.

What I want is to add a event to the click handler, convert, to snap the user to tab 3 where the new data is...

I know this has to be simple!!!

Reply With Quote
Old 03-31-2012, 07:35 PM
passel's Avatar
passel passel is offline
Sinecure Expert

Super Moderator
* Guru *
Join Date: Jun 2003
Location: Upstate New York, usa
Posts: 7,977

Yes, did you look at the TabControl properties?
You could do something like,
TabControl1.SelectedIndex = 2
TabControl1.SelectedTab = TabPage3 'Depends on what you named your third page control
There Is An Island Of Opportunity In The Middle of Every Difficulty.
Miss That, Though, And You're Pretty Much Doomed.
Reply With Quote
Old 03-31-2012, 07:47 PM
Matanic Matanic is offline
Join Date: Mar 2012
Location: Florida
Posts: 23

passel thank you very much that works great, and simple (knew it had too be!)
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..