what should i do to prevent enter key from work i do that in prive sub
but i need cancel the event
what is the code i need?
Private Sub TextBox1_KeyDow n(ByVal sender As System.Object, ByVal e As
System.Windows. Forms.KeyEventA rgs) Handles TextBox1.KeyDow n
If e.KeyCode = Keys.Enter Then
' the code to canel enter from work what i need thank you
End If
End Sub
but i need cancel the event
what is the code i need?
Private Sub TextBox1_KeyDow n(ByVal sender As System.Object, ByVal e As
System.Windows. Forms.KeyEventA rgs) Handles TextBox1.KeyDow n
If e.KeyCode = Keys.Enter Then
' the code to canel enter from work what i need thank you
End If
End Sub
Comment