How to implement key event for button click event RRS feed

  • Question

  • 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.
    Saturday, December 19, 2009 2:58 AM


All replies