Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Customer Complained that Delete was too easy!
Message
De
31/01/2001 09:38:35
 
 
À
30/01/2001 18:47:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00470241
Message ID:
00470590
Vues:
30
Now that I think about it I agree that it might cause mistakes.

I think that Marty hit it on the head with the reversible delete.


>I think even your method is as likely to generate mistakes. Some folks will not read your message and assume selecting 'No' will cancel the delete.
>
>The methods described by Bruce and Marty are of course the best way, but if you need a quick n dirty way, then dont use buttons at all. Make them type YES into a text box for ireversible operations. They always think twice this way because it is so unusual nowadays<g>
>
>
>
>
>>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
>>...
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform