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…
Python: Getting Started with DelphiVCL4Python III: Overview of Commonly Used VCL Components
March 12, 2021
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…
Description
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.
Code example and explanation
Below are the explanations of code example in the…
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.
Code example
Here is a Python…
OnDblClick Event in DelphiVCL4Python 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…
Quickly Browse All Available Functions in DelphiVCL4Python Library For Python Windows Apps
March 7, 2021
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'…
There are two ways for you to install DelphiVCL: By directly copying the module to your local/system path, or install it via pip.
1. Copy to Your Local or System Path
Download the DelphiVCL.pyd module Beta Release 0.01– Beta preview – 2021-18-01, and extract…
The most important benefits of the VCL over other competing technologies such as Tkinter and PyQT are as follows:
A standard set of components that includes all controls provided by the Windows UI framework. This set consists of components such as buttons, edits, menus…
Specify Component's Width Properties using .Width
February 28, 2021
.Width specifies the horizontal size of the control or form in pixels.
Use the Width property to read or change the width of the control.
Note: For tab sheet controls, changing this property at the run time does not affect.
Here are the examples of drawing a rectangle with Width =100, 200, 300, or 460 respectively:
# Draw a rectangle
shpRectangle =…