>It's really a three response question:
>
>- Yes: Save changes and exit
>- No: Don't save changes and exit
>- Cancel: Don't exit. Return me to editing, with changes visible but not saved.
>
>But a standard Yes/No/Cancel box doesn't describe those options. A TaskDialog is better, where the dialog options become:
>
>- Save changes and exit
>- Don't save changes and exit
>- Don't exit. Return to editing
>
>
I am trying to use the standard VFP messagebox. I know I can use Cesar's messagebox that allows different prompts for the buttons, but I do not want to introduce extra stuff right now in that project.
Also, it is not only for Exit with an x button. For some reason we want non-standard behavior for the Revert button (we currently have Apply and Revert). Even though it says 'Revert' we still want to provide this prompt.
May be I need to discuss this with my colleague, though, who wrote the design as it is too non standard.
If it's not broken, fix it until it is.
My Blog