DelphiDelphiVCLPythonPython GUIWindows

Learn About DelphiVCL.Application.HandleMessage In Python

In this post, you’ll learn how to use the HandleMessage method or DelphiVCL.Application.HandleMessage to interrupt the execution of an application while Windows processes a message in the Windows message queue. Learning more about the HandleMessage method will help you build a Python project more easily in the future. HandleMessage interrupts the execution of the application so that…
Read more
DelphiDelphiVCLPythonPython GUIWindows

What Does DelphiVCL.Application.HandleException Do?

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…
Read more
DelphiDelphiVCLPythonPython GUIWindows

What Is The ModalStarted Method In DelphiVCL.Application?

In this post, you’ll learn more about ModalStarted or DelphiVCL.Application.ModalStarted method is used to track the opening of the modal form. Call ModalStarted to indicate that a modal form is being opened. ModalStarted is called by the ShowModal method of TCustomForm. ModalStarted calls the OnModalStart event handler if defined. Learning more about the ModalStarted method will help…
Read more
DelphiDelphiVCLPythonPython GUIWindows

What is the NewInstance Method in DelphiVCL.Application?

In this post, you’ll learn more about NewInstance or DelphiVCL.Application.NewInstance method allocates memory for an instance of an object type and returns a pointer to that new instance. All constructors call NewInstance automatically. NewInstance calls InstanceSize to determine how much memory contains a particular instance to allocate from the heap. Do not call NewInstance…
Read more