Why not an create a custom control where you set those items once and then inherit from it to create the other controls on the page?
Billy Hollis has written about doing this - I think you can find something on windows.forms.net - a link to articles. Sorry but I'm on my way out the door or I'd give you a link. Julie -----Original Message----- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Ranjan Sent: Wednesday, September 01, 2004 10:55 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] is there a support for resizing in Visual Studio ? I am facing the same problem. Even tried out some 3rd party controls but to no avail. Anchor and Dock setting for each control (around 30 per form on an average) on each form(around 150 ) doesn't seem to be the likely answer. Any solution? r. -----Original Message----- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Joe Cheng Sent: Wednesday, September 01, 2004 2:29 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] is there a support for resizing in Visual Studio ? Look at the Anchor and Dock properties of each control. Not as flexible as layout managers, but much easier to use, and powerful enough for most purposes. > when a form is resized, the controls inside are not resized > accordingly. Do we have to handle this or is there something like > java's layout manager in .net? =================================== This list is hosted by DevelopMentor. http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor. http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com
