The latest build of this product (v2.0.0208) was released 20 years ago,
which was before this thread was created.
Posted 20 years ago
by Ty Oh
-
AgileSoftware

Hi, let me first thank the administrator (Software Support Specialist, Cleveland, OH, USA) for your excellent support. I've been reading through the posts, and I'm clearly impressed by his/her efforts and expertise.
In our app, all toolwindows are created through code.
ToolWindow tw = new ToolWindow(dockManager1, key, text, image, userControl );
tw.Activate ();
The number of toolwindows to be created on startup is not fixed.
We love the Save/Load layout feature, but when the number of toolwindows to be displayed are different each time this becomes a problem.
- If the toolwindow exists in the layout file but is not created through code, an empty container is created.
- If the toolwindow does not exist in the layout but is created through code, the toolwindow isn't displayed at all (that is if loadlayout if called after creating the toolwindow).
We may be asking too much, but I'm thinking if we are able to save/load layouts per indiviual toolwindow we should be able get around this. Currently I am trying to modify the layout xml file before loading it (Not easy though *_*).
Thanks for reading.
Cheers.
Ty
In our app, all toolwindows are created through code.
ToolWindow tw = new ToolWindow(dockManager1, key, text, image, userControl );
tw.Activate ();
The number of toolwindows to be created on startup is not fixed.
We love the Save/Load layout feature, but when the number of toolwindows to be displayed are different each time this becomes a problem.
- If the toolwindow exists in the layout file but is not created through code, an empty container is created.
- If the toolwindow does not exist in the layout but is created through code, the toolwindow isn't displayed at all (that is if loadlayout if called after creating the toolwindow).
We may be asking too much, but I'm thinking if we are able to save/load layouts per indiviual toolwindow we should be able get around this. Currently I am trying to modify the layout xml file before loading it (Not easy though *_*).
Thanks for reading.
Cheers.
Ty