In my last post I talked about snapping windows to monitor halves and quadrants. I have been using that code for a few days and found it has a few shortcomings: If a window has size constraints, these will still be respected (which is good) but this will result in the window not being moved … Continue reading Snapping windows to monitor halves / quadrants revisited
Category: Delphi
Snapping windows to monitor halves / quadrants
You probably know about the Windows 7+ feature to snap a window to the left or right side of the monitor via Windows+Left / Windows+Right hotkey. You might even know that Windows 10 extended this to snap a window to the top or bottom and even to one of the quadrants of your monitor. (I … Continue reading Snapping windows to monitor halves / quadrants
GExperts 1.38 experimental twm 2016-06-05
NOTE: The GExperts homepage is linking here, but this is not the latest release. See the experimental GExperts version page instead. This is another 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 … Continue reading GExperts 1.38 experimental twm 2016-06-05
Displaying huge text files
Sometimes programmers have to deal with larger than usual text files. Examples are log files or XML dumps of databases. For my tests, I used a dump of the English Wikipedia in XML format. This file is 48 gigabytes in size and as I found out only today contains 789,577,286 lines of text. If you … Continue reading Displaying huge text files
Clearing a TTreeView
Note to self: If you want to clear the items that were added at design time to a TTreeView, you must make sure it has a handle. The following does not work (in Delphi 2007): [delphi] constructor TForm1.Create(Owner: TCoponent); begin inherited; TreeView1.Items.Clear; end; [/delphi] Adding a TreeView1.HandleNeeded makes it work: [delphi] constructor TForm1.Create(Owner: TCoponent); begin … Continue reading Clearing a TTreeView
Known IDE Packages in Delphi
Prompted by a comment in a post by Jeroen Pluimers on Google+ (no longer available) I had a look at what is actually listed in [text gutter="false"] [HKEY_CURRENT_USER\Software\Borland|Codegear|Embarcadero\BDS|Delphi\#.0\Known IDE Packages] [/text] and found some interesting entries. (I started with ancient Delphi versions, but will get to the more recent ones further down.) In Delphi 6 … Continue reading Known IDE Packages in Delphi
GExperts 1.38 experimental twm 2016-05-26
This is another 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) Again, I have built installers for each Delphi version. These installers should install everything that is necessary, including the files … Continue reading GExperts 1.38 experimental twm 2016-05-26
Thank you, GExperts contributors
I would like to thank those people who have contributed to GExperts during the time that I have been maintaining most of it. There have been various contributions ranging from feature suggestions with partial implementations, good bug reports, to bug fixes that worked out of the box. You might have had the impression that the … Continue reading Thank you, GExperts contributors
dzDelphiPaths tool
Content moved here.
Getting an old package wizard to work
I tried to compile the SarchWiz project by Corbin Dunn, which he describes in the corresponding article which in turn Ondrey Kelle mentioned in his blog post More Subversion. (The links to code central and edn above are the ones Embarcadero created from the original links to code central and bdn when they were still … Continue reading Getting an old package wizard to work