-
MDI Child
I have an MDI application which uses fixed sized forms.
I've started to change the forms to sizeable and anchored the controls so they move when the form is resized. If the child form has a menu this jumps onto the parent menu (as it always has done) but all the controls move up the form at runtime and leave a space at the bottom of the child. If I change the form in design mode to cut through the bottom controls i.e. so the form doesn't appear tall enough, it corrects itself at runtime. Is there another workaround as it looks misleading in the designer.
-
Re: MDI Child
Do you mean that your MenuStrip disappears when its items merge with the mdi parent's MenuStrip? That does not happen when I test it. The items jump to the mdi parent MenuStrip, but they leave a blank MenuStrip behind. The controls do not move up.
Are you making the MenuStrip invisible when there's no items or something? Or is there a property I'm missing?
-
Re: MDI Child
Its the mainmenu I'm using as the project was originally written in 2003.
I've set the form height to 570 and run the app and it appears correct but when I get back into the IDE it changes the form height to 591 and I have to move the controls.
-
Re: MDI Child
I think I've cracked it, I had a minimum size on the forn which was set to the form size. If I delete the minimum size or set it nowhere near the form size it doesn't cause a problem.
Thanks