On Tue, 12 Feb 2013, Sven Barth wrote:
called whenever the user tries to close the form and if an assigned event
handler raises an exception it seems that the calling code assumes that the
form should not be closed. In my example I used OnDestroy which seems to be
handled more gracefully.
I'd suggest you to ask on the Lazarus list whether it is intentionally that
you can't close a form of which the OnClose event handler raises an
exception.
This is also so in Delphi. Just tested.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal