Search found 9422 matches

by Sergey Tkachenko
Fri May 17, 2024 8:35 am
Forum: Support
Topic: Export pdf or print rvf with 2 columns on a A3 landscape paper
Replies: 4
Views: 89

Re: Export pdf or print rvf with 2 columns on a A3 landscape paper

A checkpoint allows to get (X,Y) coordinate of the specified place in the document, If you need the opposite task (which place of document contains(X,Y) or is located near it), checkpoints will not help. Solution of this problem depends on how you plan to print. (If you need to add hyperlinks pointi...
by Sergey Tkachenko
Thu May 16, 2024 8:59 pm
Forum: Support
Topic: Export pdf or print rvf with 2 columns on a A3 landscape paper
Replies: 4
Views: 89

Re: Export pdf or print rvf with 2 columns on a A3 landscape paper

Alternative solution (only for printing, not for PDF)

For ScaleRichView, there is TSRVPrint component that can print content of TSRichViewEdit in different modes.
Using SRVPrint.PrintMode = srvpGrid, you can print two TSRichViewEdit's pages on one paper sheet.
by Sergey Tkachenko
Thu May 16, 2024 8:56 pm
Forum: Support
Topic: Export pdf or print rvf with 2 columns on a A3 landscape paper
Replies: 4
Views: 89

Re: Export pdf or print rvf with 2 columns on a A3 landscape paper

Colums are not implemented in our editors. But it is possible to use TRVReportHelper to format pages in two columns (or in more complex layout). See the demo <TRichView Dir>\TRichView\Demos\DelphiUnicode\Assorted\Printing\ReportHelper\ It shows how to print in two columns. But this demo uses the rea...
by Sergey Tkachenko
Thu May 16, 2024 8:48 pm
Forum: Support
Topic: How to get natural paragraph content?
Replies: 2
Views: 74

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: 433

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: 171

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: 433

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: 47152

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: 678

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: 678

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: 107401

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: 1102

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: 1762

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: 3452

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...