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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Controlling tab of an SSTab

Status
Not open for further replies.

EdRev

Programmer
Aug 29, 2000
510
0
0
US
I want to be able to automatically go to tab(2) as soon as the user finished filling-in the last texbox of tab(1).

Can anybody tell me how to do it.

thanks,
 
on the LostFocus event of the text box, set the tab to 2. You'd probably want to put in some checking to be sure that the user really put in informtation where he/she should.
Private sub LastText_LostFocus()
' check to see if the information's filled in
If Len(Text1.Text) > 0 and Len(Text2.Text) > 0... Then
SSTab1.Tab = 1
End If

Keep in mind that the tabs start at 0, not 1.

Happy programming!
~Melissa


 
Thanks Melissa,

It worked!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top