The documentation for Delphi’s VCL is available on Embarcadero’s DocWiki. You will notice that on DocWiki, all the VCL components are prefixed with a T. This is a convention of the Delphi language, but the DelphiVCL4Python module removes the T prefix for a more Python-like experience (see and compare it with the outputs of this post).
Here are the lists of all the methods, events, and…
How to use the Show Method for DelphiVCL Applications
March 14, 2021
We use the Show method to make a form or window visible.
Use the Show method to make visible a control that was previously hidden.
The Show method sets the control’s Visible property to true and ensures that the parent control is also visible.
Here is…
How to Change the Font Attributes
March 14, 2021
We use Font or TFont to specify the attributes of text written on or in the control.
To change to a new font, specify a new TFont object. To modify a font, change the value of the Charset, Color, Height, Name, Pitch, Size, or Style of the TFont object.
Note…
Let’s compare the DelphiVCL form with other Python GUI frameworks (we take the GUI created in this post as an example):
DelphiVCL provides better OS integration and styling by default. It provides Windows-10 styling to make your GUI looks professional and up-to-date.
DelphiVCL even provides Windows right-click functionality by default. Compared with PyQt that lacks OS…
Compare Python For Delphi VCL vs Dear PyGUI For Windows Apps
March 13, 2021
Are you an expert in desktop apps and GUI development who want to also work with Python because of its simplicity, flexible use, and growing demand in the market out there? Or are you a Python Developer at any level who wants to start a GUI development journey? This article…
To increase your familiarity with DelphiVCL Components, this post will show you a demo that presents commonly used VCL components, and call them one-by-one with Python.
The following is a Python code sample using DelphiVCL4Python:
from delphivcl import *
class…
This post will break down the code example to create a simple Form app as presented in the previous post. These steps are essential for Python Developers to be familiar with Delphi VCL methods, events, and properties, to enable you in creating professional Windows Apps, without installing Delphi.
Below are the explanations of code example in the previous post:
Import the module:
from…
In essence, DelphiVCL is a wrapper that helps to create and access Delphi Objects quickly from Python. These wrappers contain container classes to extend and expose your custom events, methods, variables that can be used in Python script.Here is a Python code sample using…
OnDblClick Event in DelphiVCL Library
March 8, 2021
OnDblClick event occurs when the user double-clicks the left mouse button when the mouse pointer is over the control.
We use the OnDblClick event to respond to mouse double-clicks.
OnDblClick is an event handler of type…
To make sure that you have already installed the DelphiVCL Python library correctly, you can simply test it using the Python dir() command:
import delphivcl
dir(delphivcl)
If you install it correctly, it will return all properties, methods, even built-in properties of the DelphiVCL module, without the values:
See them more clearly here:
['Abort',
'Action',
'ActionList'…