• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 144
  • Last Modified:

Moving from one tab to another

I'm using the SSTab control and right now I have 5 tabs.  My problem is I don't know how I could go from one tab to another without "actually clicking" on the tabs.  I've tried before calling the tab_click sub, but the program just executes what's inside the procedure.  I didn't get to see it automatically moving from one tab to another.  
0
imby
Asked:
imby
  • 2
1 Solution
 
deightonCommented:
Try This

Private Sub Command1_Click()

    SSTab1.Tab = 2

End Sub

0
 
deightonCommented:
You change tabs by setting your tab property.  They're numbered 0,1,2,...n-1 for a tab box with n tabs.

e.g YourTab.Tab = 3 to select the fourth tag.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now