I load a stream to a RichView:
Code: Select all
stream := TFileStream.Create(sCheminFichier, fmOpenRead);
try
if not bTextOnly then
rvDocument.InsertRVFFromStream(stream, rvDocument.ItemCount)
else
LoadFichierDansRichViewTextOnly(rvDocument,stream);
finally
stream.Free;
end;
I would like to load my stream to a div
Code: Select all
<div id="my_stream"></div>
Thanks