[Lazarus] Drag-n-Drop usage?

Michael Van Canneyt michael at freepascal.org
Tue Sep 14 14:43:52 CEST 2010



On Tue, 14 Sep 2010, Graeme Geldenhuys wrote:

> On 14 September 2010 14:12, Michael Van Canneyt wrote:
>> There is no general inter-application drag and drop mechanism.
>> I don't see how you could implement it in the first place.
>
> I guess I'll have to dive into the Qt source code then, because they
> do it! In Qt you register the mime types your are interested in, say
> which widget accepts drops and hook the mime type list onto that.

But that will only work for Qt apps.

With "general inter-application drag and drop mechanism" I meant
also (and in the first place) "without regard for the toolkit used".

Michael.




More information about the Lazarus mailing list