I'm trying to make a form where you can exit fields pressing both Enter or Tab keys. How can I do this, without having to code all the KeyPress events for the fields in the form?
Thanks in advance
Printable View
I'm trying to make a form where you can exit fields pressing both Enter or Tab keys. How can I do this, without having to code all the KeyPress events for the fields in the form?
Thanks in advance
Set the Forms KeyPreview property to true. Then you can trap all key presses at form level and deal with them in the forms keypress events