Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing forms on application exit
Message
De
30/07/2004 16:00:45
 
 
À
29/07/2004 22:01:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00929245
Message ID:
00929747
Vues:
12
As I remember quit sometimes doesn't exit properly particularly if you have a modal form still open. A message will come up and say you can't quit Foxpro. With exitprocess() you don't need to worry about having forms still open. It will close the application. I use it in my error routine to close the application in event of a fatal error.

Gaylen


>What's the difference between ExitProcess() and quit?
>
>>Another way is to call the following API.
>>
>>DECLARE Integer ExitProcess IN Win32API
>>ExitProcess()
>>
>>Gaylen
>>
>>>Just skipped my mind, upon users clicking on the application exit button, how do I close all opened forms prior to the "quit" line of the program.
>>>Thanks in advance
>>>Yau
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform