The bottom panel should have alignment alBottom. The top panel shoud have alClient<div><br></div><div>Thanks,</div><div>Dmitry<br><br>On Wednesday, January 7, 2015, Marc Santhoff <<a href="mailto:M.Santhoff@web.de">M.Santhoff@web.de</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
as the subject line says, I want to have a panel attached to the bottom<br>
and the sides of a form, which is pretty easy to to using the anchor<br>
editor.<br>
<br>
What I can't do is make this panel fixed height. Setting it's propety<br>
height in OnREsize of the form doesn't work, I think the other anchors<br>
reset the height according to their rules.<br>
<br>
The panel will hold some components visible in any case, while the rest<br>
of the for above (in another panel) will show a set of varying<br>
components depending on context.<br>
<br>
How can this be made?<br>
<br>
-----------------------------------------<br>
|                                       |<br>
|                                       |<br>
|                                       |<br>
|    height varying when form resized   |<br>
|                                       |<br>
|                                       |<br>
|                                       |<br>
|---------------------------------------|<br>
|                                       |<br>
|       height fixed                    |<br>
|                                       |<br>
-----------------------------------------<br>
<br>
--<br>
Marc Santhoff <<a href="javascript:;" onclick="_e(event, 'cvml', 'M.Santhoff@web.de')">M.Santhoff@web.de</a>><br>
<br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Lazarus@lists.lazarus.freepascal.org')">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</blockquote></div>