Hello,
I build an MDI child form. When displayed, it is shown as expected indise and on top of the main container form, but UNDER the main form's controls.
I'v built it in accordance with MS instructions, and despite some nice friends on this form that tried to help me, I still can not get it to work.
If you experienced similar, please see the attached sample project and screen shots.
Sam
Loading
Sam HobbsPosted Nov 1, 2010, 6:28 PM
theLizardPosted Nov 1, 2010, 6:54 PM
I am not interpreting anything that you said, I can't be bothered.
(Image removed)
This is an inflexible MDI application for the sole purpose of presenting data from an SQL database take special note of the graph child windows, any number of these can be opened for any number of date ranges for any number of data sets for any number of data periods.
So I guess MDI is not flexible for showing data.
theLizardPosted Nov 1, 2010, 6:12 PM
What you described in your first post on this is normal behavior with MDI applications, an mdi child form will always disappear under controls on the MDI main form unless the control is a dock tool bar in which case the mdi child will not pass beyond the right boundaries of the dock bar on the left of the MDI parent or the left boundary of the dock bar on the right of the MDI parent same with top and bottom.
It is generally not good practice to place controls other than dock bars on an MDI parent but if you need to to you can but you would have to manage the where the child forms positions would need to be in relation to the controls on the MDI.
Finally, MDI is a VERY flexible method of showing data in whatever format you want be it text type documents or images or database records as fields on a child form and anything else you can think of.
SamPosted Nov 1, 2010, 10:03 AM
Thanks.
I had a misconception of what Container and Child forms are.
You opened my eyes to something that is probably so obvious, that it is ignored in the documents.
I simply removed the isMDIContainer property from the main form and now I have what I need.
Thanks again,
Sam
Sam HobbsPosted Oct 31, 2010, 5:41 PM