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
Category: Delphi
Delphi desktop settings revisited
I blogged about how and where Delphi stores the desktop settings before. Back then I described the values as percentages of "the monitor" without being precise about which monitor and exactly which area. Since then I have nailed down the details. This applies to at least Delphi 12. The "percentage" values given in the file, … Continue reading Delphi desktop settings revisited
Starting an Application on Weekday Logon Only, Skipping Holidays
AI;DR – This blog post was mostly generated by Claude (via Claude Code) as was the scripts which are described here. If you don't want to read "AI slop", stop reading now. This morning, for the second time I forgot to start Webex when I powered on my PC to work from home (I wfh … Continue reading Starting an Application on Weekday Logon Only, Skipping Holidays
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 1.3.28 released
GExperts version 1.3.28 has been released, bringing a new Vertical Tabs panel for the editor window, a syntax-highlighted context preview in Grep, and a number of smaller features and bug fixes. Head over to the GExperts download page to get it. New Features Vertical Tabs: a new dockable panel showing open editor files as a … Continue reading GExperts 1.3.28 released
Delphi IDE Explorer: Standalone Component Explorer for Any Application
AI;DR: This blog post was written using AI, as were the changes to the source code it describes. If you don't want to read "AI slop", better move on. For everybody else: I proof read the blog post and it does not contain any hallucinations. I also checked the code changes, wrote the demo programs … Continue reading Delphi IDE Explorer: Standalone Component Explorer for Any Application
Delphi IDE Explorer: Runtime Property Editing
The Delphi IDE Explorer lets you browse all VCL and FMX components, forms, data modules, properties, events, and class hierarchies within the running Delphi IDE. Until now, this was purely read-only. The latest version adds the ability to edit published properties at runtime by double-clicking them in the Properties list. Supported property types The edit … Continue reading Delphi IDE Explorer: Runtime Property Editing
dzBdsLauncher 1.0.19 released
The new version of dzBdsLauncher fixes a bug when handling .dpk files. It now actually opens the .dpk file in the IDE rather than try to open a .dpr file that does not exist and fail.
archived blog posts from Borland/Codegear/Embarcadero
I just found by accident that Embarcadero has made most (all?) blog posts from Borland and Codegear available, back to 1995. They are by "Embarcadero Archives" and there are 474 posts in total. The very first one is Extracting A Bitmap From A BLOB Field from 1995-06-01. There is also Allen Bauer's A "Nullable" Post … Continue reading archived blog posts from Borland/Codegear/Embarcadero
CMD script to export the Delphi HKCU registry branches
Just in case anybody else has a use for this: Here is a CMD script that exports the HKCU registry branches for all Delphi versions from XE2 to 13: @echo off setlocal set "OUTDIR=%~dp0registry_exports" if not exist "%OUTDIR%" mkdir "%OUTDIR%" call :ExportBDS 9.0 XE2 call :ExportBDS 10.0 XE3 call :ExportBDS 11.0 XE4 call :ExportBDS 12.0 … Continue reading CMD script to export the Delphi HKCU registry branches