DelphiDelphiVCLPythonPython GUIWindows

What You Need To Know About The Python GUI OnMinimize Event

OnMinimize or DelphiVCL.Application.OnMinimize occurs when a Python GUI DelphiVCL application is minimized. Write an OnMinimize event handler to perform special processing when the application is minimized. The application is minimized either because the user minimizes the main window or because of a call to the Minimize method. The Icon property determines the icon that represents the…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Learn about DelphiVCL.Application.ComponentState For Development On Windows

When performing development on Windows, the ComponentState property or DelphiVCL.Application.ComponentState is used to describe the current state of the component, indicating when a component needs to avoid certain actions. ComponentState is a set of constants defined in the TComponentState type. Components use the ComponentState property to detect states in which certain kinds of actions…
Read more
DelphiDelphiVCLPythonPython GUIWindows

What is the ClassNameIs Method in DelphiVCL.Application?

The ClassNameIs method or DelphiVCL.Application.ClassNameIs is used to determine whether an object is of a specific type when you develop windows software. ClassNameIs determines whether an object instance or class reference has a class name that matches a specified string. This is useful to query objects across modules or shared libraries. Let’s browse all the properties, methods, and…
Read more
DelphiDelphiVCLPythonPython GUIWindows

What Is A DelphiVCL.PaintBox And How Does It Work?

DelphiVCL.PaintBox or TPaintBox provides a canvas that applications can use for rendering an image when you develop Windows software. We can use TPaintBox to add custom images to a form. Unlike TImage, which displays an image that is stored in a bitmap, icon, or metafile, TPaintBox requires an application to draw the image directly on a canvas. Use the OnPaint event handler to draw on the paint…
Read more