AddPopupForm method or DelphiVCL.Application.AddPopupForm is used to add a PopupForm to the current form.
AddPopupForm adds a TCustomForm, that acts as a popup, in the current form. Popup handling is done by using a TPopupFormArray.
The method returns the popup form id representing the order number of the currently added popup element.
Note: The popup form id is different from…
ActiveFormHandle property or DelphiVCL.Application.ActiveFormHandle is used to give the Windows handle of the currently active form.
ActiveFormHandle gives the Windows handle of the currently active form.
Let’s browse all the properties, methods, and built-in…
Discover Delphi VCL's Available Shapes
May 23, 2021
Shape in DelphiVCL.Shape is used to specify the shape of the control.
Set Shape to the geometric shape that should be drawn on the form.
The Shape property has these possible values:
Value
Meaning
stCircle
The shape is a…
In the previous examples, we already use the .SetProps several times (see Section 7: Getting Started with DelphiVCL III: Overview of Commonly used VCL Components).
Use SetProps to set specific properties to components.
Here are the working examples taken from the Section 7: Getting Started with DelphiVCL III: Overview of Commonly used VCL Components:
Implemented in creating…
What is Active Property in DelphiVCL.Application?
May 22, 2021
Active property or DelphiVCL.Application.Active is used to specify whether the application is active and has focus.
Active is true while the application is active and false if it is not. Active is set to true in the constructor.
An application is active if the…
ActivateHint method or DelphiVCL.Application.ActivateHint is used to display a hint window for the control at a specified position.
ActivateHint locates the control or menu item at the position specified by CursorPos, where CursorPos represents a screen coordinate in…
.SetBounds will set the Left, Top, Width, and Height properties all at once.
Use SetBounds to change all of the component’s boundary properties at one time. The same effect can be achieved by setting the Left, Top, Width, and Height properties separately, but SetBounds changes all four properties at once ensuring that the control will not repaint between changes.
This is the…
The Delphi Run-Time Library (or RTL) is composed of a number of base units that provide the underlying support for most of the VCL component libraries. The RTL includes global routines, utility classes such as those that represent streams and lists, and classes such as…
Learn About DelphiVCL.WinControl
May 21, 2021
DelphiVCL.WinControl or TWinControl is the base class for all controls that are wrappers for Microsoft Windows screen objects.
TWinControl provides the common functionality for all controls that act as wrappers for Microsoft Windows screen objects…
We all know that the Python programming language is being used to build some innovative projects and applications. We have learned from some of the previous PyCon 2020 videos that Python can be applied in almost any field from Agriculture to Physics. We even discovered a video of a mom sharing her experiences and how she helps her son build a science fair project using Raspberry PI with Python. If…