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!

SSTAB Next/Back 1

Status
Not open for further replies.

BradB

MIS
Jun 21, 2001
237
US
I'm using an SSTAB as sort of wizard to walk a user through some steps. I want them to be able to click on either the tabs at the top OR the Next or Back commandbuttons to move through the wizard. I can't seem to find the function to allow the command buttons to move forward or backwards through the tabs.
 
Use the .TAB property of the SSTab control like this...

Next button

If SSTab1.Tab < (SSTab1.Tabs - 1) Then SSTab1.Tab = SSTab1.Tab + 1

Previous button

If SSTab1.Tab > 0 Then SSTab1.Tab = SSTab1.Tab - 1

Net_Giant

What fun is a technology if you can't crash the OS?
 
Thanks!

I tried the sstab1.Tab + 1 earlier, but it kept reverting to sstab1.Tab 1. By making the sstab1.Tab EQUAL to sstab1.Tab +1 made it works.

Many Thanks!

Bradb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top