DelphiDelphiVCLPythonPython GUIWindows

What Is The GetEnumerator Method in delphivcl.Application?

In this post, you’ll learn how to use the GetEnumerator method or DelphiVCL.Application.GetEnumerator to return a TComponent enumerator. GetEnumerator returns a TComponentEnumerator reference, which enumerates the components contained within a specified containing component. To process all these subcomponents, call the TComponentEnumerator GetCurrent method within a While MoveNext do loop.
Read more
DelphiDelphiVCLPythonPython GUIWindows

What Is The FreeNotification Method In DelphiVCL4Python?

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

Creating A New Application With delphivcl.Application.Create

In this post, we’ll use the Create method of the DelphiVCL.Application object, & DelphiVCL.Application.Create, to create a new VCL-based application.Do not call Create directly. Each GUI application automatically creates an instance of an application object. Learning how to do it will allow you to easily build GUIs with Python Program Maker. For DelphiVCL.Application or TApplication…
Read more