If I attempt to restore the layout of a dock manager, and that fails, the layout is left in a corrupt state (e.g. dock panes that can't be sized and on top of each other).There are certain situations where I guess this can't be avoided, for example, an updated version of an application is obfuscated and all the control names change.Anyway, my question is, how can I restore the layout back to what it was before LoadFromBinary was called? I can trap the load when it fails, but I need to be able to reset (uncorrupt) the layout. Thanks,Campbell
Hello Campbell,
jcwild said:If I attempt to restore the layout of a dock manager, and that fails, the layout is left in a corrupt state (e.g. dock panes that can't be sized and on top of each other).
Please note that developers should take care for a "System layout", so when you make version update or changes in the control`s name, you should be sure that the layout is not corrupt.
jcwild said:Anyway, my question is, how can I restore the layout back to what it was before LoadFromBinary was called? I can trap the load when it fails, but I need to be able to reset (uncorrupt) the layout.
Let me know if you have any questions.
Regards