Member_2_6479049
asked on
Function to send focus to the next control in vb.net 2013
Hi guys,
I'm building my first project in vb.net 2013, and I'm looking for a function to send the focus to the next control, I mean any control, for instance, I'm using this code in all my controls:
If Asc(e.KeyChar) = 13 Then
txtsomething.Focus()
End If
But I want to use a function to do that, do you guys has any example of it?
Thank you so much.
I'm building my first project in vb.net 2013, and I'm looking for a function to send the focus to the next control, I mean any control, for instance, I'm using this code in all my controls:
If Asc(e.KeyChar) = 13 Then
txtsomething.Focus()
End If
But I want to use a function to do that, do you guys has any example of it?
Thank you so much.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry for answer until now, It is a good tip.