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

How can I trap keyboard input for an entire project?

Status
Not open for further replies.

StevenTaylor

Programmer
Sep 28, 1999
11
US
I have an application that we are building that has to mimic an older application written in SQL Windows. In this app, the user has the ability to press various function keys at any time have certain things occur. In VB, how can I trap keyboard input over an entire app or form instead of each individual control? Currently, I have menu items with hotkeys, but I would rather not have to have them. Any ideas would be appreciated.<br>
<br>
Thanx,<br>
T<br>

 
i believe you can use the form's keypreview function to allow the form to recieve the keys first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top