[Lazarus] how to pass barcode value to a TEdit component

Johan Tu Toit johan.tutoit at gmail.com
Sun Jun 23 20:17:52 CEST 2013


so a usb barcode scanner can be setup to have a keyboard behavior?

On 6/23/13, Giuliano Colla <giuliano.colla at fastwebnet.it> wrote:
> On 06/23/2013 06:06 PM, Johan Tu Toit wrote:
>> so once the focus in the myedit.text has been made, and the barcode
>> scanner button has been triggered, the myedit.text received the value
>> read from the barcode been scanned?
>
> Yes, it's as simple as that, provided you have set up your scanner to
> behave as a keyboard (which is the standard behavior for most scanners).
> You may verify it with any text editor: open a text editor, then trigger
> your barcode scanner, and you should see the value read into your editor
> window. If it works, then it will work also with your myedit.text.
>
> Giuliano
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>




More information about the Lazarus mailing list