Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Save/ Load Layout of MDI childs
posted

Hello,

I have a MDI Form where I can add several child forms by the items on a navigation bar. These childs can be draged within the parent form however a user wants to. What I need is to save not only the child forms, but also the layout, so that I'm able to load my layout  and the forms afterwards in the same layout like before.

I use a storeTab event and a RestoreTab event which fire after using the mdimanager.saveAsXml() / loadFromXml(). Both events fire as often as the number of child forms I have opened in my parent form.

But the restoreTab event does not bring any effect. When I restart my application and call the Load method nothing happens. Is there any way to save the layout and the opened child forms so that I'm able to load both at a later date?

Thank You!

Regards,

Alex