rickyoswaldiow
Programmer
I am trying to capture a key press inside a text box, if the user hits the enter key after typing somthing in the block of code will execute
I have had similar code running in the past but I'm not sure what is going wrong here :|
Code:
Private Sub txtOldPass_KeyPress(KeyAscii As Integer)
If (KeyAscii = 13) Then
'DO STUFF
End If
End Sub
I have had similar code running in the past but I'm not sure what is going wrong here :|