I load multiple document windows with DocumentMdiStyle = Standard. When i reopen the application I want to reload the document windows with the same size/position.
I did not find anything equivalent to the GetToolWindowLayoutData() that can be used to set the layout data for DocumentWindows - presumably because the DocumentWindow lifecycle ends when it is closed?
I have set DockManager.StandardMDIAutoWindowLayoutEnabled = false.
I am trying to use the DocumentWindow's StandardMdiBounds property to set the size and position.I run into compiler errors as follows:
Cannot modify the return value of 'ActiproSoftware.UIStudio.Dock.TabbedMdiWindow.StandardMdiBounds' because it is not a variable
However I am able to change the values from the properties dialog.
Any suggestions?
Thanks.
Miriam
I did not find anything equivalent to the GetToolWindowLayoutData() that can be used to set the layout data for DocumentWindows - presumably because the DocumentWindow lifecycle ends when it is closed?
I have set DockManager.StandardMDIAutoWindowLayoutEnabled = false.
I am trying to use the DocumentWindow's StandardMdiBounds property to set the size and position.
this.StandardMdiBounds.X = initLeft;
this.StandardMdiBounds.Y = initTop;
this.StandardMdiBounds.Width = initWidth;
this.StandardMdiBounds.Height = initHeight;
Cannot modify the return value of 'ActiproSoftware.UIStudio.Dock.TabbedMdiWindow.StandardMdiBounds' because it is not a variable
However I am able to change the values from the properties dialog.
Any suggestions?
Thanks.
Miriam