Solved

Moving from one tab to another

Posted on 1998-10-27
2
131 Views
Last Modified: 2010-04-30
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
Comment
Question by:imby
  • 2
2 Comments
 
LVL 18

Accepted Solution

by:
deighton earned 50 total points
ID: 1441778
Try This

Private Sub Command1_Click()

    SSTab1.Tab = 2

End Sub

0
 
LVL 18

Expert Comment

by:deighton
ID: 1441779
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now