Display tool windows after LoadToolWindowLayoutFromFile

Docking/MDI for Windows Forms Forum

Posted 9 years ago by Matthias Urech
Version: 2.0.0111
Avatar
I'm saving the toolwindow layout by using SaveToolWindowLayoutToFile(path) on Form_Closing event and loading (LoadToolWindowLayoutFromFile) it next time the application is started again with event FormLoad.

The file is loaded without throwing an error message, but the tool windows are not displayed.

May I have forgot something?

Thanks,
Matthias

Comments (1)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Matthias,

That should work ok. It almost sounds like your layout might have stored the tool windows as all being in closed states. You should be able to tell by opening the file and seeing if they are all marked as being hidden/closed.

If so, perhaps you saved it in some scenario where the tool windows were already closed out? You should test and see what scenario causes that. Then try and repro it in a simple sample project if you think it is a bug on our end, and email the sample to us so we can debug it. Thanks!


Actipro Software Support

The latest build of this product (v2020.1 build 0400) was released 3 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.