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.
 
Back
Top