Phylum Posted July 27, 2003 Posted July 27, 2003 I have an MDI Parent Form and a child form. The MDI Parent calls the child.. no problem so far. The MDI Parent Maximizes the child... we have a problem. I set the child forms properties so that it only has a close button. When maximized within the parent it shows all 3 control buttons (min, max, close). IS there a way of stopping this? Quote
*Experts* Volte Posted July 27, 2003 *Experts* Posted July 27, 2003 If the child can be maximized at all, it should have a maximize button. Is there a reason you need to remove it? I have my doubts that Windows can handle a maximized form that doesn't have a maximize/restore button. I really don't recommend straying away from the standard windows behavior, anyway. Quote
Phylum Posted July 27, 2003 Author Posted July 27, 2003 (edited) The inital problem is even if the child window has its windows form state set to maximized it dosen't show as maximized when the parent form calls it. In order to get around it I have to set its state from the parent form. Edit: Actually I'm wrong. The problem is if the child forms windows state is defaulted to maximize it produces a weird bug where the form shows but the control buttons are invisible, but if you click where they SHOULD show up they appear and work. to get around this I have to set the layoutMDI to cascade and then maximize the form. Edited July 27, 2003 by Phylum Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.