DelphiDelphiVCLPythonPython GUIWindows

What Does DelphiVCL.Application.HandleException Do?

python delphi bioinformatics

In this post, you’ll learn how the HandleException method, also known as DelphiVCL.Application.HandleException, works. It’s used to provide the application with default exception handling. If an exception passes through all the try blocks in the application code, the application automatically calls HandleException, which displays a dialog box indicating an error has occurred. Unless the exception object is EAbort, HandleException calls the OnException event handler, if one exists. Otherwise, it calls ShowException to display a message dialog box indicating an error has occurred.

To assign other exception handling codes for the application, use the OnException event handler. Learning more about the HandleException method will help you build a Python project more easily in the future with Delphi VCL Applications.


What are the properties and methods of DelphiVCL.Application.HandleException?

Let’s browse all the properties and methods of the DelphiVCL.Application.HandleException using dir() command:

See the responses in our Windows command prompt:


You can also read short information about the DelphiVCL.Application.HandleException using the print() command:

See the responses in our Windows command prompt:



Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Related posts

A Beginner's Guide To Python Tools

Learn PythonPythonPython GUIVideos

This Is How To Create A Python Gui With PyQt5

Python GUI

What Are Python Debugging Tools: A Simple Definition

Learn PythonPythonPython GUIVideos

How To Make A Python GUI For An ATM System