This is a test release before Erik is going to do an official 1.39 release. Please report any bugs you may find (preferentially in the GExperts community on Google+ or the bug tracker on SourceForge) In contrast to my previous releases there are now installers for each Delphi version. These installers should install everything that … Continue reading GExperts 1.38 experimental twm 2016-05-07
Month: May 2016
The ultimate bugfix for SelectDirectory
OK, here it comes, the ultimate bugfix for the FileCtrl.SelectDirectory function. đ I blogged about it before: The SelectDirectory function in Delphi's FileCtrl unit has several bugs. My first approach on fixing these, while working, was ugly because the user could see that the dialog position changed after it was shown initially at a different … Continue reading The ultimate bugfix for SelectDirectory
Fixing the SelectDirectory fix
In my last blog post I wrote My bugfix isnât pretty, I must admit. It just defers these changes until the dialog is fully visible. This has the disadvantage the the user will see it popping up at the wrong place first before its position is corrected and the selected directory becomes visible. David Millington … Continue reading Fixing the SelectDirectory fix
Fixing the SelectDirectory function
The Delphi VCL comes with several overloaded SelectDirectory functions declared in FileCtrl, one of which uses the ShBrowseForFolder Windows API function. It passes a callback function which tries to do the following: Position the dialog on the monitor on which the application's main form is shown. Center the dialog on that monitor Select the given … Continue reading Fixing the SelectDirectory function
Why blank lines matter
This had me puzzled for a minute: This is all the code there is to the stand alone Code Librarian tool that comes with GExperts. Then it dawned me. It's much easier to understand if you add a single line feed: The procedure ShowCodeLib is an external declaration that does not have a body. The … Continue reading Why blank lines matter