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.
DBRichView problem
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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.
(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.
DBRichView no problem
THX very mauch everything work properly