trichview.support
Re: Advice - Printing |
Author |
Message |
David Kroll |
Posted: 10/14/2003 18:39:17 I can't seem to make this work. Here's what I have: editor = TRichViewEdit rvControlPanel = TRVAControlPanel rvStyle = TRVStyle rvPrint = TRVPrint rvControlPanel.DefaultControl = editor rvControlPanel.RVPrint = rvPrint Are you saying that I need an invisible TRichView on this form as well? I don't see how to print a TRichView, only a TRichViewEdit. Also, why can I not have two different RVAControlPanel with different settings? Say I have two RichViewEdits and I want to control them with different control panels. The settings are changed for both control panels. Why is that? Thanks "Sergey Tkachenko" <svt@trichview.com> wrote in message news:3f8ba38f$3@support.torry.net... > The simplest way - to create a new document (in invisible TRichView) and > print it. > > rv.Clear; > rv.AddNL('From: ', ...); > rv.Add(email.From, ...); > rv.AddNL('Subject: ', ...); > rv.Add(email.Subject, ...); > > stream := TMemoryStream.Create; > rvmessage.SaveRVFToStream(stream); > stream.Position := 0; > rv.InsertRVFFromStream(stream, rv.ItemCount); > stream.Free; > > > > > > > Just on the first page. > > > > "Sergey Tkachenko" <svt@trichview.com> wrote in message > > news:3f87c14b$1@support.torry.net... > > > Do you want to include them before the message, or on each page? > > > > > > > > > > I'm using the TRichViewEdit in an email application. The RichView > > > contains > > > > the body of the message. I want to print a message, but I want to > > include > > > > the To, From, Subject, and Date, just like if you print a message in > > > > Outlook. What would be the best way to do this? > > > > > > > > Thanks, > > > > > > > > David > > > > > > > > > > > > > > > > > > > > |
Powered by ABC Amber Outlook Express Converter