Saturday, September 26, 2009

Tips and Tricks Visual Basic 6.0 Move To The Next TextBox When Enter Pressed


'Add 2 TextBoxes to your form.
'Insert the following code to your form:

Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then Text2.SetFocus
End Sub

0 comments:

Your Ad Here