if SaveFormat=rvsfText then begin
...
if (RVData.GetItemStyle(ItemNo)=rvsPicture) then
begin
RVData.GetItemExtraStrProperty(ItemNo,rvespAlt,Str);
OutStr := RVU_GetRawUnicode(Str);
end;
...
dodefault:= false;
end;
it's very useful.
but, is it possible that output save in String instead File !?
I want change text of RV and save it in string, not creating any file![/code]
Despite of this name, this even happens both when saving to streams and files.
For example, SaveTextToStream and SaveTextToStreamW invoke this event.
So you can save to TMemoryStream or to TStringStream (if you use SaveTextToStreamW to save to TStringStream, this string stream must be created with TEncoding.Unicode in constructor)