|
-
Jun 2nd, 2006, 07:10 AM
#1
Thread Starter
Addicted Member
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
Home is where your Head is
-
Jun 2nd, 2006, 08:34 AM
#2
Thread Starter
Addicted Member
Home is where your Head is
-
Jun 2nd, 2006, 08:59 AM
#3
Hyperactive Member
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
-
Jun 2nd, 2006, 09:13 AM
#4
Thread Starter
Addicted Member
Re: Help Mdi
i tried what you suggested and now the MDI child is completely hidden by the panel
Home is where your Head is
-
Jun 2nd, 2006, 09:14 AM
#5
Hyperactive Member
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)
-
Jun 2nd, 2006, 09:29 AM
#6
Thread Starter
Addicted Member
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.
Home is where your Head is
-
Jun 2nd, 2006, 09:43 AM
#7
Thread Starter
Addicted Member
Re: Help Mdi
well i guess is not possible
Home is where your Head is
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|