I'm trying to validate what is typed in a text box. I'm not interested in using the Validate Event, that won't help me.
I'm trapping for keys:
'''''''''''''''''
Private Sub AtsNum_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Or KeyAscii = 9 Then
'''''''''''''''''
As you can see i'm trapping for enter and tab. After this code I do some validation determining focus of next control.
For some reason, tab does not trigger the event. Even though it says in MSDN library that it will.
Am I missing something?
Thanks in advance.
I'm trapping for keys:
'''''''''''''''''
Private Sub AtsNum_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Or KeyAscii = 9 Then
'''''''''''''''''
As you can see i'm trapping for enter and tab. After this code I do some validation determining focus of next control.
For some reason, tab does not trigger the event. Even though it says in MSDN library that it will.
Am I missing something?
Thanks in advance.