Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement