Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exit Program
Message
De
01/06/1999 23:34:41
 
 
À
01/06/1999 23:19:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00225217
Message ID:
00225224
Vues:
14
>Hi..All
>I develop application follow from Tastrade (Example from VFP) I have program..when my user exit from my application (click upper right coner of screen - cross mark) Application alert message error "Cannot exit from VFP" I want disable exit buttom (main menu - created from menu gen.) How can I solve?
>
>Thanks
>Narong

To control what happens when the user clicks the "x" in the upper right hand corner, use an ON SHUTDOWN routine. Usually, VFP cannot quit because there are outstanding object references and stuff. In your ON SHUTDOWN routine, put

some stuff like:

CLEAR EVENTS
RELEASE ALL
CLEAR ALL

and VFP should exit cleanly.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform