Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for changes when a FORM closes
Message
De
26/02/2003 09:18:18
 
 
À
24/02/2003 05:15:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00756892
Message ID:
00758031
Vues:
26
Jim,

I've been doing this for years, but never stopped to analyse the process as you have. Very enlightening. Thanks.

However, I never call queryunload() explicitly, and it always seems to work nonetheless.

I have a method, m_Close() which takes care of saving changes and general cleanup when a form closes. I call it from queryunload() thusly,
IF !( thisform.m_Close() )
   NODEFAULT
ENDIF

RETURN
Again thanks for the information.
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform