trichview.support
Re: Newpage? |
Author |
Message |
Sergey Tkachenko |
Posted: 02/16/2005 23:04:57 First, use var ItemCount: Integer; ItemCount := rv.ItemCount; rv.InsertRVFFromStream(Stream, rv.ItemCount); if rv.ItemCount>ItemCount then rv.PageBreaksBeforeItems[ItemCount] := True; In this example, InsertRVFFromStream is used instead of AppendRVFFromStream. AppendRVFFromStream is useful if you need to add data to the end of existing paragraph. This example uses only non-editing methods (methods of TRichView). It cannot be undone/redone. If you need th implement it as an editing operation, you need to do it differently. > How do you set a hardnewpage? > I am going thru a query, appendfromRVFStream 'ing into one control, so I can > print all records in one document. > I can;t find the method to appfromRVFStream, then insertpagebreak/ > thanks > Alan > > |
Powered by ABC Amber Outlook Express Converter