Welcome! and rules
Joel on Software
Form Location problem
I have an MDI parent form which has treeview on left side and child forms gets loaded on clicking the tree node. When the application is started the child form fills the right side fully. but when it is re loaded by clicking on tree node, the child form changes its location....How to avoid this?. I have given the form.dockstyle = fill. All the windows are in Normal state(not maximized).
As I stated in your other post, it doesn't sound like you want to create a MDI application. This is just one of many issues that you are going to run into. The bottom line is that MDI child windows are meant to be controlled by the user... not your program. You have very little control and the user can easy circumvent your "lock-down" mechanisms. For example, the following keyboard shortcuts will probably create problems for you.
Thanks for your suggestion. we are not going for MDI, instead will use panels in main window inside which other forms will be loaded
Fog Creek Home