VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



move to another text box with the help of arrow key

by Mohamed Safique Murtuza(rss) (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 19th August 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

move to another text box with the help of arrow key

Rate move to another text box with the help of arrow key



' this code will allow to move to next text box with _
    help of Down arrow key and will allow you to move to _
    above text box with the help of Up arrow key 


Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)

If KeyCode = 40 Then
SendKeys "{TAB}+"
ElseIf KeyCode = 38 Then
SendKeys "+{TAB}"
End If


End Sub




Download this snippet    Add to My Saved Code

move to another text box with the help of arrow key Comments

No comments have been posted about move to another text box with the help of arrow key. Why not be the first to post a comment about move to another text box with the help of arrow key.

Post your comment

Subject:
Message:
0/1000 characters