-
Help Mdi
I have a form which is a MDI container with controls on it (labels, textboxes, pictureboxes, etc). When a MDI form is opened it appears under these controls. How can I make the MDI on top of everything (except other form with focus of course)
thank you
-
Re: Help Mdi
-
Re: Help Mdi
I think one of the problems with this question is that MDI containers arent usually used to hold lots of screen furniture (like textboxes, panels etc). Normally you would find that it consists of only of controls such as ToolStrips/bars. Menustrips/bars or statusstrips/bars.
However. If you declare a Panel on your MDI parent (in the body where the children will appear), and set that panel to dock (top, bottom, left or right), then I believe that children will appear in the non panelled portion of the screen and so will work as you have described. You just need to make sure all your controls are all declared within the panel (or group box, or whatever container you use...)
Hope this helps
-
Re: Help Mdi
i tried what you suggested and now the MDI child is completely hidden by the panel
-
Re: Help Mdi
You probably docked it as fill. Remove the dock, make sure it is the size you want (smaller than the main area) and dock to one of the edges (Top, Left, Bottom, Right)
-
Re: Help Mdi
i know what you mean, but i want to be able to move the MDI form allover the container parent, the way you suggested if i dock the panel up or bottom for example, then a MDI will be visible only in remaining surface of the parent.
-
Re: Help Mdi
well i guess is not possible :(