[DUG] Window resizing

Ross Levis ross at stationplaylist.com
Thu Aug 18 21:36:38 NZST 2005


Or don't bother doing anything.  People often purchase larger screens so 
they can get more windows or programs on the screen.  So forcing the 
size to be increased may not be a good idea.  I guess it's ok if the 
user can make it smaller again themselves.

Ross.

----- Original Message ----- 
From: <jamessugrue at xtra.co.nz>
To: <delphi at delphi.org.nz>
Sent: Thursday, August 18, 2005 9:09 PM
Subject: Re: [DUG] Window resizing


John,

If you do a bit of thinking first, then place controls in containers 
such as Panels, and set to fill the panel, when the form resizes it will 
resize automagically.

You can set panels up with docking on the top and bottom with fixed 
controls on (or left and right). These will stay the fixed designed 
height. Then put a panel in the middle set to fill, that will fill when 
the form is resized etc. You can put expandable controls like datagrid's 
etc in those.



More information about the Delphi mailing list