Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top level form not releasing VFP instance
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00382390
Message ID:
00382462
Vues:
18
>>In the Unload of the TL form, issue a CLEAR EVENTS. The form is being released but the application is still stuck on the READ EVENTS.
>
>I thought there was some reason not to do this in Unload (can't recall what, though). Historically, we have debated over whether Queryunload or Destroy was a more appropriate place (of course either works). I usually limit Unload to data-related code...it being the complement of Load.

I suggested Unload as it is the last event fired as a form is released. I wasn't aware of any problems associated with this. I wouldn't put it in QueryUnload because that gets fired only when the user clicks on the X to close the form. If the form is Release(d) then it doesn't occur. The Destroy is perfectly acceptable (I'm saying that alot today < s >) to place the code.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform