DelphiDelphiVCLPythonPython GUIWindows

What Is The FreeNotification Method In DelphiVCL?

In this post, you’ll learn how to use the FreeNotification method or DelphiVCL.Application.FreeNotification to ensure that AComponent is notified that the component is going to be destroyed. Use FreeNotification to register AComponent as a component that should be notified when the component is about to be destroyed. It is only necessary to register components this way when they are in a…
Read more
DelphiDelphiVCLPythonPython GUIWindows

How To Use The GetHashCode Method in DelphiVCL.Application

In this post, you’ll learn how to use the GetHashCode method or DelphiVCL.Application.GetHashCode is used to return an integer containing the hash code. By default, calling GetHashCode on an object returns an integer representing the virtual address at which the object is stored. Notes: GetHashCode is supposed to be overridden in user-derived classes, to provide consumer objects with…
Read more
DelphiDelphiVCLPythonPython GUIWindows

What is DelphiVCL.Application.CreateHandle?

We can use the CreateHandle method or DelphiVCL.Application.CreateHandle to generate a main window for the application if it does not already have one. Do not call CreateHandle directly. In EXEs, the application’s constructor calls CreateHandle. In DLLs, it does not. CreateHandle encapsulates much of what traditional Windows programs write in WinMain. For example, CreateHandle…
Read more
DelphiDelphiVCLPythonPython GUIWindows

What is the FieldAddress Method in DelphiVCL.Application?

In this post, we’ll use the FieldAddress method or DelphiVCL.Application.FieldAddress to return the address of a published object field. Learning how to do it will allow you to easily build GUIs with Python Coding Software. FieldAddress is used internally by the component streaming system to access a specified published field of an object. FieldAddress returns a pointer to the field…
Read more