Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reorder sstab 1

Status
Not open for further replies.

Lhuffst

Programmer
Jun 23, 2003
503
US
I have a form that has 2 tabs. Of course the user wants to switch the order. Since it is only 2 tabs, I thought that I could change the tab index but that doesn't work. Does anyone know how to do this or display the 2nd tab when the form is loaded? Thanks lhuffst
 
TabIndex controls the order in which controls get focus on a form when you press the tab key.

To display the 2nd tab when the for is loaded....

Code:
Private Sub Form_Load()
    
    SSTab1.Tab = 1
    
End Sub



-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top