Is it possible to set a key so that it moves the cursor to a specific location in the input text field.
Sub field_onKeyPress
Select Case window.event.keycode
Case 96
'Code to move cursor to position X in the field.
End Case
End Sub
The only thing I can think of is using SendKeys to send "right" keystrokes to the position. Is there any way to simply say MoveCursorLeft 20?
Sub field_onKeyPress
Select Case window.event.keycode
Case 96
'Code to move cursor to position X in the field.
End Case
End Sub
The only thing I can think of is using SendKeys to send "right" keystrokes to the position. Is there any way to simply say MoveCursorLeft 20?