Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where goes the code
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00225781
Message ID:
00226328
Views:
25
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform