Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Customer Complained that Delete was too easy!
Message
De
30/01/2001 14:55:01
 
 
À
30/01/2001 14:29:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00470241
Message ID:
00470275
Vues:
35
>Seems to me counterintuitive. I think a better way may have been to have the default button be the second button and leave "Yes" reserved for confirming the delete.
>
>
>>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 had my confirmation msgbox default to NO for "are you sure you want to delete?", so that if they hit enter too fast, it does not delete. They actually have to choose 'Yes' rather than just confirnm it with enter...
Jim Newsom
IT Director, ICG Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform