DBRichView Problems

General TRichView support forum. Please post your questions here
Post Reply
kitenga
Posts: 1
Joined: Mon Apr 09, 2007 10:14 am
Contact:

DBRichView Problems

Post by kitenga »

(1) On my laptop using Delphi 7, I carefully copied the RVActions demo, but changed to a DBRichViewEdit component. It works OK except for tables. I can open a new doc, and insert a table and save OK. When I try to Read the document back in, it gives Stack overflow on the table.

What can I do to prevent the stack overflow message?

(2) On a different new machine, I loaded 1.9.8, and test the RVAction demo. All goes well.

I then tried to make a new application using TRVDBRichViewEdit. As soon as I try to add this component tom my application at design time, I get a Access violation.

What can I do to make this compopnent work at design time?

Thank you.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

If you show a new form for editing rich text field in database using TDBRichViewEdit, error can occur. This is a known problem.

The solution is simple. Instead of linking DBRichViewEdit to table at design time, do it in Form.OnCreate.
For example, leave DataField property of DBRichViewEdit clear in the Object Inspector, but assign it in FormCreate.
Post Reply