Tab Control

jwindon

Registered User.
Local time
Today, 17:00
Joined
Aug 12, 2001
Messages
531
What is the command to move the focus to another tab on a form?

The form is lengthy and I want to put a command button on the bottom to take the user to the other tab.
 
Me.TabControlName.Pages(#).SetFocus

Where '#' is the page index of the tab you wish to view. Keep in mind that tab controls start at 0. So, your first tab is pages(0), the second tab is page(1), ect...

Good luck.

~Abby
 
Thanks Abby! Works just fine!
 

Users who are viewing this thread

Back
Top Bottom