[DUG] Form Resizing

Alister Christie alister at salespartner.co.nz
Thu Jul 26 10:38:49 NZST 2007


Dang, I thought I had finished with form resizing - forgot about ScaleBy 
- are there any others that I have neglected?

You'll probably use all the techniques.  For a long time I never used 
anchors and I can't properly explain why - I just didn't know they were 
there and for awhile and then I felt they were buggy (I think they were 
introduced in Delphi 4).  I've never used margins in an application - 
although I probably will now that I made that movie (it's amazing what 
you learn when you try to explain something).

I think knowing when to use them just comes from experience, you can 
pretty much achieve the same things with each - just in some instances 
it's easier to use align, in others anchors are easier.

Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington 



John Bird wrote:
> Watched one of Alistair Christie's online videos on form resizing.  Great,
> and Thanks - I learnt a new IDE trick: you can change properties on more
> than one control at once by selecting several (and I thought that was only
> to move them as a group - doh!)
>
> Question - there are several ways to resize forms for different screen
> sizes, including
>
> Form.scaleby  
> Or using align and margins,
> Or by using anchors and constraints
>
> Which do users use and merits of each?
>
> (I often use form.scaleby for automatic sizing of form to users screen -
> works well - means users do not have to resize a form usually.  I am
> assuming the align/margins etc are mainly useful for users manually resizing
> a form - when to use which is the question.  Alistair suggested anchors for
> simpler forms and align more generally flexible.)
>
>
> John
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>
>   


More information about the Delphi mailing list