I found the solution:
RichViewEdit.RTFReadProperties.TextStyleMode := rvrsAddIfNeeded;
RichViewEdit.RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded;
RichViewEdit.RVFOptions := RichViewEdit.RVFOptions+[rvfoSaveTextStyles, rvfoSaveParaStyles];
Search found 2 matches
- Wed Apr 29, 2015 12:43 pm
- Forum: Support
- Topic: Incorrect load RTF from db
- Replies: 1
- Views: 9474
- Wed Apr 29, 2015 8:52 am
- Forum: Support
- Topic: Incorrect load RTF from db
- Replies: 1
- Views: 9474
Incorrect load RTF from db
Hi, I'm a new user and I have problem with loading RTF from the database: for example before saving I have: 1. aaaaa but after the loading I have: aaaaa also this bolded text is in a different color than it should be. On my form I have: //save to db var oStream : TStringStream; sText : string; begin ...