[Lazarus] Autosize behaviour

Michael Van Canneyt michael at freepascal.org
Mon Apr 5 19:25:41 CEST 2010



>> by 10 pixels in every direction. It it used only in the determination of 
>> the target site, not in the layout.
>
> I know. That is why setting
>
>> 
>>> No code is needed, and you can then dock toolbars etc. along the edges of 
>>> the form.
>> 
>> Code is needed to extend and shrink the sites - also in Delphi.

A small follow-up on this:

1. What code is needed or can be used in Lazarus ?
    In the OnDockDrop event, The width/height of the control which will be docked
     are no longer available. (they are 0, with the latest lazarus, no -dOldAutoSize,
    and the panel to dock on has height/width 0 depending on alignment)

2. The EasyDocManager MakeSite and SiteTest projects fail to load (TDockSite base
    class not available), and easyeditor crashes when run and 'open file' is used.
    Maybe this can be fixed.


Michael.




More information about the Lazarus mailing list