Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Customer Complained that Delete was too easy!
Message
 
À
30/01/2001 14:27:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00470241
Message ID:
00470287
Vues:
24
>I have a customer complaint that the Delete routine was too easy even when you had the messagebox that required them to verify the delete. He said that power mousers will hit yes before they read...
>
>So my solution was...
>
>
>LOCAL lnAnswer
>lnAnswer = MESSAGEBOX("CAUTION You have selected DELETE!";
>  +CHR(13)+"Do you Want to Cancel this Delete?", 36, "Delete Record")
>IF lnAnswer = 7  && No was selected
>...
>
I put my delete code in the RIGHT MOUSE CLICK EVENT and set the caption on the button to RED, indicating the button's action requires a RIGHT MOUSE, then asked if they want to cancel the delete action. I quick yes cancels the delete, a NO deletes.
Nebraska Dept of Revenue
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform