Show particular Tab when opening form

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

Guest

I have a form with a Tab control and Tabs 1,2,3. When the form opens, tab 1
is shown which is appropriate for most cases. There are occassions that I
would like a different tab (eg 3) to show as the form opens. Is this
possible? Thanks for any help.
 
Steve said:
I have a form with a Tab control and Tabs 1,2,3. When the form opens, tab 1
is shown which is appropriate for most cases. There are occassions that I
would like a different tab (eg 3) to show as the form opens. Is this
possible? Thanks for any help.


I have no idea what you mean by "There are occassions".

The general idea would be to use the form's Load event to
set the tab control's Value property to the desired page:

Me.tabcontrol = 2
 
Back
Top