• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

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?
0
wildzero
Asked:
wildzero
1 Solution
 
kretzschmarCommented:
>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...

of course mdi-childs can only all maximized or all not,

you should try to use by form 3 the formstyle fsNormal

meikl ;-)

0
 
wildzeroAuthor Commented:
Excellent =)
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
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now