RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDbEngineErrorDlg.FormDestroy Method

Restores the global Application object's OnException event handler.

Pascal
procedure FormDestroy(Sender: TObject);
C++
__fastcall FormDestroy(TObject * Sender);

Applications should not call FormDestroy. It is called automatically when the dialog is destroyed.  

While the DbEngineErrorDlg is up, it assigns its own event handler to the Application object's OnException event. FormDestroy restores this event handler to its previous state. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!