[Lazarus] Patch for simple docking.

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sun Apr 4 19:25:08 CEST 2010


Michael Van Canneyt schrieb:

> I'm writing an article about docking in Lazarus.

First question: which DockManager do you use?

Did you see:
http://wiki.lazarus.freepascal.org/LCL_Drag_Drop#Common_Principles

> The first - and most simple - example I tried, failed:
> - Drop a panel on a form
> - Set dragkind to dkDock
> - Set dragmode to dkAutomatic.
> - Run application
> - Drag panel outside form, and let go.
> 
> expected behaviour: a small form should appear, and the panel should be 
> on it.
> 
> Actual behaviour: 4 Access violations (fix one to get to the next ;) ).

Sounds like new autosize bugs. Did you use -dOldAutoSize when building 
the LCL?

DoDi





More information about the Lazarus mailing list