Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancel button releases form, but running proc continues.
Message
De
08/02/2002 16:59:45
 
 
À
08/02/2002 16:39:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00617682
Message ID:
00617731
Vues:
23
Tracy,

Hopefully the procedure will stop gracefully if the form stays active. And, as far as escape code, if you could just post the ON ESCAPE line (if that is what is used), if ON ESCAPE calls a function please post it. Also, show what tests are done during the loop to see if the escape key was hit.

Talk to ya Monday...

>The code in the procedure to trap for escape is the problem. There are actually almost 20 little procedures that are called from the menu and I would have to put it in everyone. The procedure is run under FPD26 AND VFP7 so I have to enclose everthing inside of #IF 'VISUAL' $ UPPER(VERSION())
>to make it safe to run under both versions which is why I really don't want to do too much coding to trap for the escape key. However, the rest of the app traps for escape and returns to the calling program so I would like the same function. It works in FPD26 because a screen is run instead of a form, but in VFP7 of course the form is open. The cancel button effectively cancels the form and I release all other objects that I created, but of course the procedure still keeps running. I'll test it with the cancel on the cancel button set to .f. and see if I can grab the escape coding and post it.
>Tracy
>
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform