Hi,
I have TRichViewEdit who must be used like a TMemo, only text.
Did you know wha I must change for get this result ? no font bold, italic, image, .. even by copy/paste ...
Wha I must change ? I look in TRichView - Options but I didn't see anything..
Thanks
Disable image and text font
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Thanks, it works with
but when I InsertRVFFromStream I keep picture and font
How can I load RVF with only text properties ?
Code: Select all
rveDocument.AcceptPasteFormats := [rvddText];
How can I load RVF with only text properties ?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
I assumed that you disable all commands for inserting RVF and RTF.
The simplest solution is having an additional hidden TRichView. You insert RVF/RTF in this hidden TRichView, then get text from it (for example, using GetAllText from RVGetText/RVGetTextW unit) and add this text in the main TRichView.
The simplest solution is having an additional hidden TRichView. You insert RVF/RTF in this hidden TRichView, then get text from it (for example, using GetAllText from RVGetText/RVGetTextW unit) and add this text in the main TRichView.