thanks charlie.. currently as i previusly posted, that's was doint! but my reader does not return "enter" or "carrige return" , only the code that reads!
by now i can configure with "return" at the end of the read, or with a prefix and a sufix.. but i want to do not depend on those tricks! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-23 11:45 GMT-04:30 Charlie <char...@cogier.com>: > The barcode reader will only return the barcode information not the special > characters that are needed to create it. Once all the barcode is sent the > barcode reader will send a *Return key*. > We can use Gambas to check for the *Return key* so we know the barcode has > been completely read. If you want to see how this works open a spreadsheet > and read a code into a cell and you will see that if the code is read into > cell A1 the cursor ends up in cell B1 because of the *Return key*. > There is no need to program the reader to send any extra characters. > Here is some code you can use to see how Gambas can handle to reader. > BarcodeReader.tar > <http://gambas.8142.n7.nabble.com/file/n55083/BarcodeReader.tar> > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/usb-codebar-reader-how-to-handle-events-tp55079p55083.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user