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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disable ctrl+F in runtime on Form

Status
Not open for further replies.

Crookshanks

Technical User
May 18, 2004
296
0
0
NL
Hello there,

I've got (again) a small and fairly simple question. In runtime it is possible in my form to enter ctrl+F. Can I disable this? No, a screen with Find/Replace appears.

Note: I do have some key down events and I do not want them to be surpressed.

reagards,
 
I use an AutoKeys macro to globally disable certain key combinations such as F11 and Ctrl+P. This may do what you want...

Ed Metcalfe.

Please do not feed the trolls.....
 
Thanks for your answer.
it surely might be the solution, but I'm not sure how to proceed...
 
1. Create a new macro.
2. Go to View > Macro Names. This will add a new column in your macro dialog box.
3. In the Macro Name column enter '^f' (without quotes).
4. In the Action column either display a messagebox, select Stop Macro, etc.
5. Save the macro as "AutoKeys".

Ed Metcalfe.

Please do not feed the trolls.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top