trichview.com

trichview.support




Saving Selection (Part of a Table) to Stream


Return to index


Author

Message

Louis Kessler

Posted: 07/12/2003 18:56:21


Hi Sergey:


Select several cells from a table (say 2x3 cells in a 4x6 table), and try to

save them to a stream and then reload them to just get the selected 2x3 cells.

It doesn't work.  Saving the whole table works. Saving a single cell or

selected text within a single cell works. But saving more than one cell does

not.


The code I am using is:


    if RVEdit.SaveRVFToStream(RVFStream, true {selection only} ) then begin

      RVFStream.Position := 0;

      RichViewInputArea.Clear;

      RichViewInputArea.LoadRVFFromStream(RVFStream);


Is this something not implemented?  Is there an easy way around this?


Louis Kessler

Winnipeg, Manitoba, Canada





Powered by ABC Amber Outlook Express Converter