On Wed, Sep 22, 2010 at 1:31 PM, Graeme Geldenhuys
wrote:
> Hi,
>
> While implementing drag-n-drop support in fpGUI, I created a
> TfpgMimeData class. This class will hold various data items, and a
> mime-type describing each of the data items. Obviously the
> TfpgMimeData class should be able to
Graeme Geldenhuys wrote:
So which one would be more fitting for any mime types, or is there
another option I didn't think of? Here is a simple usage example of
the TfpgMimeData class - to help put this in perspective:
This seems a lot like the BMessage class used with in the BeAPI. There
i
On 22 September 2010 13:31, Marco van de Voort wrote:
>
> No. But it allows you to keep text as text, not as streamed value.
I'll see how it goes, maybe I could store text as text, and binary as
binary - this will allow for the least amount of conversions. Plus the
storage variable not being used
On Wed, 22 Sep 2010, Marco van de Voort wrote:
In our previous episode, Graeme Geldenhuys said:
I would first try a variant.
Just for getting the initial DND support to work under Xlib, I limited
myself to text types only, so choose variant as my storage type, but
now that I'm moving to the
In our previous episode, Graeme Geldenhuys said:
> > I would first try a variant.
>
> Just for getting the initial DND support to work under Xlib, I limited
> myself to text types only, so choose variant as my storage type, but
> now that I'm moving to the next phase (multiple data types), I am
>
On 22 September 2010 12:52, Marco van de Voort wrote:
> Different choices. The question is if you want some typing (if only runtime)
> and easy conversions, or e.g. have the data in a directly writable format.
Well, the data needs to be passed via Clipboard or Drag-n-Drop API's
of the underlying s
On Wed, 22 Sep 2010, Felipe Monteiro de Carvalho wrote:
Personally, I would go for TMemoryStream
That would be my option too.
It's the most flexible.
Michael.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org
In our previous episode, Graeme Geldenhuys said:
> While implementing drag-n-drop support in fpGUI, I created a
> TfpgMimeData class. This class will hold various data items, and a
> mime-type describing each of the data items. Obviously the
> TfpgMimeData class should be able to handle any data ty
Personally, I would go for TMemoryStream
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
While implementing drag-n-drop support in fpGUI, I created a
TfpgMimeData class. This class will hold various data items, and a
mime-type describing each of the data items. Obviously the
TfpgMimeData class should be able to handle any data type. So my
question is, what is a good universal type
10 matches
Mail list logo