Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Release events isn't working
Message
De
19/05/2005 05:28:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01015742
Message ID:
01015743
Vues:
41
>I have the following code in a method of an APP class:
>
>
>IF this.cangoon
>     * save old menu, run new one
>     push menu _MSYSMENU
>     Do IT.MPR
>     read events
>else
>     * something bad happened so can't run app
>endif
>
>* clean up and close shop
>* upon termination, restore menu
>MESSAGEBOX("we got Here") &&Doesn't get here when clicking EXIT
>pop menu _MSYSMENU to master
>set sysmenu to default
>
>
>(I have some cleanup code somewhere else)
>
>I have a menu that contains an Exit option. It contains the Command: RELEASE EVENTS
>What could cause that menu item to not work? Shouldn't it automatically return control to the method of the App object?
>
>Also, I created a menu with just three pads, yet the VFP menu pad (Format) is added to it. Also when the application hangs everything in VFP works except the Command Window. Also it won't let me shut down.
>
>Any suggestions would be appreciated.

Maybe use CLEAR events ? Release events is releasing a variable events
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform