Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Moving from one tab to another

Posted on 1998-10-27
2
Medium Priority
?
140 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 18

Accepted Solution

by:
deighton earned 200 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…
Suggested Courses

688 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