[Lazarus] Generalized DragDrop
Graeme Geldenhuys
graemeg.lists at gmail.com
Sun Jan 23 11:12:22 CET 2011
>> Your current implementation is restricted to purely textual information,
>
> Simply because I was in a rush to implement the basic workings of DND
> for a new project of ours. Textual information was good enough to get
> that app's DND going. The DND does does lend itself to other data
> types too. Any binary data will simple be transfered via bytes, and
> internal component-to-component DND could possible also support
> TStream data.
> This is one of the optimizations that can be implemented for internal app DND.
Just to be clear, the current textual data restriction in fpGUI's DND
is simply because I haven't had time to implement the binary data
support yet. So far, I have only implemented what was needed for our
new project. In the near future, I'll complete the whole DND
implementation (binary data, byte arrays, TStream and more auto-type
conversions between mime and each OS specific formats).
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
More information about the Lazarus
mailing list