In Delphi VCL, TColor is used to specify the color of a control. It only works for development on Windows.
TColor is used to specify the color of a Windows-only control. It is used by the Color property of many components and by many other properties that specify color values.
The Graphics unit contains definitions of useful constants for TColor. These constants map either directly to the…
This Is How BringToFront Works In Windows App Development
March 30, 2022
For Windows app development the BringToFront method or DelphiVCL.Application.BringToFront sets the last active window as the topmost window on the desktop above all other applications.
Use BringToFront to find the window owned by the MainForm that was last active and…
What is the ClassParent Method in Windows App Development?
March 29, 2022
The ClassParent method or DelphiVCL.Application.ClassParent is used during Windows app development to return the type of the immediate ancestor of a class.
ClassParent returns the name of the parent class for an object instance or class reference. For TObject, ClassParent…
What Is The Role Of delphivcl.Application.Components?
March 28, 2022
The Components property or DelphiVCL.Application.Components in Windows app development is used to list all components owned by the component. Of then this is used to programmatically iterate through all the components on a form or panel in order to update them in some way.
Use Components to access any of the components owned by this component or form. The Components property is most useful when…
The DelphiVCL CleanupInstance method or DelphiVCL.Application.CleanupInstance is used to perform finalization on long strings, variants, and interface variables within a class.
Do not call CleanupInstance directly. CleanupInstance is called automatically when the object…
What You Need To Know About The Python GUI OnMinimize Event
March 23, 2022
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…
In the DelphiVCL Wiindows UI Toolkit TMonitorDefaultTo specifies which monitor to select when there is no match to the specified criteria.
TMonitorDefaultTo indicates which monitor should be used when the selection criteria do not match any of the monitors in the system.
It can have any of the following values:
ValueMeaningmdNearestChoose the monitor that comes closest to matching…
As a part of the DelphiVCL Windows UI Toolkit the DelphiVCL.Timer or TTimer is used to encapsulate the Windows API timer functions.
TTimer is used to simplify calling the Windows API timer functions SetTimer and KillTimer, and to simplify processing the WM_TIMER messages.
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…
When carrying out Windows development, use the CurrentHelpFile property or DelphiVCL.Application.CurrentHelpFile to indicate the current Help file.
You can read CurrentHelpFile to determine the name of the Help file that is currently used by the application when it executes a Help command (through the HelpCommand method) or when it brings up context-sensitive Help (through the HelpContext or…