MDI Positioning

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
 
L

Leon Friesema

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
 
S

sb

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

-sb
 
G

Guest

Thanks, I totally overlooked that one.

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

-sb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top