Move to next textbox by presing Enter button

Posted by Satyapriyanayak under VB.NET category on | Points: 40 | Views : 1211
Public Class Form1
Private Sub TextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar = Chr(13) Then
e.Handled = True
End If
End Sub
End Class

Comments or Responses

Login to post response