Solved

Resize controls to fit when a form resizes

Posted on 2004-09-02
4
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Suggested Solutions

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

734 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