[Lazarus] Inconsistent result from MessageDlg

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Aug 19 21:51:59 CEST 2011


Bart schrieb:
> On 8/19/11, Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:
>> Bart schrieb:
>>
>> IMO it's perfectly sufficient to also map Close to the Cancel button,
>> and to disallow Close when no button has Cancel=True.
> 
> ?
> 
> You won't be able to do this when using TaskDialogIndirect(), it's
> just a Windows modal dialog form, and clicking on the "Close"
> border-icon will close it no matter what we think is convenient...

This only indicates that Lazarus modal dialogs possibly should not be 
created this way.


> Also there is the Delphi compatibility issue (cannot test that, my
> Delphi is much to old).

I'll test with Delphi XE...

DoDi





More information about the Lazarus mailing list