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 MainForm(Form):
def __init__(self, Owner):
self.Caption = "Components Overview Sample"
self.Name = "BaseForm"
…
Programming Knowledge recently created a tutorial series dedicated to Tkinter, a built-in module for Python that allows you to create a Graphical User Interface application. The Tkinter Python GUI Tutorial for Beginners series is divided into multiple parts to help us…
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…
Learn Python With Python Top 5 GUI Frameworks Video
March 9, 2021
If you are planning to create your first Graphical User Interface application, the first thing you must consider is to pick the right GUI framework. It is important to note that there are tons of GUI frameworks available today and most of them will vary in terms of their overall functionality and complexity. In this video presented by Parwiz Forogh, he will share with us five of the most popular…
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'…
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…
Learn Python With Tkinter Python GUI Tutorial For Beginners 12 - Simple GUI Calculator Using Tkinter Video
March 5, 2021
If you have been following the Tkinter Python GUI Tutorial For Beginners Series by Programming Knowledge on YouTube, you probably know now how to create basic GUI applications using the Tkinter GUI framework and Python programming language. From the previous tutorials, we…
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, and so on. The VCL also extends some of these controls, offering you even more functionality than is normally provided by the…