Question Using keyboard command Instead of using buttons to put commands How?

instead of putting the command to execute query using button
how to make a keyboard command to execute it w/out clicking the button just keyboard shortcuts if possible a combination ctrl+key or shift+key
 
Use the form1_KeyDown event and use Select Case for the keydata pair (e.Modifiers and <other button>) and then just use code you want to execute when the combination is correct. KeyPreview will need to be set to true. :cool:
 
Back
Top