Solved

change tab order

Posted on 2006-11-09
3
197 Views
Last Modified: 2010-04-23
I have 3 tabs and want to change their order.  How can I change the order of my tabs on my form?

Thanks Chad
0
Comment
Question by:chadmanvb
3 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 17911265
Hi chadmanvb,

You can use this:

With TabControl1.TabPages
    .Clear()
    .Add(TabPage3)
    .Add(TabPage2)
    .Add(TabPage1)
End With

See an article I wrote in May 2004 from http://emoreau.s2i.com/ for more tips on the TabControl.

Cheers!
0
 
LVL 39

Accepted Solution

by:
appari earned 125 total points
ID: 17912040


If you want to change the order at design time itself, tabcontrols properties window select tabpages property window and there it displays current tab pages added to the tab control you can select a page and rearrange the order by clickig up and down arrows.
0
 

Author Comment

by:chadmanvb
ID: 17918498
That is what I needed.  Thanks, Chad
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.Net - KeyPress Event 4 36
location of a form 2 14
vb.net class 3 14
Help with preventing selection from a combobox 11 25
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question