[Lazarus] Mac OS X : Drag and Drop no longer works with TDragObject....

Paul Ishenin webpirat at mail.ru
Thu Sep 11 00:59:34 CEST 2008

Dominique Louis wrote:
> I notice that in the OnDragOver event Source no longer contains a 
> TDragObject, but instead contains the actual TObject instance being dragged.
> 1. When was this changed and why?
during 0.9.25 becuase of bug report and because it is now delphi compatible
> 2. Will this now remain the way it is for the forseeable future or is it 
> likely to change back to TDragObject?
it will stay so if we want delphi compatibility
> The reason why I ask is that, drag and drop code that was working fine 6 
> months ago, no longer works, so I'm just trying to get an idea of how 
> much this code is likely to change in the next 2 months.
To be sure what you get you can check:
if Source is TDragObject
then ..
else ...

Best regards,
Paul Ishenin.

More information about the Lazarus mailing list