Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
QueryUnload and Release Thisform
Message
De
16/12/1999 20:59:22
 
 
À
16/12/1999 20:40:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00305043
Message ID:
00305047
Vues:
25
I could try that. But it would seemed like handling the two exits differently. With the CloseEvent() I must check first if the user really wants to quit. If he wants, then will I issue the Release command. While, with the QueryUnload, if the user intends to stay on the session, I'll issue a NODEFAULT to prevent the Unload event to execute. This would make a common routine (like a 'DoBeforeClose()') to check first what called the method.

I can not include this in my CloseEvent()
Thisform.QueryUnload(),
since it contains a NODEFAULT statement.

Maybe you could help me with a non-messy routine.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform