Search found 9545 matches

by Sergey Tkachenko
Sat Dec 07, 2024 1:55 pm
Forum: Support
Topic: SaveHTMLToStream and SaveTextToStream
Replies: 4
Views: 1823

Re: SaveHTMLToStream and SaveTextToStream

Remove Format after Clear: HTMLStream:=TStringStream.Create(HTMLString, TEncoding.UTF8); rve.Clear; rve.Format; <------------- REMOVE THIS rve.LoadHTMLFromStream(HTMLStream, '', CP_UTF8); rve.Format; end; If the editor is completely empty, rve.Format adds one empty text item. LoadHTMLFromStream does ...
by Sergey Tkachenko
Wed Dec 04, 2024 7:52 am
Forum: Support
Topic: TRichViewEdit vs TcxTRichViewEdit and pasted HTML
Replies: 1
Views: 773

Re: TRichViewEdit vs TcxTRichViewEdit and pasted HTML

Include rvddHTML in cxTRichViewEdit1.Properties.AcceptPasteFormats
(this option is included by default in TRichViewEdit, but not in TcxTRichViewEdit1)
by Sergey Tkachenko
Mon Dec 02, 2024 9:10 am
Forum: RVMedia
Topic: Adding text to video
Replies: 5
Views: 1990

Re: Adding text to video

I confirm the problem.

Quick fix:
Open MRVWinWebCamera.pas.
Find the line:
bmp.Modified := TRUE;
Add after:
bmp.ModifiedData := TRUE;

A critical section is not needed.
by Sergey Tkachenko
Sun Dec 01, 2024 10:30 am
Forum: RVMedia
Topic: Adding text to video
Replies: 5
Views: 1990

Re: Adding text to video

What's your code for writing text?
Most probably, it should be protected by a critical section.
by Sergey Tkachenko
Fri Nov 29, 2024 11:59 am
Forum: Support
Topic: SaveHTMLToStream and SaveTextToStream
Replies: 4
Views: 1823

Re: SaveHTMLToStream and SaveTextToStream

By default, SaveTextToStream saves text using the default Windows code page.
If you created TextStream with TEncoding.UTF8, you need to save UTF-8 as well:

rve.SaveTextToStream('',TextStream,80,false,true, CP_UTF8);
by Sergey Tkachenko
Fri Nov 29, 2024 11:55 am
Forum: Support
Topic: Change Font with TRVFontComboBox in v22.4
Replies: 1
Views: 1105

Re: Change Font with TRVFontComboBox in v22.4

TRVFontComboBox must be linked with TrvActionFontEx action (https://www.trichview.com/help-actions/ ... fontex.htm)

RVFontComboBox1.Action = rvActionFontEx1;
by Sergey Tkachenko
Fri Nov 29, 2024 11:44 am
Forum: Support
Topic: Document from right to left.
Replies: 8
Views: 14287

Re: Document from right to left.

Pasting from MS Word occurs via RTF format. TRichView can read bi-di properties of text and paragraphs from RTF. It happens if: 1. these properties are explicitly defined in RTF document 2. the target editor's BiDiMode is one of rvbdLeftToRight or rvbdRightToLeft (bi-di properties from RTF are ...
by Sergey Tkachenko
Wed Nov 27, 2024 5:54 pm
Forum: RVMedia
Topic: Teamviewer clone
Replies: 3
Views: 1957

Re: Teamviewer clone

Yes, full source code is included.
by Sergey Tkachenko
Wed Nov 27, 2024 10:05 am
Forum: RVMedia
Topic: Teamviewer clone
Replies: 3
Views: 1957

Re: Teamviewer clone

TRVCamSender and TRVCamReceiver can be connected using TRVMediaServer.
However, please note that they do not implement any encryption.
by Sergey Tkachenko
Wed Nov 27, 2024 10:01 am
Forum: Support
Topic: Document from right to left.
Replies: 8
Views: 14287

Re: Document from right to left.

6. About paragraph alignment. Unlike HTML, TRichView does not support "Start" and "End" alignment, only Left and Right (as well as Center, Justify and Distribute). Like in HTML, Left and Right alignments do not depend on BiDiMode. However, when reading HTML, "Start" and "End" alignments are ...
by Sergey Tkachenko
Wed Nov 27, 2024 9:44 am
Forum: Support
Topic: Document from right to left.
Replies: 8
Views: 14287

Re: Document from right to left.

Sorry for the delay. In your example, everything works as expected. 1. The default BiDi mode (LTR or RTL) is applied to characters that do not have strong directional properties (i.e., to punctuation and spaces). Western characters are always displayed LRT, Arabic characters are always displayed RTL ...
by Sergey Tkachenko
Wed Nov 27, 2024 8:44 am
Forum: Support
Topic: Text disappears after Typing in ScaleRichView with scaling (150%)
Replies: 2
Views: 1819

Re: Text disappears after Typing in ScaleRichView with scaling (150%)

I cannot reproduce this problem.

Do you use the newest version of ScaleRichView?
by Sergey Tkachenko
Mon Nov 25, 2024 2:18 pm
Forum: Support
Topic: Pasting Table Rows and Columns
Replies: 1
Views: 2020

Re: Pasting Table Rows and Columns

Sorry, the new version still does not implement this feature. Still planed for future.
by Sergey Tkachenko
Sat Nov 23, 2024 6:31 pm
Forum: Support
Topic: Document from right to left.
Replies: 8
Views: 14287

Re: Document from right to left.

Please send me a simple project reproducing the problem (to email richviewgmailcom)