[Gambas-user] usb codebar reader how to handle events!?

PICCORO McKAY Lenz mckaygerhard at ...626...
Wed Dec 23 17:34:12 CET 2015


Errr.. Jack! i have already preconfigured with prefix (an "a") and sufix (a
"z"),

i want without that!, i wnat detect the event itselft!

2015-12-23 11:45 GMT-04:30 Jack <jscops at ...11...>:

> Hello,
>
> a barcode reader does not need to be declared in the system. It is
> automatically recognized.
>
> you must configure your reader with a preamble. For example with a *.
> Then when you get the barcode, you control the first character is a *
> If Left$(textbox.Text) = "*" Then
> Barcode = true
> Textbox.Text = Mid$(Textbox.Text, 2, Len(Textbox.Text))
> what you want with Textbox.text
> endif
>
>



More information about the User mailing list