A really useful tool that I have used for many years, was Colin Wilson's XN Resource Editor. Before he apparently disappeared from the face of the earth, Colin was so kind to release the source code under the MPL on his homepage. Unfortunately this page now is also gone, only a few snapshots in the … Continue reading Colin Wilson’s XN Resource Editor
Category: Delphi
GExperts 1.38 experimental twm 2016-07-24 released
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-07-24 released
Default color of a hint window
Since it doesn't seem to be documented anywhere and at least in Delphi 2007 there is no constant for it: The default background color of a hint window is [delphi] const clHintColor = $80FFFF; [/delphi] (Taken from THintWindow.Create)
Updated GExperts Documentation
I added some new pages to my blog to document all the changes and improvements I have made to GExperts that so far are not in the official documentation. I probably still missed a few...
TMemo vs. Esc key
If you have ever had a TMemo on a modal form with an OK and Cancel button, where the latter has its Cancel property set to true, you might have found that Esc does not cancel the dialog while the memo has got the focus. According to David Heffernan that's because the VCL tells it … Continue reading TMemo vs. Esc key
Sarch path dialog behaviour changed from Delphi 2010 to XE
Yesterday, while working with Delphi 10.1 something happened that made me think I had introduced a bug in the search path dialog enhancement of GExperts: I had dropped some directories from the explorer onto the memo inserted by the GExperts enhancement, switched to the list view and back to the memo, then pressed the "Make … Continue reading Sarch path dialog behaviour changed from Delphi 2010 to XE
“Hooking” KeyDown in a Firemonkey form
As said in my last post: " The hard part is hooking the form in a way so all I need to do is call TForm_ActivatePositioning as in the VCL." As it turns out, that's even easier to do than in the VCL. No subclassing of the window, just adding a new control is sufficient. … Continue reading “Hooking” KeyDown in a Firemonkey form
Snapping a Firemonkey window to monitor halves / quadrants
I always wanted to start playing with Firemonkey but so far just didn't find the right project. This is my first try to port a VCL utility function to Firemonkey. Note that this will probably not work on all platforms. It's tested on Windows only. So, how do we get the code from my last … Continue reading Snapping a Firemonkey window to monitor halves / quadrants
Snapping windows to monitor halves / quadrants revisited
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
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