MdiChild CenterToParent not working...

S

stumorgan

Is there something wrong with the CenterToParent method? I have an
MDI container form, created a new form and set
newForm.MdiParent = this;
from the container form. The child form has its StartPosition set to
CenterParent yet still shows at the top left of the parent form. If I
call CenterToParent after showing the form, nothing happens. I can
call CenterToScreen and it works just fine. I'm using VS2008
with .NET framework version 3.5.

Any ideas? Thanks in advance.
 

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