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)
This alternative implementation seems to be in line with Delphi XE's result for MessageDlg('test', mtInformation, [mbOk, mbAbort], 0) when Escape key is pressed: mrCancel

Stephano

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to