Hi Gabor,
Thanks for posting in the community.
You may try the code below to see if the GotFocus event will be fired.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
AddHandler TextBox1.GotFocus, AddressOf TextBox1_GotFocus
End Sub
Private Sub TextBox1_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs)
Debug.WriteLine("Got Focus Fired")
End Sub
Please press F5 to run your project.
You may have a try and let me know the result at your earliest convenience.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.