Did you know that TStringList has got a property called CaseSensitive? It's no surprise that it is used when comparing the strings while sorting. But did you know that it defaults to FALSE? WTF? (This is Delphi 2007.)
Category: Delphi
When TAB jumps to the next row
I just stumbled over an oddity in TJvDbGrid (which probably also applies to the standard Delphi TDbGrid): Including dgTab in the grid's Options resulted in TAB moving the cursor to the next row rather than to the next column as expected. It turns out, that this is due to the (protected) property TabStops which for … Continue reading When TAB jumps to the next row
Delphi IDE Explorer Expert for Delphi XEx
Based on a similar expert by David Hoyle for Delphi 3/4/5, which I found on Embarcadero CodeCentral, I have written the Delphi IDE Explorer Expert for Delphi XE .. XE6. It is a package based expert that installs into the Delphi IDE and displays its internal component structure. The original purpose was to find the … Continue reading Delphi IDE Explorer Expert for Delphi XEx
Segmentation fault on startup in Delphi XE6 Firemonkey application for Android
After I attended the Delphi Power Workshop on mobile development with Delphi XE6 in Essen last week, the mobile development virus has taken hold of me. So I tried successfully to compile the demo apps for both, my Nexus 7 tablet and my Samsung Galaxy Note (GT-N7000) smartphone. That these worked out of the box … Continue reading Segmentation fault on startup in Delphi XE6 Firemonkey application for Android
Install Delphi Packages from commandline
After I had to install the gazillion jvcl packages into my Delphi IDE manually again (Yes, I know it comes with an installer, I have got my reasons not to use it.), I finally grew tired of this and wrote this tool: dzPackageInst is a command line program for installing designtime packages into Delphi IDEs. … Continue reading Install Delphi Packages from commandline
Experimental GExperts Version 1.37-2014-05-11 released
There is nothing new about the formatter code, but it includes a patch by Steffen Binas which improves the performance of the File Open dialog when there are a huge number of files. Head over to the Experimental GExperts page to download the new version.
Determine the Delphi installation directory from a batch file
Since I work on several projects that require multiple Delphi installations, I needed a way to start the correct Delphi IDE and call the correct command line compiler for each of these projects. There apparently is no way to automatically detect the Delphi version from the .dof,.dpr or .dproj file (or at least this is … Continue reading Determine the Delphi installation directory from a batch file
Experimental GExperts Version 1.37-2014-04-16 released
Following up on Erik's overnight surprise release of GExperts for Delphi XE6, here is a new release of my experimental version with the code formatter. The DLLs for all Delphi versions supported by the official GExperts are included. BE WARNED: This version has only tested in so far, that it can be installed into Delphi … Continue reading Experimental GExperts Version 1.37-2014-04-16 released
Experimental GExperts Version 1.37-2014-04-12 released
The latest version is the first version that supports Delphi XE5 and also officially XE4. There is nothing really new about the formatter code. But the new release can be installed even if you don't have the official GExperts installer (yet). This is an extract from the readme file: ** Installing without an official installer … Continue reading Experimental GExperts Version 1.37-2014-04-12 released
Delphi Console Applications
Delphi allows to write Console applications as well as GUI applications, while the latter is the default. But "Console" application is not clearly defined in the documentation as I found out only today (and I have been programming in Delphi for about 20 years). There is the {$AppType Console} compiler directive which corresponds to the … Continue reading Delphi Console Applications