[fpc-pascal] Re: Fpc Access Violation if AppConfigDir doesn't exist.

Michael Van Canneyt michael at freepascal.org
Tue Feb 12 13:56:12 CET 2013



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.



More information about the fpc-pascal mailing list