[Lazarus] Align property confusion

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Oct 4 14:54:17 CEST 2010


2010/10/4 Дмитрий Курашкин :
> You need following:
> 1. Drop additional panel (P3) on Form
> 2. Make its border invisible and Aligh = alLeft
> 3. Drop P2 on P3 and make P2.Aligh = alBottom
> 4. Drop P1 on Form and make P1.Aligh = alRight
>
> As I know, it is the only way...

Thanks I tried that, but there is a minor correction. P3 must be
alClient, not alLeft.

Now it looks like I wanted, but that's a really odd way of having to
do it. I would think creation order, or the order in which you set
Align would make a lot more sense - and reduce the amount of
components (resources) required to accomplish the same result. I guess
Borland was smoking something illegal the day they implemented the
Align property. :-)

Thanks again for the response.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net:8080/fpgui/




More information about the Lazarus mailing list