Hey all, I would like to position a PictureBox such that its size does not
alter (with changes to the size of the window). However, I would like the
TabControl object to increase in size as the window is increased in size.
The PictureBox is on top of the TabControl.
I have set the PictureBox to dock to nothing and I have set the TabControl
to dock to the bottom. However, as the window is increased in size a larger
and larger gap grows between the PictureBox and the TabControl. Is there a
way to set the top of the TabControl object to the bottom of the PictureBox
object?
Thanks,
Novice
Mick Doherty - 21 Sep 2004 22:28 GMT
you can set the forms DockPadding.Top value to the Height of the picturebox
and set the TabControl.Dock to Fill. Alternatively use Anchor instead of
Dock.

Signature
Mick Doherty
http://dotnetrix.co.uk/nothing.html
> Hey all, I would like to position a PictureBox such that its size does not
> alter (with changes to the size of the window). However, I would like the
[quoted text clipped - 12 lines]
> Thanks,
> Novice