Solved

Tabcontrol order

Posted on 2004-09-23
4
536 Views
Last Modified: 2008-02-01
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?
0
Comment
Question by:Axter
4 Comments
 
LVL 2

Accepted Solution

by:
fulp02 earned 400 total points
ID: 12138052
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
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 50 total points
ID: 12138805
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
 
LVL 7

Assisted Solution

by:J_Mak
J_Mak earned 50 total points
ID: 12140052
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
 
LVL 30

Author Comment

by:Axter
ID: 12144222
Thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Variable Event ? 3 36
VB.NET 2008 (3.5 Framework) Remove all items from List 3 31
Help with converting xml file to excel using VB.NET 3 25
Iteration Help (Asp.net VB) 5 24
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

792 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