[Lazarus] Inconsistent results from MessageDlg()

Bart bartjunk64 at gmail.com
Sat Apr 28 12:37:26 CEST 2012


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)

Bart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msgdlg.alternative.diff
Type: text/x-patch
Size: 3548 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120428/6f786caf/attachment-0003.bin>


More information about the Lazarus mailing list