Where tabMain is your tab/page *control* (not form), and Me is the form on
which that control is placed.
The Value of the control is the page number so
Me.tabMain.Pages(Me.tabMain.Value)
Is the current page.
Me.tabMain.Pages(Me.tabMain.Value).Name
Is the name of the current page.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.