MDI Positioning

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I am creating a MDI child window from a MDI parent window. I have tried
setting the Left and Top members before calling Show() and it seems to have
no effect. If I set Left and Top after calling Show() the form flashes in
the default location and moves into the position I set with Left and Top.

My question is how do I get the MDI child to appear in the location that I
want, without the flash?

Thanks,
Shawn
 
Hello,

I am creating a MDI child window from a MDI parent window. I have tried
setting the Left and Top members before calling Show() and it seems to have
no effect. If I set Left and Top after calling Show() the form flashes in
the default location and moves into the position I set with Left and Top.

My question is how do I get the MDI child to appear in the location that I
want, without the flash?

Thanks,
Shawn

Don't use WindowsDefaultLocation for StartPosition

Leon
 
Have you set the child window's StartPosition to Manual first? You'll see
the property in the Form designer.

-sb
 
Back
Top