|
Making the arrow keys work as the Tab key
If you want to make the Arrow keys work similar to the Tab key, you can use the Form_KeyDown procedure.
Note: Remember to set Form.KeyPreview = True before you execute the code:
Author:
Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case KEY_DOWN
SendKeys "{tab}"
KeyCode = 0
Case KEY_UP
SendKeys "+{tab}"
KeyCode = 0
End Select
End Sub
|
||
|
Editor: Last update: 2025-11-22 Copyright 1995-2025 VBI |