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

opening a tab from code.

Status
Not open for further replies.

AT76

Technical User
Apr 14, 2005
460
US
Is it posible to open a specific page tab from code and pass a value to the page?

Thanks!
 
Hello:

Page4.SetFocus

would make page 4 of your tab sheet be active. Just substitute the page you want to go to.
Regards
Mark
 
Got it mhartman1. After I set it active, can I make it open to that page automatically?
 
Hello

On the FormOpen event, of your form place the above code. Each time the form is open, your tab sheet will open to the page you code for.

Regards

Mark Hartman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top