MenuStrip

L

Lou

I have a form with a split container with Dock set to top.
I want to add a menu strip above that. I set the menu strip dock to also but
the menu strip
docks below the split container.
How do I set the menu strip to dock at the top above the split container?

Lou
 
F

Family Tree Mike

Lou said:
I have a form with a split container with Dock set to top.
I want to add a menu strip above that. I set the menu strip dock to also
but the menu strip
docks below the split container.
How do I set the menu strip to dock at the top above the split container?

Lou


Add the menu strip first, then the split container should utilize the
remainder for the available area. If you do this in the reverse order, the
split container assumes it can dock all the way to the top.
 
P

Pavel Minaev

I have a form with a split container with Dock set to top.
I want to add a menu strip above that. I set the menu strip dock to also but
the menu strip
docks below the split container.
How do I set the menu strip to dock at the top above the split container?

When you dock several elements to the same edge, it's the order of
those elements that defines who ends up where. Use "Bring to front" &
"Send to back" operations on contorls as needed to reorder them
achieve the effect that you want.
 
H

Hillbilly

A lot more fun when you learn something that needs to be on top should be
drawn first anyway eh? That's what sketching a UI on paper is still good
for.

I have a form with a split container with Dock set to top.
I want to add a menu strip above that. I set the menu strip dock to also
but
the menu strip
docks below the split container.
How do I set the menu strip to dock at the top above the split container?

When you dock several elements to the same edge, it's the order of
those elements that defines who ends up where. Use "Bring to front" &
"Send to back" operations on contorls as needed to reorder them
achieve the effect that you want.
 

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