Code:
Private Sub lblLogin_MouseDown(sender As Object, e As MouseEventArgs)
If e.Button = MouseButtons.Left Then
'''Do the login
End If
End Sub
Private Sub txtPword_KeyPress(sender As Object, e As KeyPressEventArgs)
If e.KeyChar = 13 Then
lblLogin_MouseDown(sender,e)
End If
End Sub
is not functioning how to call my mousedown event when the key is pressed?
Thanks masters!