This gives you a great opportunity to create your own exception handler and provide several different types of messages to your user. If E Is ESTInfo Then Application. If E Is ESTTerminate Then Application. Finally, if the exception was an ESTTerminate , it shuts down the entire application. I warned you.
End is within, then the finally clause is executed first, before the except clause is executed.
These tools that Delphi provides are tremendously powerful. Used properly, they can really simplify complex coding. Used improperly, they can tie you up in knots. I've tried to help you understand them. He is also President of the Los Angeles Delphi User Group , a past speaker at the Borland Developers Conference, and has written for several newsletters, magazines and books regarding database development topics.