Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / September 2004

Tip: Looking for answers? Try searching our database.

PictureBox and TabControl objects arranged

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Novice - 21 Sep 2004 21:07 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.