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

Graeme Geldenhuys graeme at geldenhuys.co.uk
Mon Jun 24 10:18:46 CEST 2013


On 23/06/13 17:06, 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, barcode scanners simply input what they read, as if it was typed
with the keyboard. Think of the barcode scanner as an "alternative
keyboard".

With some scanners you can often program them to auto add TAB,  LINEFEED
or ENTER after what they scanned. That behaviour is dependent on your
software, and sometimes very handy.

Regards,
  - Graeme -





More information about the Lazarus mailing list