Catch hardkeys in textbox control ?

Discussion in 'Questions (Windows Mobile)' started by conf, Jun 15, 2007.

  1. conf

    conf Member

    Hi everyone,

    I have a form with 3 textbox: TextBox1, TextBox2, TextBox3. When focus in TextBox1, I want to press down key and it will focus toTextBox2, also with TextBox3. I read example in Help but it only catch hardkeys of form, not the textbox. Could you please tell me how?

    Thank so much.
    Last edited: Jun 15, 2007
  2. specci48

    specci48 Well-Known Member Licensed User

    You can only catch the hardware keys from a form so you have to code manually what you want to do.
    I added an example to change the focus of different textboxes ... but I think it is not an elegant way to do it.


    Attached Files:

  3. conf

    conf Member

    Specci48, you help me again :)

    But your code only catch key once time. I'll think another solution.

    Thank you again and again. :)