Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form closing event sequence Vs RETURN
Message
De
04/12/2010 16:41:34
 
 
À
04/12/2010 09:59:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01491739
Message ID:
01491756
Vues:
54
>Hi,
>
>I am aware of form closing event sequence Release->Destroy->Unload, when codes calls form.release() programmatically.
>
>I did a simple test which involves several command buttons. When I click button1, it calls button2.Click() and button2.Click() calls button3.Click()... till buttonN, where it simply runs THISFORM.Release() at the end.
>
>And I notice that if THISFORM.Release() is executed in a method at N level of call stack, then the next event Destroy will only be started after the call stack is cleared (i.e.it has to first RETURN N times to the button1 before the closing event sequence continues).
>
>Is my test observation correct and always true?

AFAIK, yes.

>Anyone knows of any exception to the above?

AFAIK, no except if a error occur before the fully pop stack.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform