Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Long Process Interruption
Message
 
 
À
19/01/2001 13:17:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00465868
Message ID:
00465918
Vues:
17
Hello, Ken.

Somewhere in the middle of your loop, you have to issue the DOEVENTS command. This forces the pending Windows events to be evaluated.

Note, anyway, that this can slown down your process. I remember having read a smart way to avoid the DOEVENTS latetly around here. Maybe someone else remember how exactly works.

Hope this helps.


>I'm writing a complicated process program and am not sure how to implement a user interrupt mechanism.
>
>This is a long process, so I have a form that will display status messages. After the needed setup, there's a READ EVENTS command. Then, the form has a "Start Process" button to get things going. Once started, the legend changes to "Cancel" and it's Cancel property set to .T. (so that Esc will activate it).
< snip... >
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform