What key was pressed? - TechRepublic
General discussion
July 19, 2001 at 10:29 AM
dennisbv

What key was pressed?

by dennisbv . Updated 24 years, 11 months ago

I want to know how I can find out what key was pressed when a control is clicked.
Example: The z key is pressed when cmdOK is clicked a message box pops up with the caption “You pressed the z key”.
what variable or Event property will tell me whatkey is pressed

This discussion is locked

All Comments