Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem With Ending Pgm
Message
 
 
À
10/04/2014 14:32:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01598403
Message ID:
01598455
Vues:
45
>I tried putting the CLEAR EVENTS before the THISFORM.RELEASE and the problem persists.
>I read somewhere that after executing the CLEAR EVENTS, program execution continues on the program line immediately
>following READ EVENTS. So I checked my MAIN.PRG where the READ EVENTS is and that is the last line in the program.
>Hmmmm. maybe I should do the THISFORM.RELEASE right after the READ EVENTS in the MAIN. PRG.

Put

thisform.Release()
CLEAR EVENTS

in the Exit button of your form

In the main program

after Read Events

add

ON SHUTDOWN

CLEAR ALL

QUIT
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform