DelphiLearn PythonPythonPython GUIRAD StudioWindows

Tutorial: Generate Python Dummy Data And Plot It To Enterprise-Grade Delphi TChart

In this tutorial, we will learn about how to do data visualizations using Delphi’s TChart or TeeChart. TChart is the 100% Native Data-Aware Charting Component Library for Delphi and C++ Builder (v5 and later) and all RAD Studio versions. 1. Generate the Dummy Data with Python To create dummy data in Python, you can use pandas or the Faker…
Read more
CodeLearn PythonPythonPython GUI

Learn Three Different Ways of Formatting String in Python!

In this post, we will learn three different ways of formatting string in Python as well as which one you should use. The old way In the beginning of Python, there was only one way to format strings – by using %s. Let’s an example: "Hello, %s" %s name %s serves as a placeholder for a value in name variable. More variable could be embedded by adding more %s in the string…
Read more
DelphiDelphiVCLPythonPython GUIWindows

How to Change the Font Attributes

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: Changing the font color of the Caption is not supported for some controls (such as TButton). In most cases, there is an…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Python: Getting Started with DelphiVCL III: Overview of Commonly Used VCL Components

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" …
Read more