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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I open a specific tab on a tabbed form (from main menu)

Status
Not open for further replies.

ToyFox

Programmer
Jan 24, 2009
161
US
I have a tabbed form. It has 6 different tabs. I want the user to select from the main menu (button click) and have the appropriate tab open. The tabs are all hidden on form open. How can I do this.
 
How are ya ToyFox . . .

Need more insight on the main menu and its makeup.


See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Each page of your Tabbed control has an index number (beginning with zero). Select the page you want to begin with in the Form_Load event like:
Code:
Me.tabApproach.Pages(1).SetFocus


Alan

[smurf]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top