Bart schrieb:
On 8/19/11, Hans-Peter Diettrich <[email protected]> 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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus