trichview.com

trichview.support




Re: Load document to RPortBuilder from RV


Return to index


Author

Message

Sergey Tkachenko

Posted: 03/05/2005 21:42:31


It's a different problem.

TDBRichView cannot display anything but the field content (but cannot modify

the field).

Well, if you add DBRichView1.Format at the end of your code, it may display

it temporary, but it is a component misusing,


If you want to do the same with TDBRichViewEdit, see the help file, topic

about TDBRichViewEdit, Example 1 (at the bottom of this topic)


>

> For example, i am trying this, and don't works

>

> procedure TForm1.Button8Click(Sender: TObject);

> var a : TStream;

> begin

>    a := TMemoryStream.Create;

>    DBRichView1.SaveRTFToStream(a, false);

>    DBRichView1.Clear;

>    a.Position := 0;

>    DBRichView1.LoadRTFFromStream(a);

>    FreeAndNil(a);

> end;





Powered by ABC Amber Outlook Express Converter