Docking problems

J

Jeremy

I am trying to dock 3 items in an MDI form: a toolbar at the top, a
status bar at the bottom, and a tab control to the left. Docking works
fine for the top and bottom, but when I dock my tab control to the
left, it goes all the way from the top to the bottom, and pushes my
toolbar and status bar to the right of the tab control. I would like
the toolbar and status bar to extend all the way to the left and
right, with the tab sandwiched in the middle. Any way I can do this?
 
T

Tom

I am trying to dock 3 items in an MDI form: a toolbar at the top, a
status bar at the bottom, and a tab control to the left. Docking works
fine for the top and bottom, but when I dock my tab control to the
left, it goes all the way from the top to the bottom, and pushes my
toolbar and status bar to the right of the tab control. I would like
the toolbar and status bar to extend all the way to the left and
right, with the tab sandwiched in the middle. Any way I can do this?

Right click on the tab control and select 'Bring to front'.
 
K

Klaus Löffelmann

Jeremy,

try to experiment a little with the "put to foreground" and "put to
background" ( I don't know exact terms, since I'm using the German VS.NET)
which you should find in the context menu of a control you right clicked in
the designer. You'll find out! (It's difficult to explain).
You might want to take a look as the anchor property as well, which
sometimes does a better job than docking controls.

Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top