How To Catch The "ENTER" button?

Discussion in 'Questions (Windows Mobile)' started by ceaser, Oct 19, 2008.

  1. ceaser

    ceaser Active Member Licensed User

    Hi All:confused:

    The PDAs that I use have also a keyboard (i.e. Workabout_pro from Psion), where it is possible to enter values via the keyboard and not from the virtual keyboard. In VB when you press the "Enter" button, it returns chr(13) and in this way I can set the focus to the next input box.

    Now.....I can catch all the keys except the "Enter" button. Is there a way around it?:sign0085:

    Thanks
    Michael
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The Enter button should return chr(13). Does your code work with the virtual keyboard Enter button?
     
  3. timsteeman

    timsteeman Member Licensed User

    Maybe foolish, but....

    Check the character number?


    Msgbox(Asc(textbox1.Text),"Character Number")
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice