MDI problems

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Hi guys

I have an MDI application that has multiple forms (as expected), but when
trying to centre the child forms in the parent it doesn't work. I have set
the 'Start Position' property of the child form to 'Center Parent', but it
doesn't do anything. I have also set the child forms 'MdiParent' property
to the parent form in the constructor. The child forms are contained by the
parent but not centered on load.

any ideas???


Steven
 
Hi Steven,

There is a note concerning Multiple-Document Interface (MDI) Applications in
the Windows Forms Programming documentation:

"There are some behavior differences between MDI forms and single-document
interface (SDI) windows in Windows Forms. The Opacity property does not
affect the appearance of MDI child forms. Additionally, the CenterToParent
method does not affect the behavior of MDI child forms".

Peter
 
Back
Top