The ComponentIndex property or DelphiVCL.Application.ComponentIndex from DelphiVCL is used to indicate the position of the component in its owner’s Components property array.
Use ComponentIndex when iterating through the Components list of the component’s owner to perform an action on owned components. It can be used in conjunction with ComponentCount. ComponentIndex is used…
Use the Dispatch method or DelphiVCL.Application.Dispatch from the DelphiVCL library to call message-handling methods for the object, based on the contents of the Message parameter.
Call Dispatch to automatically pass messages to the appropriate message…
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…
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. ComponentStyle is a read-only property. Typically, the value of the various component style flags are part of a component…
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…
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 region of a canvas, as indicated in the following table:
ValueMeaningfsSurfaceThe region is defined as all areas that have a…
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…
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 DelphiVCL.Application.OnModalBegin?
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.OnModalBegin…