Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable keyboard shortcut keys?

Status
Not open for further replies.

Turb

Technical User
Feb 11, 2003
154
US
All,
Does anyone know a way that I can disable keyboard shortcut keys in my database?
I have hidden the entire program window so that only my switchboards/forms show on the desktop as pop-ups, but I need to be able to force my users to use the function buttons I have created, not use CTRL-P (print), CTRL-S (save), etc.
Thanks in advance!

Ind. Engineering Tech.
 
Create a macro called AutoKeys. Then use this to determine what happens when shortcut keys are preseed, e.g. give an action in the macro the name ^P and it will run when the Ctrl+P keystroke is pressed.

For a better and more comprehensive explanation of using the AutoKeys macro, see
 
mp9,
I got it.
I just don't give the shortcut keystoke combinations (^P, +{F10}, etc.) any action at all in the AutoKeys macro. This effectively disables those shortcut keystrokes.
Thanks for your help!

Ind. Engineering Tech.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top