Link to home
Create AccountLog in
Avatar of bryanche
bryanche

asked on

how do I change the behaviour of my child forms in a mdi form?

Hi Experts,
I have multiple child forms inside a mdi form. some of the forms are with windows state.maximized and some with normal. when I try to close the child form with maximized state my other form that has normal state gets maximized. how can I prevent this from happening. I mean I want my normal form should stay normal. thanks for any help in advance.
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

the normal and maximized state are a global setting for all the open forms. Only the minimized setting is distinct for each form.

Maybe instead of being maximized, you can have a normal state but set the location to 0,0 and the size to place available in the MDIParent.
ASKER CERTIFIED SOLUTION
Avatar of Sancler
Sancler

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of bryanche
bryanche

ASKER

Thanks for your solution Sancler!
It worked pretty good for me.