Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exit from the loop
Message
From
27/03/2000 12:23:32
 
 
To
27/03/2000 10:57:36
Amit Abhangrao
Charmi Software Exports
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00350750
Message ID:
00350813
Views:
18
Display a form with a Cancel button before starting your loop and insert a DOEVENTS in your loop to let VFP a chance to trap the click event. You might want to run DOEVENTS every 10 or 100 iterations, because it will slow down too much your application.

HTH
>From the one running process (Eg. do while loop), Can i exit on pressing Cancel button? I can do it for Escape button using InKey() function. But i want to do it by pressing any button.
Previous
Reply
Map
View

Click here to load this message in the networking platform