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.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus