Bernd schrieb:
2012/8/22 Hans-Peter Diettrich <[email protected]>:

What's complex in providing a list of filenames, in a TStrings object, and
let the RTL/FCL do the rest?

It needs not only the drag data but also needs window handles (on
xorg) and it needs to intercept mouse and keyboard events (on windows)
to give visual feedback during the drag and determine when to drop and
needs to fire events in the widgets that are involved. Since all this
is highly GUI related stuff  and *all* cross platform widgetset APIs
(GTK, Qt) provide a convenient and complete platform independent API
for it I don't see why one should not prefer these APIs over the
native ones.

There remains the number of *non* cross platform widgetsets, or other platform specifics. It's hard to explain to an Windows user, why dragging forms (windows) is not supported by other platforms, and thus *cannot* be provided by *any* widgetset outside Windows :-(

DoDi


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

Reply via email to