I'm trying to use TCSVDataset.LoadFromCSVStream to load a grid from a TFileStream. It works to load data into the grid. However it starts reading at the beginning of the stream instead of the current position of the stream. That is the documented behaviour, but not what I want. I was wondering if I could create a TStream of some kind that would start at the current position of my TFileStream. If I can't, I have to do something totally different. It would be nice if LoadFromCSVStream had an option NOT to reset the stream to the beginning, but it doesn't.
Is there a way to create a new TStream descendent that starts at the current position of an existing stream?
Thanks