Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Graceful exit on ESC from triggers and rules
Message
 
 
À
07/04/2005 15:36:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01002344
Message ID:
01002408
Vues:
19
>I suppose you could create a local Object at the beginning of the routine and store state to it. In the destroy event of the object it can restore state.
>
>Glenn

Good idea! So, this variable is get destroyed when you interrupt by ESC? E.g. does Destroy fire when you Cancel out of procedure?

In the meantime I tried my idea of CleanUp, but it doesn't seem to work, e.g. I don't know how to invoke this VFP interrupted dialog programmatically...
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