Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Good question
Message
From
08/04/2013 18:01:42
 
 
To
08/04/2013 17:19:11
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01570404
Message ID:
01570431
Views:
28
>>Hi everybody,
>>
>>I need to implement the following functionality:
>>
>>Cancel button (and clicking on the Close x button at the top of the form will prompt in case of unsaved changes and let the user to save them or really close/cancel – note, this behavior is non-standard to other application forms where Cancel just cancels without any prompts).
>>

>>So, this is the question I added (see attached), but I am not sure I like it. I am wondering how should I phrase this prompt question - can you please suggest?
>>
>>Thanks in advance.
>
>Well the "do you want A or B" can't be ever answered with a "OK" or "cancel". Even I would answer it as "yes" (and Marc Grajower with a "no"), so you're missing a "none of the above" :).
>
>Have you forgotten alert.prg? Why do you have to adjust your question to messagebox's limited set of buttons? Can't you make it a more natural question and provide any number of reasonable answers?
>
>"You have entered some data. If you close now, they will be lost. How do you want to proceed" - "save first";"just close";"let me finish that first" (the last being for the case when the user clicked close button accidentally), or any such set of text and buttons.


It seems to be a form of 'Do you want fries with that?'
I ain't skeert of nuttin eh?
Yikes! What was that?
Previous
Reply
Map
View

Click here to load this message in the networking platform