Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Barcode use help needed
Message
De
23/04/2007 07:54:09
 
 
À
23/04/2007 07:50:36
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01218807
Message ID:
01218813
Vues:
18
>>>Dear All,
>>>I have a HandHeld BarCode reader . it is connected to my computer throgh keyboard port.
>>>How i can read data returned from this device?
>>>thanks
>>
>>In your case the barcode reader is a keyboard! Just start to read barcodes!
>
>i made a form with one textbox on it. when i read barcode it cuse hanging my computer!

A barcode reader will as default add a chr(13), which means that if you are in a textbox, the cursor will move to the next taborder object. You may change the behavior of the reader, or "eat" the chr(13) by adding this to your keypress:
if nkeycode=13
 nodefault
endif
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform