Solved

Moving from one tab to another

Posted on 1998-10-27
2
136 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

828 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