[Lazarus] Autosize behaviour

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Apr 6 08:25:09 CEST 2010


Michael Van Canneyt schrieb:

> 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)

The size should be retained, as was with old autosize. When docking is 
aborted, the size has to be unchanged.


> 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.

Much has changed in the LCL since I last tested these projects :-(

I forgot to drop SiteTest, use ide_demo/MiniIDE instead. MakeSite should 
work, though.

DoDi





More information about the Lazarus mailing list