Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

change tab order

Posted on 2006-11-09
3
Medium Priority
?
203 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 500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

824 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