Detecting Keypress on the Window

  • Thread starter Thread starter Mitchell Vincent
  • Start date Start date
M

Mitchell Vincent

I have a window that i'm trying to detect user input on (in any of the
fields). I thought about using the KeyUp event of the Window but it
never seems to fire!

Is it possible to detect keyboard actions at the window level?
 
you do it at the form level (you need to set the KeyPreview property of
the form to enable the rasing of events)
 
stand__sure said:
you do it at the form level (you need to set the KeyPreview property of
the form to enable the rasing of events)

Thanks! I knew I forgot something!!!
 

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