Search found 9419 matches

by Sergey Tkachenko
Thu May 16, 2024 8:48 pm
Forum: Support
Topic: How to get natural paragraph content?
Replies: 1
Views: 26

Re: How to get natural paragraph content?

Items in TRichView are numbered from 0 to rv.ItemCount-1. If rv.IsParaStart(i)= True, this item starts a paragraph. So, a paragraph is a range of item starting from the item that has IsParaStart() = True (including), and ending at the next such an item (excluding). To get a type of the i-th item, us...
by Sergey Tkachenko
Tue May 14, 2024 7:56 pm
Forum: ScaleRichView
Topic: text at specific position
Replies: 3
Views: 402

Re: text at specific position

InsertTextAt is a procedure that I posted here, in the first code fragment. See my previous answer.
by Sergey Tkachenko
Tue May 14, 2024 7:53 pm
Forum: Support
Topic: Component for RichTextEdit + Buttons
Replies: 1
Views: 145

Re: Component for RichTextEdit + Buttons

We do not have a component, but we have a set of actions. Create TActionList component, and add actions in using "Add Standard Action" button in its component editor. The list of actions is here: https://www.trichview.com/help-actions/actions.htm Or you can copy ActionList1 from our Action...
by Sergey Tkachenko
Fri May 10, 2024 8:34 am
Forum: ScaleRichView
Topic: text at specific position
Replies: 3
Views: 402

Re: text at specific position

If you need to place many text strings, I suggest using tables. If you need to place one or several text strings, you can use text boxes . This code inserts a text in a text box at the specified position X, Y measured in mm. The inserted text has the specified width (in mm); if it is longer, it is w...
by Sergey Tkachenko
Sat May 04, 2024 9:59 pm
Forum: Report Workshop
Topic: TRVItemList object range is 0..0
Replies: 3
Views: 47109

Re: TRVItemList object range is 0..0

Summary: there really was a bug in ScaleRichView, if it was cleared by DeleteItems (not by Clear) and then formatted without adding a new content. It may happen when ReportWorkshop generated an empty report in ScaleRichView (because a root data query returned 0 records). This problem was fixed in th...
by Sergey Tkachenko
Wed May 01, 2024 4:03 pm
Forum: Examples, Demos
Topic: Running compiled demo gives error
Replies: 3
Views: 637

Re: Running compiled demo gives error

Please re-download the setup of compiled demos.

I forgot to upload a new version of this setup. The old version did not include sk4d.dll, so demos that were compiled with Skia4Delphi fail (unless you have Skia4Delphi installed on your computer).
I just uploaded the correct version.
by Sergey Tkachenko
Tue Apr 30, 2024 1:08 pm
Forum: Examples, Demos
Topic: Running compiled demo gives error
Replies: 3
Views: 637

Re: Running compiled demo gives error

Most probably, it happens with a demo that was compiled with Skia4Delphi, but without skd4.dll available for the application.
I thought that I included this Dll for all demos compiled with Skia4Delphi. What demo shows this error?
by Sergey Tkachenko
Wed Apr 24, 2024 6:05 pm
Forum: Examples, Demos
Topic: [Example] How to display a placeholder text for empty editor
Replies: 3
Views: 107358

Re: [Example] How to display a placeholder text for empty editor

Sorry, it is still not implemented as a component property. To work with empty TRichView, the first condition must be changed to: if not PrePaint and ((Sender.ItemCount = 0) or ((Sender.ItemCount = 1) and (Sender.GetItemStyle(0) >= 0) and (Sender.GetItemText(0) = ''))) then The original condition (a...
by Sergey Tkachenko
Wed Apr 24, 2024 10:31 am
Forum: Support
Topic: Skia with latest richview and delphi 10.3
Replies: 2
Views: 1081

Re: Skia with latest richview and delphi 10.3

Yes, all Windows programs that use Skia4Delphi require this DLL.
by Sergey Tkachenko
Tue Apr 23, 2024 8:48 am
Forum: RVMedia
Topic: RVMedia doesn't show any stream
Replies: 2
Views: 1713

Re: RVMedia doesn't show any stream

Do you have FFmpeg available for the application?
by Sergey Tkachenko
Sun Apr 21, 2024 4:07 pm
Forum: Announcements
Topic: ReportWorkshop 6.0 - FireMonkey
Replies: 5
Views: 3358

TRichView 22.3.1

I uploaded a new update. The trial for Delphi 12 is recompiled using Delphi 12.1 + Patch 1 (it must solve possible problems with 64-bit packages). Additional changes: loading "REF" fields in DocX as hyperlinks compatibility with Lazarus version of VirtualTree is restored (they renamed TVir...
by Sergey Tkachenko
Sat Apr 20, 2024 9:07 pm
Forum: Support
Topic: skia4delphi and svg
Replies: 2
Views: 1110

Re: skia4delphi and svg

This problem is solved in TRichView 22 (you need to include RVSkia unit in your project).

There is a problem with loading SVG from stream using TSkSvgGraphic, because there is no access to this class (it is declared in the private section).
RVSkia unit implements a workaround.
by Sergey Tkachenko
Fri Apr 19, 2024 9:30 am
Forum: Announcements
Topic: ReportWorkshop 6.0 - FireMonkey
Replies: 5
Views: 3358

Going to rebuild...

The trial for Delphi 12 was built using Delphi 12.1. Recently, Embarcadero released a patch that may affect compatibility of 64-bit files: https://blogs.embarcadero.com/rad-studio-12-1-athens-patch-1-available/ So, I need to rebuild the trial using the patched version of RAD Studio 12.1... The new v...
by Sergey Tkachenko
Thu Apr 18, 2024 11:18 am
Forum: Announcements
Topic: ReportWorkshop 6.0 - FireMonkey
Replies: 5
Views: 3358

Report generation in a background thread

Report generation in a background thread Generating in the main process If you need to generate a small report, just call RVReportGenerator. Execute . But if a report is large, generation may take some time. If you do nothing, your application will be frozen while a report is being generated. To pr...