Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
QueryUnload and Release Thisform
Message
De
16/12/1999 22:49:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00305043
Message ID:
00305088
Vues:
24
Thanks, Jim. But is there a logical reason why the release command/method will not trigger the queryunload event.

By the way, i did a code that is quite patterned after your suggestion.

For the CloseEvent():
LOCAL lnAsnwer
lnAnswer = THISFORM.DoBeforeClose()
DO CASE
CASE lnAnswer <> 2 && not cancelled
THISFORM.Release()
ENDCASE

And, for the QueryUnload():
LOCAL lnAnswer
lnAnswer = THISFORM.DoBeforeClose()
DO CASE
*!* CASE lnAnswer = 6 && Yes, just in case i'll have more codes
*!* CASE lnAnswer = 7 && No
CASE lnAnswer = 2 && Cancel
NODEFAULT
ENDCASE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform