ActionUpdateDelay property or DelphiVCL.Application.ActionUpdateDelay used to delay the call to DoActionIdle. This applies to native Windows development. The following example demonstrates the usefulness of this property:
Create an MDI project with the main form, an MDI Child, and a TAction class.
Link the TAction OnUpdate event to a method.
Run the program and maximize the MDI…
What You Need To Know About The OnActionExecute Event
April 4, 2022
What is the DelphiVCL.Application.OnActionExecute Event?
The OnActionExecute or DelphiVCL.Application.OnActionExecute event occurs for Windows app development when an action’s Execute method is called and its action list has not already handled it.
Use the…
OnModalBegin or DelphiVCL.Application.ModalBegin occurs when a modal form is opened.
Write an OnModalBegin event handler to perform special processing when a modal form is opened.
How to examine the properties, methods, and built-in properties of the…
This Is How Python's Self Works In Windows Development
April 1, 2022
Whenever object-oriented programming is done in Python, then we will often come across the self method as their first parameter. This article explains the main concept of self method in Python for Windows development.
self represents the instance of the class in Python. By using the “self” keyword we can access the attributes and methods of the class in Python. It binds the attributes with…
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…
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 returns nil (Delphi) or NULL (C++).
Avoid using ClassParent in application code.
Let’s browse all the properties and…
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…
What Is The DelphiVCL Application.CleanupInstance Method?
March 25, 2022
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…
How To Make Python Automatically Detect App Vulnerabilities
March 24, 2022
Before you download an app (not just one written with a Python IDE) or run a file such as a CMD script, it is important to know that the file itself is secured and safe. We do not want any harmful viruses to ruin our computer or hack all our private information. To prevent this from happening, we often run virus scanners before running the file. It is also equally important to verify signatures…