School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 340,138 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 3,872 people online right now. Registration is fast and FREE... Join Now!



Resize Controls With The Form

Page 1 of 1

Resize Controls With The Form Rate Topic: -----

#1 RxContender  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: New Members
  • Posts: 1
  • Joined: 10-February 08


Dream Kudos: 0

Posted 15 February 2008 - 09:23 AM

I've searched around for a solution but I cannot seem to find one. I am new to VB.NET, so I'm not sure how to do some things. I am trying to have my form controls resize along with my form when people resize it, maximize, etc. I have a browser control that I would like to stretch to fit the window.

Thanks in advance.
Was This Post Helpful? 0
  • +
  • -


#2 stressnode  Icon User is offline

  • New D.I.C Head
  • Icon
  • Group: Contributors
  • Posts: 2
  • Joined: 29-June 07


Dream Kudos: 25

Posted 15 February 2008 - 09:53 AM

Hello ...

Please try to check the properties of Dock and Anchor for each control .. Also you may change it programaticaly on Resize event , so you need to make a relation between your controls (Left,Top,Width and Height) properties and Parent form (Width and Height)

Look into MSDN or Microsoft Documentation

Regards
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month