If you want to find out which tab gets selected, you can use the Selected event of the tab control and investigate the TabPageIndex of the TabControlEventArgs passed to the event.
If you just want to know which page is currently selected you can use the SelectedIndex property of the TabControl.
Hope this helps
HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!
You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman
Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.