Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why on shutdown program is not called?
Message
De
04/08/2010 07:39:27
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01474941
Message ID:
01475117
Vues:
47
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I have these commands in the main program of the application:
>
>do mainmenu.mpr
>on shutdown do shutdownprogram
>
>read events
>
>I put assert command into shutdown program. However, it's not being called when I try to close the application in IDE by clicking on the x of the screen.
>What is it called then and why this program is not called?

As to the latter part of the question, set a watch on on("shutdown") in the debugger and see whether it ever changes.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform