Tab Control Question

  • Thread starter Thread starter John Wright
  • Start date Start date
J

John Wright

I have a tab control that has 5 tabpages on it. When the user clicks the
tab page to bring it forward, what event is fired? I have tried click,
GotFocus but the code does not fire unless I click on the TabPage itself.
Also, when a user logs in, I validate them against our database to allow
them access to certain tabs. When they log in, I want to set the focus to
that tab. Anyone know how to set the focus on a tabpage programmatically
and run the code for that tab page in its gotfocus event?

Thanks.
 
Back
Top