I need to build a quick demo of something, preferably integrated into an existing app that's currently running in D7.
I need to build a quick demo of something, preferably integrated into an existing app that's currently running in D7.
We want to show a panel right-aligned on the main form with stuff in it, about an inch wide.
Then we want the ability to undock it and float it over the form (Stay-on-top = True). Undocking will cut it in half vertically, though.
It can be moved around and even re-docked.
Sort of like how the object inspector can be docked and undocked.
Some buttons at the bottom will be for:
* Re-dock
* Full list -- opens another form with the full details of the items shown in the panel
* Stay on top -- enable/disable
I'm curious what is the simplest way to do this? Can this docking panel be a TPanel? Or should it be a TForm? (It's NOT a menu! It's closer to the Object Inspector.)
Finally, is there anything better in Tokyo vs. D7?
We want to show a panel right-aligned on the main form with stuff in it, about an inch wide.
Then we want the ability to undock it and float it over the form (Stay-on-top = True). Undocking will cut it in half vertically, though.
It can be moved around and even re-docked.
Sort of like how the object inspector can be docked and undocked.
Some buttons at the bottom will be for:
* Re-dock
* Full list -- opens another form with the full details of the items shown in the panel
* Stay on top -- enable/disable
I'm curious what is the simplest way to do this? Can this docking panel be a TPanel? Or should it be a TForm? (It's NOT a menu! It's closer to the Object Inspector.)
Finally, is there anything better in Tokyo vs. D7?
The easiest way would be to use ExpressDockingLibrary from DevExpress (https://www.devexpress.com/Products/VCL/ExBars/DockingLib.xml), but D7 is no longer supported by them for a few years. Some older version (the last one with D7 support was VCL 14.2.11) would do the trick.
ReplyDelete