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 →

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 →