crausch

crausch

  • NA
  • 53
  • 0

KeyPress on form load

Mar 16 2005 10:05 AM
Is there a way for me to determine if a key is pressed during the launch of my program? I would like the user to hold down a key when launching my application and then I want to find out what that key is once the program is launched. Currently I have implemented both the KeyPress event and the KeyUp event but neither seem to respond unless the key was pressed after the application launched. Upon the form loading, I want to be able to see if a key is down and then determine what the key is. Can this be done?

Answers (2)