Search found 9747 matches

by Sergey Tkachenko
Sat Jul 26, 2025 9:56 am
Forum: Support
Topic: Out of office from July 26 to August 5
Replies: 0
Views: 5533

Out of office from July 26 to August 5

Hi everyone,

I will be away on vacation from July 26 to August 5. I will answer questions on the forum and by email, but responses may take more time than usual. I'll address difficult questions when I return.

I have almost completed a new version of TRichView, but I do not have enough time to ...
by Sergey Tkachenko
Fri Jul 25, 2025 8:54 pm
Forum: Support
Topic: Attributes like bold, acting strange on Android
Replies: 3
Views: 6024

Re: Attributes like bold, acting strange on Android

It worked as expected when I tested this demo. Probably, something was changed on one of Delphi 12.x updates.
Unfortunately, I was not able to check this problem yet. And I will be on vaсation till August 5th. I'll fix this problem when I return. Sorry for the delay.
by Sergey Tkachenko
Fri Jul 25, 2025 1:30 pm
Forum: Support
Topic: Bad RTF table causing RichView to error
Replies: 17
Views: 58367

Re: Bad RTF table causing RichView to error

The error occurs on drawing a document (not a background), and the only reason I can imagine is desynchronization between the document items and formatting information (the latter is updated when you call Format).

In your code, the most probable reason for this is
reader.RVData.NormalizeDocument ...
by Sergey Tkachenko
Thu Jul 24, 2025 6:49 pm
Forum: Support
Topic: Attributes like bold, acting strange on Android
Replies: 3
Views: 6024

Re: Attributes like bold, acting strange on Android

What version of TRichView and Delphi?
by Sergey Tkachenko
Thu Jul 24, 2025 1:05 pm
Forum: Support
Topic: Changing Font from inserted Hyperlink
Replies: 2
Views: 5403

Re: Changing Font from inserted Hyperlink

I don't understand what problems this code causes with images.

However, this code has problems.
1) You change properties of a text style, but this style may be used in different places of the document. This is not what the user might expect.
2) This code may lead to adding a new text style on each ...
by Sergey Tkachenko
Wed Jul 23, 2025 4:57 pm
Forum: Support
Topic: Bad RTF table causing RichView to error
Replies: 17
Views: 58367

Re: Bad RTF table causing RichView to error

1) If the exception on pasting happens in RTF loading code, it must not affect subsequent drawing. On exception, RTF loading is aborted, but the items that are already added must be formatted and must be displayed correctly.
If the error happens on some specific RTF, please send this RTF to me. If ...
by Sergey Tkachenko
Wed Jul 23, 2025 3:57 pm
Forum: Support
Topic: Bad RTF table causing RichView to error
Replies: 17
Views: 58367

Re: Bad RTF table causing RichView to error

Please create a compliable project reproducing the problem and send it to me.
I am afraid, without reproducing the problem, I cannot help.
I cannot even understand the problem. First, the topic was about a (handled) error when loading RTF. Then about exception on drawing. Then an error in a code ...
by Sergey Tkachenko
Fri Jul 18, 2025 10:53 am
Forum: RVMedia
Topic: RMEDIA V.8 with WINDOWS 11
Replies: 1
Views: 40749

Re: RMEDIA V.8 with WINDOWS 11

Do you use FFmpeg?
What version?
Does it happen on all RTSP streams?
by Sergey Tkachenko
Thu Jul 17, 2025 10:18 am
Forum: Support
Topic: Linux Wordwrap
Replies: 2
Views: 11291

Re: Linux Wordwrap

What's the problem exactly?

(maybe it's an Uniscribe issue? Try assigning RVStyle.TextEngine = rvteWindows)
by Sergey Tkachenko
Wed Jul 16, 2025 11:46 am
Forum: Support
Topic: Bad RTF table causing RichView to error
Replies: 17
Views: 58367

Re: Bad RTF table causing RichView to error

If the error text is shown on TRichView itself, this mean that an exception happens while drawing content.
Most probably. it happens because TRichView is not formatted.
Do not forget to call Format after loading.
by Sergey Tkachenko
Wed Jul 16, 2025 11:44 am
Forum: Support
Topic: odd formatting issue - not sure of the cause.
Replies: 1
Views: 9628

Re: odd formatting issue - not sure of the cause.

Unfortunately, I can help only if I will be able to reproduce this problem.

Do you have TRVStyle linked only to this TRichView? If the same TRVStyle is linked with 2 or more TRichView, one of them can change styles in it, and others will be out of sync.
by Sergey Tkachenko
Tue Jul 15, 2025 11:49 am
Forum: Support
Topic: RichViewActions - Bullet List Styles
Replies: 1
Views: 6812

Re: RichViewActions - Bullet List Styles

1) TRichView saves these bullets to RTF as simple pictures.
I do not remember what this solution was chosen instead of RTF's bullet-pictures. Most probably, MS Word resizes bullet-pictures in an uncontrollable way, and results do not look good for most pictures.
This is the reason why this list ...
by Sergey Tkachenko
Tue Jul 15, 2025 11:18 am
Forum: Support
Topic: Caret placement on Android vs iOS
Replies: 2
Views: 13627

Re: Caret placement on Android vs iOS

It is intentional. TRIchViewEdit mimics TEdit and TMemo behavior. They, as I understand it, mimic the behavior of standard editors for the platform.
by Sergey Tkachenko
Sun Jul 13, 2025 12:05 pm
Forum: Support
Topic: Android crash in Hide after I added a toolbar
Replies: 3
Views: 35187

Re: Android crash in Hide after I added a toolbar

It looks like this is a bug.
Open fmxRVSelectionHandlesFM.pas, and change procedure TRVFMXSelectionHandles.Clear to:

procedure TRVFMXSelectionHandles.Clear;
begin
FLeftSelPt := nil;
FRightSelPt := nil;
FCaretPt := nil;
end;

Then recompile the packages (run "Install TRichView FMX in Delphi IDE ...
by Sergey Tkachenko
Sun Jul 13, 2025 12:00 pm
Forum: Support
Topic: Bad RTF table causing RichView to error
Replies: 17
Views: 58367

Re: Bad RTF table causing RichView to error

This exception happens in try..except block, and finally LoadRTF function simply returns False.
The exception is not noticeable unless debugging in Delhi IDE.