Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bigger font size for barcode scanning
Message
From
23/09/2022 10:48:56
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
23/09/2022 10:41:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01684991
Message ID:
01684994
Views:
38
>>Logically you can create an idiot form, set to fullscreen, activate and use it's KeyPress event, writing to the form. There are many ways to solve it like this.
>
>barcode application acts like console one.
>It asks barcodes , locations, lots, quantites etc and shows responces to them in screen.
>Emulating this using forms requires huge re-write.
>Can accept replaced with
>
>
?
>cbarcode= space(20)
>nrow = row()
>@ nrow, 1 get  cbarcode
>read
>* Read places cursor to ent of screen, fix it
>_screen.top= nrow*8
>? 'enterd code', cBarcode
>
>
>?

As I wrote I would not use @ GET. Or ACCEPT or INPUTBOX This is outdated. I started with VFP after this was outdated 25 years ago. So I have no clue about this. And I strongly like to discourage you using this.
I never ever used @ to output something to the screen - I would create a label object on the position and change it's caption. Much more simple to position and refresh.
I can help you with the object based approach I showed you, else I have no idea.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform