Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activating & Deactivating External Devices with VFW6.0
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00236521
Message ID:
00236540
Views:
13
Put a DOEVENTS in your loop. This will allow VFP to respond to user interface events.

>I have a client that I am developing a application for that will track production based on bar codes being scanned into a scanner on a production line. I have figured out how to activate and deactivate the scanner using command buttons on a form. However, I need to be able to click a button to start the scanning process and continue scanning until I click a stop scanning button. I can create the loops necessary to do this, however, once the loop is started, I can no longer click on any buttons on the form until I press escape and kill the loop very ungracefully. Can somebody point me in the right direction?
>
>I am making the transition from procedural programming in FP2x to OOPS programming in VFW6.0. I'm learning, but slowly. I would appreciate any assistance.
Previous
Reply
Map
View

Click here to load this message in the networking platform