macauken
asked on
using any key instead of TAB in textbox
Any expert have idea ? cause using other key will make char input to textbox.text, but it should be a TAB key now.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Protected Overrides Sub OnKeyPress(ByVal e As System.Windows.Forms.KeyPr
Select Case e.KeyChar
Case "+"c
SendKeys.Send("{TAB}")
e.Handled = True
Case "-"c 'Keys.Subtract
SendKeys.Send("+{TAB}")
e.Handled = True
End Select
End Sub