SP2 question

B

Brian

I'm pretty excited about the new stuff in SP2. But I think I may be missing
something, very likely an idiotic thing on my part:

I set up a sample windows application, added a label and button. I set up
event handlers for keypress and keydown and keyup. When either the button
is clicked or the events fired, I update the label with the name of the
event. When I launch the app, the key events are raised fine (up, down,
press), however, if I click the button (which works also), the key events no
longer get fired.

Again, I'm sure I'm missing something here ... ideas?

TIA,
Brian
 
B

Brian

Yep, it was something stupid :) I didn't realize the focus was still on the
button after being pressed, once I realized that it all acted correctly...
 

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

Similar Threads


Top