Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement