>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.
The user may have hit the close by accident
I'd go for Save changes : Yes - No - Cancel with the default on the Cancel button
yes = save and exit
No: disregard changes and exit
Cancel : disregard the Close x and continue whatever I was doing
Gregory