Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interrupt a process with a click
Message
From
01/07/1999 16:02:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Interrupt a process with a click
Miscellaneous
Thread ID:
00236671
Message ID:
00236671
Views:
42
I have a form with START and STOP buttons. Processing is performed in a Do While loop in the Click() method of the START button. I'd like the STOP button to respond immediately to the user's click (it's a graphic radio button) with a "please wait message" and processing to terminate at the next safe opportunity. The problem is, while the processing is going on the form is not responding to input. I'm currently using an INKEY() within the processing loop to check the keyboard but it's sort of a kludge and there is no immediate feedback to the user to let him or her know the request has been acknowledged. Is there a nicer approach for allowing a button to interrupt a process? (I have to keep VFP5 and VFP6 compatibility.)

Thanks for your help,
Allen
Next
Reply
Map
View

Click here to load this message in the networking platform