Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON SHUTDOWN question
Message
De
03/10/2002 14:48:00
 
 
À
03/10/2002 13:56:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00707422
Message ID:
00707481
Vues:
26
On shutdown (and it's clear event) will be executed, with unpredictable result. It crashed my test application when my form wasn't doing anything and my form wasn't responding to the clear events when it was in the middle of a process.

One of the best approach is to have a form manager that will ask each displayed form to close itself if it's not in the middle of a process. Then, when all forms are closed, do the clear event and the cleanup stuff.

HTH

>Yes it is not Multithreaded but ON SHUT DOWN will interrup the running event.
>So my question is, will the running event finish before the clear event that was executed in my on shutdown procedure is executed ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform