On 28/04/12 13:37, Bart wrote:
Here's the alternative implementation: Escape will always return
mrCancel, both LCL's own CreatemessageDialog and
Widgetset.PromptUser().
See attached file: msgdlg.alternative.diff
(Diff's for the first solution are in the bugtracker)
IMHO, the alternative implementation is very logical as:
- Both types of dialogs are consistent
- The programmer doesn't have to refer to documentation to find out what
the Escape key does for every combination of buttons, and its effect on
the dialog result
In any case, good work Bart!
Stephano
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus