Hello LMD team,
We are replacing an old docking manager with LMD. So far, everything works as expected. When we create new windows, I can create them as the dkTool type, and that type ALSO allows docking. The problem with the dkTool type is that it doesn't seem to support tabbing, so when several items are docked in a dkTool, we will see a button bar along the bottom, which won't replace the AQDock functionality exactly.
To replace AQDock functionality, I would like to have new forms use the ClientKind = dkDocument, which does not allow docking by default. My thought is that I could add a site to all dkDocument windows. The dkDocument would then allow tabbed content, which would duplicate what we had with AQDock. Is this the right way of thinking and do you have any suggestions on how to go about this?
As a side note, I noticed an existing VCL property that was accidentally set on a couple of our forms called DockSite = true -- interestingly, LMD wrapped windows would interact with those windows, although the results were not as expected and I've since removed this propertly. If it is as simple as setting a property, that would be great, but I suspect we will need to add a Site to each of our spawned windows if we want them to behave like I described? Thank you for any advice.
With regards,
Bill at Intrepid
Comments
As I mentioned in the first paragraph, the problem with dkTool compared with the AQDock solution is that dkTool panels do not seem to support tabs. For example, using the style editor example, here I have docked all of the tool panels together. We see some tabs (?) across the bottom of the window, no close buttons, no tab images. If this can go on the top with close buttons and tab images, that would solve our problem.
Image below:
https://files.lmd.de/downloads/tutorials/dockingpack/index.html?understanding_styles.htm
Thank you again,
For TabZone, we are already using ShowTabImage which works as expected.
Update: TabZoneButton images are working as well. This is a good compromise and I think we can work with this.