wildzero
asked on
Trouble with fsMDIForm and fsMDIChild
I have 3 forms.
Form1 - fsMDIForm, Border style Sizeable
button on Form1 opens
Form2 - fsMDIChild, Border style Sizeable
and a button on Form2 opens
Form3 - fsMDIChild, Border style bsToolWindow
So what happens is, Form2 maximizes in Form1 nicely, however when I click the button to open Form3 it makes Form2 not maximized anymore (just makes it normal) which is hightly anoying...
Suggestions?
Form1 - fsMDIForm, Border style Sizeable
button on Form1 opens
Form2 - fsMDIChild, Border style Sizeable
and a button on Form2 opens
Form3 - fsMDIChild, Border style bsToolWindow
So what happens is, Form2 maximizes in Form1 nicely, however when I click the button to open Form3 it makes Form2 not maximized anymore (just makes it normal) which is hightly anoying...
Suggestions?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What I have done as well is put a timer on the form and set it to 250 -> form3.show;
that way if one of the other forms come to the front form3 is pushed back to the front - this is because stayontop doesn't work as one would think and form3 can get lost behide form1.
Thanks again