In a textbox i can see when RETURN is pressed , but when i check on the TAB key it does not work Help me Plzzz.
Dim handler As KeyEventHandler
Private Sub Orderinvoer_Load(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles MyBase.Load
AddHandler werkorderTB.KeyDown, handler
end sub
Private Sub werkorder_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles werkorderTB.KeyDown
REM Watch the return Key
If e.KeyCode = Keys.Return Then
MsgBox("return ")
End If
End Sub
This works !
But when i change return to Tab , it wont work