Jump to content

tabpage focus


gastao
 Share

Recommended Posts

verificar focus em tabpage.

tenho varias tabpages numa tabcontrol como e q consigo saber qual esta activa?

pois preciso que ao ganhar o focus dela novamente me faça uma rotina e da seguinte forma nao da

Private Sub TabPage1_GotFocus1(sender As Object, e As System.EventArgs) Handles TabPage1.GotFocus
MsgBox("teste")
End Sub

alguem para dar uma ajuda

Edited by apocsantos
tag code + geshi
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.