TLOBLocator: LoadFromStream request

Roeland

Member³
Hi,

Could you add a LoadFromStream procedure to the TLobLocator?

Or do you know another method to pass a stream in the TLOBLocator?

Roeland
 
The TLOBLocator class descends from the TStream class, so you can use the standard CopyFrom procedure as defined by TStream.
 
Thanks,

That worked indeed.

But could you add the LoadFromStream procedure nonetheless? That will make our lives easier and it's no pain at your site.

Thanks again,

Roeland
 
That would add a no-brainer. That's because I'm used to work with LoadFromFile, LoadFromStream, SaveToStream and SaveToFile from a lot of components. (Not only Stream descendants!)

Now i have to think "Oh yes, it's a TLobLocator, i need to use CopyFrom". I don't find it user friendly, especially with so less effort at your site. (So do I suppose)

I could inherit it myself, but i don't like it in this case.
 
Well, it's a Stream, not a Component ;) . But it's easy to implement, and I have added it to the list of enhancement requests.
 
[quote: Marco Kalter]But it's easy to implement[/quote]
Any chance that this "small step for you, but a very long awaited feature for me" is going to be implemented?

 
Back
Top