As described in a previous post I initially had some problems connecting to Mercurial repositories on SourceForge that went away without me changing anything. In that post I give the following entry for mercurial.ini: [ui] ssh="C:\Program Files (x86)\PuTTY\plink.exe" -ssh -agent -v -i "D:\path\to\my\private_key.ppk" While this works well, if Pageant is already running and has loaded … Continue reading Avoiding long timeouts when connecting to Mercurial repositories on SourceForge
AutoComplete for TEdits
I am sure you know about the useful controls TJvDirectoryEdit and TJvFilenameEdit from the JVCL. They come in handy whenever you need an edit field that should allow autocomplete for file or directory names. It always irked me that I had to include not only the JVCL but also the JCL in order to just … Continue reading AutoComplete for TEdits
TStringList.CaseSensitive
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.)
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