Dock.Fill filling picture box beneath the ToolBar

  • Thread starter Thread starter Sean Connery
  • Start date Start date
S

Sean Connery

I have a picture box that I added to an inherited child form, which included
a toolbar from the base form. I added a picture box to the inherited form
and set the image to stretched. When I set the picturebox dock parameter to
"Fill", the image fills the form... including "sliding" under the toolbar.

Does anyone know what is causing this and how to prevent it?
 
Right click on the picturebox and choose BringToFront. The layout of docked
controls is based on z-order.
 
Thanks. I never would have guessed and this is the sort of thing you don't
find in books.
 

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

Back
Top