RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.HandleCreateException Method

Handles exceptions that are raised by the OnCreate event handler.

Pascal
function HandleCreateException: Boolean; dynamic;
C++
__fastcall Boolean HandleCreateException();

The form calls HandleCreateException internally if the OnCreate event handler raises an exception. HandleCreateException forwards the exception on to the application object, which generates an OnException event. If there is no OnException event handler, the application displays an exception message box. 

HandleCreateException returns true if it handles the exception, false otherwise. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!