DelphiDelphiVCLPythonPython GUIWindows

Numeric Types Emulators Inside DelphiVCL Library

In DelphiVCL Library or Python in general, the following methods can be defined to emulate numeric objects. Methods corresponding to operations that are not supported by the particular kind of number implemented (e.g., bitwise operations for non-integral numbers) should be left undefined. object.__add__(self, other) object.__sub__(self, other) object.__mul__(self…
Read more
DelphiPythonPython GUIWindows

Learn To Build A Python GUI For Web Scraping Using BeautifulSoup Library In A Delphi Windows App

Are you looking for tools to build website scrapers to automate your data collecting process, and build a nice GUI for them? You can build scalable web scrapers easily by combining BeautifulSoup and Python4Delphi library, inside Delphi and C++Builder. BeautifulSoup is a library that makes it easy to scrape information from web pages. It sits atop an HTML or XML parser, providing Pythonic…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Add Strings to Various Components using .Items

In previous examples, we already use .Items several times (see Getting Started with DelphiVCL III: Overview of Commonly used VCL Components). We use it in ListBox, ComboBox, and RadioGroup. Items contain the strings that appear in the ListBox, ComboBox, and RadioGroup. Use Items to add, insert, delete and move items. By default, the items in a list box are of type Strings. Use this item type to…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Learn About DelphiVCL.StaticText

DelphiVCL.StaticText or TStaticText is a windowed control that displays text on a form. The DelphiVCL.StaticText or TStaticText component functions like TLabel, except that it descends from TWinControl and therefore has a window handle. Use TStaticText instead of TLabel when the component’s accelerator key must belong to a windowed control—for example, on an ActiveX property…
Read more