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!

Where to code for a keydown action

Status
Not open for further replies.

vadnagra

Technical User
Oct 10, 2004
23
0
0
US
I want to be able to take a particular action when the user presses an "F" key from anywhere within the application. Where should I be coding for this. I tried to create a keydown event in the application object but that won't work. Any ideas?
 
As far as I know, you will have to do it in each window. (if you're going to have many windows which can have focus, then create a base, put the code in, and inherit it.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top