Solved

Resize controls to fit when a form resizes

Posted on 2004-09-02
4
287 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.

832 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