Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Resize controls to fit when a form resizes

Posted on 2004-09-02
4
Medium Priority
?
295 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
2 Comments
 
LVL 10

Accepted Solution

by:
123654789987 earned 80 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

877 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