General information
Category:
Forms & Form designer
>Why are you using an editbox not a textbox? With a textbox you can program the scanner to send CHR(13) at the end of scanned barcode and it will move cursor to the next textbox w/o extra code.
>
>>
>>I'm attempting to use a barcode scanner to fill an editbox. Once filled I would like to shift the focus to another editbox for a second scan. I'm attempting to do this without the operator having to push any keys. The change of focus needs to be delayed for the edit1 to populate completely.
>>
>>I believe the code would be placed in the interactive change (edit1) and look something like this
>>
>> if thisform.edit1.value > "1000"
>>
>> thisform.edit2.focus? =.t.
>>
>> endif
>>
>>Thank you for your help!
Thanks Sergey, how simple, I missed that completely.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only