My mistake, it works fine.
Sorry
Search found 4 matches
- Tue Apr 12, 2022 7:34 am
- Forum: Support
- Topic: TRichViewEdit. Modify bold only
- Replies: 9
- Views: 8903
- Mon Apr 11, 2022 2:20 pm
- Forum: Support
- Topic: TRichViewEdit. Modify bold only
- Replies: 9
- Views: 8903
Re: TRichViewEdit. Modify bold only
1. I put the original text in Editor. 2. With the Editor, I only put the text in bold 3. Using the method SaveRTFToStream( TStringStream, Boolean) from Editor. The text recovered have the origal texto function TfEditorRV.TextoRTF: string; var lRTF: TStringStream; begin lRTF := TStringStream.Create ...
- Mon Apr 11, 2022 12:23 pm
- Forum: Support
- Topic: TRichViewEdit. Modify bold only
- Replies: 9
- Views: 8903
Re: TRichViewEdit. Modify bold only
I edit a text 1.png Set as bold text 2.png When i save RTF text into TStringStream, the text is not modified: function TfEditorRV.TextoRTF: string; var lRTF: TStringStream; begin lRTF := TStringStream.Create(''); try Editor.SaveRTFToStream( lRTF, False ); Result := lRTF.DataString; finally lRTF.Free ...
- Mon Apr 11, 2022 7:41 am
- Forum: Support
- Topic: TRichViewEdit. Modify bold only
- Replies: 9
- Views: 8903
TRichViewEdit. Modify bold only
Hello, I have a TRichViewEdit control and I retrieve the rich text through a TStringStream. var lRTF: TStringStream; begin lRTF := TStringStream.Create(''); try Editor.SaveRTFToStream( lRTF, False ); Result := lRTF.DataString; finally lRTF.Free; end; If I only make the text bold, the text is not ...