trichview.com

trichview.support




Re: Save as text


Return to index


Author

Message

Sergey Tkachenko

Posted: 04/03/2004 17:45:43


Do you mean table.SaveToStream? It does not save table as a text.

You can select the table in richview (SetSelectionBounds) then use

GetSelText.

Or you can use function


function GetItemText2(RVData: TCustomRVData; ItemNo: Integer): String;

from RVGetText.pas

(in the registered version or here -

http://www.trichview.com/support/files/rvgettext.zip)


(add

function GetItemText2(RVData: TCustomRVData; ItemNo: Integer): String;

in the interface section of this unit, or copy this function to your unit)



>

> In my richview componet, I have it set to save as text so that i can

search/replace

> in the saved stream.  Howver when I save a table, it seems that the

contents

> of the cells are saved as binary and not text.  How do I change that?





Powered by ABC Amber Outlook Express Converter