471,353 Members | 1,681 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,353 software developers and data experts.

MdiChild CenterToParent not working...

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.
Sep 17 '08 #1
0 1457

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Supra | last post: by
1 post views Thread by Mickey Swanson | last post: by
6 posts views Thread by Claus Holm | last post: by
reply views Thread by Supra | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.