----- "Graeme Geldenhuys" <[email protected]> schreef:
> 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. > I think it rather stems from the Windows world rather than Borland's bright minds. AFAIK it always was: horizontal takes precedence on vertical. So Top/Bottom fills entire width, Left/Right takes the remaining height, Client fill's the rest. kind regards, Dimitri Smits -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
