Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autosize the window 2

Status
Not open for further replies.

genoah

Programmer
Nov 1, 2001
24
US
How can I make the application windows show all the same data on the screen if the user resizes the window?
 
Not entirely clear what you are after, but if you mean so that it resizes the components in the window like outlook, etc do then you want to use the align property, ie put a grid on a form and set align property of the grid to alClient, if you then run the program you will find the grid resizes itself to match the window.
 
Delphi 6 has got so called anchors which allows you to anchor your components on a relative basis. This is a priceless feature! Without writing a single line of code the layout of your form will remain intact just the way you want it no matter how much the window is being resized. Pretty cool ;-)
 
Thanks I will try it. Both of them
 
If it's only in D6 then its NOT price less !!

Steve.
 
D4 has anchors too - I presume they do the same as D6 but it may not be exactly what you want.
 
> If it's only in D6 then its NOT price less !!

uhm, you can download D6 standard edition for free...
 

Legally it costs £69 in the UK for the 'Personal' edition, which means that You cannot distribute (sell) applications that you create.
Possible Boralnd have moved thier postion on this appalling policy in the past couple of weeks, and are now giving away 'Personal' on the web site. I bet the licence restrictions still apply though.

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top