Tab Controls - getting tabs to show on a click of a button

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I'm trying to create a command button to display the tabs
when the button is click. I have two tabs, one is user and
the other is content. I have the user information
displayed within the user tab, at the bottom of the tab I
have a "Next" button, how do I program the "Next" button
to display the content tab.

Thanks for the help....

Mike
 
Mike said:
I'm trying to create a command button to display the tabs
when the button is click. I have two tabs, one is user and
the other is content. I have the user information
displayed within the user tab, at the bottom of the tab I
have a "Next" button, how do I program the "Next" button
to display the content tab.

Assuming that the page named "user" is index value 0 and the page named
"content" is index value 1...

Me.TabControl.Value = 1

....will cause the TabControl to display the second page. Alternatively,
you can just set focus to a control on the desired page and that page will
automatically move to the front.
 
Back
Top