Su Gia

Su Gia

  • NA
  • 6
  • 0

How to implement key event for button click event

Dec 18 2009 8:55 PM
Hi everybody!
I'm writing a virtual keyboard, and i have a problem.
As we know when press a key on real keyboard, control which focused will receive key event (defined by .Net)
for example:
you focus in a Multi line textbox, when you press key Enter. textbox will add 1 line and show cursor at that line.
. I think that textbox will receive Enter 's key code , after that textbox will perform 1 action with this Enter keycode. 

so now i want to know that how to implement key event from buttton click event for a control. 
Please help me! Thanks!!!
Kind regards.
Sugia

Answers (5)