How do I make a textbox go from one to the other

Discussion in 'Questions (Windows Mobile)' started by sunnyboyj, Dec 17, 2007.

  1. sunnyboyj

    sunnyboyj Member

    I have a program which asks for:

    Scan the barcode:
    Scan the location:

    When both are scanned I want my program to save go further.

    How can I make B4ppc go from barcode (textbox1) to location (textbox2)?

    My scanner will scan the barcode and will give an ENTER after scanning. I would like B4ppc to go to textbox2 after the Enter. Scanner will scan the location (textbox2) and will give an ENTER here when my program will save a file.
    I have the program now and when I don't use the scanner for input I can of course go to textbox1 and then point (or TAB) to texbox2. Because of use with a scanner it has to be automatically.

    Thanks if you can help!

  2. sunnyboyj

    sunnyboyj Member

    I have found out I can make:
    Sub QTnaarlok_KeyPress (key)
    If Key=Chr(13) Then
    End If
    End Sub

    I have only one (new) question now. When I have written the information into the table my programm goes back to textbox1. The information that I typed in before is still displayed. How can I erase this?
  3. agraham

    agraham Expert Licensed User

    textbox1.text = ""
  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