Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to interrupt long loop with mouse click?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01387703
Message ID:
01387740
Vues:
52
>>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform