[Lazarus] Inconsistent results from MessageDlg()

patspiper patspiper at gmail.com
Sat Apr 28 17:35:55 CEST 2012


On 28/04/12 10:57, Bart wrote:
> On 4/27/12, patspiper<patspiper at gmail.com>  wrote:
>
>
>> Lazarus doesn't have to bear Delphi's legacy shortcomings, especially in
>> such a minor issue. I prefer that mrClose, mrCancel, and mrNone each do
>> what they imply they do.
> And they do. Just bkClose without mrNone did not act as expected.
> This is what I fixed.
Logically speaking, any button/bitbutton with mrNone should have no 
ModalResult effect.
Furthermore, I checked Embarcadero's online help, but could not find any 
reference to the behaviour you described for mbClose with mrNone.

Steohano




More information about the Lazarus mailing list