Juha Manninen schrieb:
BeginDrag is there but EndDrag is not!
It sounds strange because there is lots of Delphi code using
drag-n-drop and some of it is surely ported to Lazarus. How come
nobody noticed.

It may be a protected method, invisible outside the Controls unit?

Or is there another way (other methods maybe) for porting such Delphi code?

The Lazarus implementation of Drag&Drop is somewhat Delphi incompatible and overly flawed. I already suggested some improvements, but no Lazarus developer did yet dare to touch that part of the LCL. Instead AnchorDocking was introduced as a replacement for Delphi D&D, and nobody (but me) ever tried to understand how Delphi compatible D&D could be made work properly. All I could achieve was the EasyDockManager and EasyDockMaster, which work around most flaws in the basic implementation. This was the state when I stopped any fruitless attempts to contribute to the LCL.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to