Button Class

  • Thread starter Thread starter dohko
  • Start date Start date
D

dohko

The Button Class in WinCE .NET have Event KeyPress ????

i need this event...

thanks...
 
Dohko:

You are correct, it's not implemented ...
http://msdn.microsoft.com/library/en-us/dv_spchk/html/NET_Compact_Framework.htm
You can wire in the code but it won't do anything even though it won't give
you a compile error. That can be tricky b/c it looks like it should work,
but it just wont' do anything. I've tried a few ways to rig it haven't
succeeded...your best bet is trying to get click to work for you. For
instance, you can use a textbox and use it's keypress event to fire the
click event of the button passing in whatever info you need. Typically, key
pressing a button isn't something you do very often so you'll either need to
use click or fake it.

HTH,

Bill
 

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

hello everyone! 2
Escape character ? 2
"Simulate"/Invoke Click event 2
Tab key 2
Escape character ? 1
Custom control's KeyDown / KeyPress event not fired? 2
Trouble with Multi Threading 4
Symbol device 1

Back
Top