DBRichView problem

General TRichView support forum. Please post your questions here
Post Reply
alatocha
Posts: 2
Joined: Thu Jun 19, 2008 10:25 am

DBRichView problem

Post by alatocha »

I have a problem with DBRichView (server MSSQL 2000, field type text). I change FiledFormat property to rvdbRTF (I neek it becouse I show this field in my report).

I DBRichView I format text (color, font etc.) save in server. Everything is OK in report text is showin properly (evry formating).

And now I wont to edit this field and is a problem in componenet every formating is lost.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Make sure that RTFReadProperties.TextStyleMode and RTFReadProperties.ParaStyleMode are set to rvrsAddIfNeeded for the editor.
(Or, better, right click the editor in Delphi, choose "Settings" in the context menu, and make sure that "Allow adding styles dynamically" is set).
Besides, if you edit in TDBRichViewEdit, set AutoDeleteUnusedStyles property to True.
alatocha
Posts: 2
Joined: Thu Jun 19, 2008 10:25 am

DBRichView no problem

Post by alatocha »

THX very mauch everything work properly
Post Reply