Disabling Special keys in Acc 2000

  • Thread starter Thread starter Mota
  • Start date Start date
M

Mota

Hi;
Can i disable the predefined action of functional keys such as F1 (Access
help),F2,F3,F11 and so on,and use them for another purposes in my program?
Thank you.
 
Create a macro named AutoKeys.

In the Macro Name column, enter:
{F2}
etc, with the appropriate actions.
 
If you want to apply the keystrokes everywhere in your database, the macro
is easiest. You can use the RunCode action to fire the code.

If you want to do it in a form-by-form basis, you can set the form's
KeyPreview property to Yes, and then use the KeyDown event. Examine the
value of the KeyCode to see if it's the key you want to process, and set
KeyCode to zero to suppress the built-in response.
 
I dont want to just supress its default action,but assigning another code to
be done,together with supressing its default action.
Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top