On 4/22/12, Bart <[email protected]> wrote: > On 4/22/12, Bart <[email protected]> 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
