Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Postdelete/Predelete
Message
De
11/04/2005 14:16:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01003258
Message ID:
01003450
Vues:
21
>Ok once again I probably missed the obvious but seems like the postdeletehook should not fire if the user says "NO" to the delete dialog. I see where the click event code of the delete botton checks the predeletehook and won't execute if that returns false but should not the post delete be done in the same way?
>
>Or does someone have a way to trap that the user said NO and fall out of the postdeletehook?

I'd suggest doublechecking the code that asks the user. What are you calling and where from? The bizobj.delete() fires the postdelete hook unless the bizobj.predeletehook cancels, or it throws an error.

Chris.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform