[Lazarus] Inconsistent results from MessageDlg()

patspiper patspiper at gmail.com
Sun Apr 29 10:40:18 CEST 2012


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




More information about the Lazarus mailing list