[Lazarus] 2 questions about Component properties

wile64 wile64 at gmail.com
Tue Dec 8 13:08:40 CET 2009


> > > Yes, but when add button for exemple, is possible to put out of marging
> > defined in AdjustClientRect
>
> Yes, even negative coordinates are allowed for controls. This is for
> example needed when right aligning controls and the panel has not
> enough width for all it's children.
> You can override
>    procedure AlignControls(AControl: TControl; var ARect: TRect); override;
> This is called whenever the children were changed.
>
> Mattias
>
>
Thanks Mattias, I see that.

-- 
Laurent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20091208/c35f2dd8/attachment-0004.html>


More information about the Lazarus mailing list