Save in Stream

General TRichView support forum. Please post your questions here
Post Reply
Dieguuh

Save in Stream

Post by Dieguuh »

Hi.

I follow the demos and create one text editor, with some text format and support to internet links. It works fine, but when i try to save my documents in stream, this links disappear when a call they back to editor.

I'm follwing this steps:

- I'm saving my documents in a simple file and i call RichView.loadrvf() using that file.

All links and formatted words(Bold, size) are lost.

Can you send me a tutorial to help me with this?

Thx
Sergey Tkachenko
Site Admin
Posts: 17520
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

1) Make sure that rvoTagsArePChars is included in Options
2) Make sure that rvoClearTagOnStyleApp is excluded from EditorOptions
Dieguuh

Post by Dieguuh »

The problem persist..

rvoTagsArePChars is included and rvoClearTagOnStyleApp is excluded.

The HyperLinks are working fine, but links and word formats isn't working.

You have a tutorial to help me?

thx
Sergey Tkachenko
Site Admin
Posts: 17520
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

One more: right click th editor in Delphi, choose "Settings" in the popup menu, select "Allow adding styles dynamically".
Dieguuh

Post by Dieguuh »

I compare all the properties from demo editor's with my editor, and now its working fine.

Thx for help.
Post Reply