[Lazarus] TControl.EndDrag is missing
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Tue Sep 17 21:32:49 CEST 2013
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
More information about the Lazarus
mailing list