Craig,
Thank you for putting together that demo. It's a good illustration of the promise of dockable windows.
Since I don't normally use dockable windows in the VFP IDE, when I ran your demo it took some time to become acclimated to the art of using docked windows. Learning how to manage docked windows effectively appears to be a skill that needs some practice.
For others reading this thread, the technique for docking a form to an edge is to drag the form not only to the edge, but past the edge. During the process of moving your form offscreen, VFP will decide that you are making a docking request and dock your form to the edge - similar to a toolbar. To undock a form docked to the edge of the screen, click on its title bar and drag it away from the edge until it becomes undocked.
To dock multiple dockable forms to each other, drag the upper left corner of one dockable form over the upper left corner of another dockable form. To undock forms that are docked together, click and drag the form's tab out of the docked form collection.
Overall I found the concept of dockable windows to be very exciting. But I found the actual VFP 9 implementation to be rather awkward. Disclaimer: These observations may be specific to my VFP 9 setup or specific to my uncoordination<g>.
My observations:
1. I found the process of docking windows to the edge of the screen to be tedious and inconsistent. Sometimes VFP would recognize my docking attempts on the first shot. Othertimes I would have to repeatedly drag a window around the screen in order for VFP to detect the dock request.
2. I found it equally frustrating to try and undock forms that were docked together. Sometimes my undock attempts would be smooth and natural. Other times, my undock attempts would result in my undocked window snapping back to a docked position.
3. I found it disconcerting that docked windows can be dragged outside of the VFP screen - just like desktop windows. And once dragged out of the VFP screen, these windows do not consistently move or minimize with the main application.
Screen shot of this behavior:
http:://bdurham.com/downloads/vfpdocked_1.jpg
4. If one does a lot of docking and undocking, mystery windows begin to show up. These are dockable windows with just a captionless titlebar. These mystery windows show up randonmly on my system after I have made a lot of dock, undock attempts.
Screen shot of this behavior:
Conclusion: Docked windows have a ton of promise for efficiently building applications with customizable desktops. But ... I found the current VFP 9 implementation of docked windows to be a classic "1.0" release with the usual awkwardness and quirky behavior associated with first release technology.
Craig, thanks again for taking the time to describe how you use docked windows and for putting together a demo that let's others test drive this new technology for themselves.
Veryh much appreciated!
Regards,
Malcolm