Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to interrupt long loop with mouse click?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01387703
Message ID:
01387740
Views:
53
>>>>I will try it. You mean INKEY() without a parameter so that no to slow down the loop even more, right?
>>>>
>>>>Thank you.
>>>
>>>Actually, I meant that you can allow user input, e.g. I usually run following message during similar loop:
>>>wait "Processing... Press Ctrl-S To Abort.' window nowait
>>
>>Another alternative may be to test mouse coordinates and mousedown at some critical points of the loop and see if the button was pressed this way.
>
>I was thinking along those same lines. I will try this approach later.

If you set some "global" variable in the button's click (pInterrupt = .t.) would it work?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform