General information
Category:
Coding, syntax & commands
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only