Allowing a field to use CR or TAB to move to next field ?

  • Thread starter Thread starter Wapiti
  • Start date Start date
W

Wapiti

I have a barcode app, the barcode has a postamble of a CARRIAGE RETURN.
When the user scans this code, I want it to enter the data into the field
and move to the next field. How do I tell the field to do that?
 
..NET CF 1.0 SP2 will tab from field to field, if you install that on your
device. You could probably come up with some other way of catching the Tab
or CR character and doing the focus change, yourself, too, if you wanted to.

Paul T.
 
Yep, thats what I ended up doing. For those who need this, here is what I
did. I also set my scanner to use a CR postable. Haven't tested it under
the scanner yet tho - but it should work... right? ;) -Mike

txtTransEmpl.AcceptReturn = True

Private Sub txtTransEmpl_KeyDown(ByVal sender ...
If e.KeyCode = Keys.Enter Then
txtTransPartNo.Focus()
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top