I have a form that contains a Form_Keydown subroutine and a textbox.
I am using a bluetooth numeric pad for input, so there is no mouse involved.
The first keypress should display the contents of a corresponding array contents (e.g. pressing 4 should display the array's fourth element).
The textbox should then be activated to allow the array's contents to be changed.
The form should then be closed by pressing the Enter key (or decimal point key).
However, as soon as the form is opened, the focus moves to the textbox and the Keydown sub is ignored.
Hitting the keypad's buttons enter numbers into the textbox, without the opportunity to display the existing array's contents.
Is there a way of removing focus from the textbox until after the first key is pressed?
Also, how do I move to another form after entering numeric input to the textbox?