Felipe Monteiro de Carvalho schrieb:
I think it should return mrCancel in case of ESC or X button click,
regardless of the existing buttons.
If the buttons are No and Yes, you cannot simply map that to either No
or Yes. Which one is cancel? That depends on the question.
That's quite an easy example: Yes=Default, No=Cancel. When the user
shall have a chance for an explicit Cancel, mbYesNoCancel is the right
choice instead.
DoDi
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus