J
Jeff0803
Guest
There are command buttons on the form, [OK] and [Close].
I want to make it detect key "O" for [OK] and "C" for [Close] instead of mouse click.
("O" and "C" should be underscore like [OK], [Close].
How to do this?
I can do this by KeyPreview = true from form and check the key from key_up event but want to implement by command button event/property itself to make code simple.
Continue reading...
I want to make it detect key "O" for [OK] and "C" for [Close] instead of mouse click.
("O" and "C" should be underscore like [OK], [Close].
How to do this?
I can do this by KeyPreview = true from form and check the key from key_up event but want to implement by command button event/property itself to make code simple.
Continue reading...