[Lazarus] Inconsistent results from MessageDlg()
Bart
bartjunk64 at gmail.com
Wed Apr 25 15:44:59 CEST 2012
On 4/22/12, Bart <bartjunk64 at gmail.com> wrote:
> On 4/22/12, Bart <bartjunk64 at gmail.com> wrote:
>> In my Delphi (3) the
>> dialog does not always close if you press the Escape key. It looks
>> like it only handles Escape if one of the Buttons has Cancel = True.
>> For instance specifying [mbAbort, mbRetry, mbIgnore] will not respond
>> to pressing Escape key at all.
>
> This in effect is stil the case in Delphi XE when the compiled program
> is run in XP.
>
> Bart
Delphi infact only responds to escape if either mbCancel, mbNo or mbOk
is in Buttons and it assigns Cancel to those buttons in that order.
Bart
More information about the Lazarus
mailing list