trichview.com

trichview.support.thirdparty




Re: Reportbuilder TppRichView


Return to index


Author

Message

Lee.Bambury

Posted: 11/09/2004 12:38:40


Hi Lars


  Yep I did notice the .richview property and every time I go to print the

report I save my current content out to a tstringstream and the use the

reports .richview.loadfromrvfstream but this is still not loading anything

on the report I have also tried the bit of code you suggested with no luck.

I will give the workaround ago and see if that will load my content up but I

do not understand why loadfromrvfstream does not work and the report is

still blank.


Kind Regards


Lee



"Lars Nielsen (Dontenwill GmbH)" <[email protected]> wrote in message

news:[email protected]...

>

> We use use the TppRichView in reports in a similar way, but we are fillig

> it

> dynamically while printing, so it's not the same.

>

> Maybe I can give you two clues to get to a possible solution:

>

> 1) I haven't tried it but the TppRichView class has a property named

> "RichView" which gives you an intance of the TCustomRichView class of the

> reporthelper object. You may use it to load a richtext via

> "LoadRVFFromStream" or "LoadRTFFromStream".

>

> 2) A workaround: Just use a virtual memory-dataset like TMemDataSet with

> one

> record containing your texts and then use the TppDBRichView in the report

> to

> print it like a "regular"-databound report. In this case there's no need

> to

> worry about the internals of the reporthelper objects ...

>

> Regards,

> Lars Nielsen

>

>

> "Lee.Bambury" <[email protected]> schrieb im Newsbeitrag

> news:[email protected]...

>> Thx's for all the help guys but this did not resolve this problem I am

> still

>> having trouble. What this wrapper does for report builder I have no idea

> but

>> this is due to me not understanding what it's for.

>>

>> I have a Trichedit on my screen that I allow the user to format and input

>> there text I then want the user to be able to print what they have done,

> but

>> I want to add my own header and footer information so I have created a

>> report to do this job for me and put the reportbuilder's version of

>> trichedit on the report but can not get this to load anything up from my

>> trichedit on my form.

>>

>> Kind Regards

>>

>> Lee

>>

>>

>> "Sergey Tkachenko" <[email protected]> wrote in message

>> news:[email protected]...

>> > If the problem is still unsolved, please send me a test project showing

>> > it.

>> >

>> >

>>

>>

>

>





Powered by ABC Amber Outlook Express Converter