SP2 question

  • Thread starter Thread starter Brian
  • Start date Start date
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
 
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...
 
Back
Top