My approach is nothing more than a hack. Was more of a short-term than
real solution.

Regards,
J. Vince Pacella / OOCL Chicago
Cell 773-454-8683 Fax - 773-867-5050

Cargo Tracking Online at:
www.cargosmart.com


-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Iain Smallwood
Sent: Thursday, September 02, 2004 5:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] is there a support for resizing in Visual
Studio ?


Apologies in advance if I am butting in inappropriately, or this has
been covered, as I have not followed this thread.

This article explains custom layout extenders very well and has a lovely
sample project. I have seen nothing better. (And it enabled me to at
least grasp what attributes were about!)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotne
t/html/custlaywinforms.asp

cheers,
Iain

-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Vince Pacella
Sent: Thursday, 02 September 2004 11:04
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] is there a support for resizing in Visual
Studio ?

This might be obvious, but if you code something that could read through
the code of these forms and highlight which controls are the right-most
ones for their "row", and which ones are in the middle... If your
controls are laid out in an orderly way you may be able to
programmatically set the anchors for the right-most controls to the
right instead of the default left and a middle column as both.

That's a start.

Regards,
J. Vince Pacella / OOCL Chicago
Cell 773-454-8683 Fax - 773-867-5050

Cargo Tracking Online at:
www.cargosmart.com


-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Griffiths
Sent: Thursday, September 02, 2004 3:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] is there a support for resizing in Visual
Studio ?


Having looked through the code and read what you said, it sounds like
this is the situation:  someone has already done the complete design for
all of these forms, but they didn't bother making them resizable. You
now want to fix that.

Is that about right?

The problem is that handling resizing always requires some work. It
needs a certain amount of thought and planning because there isn't any
reliable way of automating the process completely. You will,
unfortunately, need to work out what layout settings are required for
each control in order to get the behaviour you want on resizing.

As Mark Levison points out, even in Java where the built-in suite of
layout managers provides a lot more options, you absolutely need to plan
ahead, and work out how each form will exploit the layout facilities.

(And yes, sorry, I was a bit too harsh on Java layout. It mainly comes
from the fact that the vast majority of Swing-based Java apps that I've
used have pretty poor UIs. I understand that it is possible to do a
better job if you put the effort in. But it does usually end up being at
least as manual a job as it is in Windows Forms.)


-- 
Ian Griffiths - DevelopMentor http://www.interact-sw.co.uk/iangblog/

> -----Original Message-----
> From: Ranjan
> 
> I can post some initialize component code here[1],

===================================
This list is hosted by DevelopMentor(r)  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



IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is
not intended for you, please delete it immediately unread.  The internet
cannot guarantee that this communication is free of viruses,
interception or interference and anyone who communicates with us by
email is taken to accept the risks in so doing.  Without limitation,
OOCL and its affiliates accept no liability whatsoever and howsoever
arising in connection with the use of this email.  Under no
circumstances shall this email constitute a binding agreement to carry
or for provision of carriage services by OOCL, which is subject to the
availability of carrier's equipment and vessels and the terms and
conditions of OOCL's standard bill of lading which is also available at
http://www.oocl.com.

===================================
This list is hosted by DevelopMentor(r)  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 
  
Disclaimer 
This message may contain information which is legally privileged and/or
confidential.  If you are not the intended recipient, you are hereby
notified that any unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited.  Such notification not
withstanding, any comments or opinions expressed are those of the
originator, not of Taylor Made Computer Solutions Ltd., unless otherwise
explicitly stated.  
 
  
  

===================================
This list is hosted by DevelopMentor(r)  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



IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is not intended 
for you, please delete it immediately unread.  The internet cannot guarantee that this 
communication is free of viruses, interception or interference and anyone who 
communicates with us by email is taken to accept the risks in so doing.  Without 
limitation, OOCL and its affiliates accept no liability whatsoever and howsoever 
arising in connection with the use of this email.  Under no circumstances shall this 
email constitute a binding agreement to carry or for provision of carriage services by 
OOCL, which is subject to the availability of carrier's equipment and vessels and the 
terms and conditions of OOCL's standard bill of lading which is also available at 
http://www.oocl.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

Reply via email to