MdiChild CenterToParent not working...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • stumorgan@gmail.com

    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.MdiPare nt = 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.
Working...