Vcl.Forms.TCustomForm.HandleCreateException
Delphi
function HandleCreateException: Boolean; dynamic;
C++
DYNAMIC bool __fastcall HandleCreateException(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Handles exceptions that are raised by the OnCreate event handler.
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.