SwissDelphiCenter Delphi Tips: The Scraper Scripts

Here are the two Python scripts I used to create the SwissDelphiCenter Delphi Tips archive: download. scrape_tips.py downloads the tip pages from the Wayback Machine. It waits 10 seconds between requests and it is resumable, so you can stop it and continue later. Before you run it, you must put your email address into the … Continue reading SwissDelphiCenter Delphi Tips: The Scraper Scripts

GExperts: Export and Import Your Complete Configuration

GExperts stores its settings in the Windows registry, under a key that is specific to each installed Delphi version. Copying that configuration to another machine, or from one Delphi version to another, used to mean exporting registry keys by hand and editing them so they pointed at the right version and then importing them into … Continue reading GExperts: Export and Import Your Complete Configuration

New in GExperts 1.3.26: Auto Switch Desktop

At the Pascal Conference 2025 in Sundern Heiko Rompel (kralle) made a presentation about a plugin (or was it a patch?) for Lazarus that automatically switched between two desktop layouts whenever you toggled between the form designer and the code editor with F12. The reasoning was simple: some windows, such as the Object Inspector, are … Continue reading New in GExperts 1.3.26: Auto Switch Desktop

Delphi VCL: Owner drawing a TStringGrid

Embarcadero has broken owner drawing of TStringGrid several times. To get the text positioned correctly you need version-specific X and Y offsets. Here is the case statement GExperts uses (from GX_StringGridDrawFix.pas): [delphi] procedure DetermineTextOffsets(_Focused: Boolean; out _XOffset, _YOffset: Integer); begin case GetBorlandIdeVersion of ideD600..ideRSXE1U1: begin // Versions before XE2 worked fine with an offset of … Continue reading Delphi VCL: Owner drawing a TStringGrid

gexperts.dummzeuch.de is currently failing

Apparently all subdomain redirections on my homepage are currently failing, one of them being https://gexperts.dummzeuch.de I have no idea what happened but I am looking into the issue. In the meantime you can just use https://blog.dummzeuch.de/experimental-gexperts-version/ instead, which is the target of the redirection.

GExperts: Improvement to the Comment Code / Uncomment Code experts

The Comment Code editor expert in GExperts lets you comment out a selected block of code with a single keyboard shortcut. You can configure which comment style to use per file extension: //, { }, (* *), /* */, or -- (SQL). There is a problem with some comment styles though: For all but // … Continue reading GExperts: Improvement to the Comment Code / Uncomment Code experts