Private Sub Text1_KeyDown(Index As Integer, KeyCode As Integer, Shift As Integer)
If Index < Text1.Count - 1 Then
If KeyCode = 13 Then
Text1(Index + 1).SetFocus
End If
Else
If KeyCode = 13 Then
Text1(0).SetFocus
End If
End If
End Sub
Main Topics
Browse All Topics





by: andywarlockPosted on 1999-04-17 at 03:42:06ID: 1484587
Sorry to clear up a bit i have multiple text input lines where i need to press enter to move between them. I know tab works but i want to use the enter key. How do i do it?