Solved

Resize controls to fit when a form resizes

Posted on 2004-09-02
4
289 Views
Last Modified: 2011-09-20
i need a code in vb.net when we resize the form then must all controls in the form also resize
0
Comment
Question by:ahmadfuwad
4 Comments
 
LVL 10

Accepted Solution

by:
123654789987 earned 20 total points
ID: 11970730
If u are using windows forms then u can follow the below sample

http://www.devx.com/dotnet/Article/6964/1763
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11976660
Also, look at the anchor properties.  You can anchor the controls to the sides of the form, so that they stretch depending on the options that you select (Left, Right, Top, and Bottom).

Bob
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question