Search found 9421 matches

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: 2
Views: 27

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: 2
Views: 27

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: 1
Views: 29

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

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

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

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

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

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

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

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

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

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

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.