Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 7th, 2007, 02:59 AM
Authorized User
 
Join Date: Feb 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default Resize form

Hi All,

I am working on a project using C# 2.0. I need the functionality in my project that at the runtime, when I resize the form by dragging its border using the mouse , all the controls within the form should resize as well. Please help.

Thank you.

A.Asif
__________________
A.Asif
 
Old December 7th, 2007, 03:53 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Your best bet is a combination of the Layout controls (e.g. the TableLayout) and using the Anchor and Dock properties.

/- Sam Judson : Wrox Technical Editor -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Continous Form, resize based on content (Tricky) hkmulligan Access 2 August 13th, 2007 12:02 PM
Form resize at runtime leehambly Access VBA 4 December 21st, 2006 09:35 AM
How to resize a windows form on any Resolution Scr maximus101 VB.NET 2002/2003 Basics 2 May 3rd, 2006 05:56 PM
Resize Form quocanh General .NET 1 October 12th, 2004 12:20 PM
Resize and Hide columns in WEB FORM Datagrid? Ron Howerton Classic ASP Basics 5 April 30th, 2004 07:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.