DelphiDelphiVCLPythonPython GUIWindows

Learn About DelphiVCL.Abort Function

featuredimage2 4

DelphiVCL.Abort function is used to raise a silent exception.

We use Abort to escape from an execution path without reporting an error.

Abort raises a special “silent exception” (EAbort), which operates like any other exception, but does not display an error message to the end user. Abort redirects execution to the end of the last exception block.

Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Abort using dir() command:

See the responses in our Windows command prompt:

0dir-4446824

 

EAbort

EAbort is the exception class for errors that should not display an error message dialog box.

Use EAbort to raise an exception without displaying an error message in a dialog box. If applications do not trap such “silent” exceptions, the EAbort exception is passed to the HandleException method of the Application object.

The Abort procedure provides a simple, standard way to raise EAbort.

 

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

close
Related posts
Python GUI

Is Python a Scripting Language or a Programming Language?

Python

Embrace The Power Of Brand New Python 3.11 Features

Python

How To Exit A Python Script

CodeLearn PythonPythonWindows

How To Add Python Testing Tools Into Pandas Machine Learning Code

Leave a Reply

Your email address will not be published.

en_USEnglish