Page 1 of 1

Save in Stream

Posted: Fri Oct 07, 2005 9:41 pm
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

Posted: Sat Oct 08, 2005 10:40 am
by Sergey Tkachenko
1) Make sure that rvoTagsArePChars is included in Options
2) Make sure that rvoClearTagOnStyleApp is excluded from EditorOptions

Posted: Mon Oct 10, 2005 12:43 pm
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

Posted: Mon Oct 10, 2005 3:59 pm
by Sergey Tkachenko
One more: right click th editor in Delphi, choose "Settings" in the popup menu, select "Allow adding styles dynamically".

Posted: Mon Oct 10, 2005 4:30 pm
by Dieguuh
I compare all the properties from demo editor's with my editor, and now its working fine.

Thx for help.