Whenever object-oriented programming is done in Python, we mostly come across the __init__ method. This article explains the main concept of __init__ method in Python when used for Windows app development of graphical user interfaces (GUIs).
“__init__” is a reserved method in python classes. It is known as a constructor in object-oriented concepts. This method is called when an…
How To Change Behavior Of Components For Windows Development
April 13, 2022
The ComponentStyle property or DelphiVCL.Application.ComponentStyle is used to govern the behavior of the component when you are carrying out Windows development.
ComponentStyle governs how the component interacts with the streaming system and the Object Inspector.
This Is What DoApplicationIdle Does For Windows Development
April 12, 2022
The DoApplicationIdle method or DelphiVCL.Application.DoApplicationIdle is used to process messages in the Message queue for certain events as part of your Windows development.
The DoApplicationIdle method forces a call to the protected method TApplication.Idle. Idle…
The DelphiVCL.ControlBar manages the layout of toolbar components as part of a low code application platform. With components like the controlbar in the DelphiVCL the amount of code you actually have to write is greatly reduced and often avoided altogether.
Use DelphiVCL.ControlBar as a docking site for toolbar components. Control bars contain child controls (usually TToolBar objects) that can…
TFillStyle in Delphi’s VCL Windows UI toolkit indicates the type of color change that defines the boundary of a possibly non-rectangular region on a canvas.
TFillStyle values determine what type of color changes define the boundaries of a (possibly) non-rectangular…
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…
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 OnActionExecute event handler to respond when a user invokes actions whose action lists do not have OnExecute event…
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.
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…