Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Release form from toolbar & Query Unload
Message
 
À
13/09/1998 21:34:52
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00135996
Message ID:
00135997
Vues:
9
>When release a form from the close box of the form, my QueryUnload event fires but not when I issue the command _Screen.ActiveForm.Release() from the toolbar. Is there a special way to close a form from the toolbar and fire the QueryUnload event?
>
>Thank you very much
>Christian

CVristian,

In the form's Release method do this;

IF NOT THISFORM.QueryUnload()
NODEFAULT
ENDIF

That will call the queryunload and stop the release if the queryunload returns .F.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform