[Lazarus] Patch for simple docking.
Michael Van Canneyt
michael at freepascal.org
Sun Apr 4 20:02:51 CEST 2010
On Sun, 4 Apr 2010, Hans-Peter Diettrich wrote:
> Michael Van Canneyt schrieb:
>
>> I'm writing an article about docking in Lazarus.
>
> First question: which DockManager do you use?
The standard LCL dockmanager.
And, yes, I know about EasyDockingManager.
>
> Did you see:
> http://wiki.lazarus.freepascal.org/LCL_Drag_Drop#Common_Principles
I didn't see, but there is nothing in there which is new to me.
>
>> 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?
No.
But now I did, and in that case there is some noticeable improvement.
Michael.
More information about the Lazarus
mailing list