how set active tab in control when form opened ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a tabbed control, when I open the form that it is in, how do I control which tab is the active tab
Different tabs need to be active under different circumstances.
 
David said:
I have a tabbed control, when I open the form that it is in, how do I control which tab is the active tab?
Different tabs need to be active under different circumstances.
 
If you look at the properties of the pages in a tab control, you will see that
each page has a page property which is the page#. You can make for example page
3 the active page when you open the form by putting the following code in the
form's Open event:

Me!NameOfTabControl.Value = 3
 
Back
Top