Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON SHUTDOWN
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00304282
Message ID:
00304286
Vues:
32
Hi Stacy,

I believe you'll need the CLEAR EVENTS command also. Try this:
FUNCTION shtdwn<br>
<b>CLEAR EVENTS</b><br>
CLEAR ALL<br>
CLOSE ALL<br>
QUIT<br>
>Ok, working with the guys yesterday, I almost solved my problem. I can now shut down my program from the Exit menu selection, but the X in the upper right corner still produces a dialogue box that says I "Cannot Exit Foxpro". Here's my code:
>
>
>ON SHUTDOWN DO shtdwn IN MAIN
>
>FUNCTION shtdwn
>CLEAR ALL && release all variables, tables, etc.
>CLOSE ALL && close all tables, forms, databases, etc.
>QUIT
>
>I put this in Code -> Programs -> main
>
>What am I missing?
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform