Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where goes the code
Message
De
03/06/1999 19:28:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00225781
Message ID:
00226328
Vues:
26
>>Jim, thanks for responding, and I like your logic on this issue. If I apply your premise that a button's purpose is to allow communication with the system, shouldn't an accidental push of the button be handled by the button with a decision prompt like: if messagebox("Continue",33,"Continuing will cause x")=1 and its endif wrapped around the method call? I mean rather than pollute our method with such code? < TIA >
>
>Terry,
>
>You could do that, but I hate those "Are you sure" messages. The suer must take some responibility for their actions. If the process is a potentially destructive one then the issue is different. The button should ahve no knowledge of the process that will result, so it doesn't know that it is potentially destructive. Only the process itself knows that information, so it should be the process that provides for a nondestructive out.

Here, here! I get so sick of ArcServe 6.x asking if I'm *sure* I want to quit!
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform