Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing forms on application exit
Message
From
30/07/2004 16:00:45
 
 
To
29/07/2004 22:01:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00929245
Message ID:
00929747
Views:
11
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
Map
View

Click here to load this message in the networking platform