Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to delete CHR(13) from BarcodeReader
Message
 
To
17/06/2007 04:29:32
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01233778
Message ID:
01233782
Views:
12
>>>Dear all,
>>>When i read a barcode , it send a CHR(13) at the end ot returned data.
>>>so i lost focus and next TextBox get focus.
>>>How i can delete this CHR(13)?
>>>Thanks
>>
>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>IF nKeyCode = 27
>> NODEFAULT
>>ENDIF
>
>nKeyCode = 27 ????
Should be nKeyCode=13

Also, check the reader's doc. Often you can turn off the Enter at the end if you wish.

Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform