Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ON SHUTDOWN question
Message
From
03/10/2002 14:48:00
 
 
To
03/10/2002 13:56:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00707422
Message ID:
00707481
Views:
25
On shutdown (and it's clear event) will be executed, with unpredictable result. It crashed my test application when my form wasn't doing anything and my form wasn't responding to the clear events when it was in the middle of a process.

One of the best approach is to have a form manager that will ask each displayed form to close itself if it's not in the middle of a process. Then, when all forms are closed, do the clear event and the cleanup stuff.

HTH

>Yes it is not Multithreaded but ON SHUT DOWN will interrup the running event.
>So my question is, will the running event finish before the clear event that was executed in my on shutdown procedure is executed ?
Previous
Reply
Map
View

Click here to load this message in the networking platform