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
Day: June 18, 2016
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