Tabcontrol order

I have a tabcontrol on my Form, and I want to change the order in which the tabs are display.
How can I change the tab order?
LVL 30
AxterAsked:
Who is Participating?
 
fulp02Connect With a Mentor Commented:
Selesct Your Tab in the designer Go to the properties window
Under Misc : There is  Tab Pages        COllection ...
Click the collection ... button and In the middle of
the page you will see an up and dow arrow select
your tab you want to move and move it to the top
of the list to be first to be displayed and move it
to the bottom of the list if you want it to be displayed
last and so on and so on ...
0
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
You can remove all the tabs at run time and re-insert them in the order you want.

        With TabControl1.TabPages
            .Clear()
            .Add(Me.TabPage1)
            .Add(Me.TabPage2)
            .Add(Me.TabPage3)
        End With
0
 
J_MakConnect With a Mentor Commented:
Just go to the properties window and select TabColletion. Then press the ellipsis which looks like this "...". Then a window should pop up. On the left isde you will see your tabs in the current order. You can change this order by firstly selecting a tab you want to move to a different position, then use the up and down arrows to do so. I hope that helps. Cheers!
0
 
AxterAuthor Commented:
Thanks
0
All Courses

From novice to tech pro — start learning today.