Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close top form from toolbar
Message
 
 
À
28/01/2005 14:29:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00981030
Message ID:
00981861
Vues:
32
>>     FOR lnI = lnKount TO 1 STEP -1
>>          loForm = THIS.FormList.ITEM(lnI)
>>          loForm.QUERYUNLOAD()
>>     ENDFOR
>>ENDPROC
>
>So, what actually releases top form? QUERYUNLOAD?

Sorry, I forget that my base form class does some stuff in the QueryUnload and calls THISFORM.Release(). The code I gave you previously for finding the TLF is what releases the TLF. The only other 2 ways of closing an app is clicking the close button (which is handled by the ON SHUTDOWN), and choosing Exit under the File menu pad if you have one. Releasing the TLF should be the last thing your cleanup process does.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform