-
I have an app that is nothing more than a few option buttons that runs and pauses a serial device. The app sits on top of other software on the same computer.
The problem is...
If someone doesn't realize that my app is the active window and presses an arrow key it toggles through the option buttons.
What I want to do is remove the keystroke command before it changes the option button.
-
Try the keydown event of the form (set keypreview to true) and set the keycode to 0 in that event.
If that doesn't help, drop a picturebox on the form and give that the focus.
-
I thought I did put a picture box on the form (I must have put it in a frame or something)
Thanks