Solved

Resize controls to fit when a form resizes

Posted on 2004-09-02
4
286 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
combo box display member not working 11 19
Get String split 5 30
Spacing between controls 4 13
Format column on datatable 7 13
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now